rpms/aoetools/devel aoetools-flush.patch, NONE, 1.1 aoetools-makefile.patch, NONE, 1.1 aoetools.spec, NONE, 1.1 .cvsignore, 1.1, 1.2 sources, 1.1, 1.2

Patrick Laughton (jima) fedora-extras-commits at redhat.com
Mon Apr 9 13:20:00 UTC 2007


Author: jima

Update of /cvs/extras/rpms/aoetools/devel
In directory cvs-int.fedora.redhat.com:/tmp/cvs-serv12987/devel

Modified Files:
	.cvsignore sources 
Added Files:
	aoetools-flush.patch aoetools-makefile.patch aoetools.spec 
Log Message:

* Mon Apr 09 2007 Patrick "Jima" Laughton <jima at beer.tclug.org> 14-3
- Added devnodes.txt to %%doc
- Importing into CVS

BZ#235234


aoetools-flush.patch:

--- NEW FILE aoetools-flush.patch ---
--- aoetools-14/aoe-flush.in.orig	2007-02-06 14:52:38.000000000 -0600
+++ aoetools-14/aoe-flush.in	2007-03-30 11:53:07.000000000 -0500
@@ -10,7 +10,7 @@
 	exit 1
 fi
 
-if test $1 = "-a"; then
+if test "$1" = "-a"; then
 	spec=all
 fi
 

aoetools-makefile.patch:

--- NEW FILE aoetools-makefile.patch ---
--- aoetools-14/Makefile.orig	2006-10-31 10:34:07.000000000 -0600
+++ aoetools-14/Makefile	2007-03-30 12:03:31.000000000 -0500
@@ -54,11 +54,11 @@
 
 # DESTDIR was put in for Rob Holland to make gentoo packaging easier
 install : all
-	mkdir -p ${SBINDIR}
-	mkdir -p ${MANDIR}/man8
+	mkdir -p ${DESTDIR}${SBINDIR}
+	mkdir -p ${DESTDIR}${MANDIR}/man8
 	@for f in ${COMMANDS}; do \
-	  sh -xc "install -m 700 $$f ${DESTDIR}${SBINDIR}/$$f" || break; \
-	  sh -xc "install -m 664 $$f.8 ${DESTDIR}${MANDIR}/man8/$$f.8" || break; \
+	  sh -xc "install -m 755 $$f ${DESTDIR}${SBINDIR}/$$f" || break; \
+	  sh -xc "install -m 644 $$f.8 ${DESTDIR}${MANDIR}/man8/$$f.8" || break; \
 	done
 
 clean :


--- NEW FILE aoetools.spec ---
Name:           aoetools
Version:        14
Release:        3%{?dist}
Summary:        ATA over Ethernet Tools

Group:          System Environment/Base
License:        GPL
URL:            http://sourceforge.net/projects/aoetools/
Source0:        http://dl.sf.net/%{name}/%{name}-%{version}.tar.gz
Patch0:         %{name}-makefile.patch
Patch1:         %{name}-flush.patch
BuildRoot:      %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)


%description
The aoetools are programs that assist in using ATA over Ethernet on 
systems with version 2.6 Linux kernels.

%prep
%setup -q
%patch0 -p1
%patch1 -p1


%build
make %{?_smp_mflags} CFLAGS="$RPM_OPT_FLAGS"


%install
rm -rf $RPM_BUILD_ROOT
make install DESTDIR=$RPM_BUILD_ROOT


%clean
rm -rf $RPM_BUILD_ROOT


%files
%defattr(-,root,root,-)
%doc COPYING HACKING NEWS README TODO devnodes.txt
%{_sbindir}/aoe*
%{_mandir}/man8/aoe*.8*


%changelog
* Mon Apr 09 2007 Patrick "Jima" Laughton <jima at beer.tclug.org> 14-3
- Added devnodes.txt to %%doc
- Importing into CVS

* Sat Apr 07 2007 Patrick "Jima" Laughton <jima at beer.tclug.org> 14-2
- Added CFLAGS="$RPM_OPT_FLAGS" to building (thanks Chris!)

* Wed Apr 04 2007 Patrick "Jima" Laughton <jima at beer.tclug.org> 14-1
- Initial Fedora RPM


Index: .cvsignore
===================================================================
RCS file: /cvs/extras/rpms/aoetools/devel/.cvsignore,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -r1.1 -r1.2
--- .cvsignore	9 Apr 2007 10:48:32 -0000	1.1
+++ .cvsignore	9 Apr 2007 13:19:26 -0000	1.2
@@ -0,0 +1 @@
+aoetools-14.tar.gz


Index: sources
===================================================================
RCS file: /cvs/extras/rpms/aoetools/devel/sources,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -r1.1 -r1.2
--- sources	9 Apr 2007 10:48:32 -0000	1.1
+++ sources	9 Apr 2007 13:19:26 -0000	1.2
@@ -0,0 +1 @@
+592f9f031796b4f0b90166a8cd5f9e30  aoetools-14.tar.gz




More information about the fedora-extras-commits mailing list