SPECS: aircrack-ng.spec - up to 1.0-rc1 (1.0-0.rc1.1)

mguevara mguevara at pld-linux.org
Mon Sep 8 16:43:01 CEST 2008


Author: mguevara                     Date: Mon Sep  8 14:43:01 2008 GMT
Module: SPECS                         Tag: HEAD
---- Log message:
- up to 1.0-rc1 (1.0-0.rc1.1)

---- Files affected:
SPECS:
   aircrack-ng.spec (1.13 -> 1.14) 

---- Diffs:

================================================================
Index: SPECS/aircrack-ng.spec
diff -u SPECS/aircrack-ng.spec:1.13 SPECS/aircrack-ng.spec:1.14
--- SPECS/aircrack-ng.spec:1.13	Mon Feb 25 08:47:33 2008
+++ SPECS/aircrack-ng.spec	Mon Sep  8 16:42:55 2008
@@ -4,16 +4,21 @@
 # - PLD it more
 # - Find more deps
 # - optflags
+# - cflags
+# - sbin/bin - change to bin?
 #
+
+%define		relc	-rc1
 Summary:	Reliable 802.11 (wireless) sniffer and WEP/WPA-PSK key cracker
 Summary(pl.UTF-8):	Pewny sniffer 802.11 (sieci bezprzewodowe) i łamacz kluczy WEP/WPA-PSK
 Name:		aircrack-ng
-Version:	0.9.3
-Release:	1
+Version:	1.0
+Release:	0.rc1.1
 License:	GPL
 Group:		Applications/Networking
-Source0:	http://download.aircrack-ng.org/%{name}-%{version}.tar.gz
-# Source0-md5:	f37fdb000d8bad77da6a0a43bc2ef67a
+Source0:	http://download.aircrack-ng.org/%{name}-%{version}%{relc}.tar.gz
+# Source0-md5:	113f0be4a2454f5c73cec25412b20f64
+Patch0:		%{name}-mandir.patch
 URL:		http://www.aircrack-ng.org/
 BuildRoot:	%{tmpdir}/%{name}-%{version}-root-%(id -u -n)
 
@@ -35,32 +40,23 @@
 convert, etc.).
 
 %prep
-%setup -q
+%setup -qn %{name}-%{version}%{relc}
+%patch0 -p1
 
 %build
 %{__make} \
-	CC="%{__cc}" \
-	CFLAGS="%{rpmcflags}"
+	CC="%{__cc}" 
+#	CFLAGS="%{rpmcflags}"
 
 %install
 rm -rf $RPM_BUILD_ROOT
 install -d $RPM_BUILD_ROOT{%{_bindir},%{_mandir}/man1}
 
-for BINARY in \
- aircrack-ng \
- airdecap-ng \
- aireplay-ng \
- airodump-ng \
- airmon-ng \
- ivstools \
- makeivs \
- kstats \
- packetforge-ng
-do
-	install "$BINARY" $RPM_BUILD_ROOT%{_bindir}
-	install manpages/"$BINARY.1" $RPM_BUILD_ROOT%{_mandir}/man1
-done
+%{__make} install \
+        prefix=%{_prefix} \
+        DESTDIR=$RPM_BUILD_ROOT
 
+echo MANDIR %{mandir}
 %clean
 rm -rf $RPM_BUILD_ROOT
 
@@ -69,22 +65,37 @@
 %doc AUTHORS ChangeLog README test patches
 %attr(755,root,root) %{_bindir}/aircrack-ng
 %attr(755,root,root) %{_bindir}/airdecap-ng
-%attr(755,root,root) %{_bindir}/aireplay-ng
-%attr(755,root,root) %{_bindir}/airmon-ng
-%attr(755,root,root) %{_bindir}/airodump-ng
+%attr(755,root,root) %{_bindir}/buddy-ng
 %attr(755,root,root) %{_bindir}/ivstools
 %attr(755,root,root) %{_bindir}/kstats
-%attr(755,root,root) %{_bindir}/makeivs
+%attr(755,root,root) %{_bindir}/makeivs-ng
 %attr(755,root,root) %{_bindir}/packetforge-ng
+%attr(755,root,root) %{_sbindir}/airbase-ng
+%attr(755,root,root) %{_sbindir}/airdriver-ng
+%attr(755,root,root) %{_sbindir}/aireplay-ng
+%attr(755,root,root) %{_sbindir}/airmon-ng
+%attr(755,root,root) %{_sbindir}/airodump-ng
+%attr(755,root,root) %{_sbindir}/airserv-ng
+%attr(755,root,root) %{_sbindir}/airtun-ng
+%attr(755,root,root) %{_sbindir}/easside-ng
+%attr(755,root,root) %{_sbindir}/patchchk
+%attr(755,root,root) %{_sbindir}/wesside-ng
 %{_mandir}/man1/aircrack-ng.1*
 %{_mandir}/man1/airdecap-ng.1*
+%{_mandir}/man1/airdriver-ng.1*
 %{_mandir}/man1/aireplay-ng.1*
 %{_mandir}/man1/airmon-ng.1*
 %{_mandir}/man1/airodump-ng.1*
+%{_mandir}/man1/airolib-ng.1*
+%{_mandir}/man1/airsev-ng.1*
+%{_mandir}/man1/airtun-ng.1*
+%{_mandir}/man1/buddy-ng.1*
+%{_mandir}/man1/easside-ng.1*
 %{_mandir}/man1/ivstools.1*
 %{_mandir}/man1/kstats.1*
-%{_mandir}/man1/makeivs.1*
+%{_mandir}/man1/makeivs-ng.1*
 %{_mandir}/man1/packetforge-ng.1*
+%{_mandir}/man1/wesside-ng.1*
 
 %define date	%(echo `LC_ALL="C" date +"%a %b %d %Y"`)
 %changelog
@@ -92,6 +103,9 @@
 All persons listed below can be reached at <cvs_login>@pld-linux.org
 
 $Log$
+Revision 1.14  2008/09/08 14:42:55  mguevara
+- up to 1.0-rc1 (1.0-0.rc1.1)
+
 Revision 1.13  2008/02/25 07:47:33  paszczus
 - updated to 0.9.3
 
================================================================

---- CVS-web:
    http://cvs.pld-linux.org/cgi-bin/cvsweb.cgi/SPECS/aircrack-ng.spec?r1=1.13&r2=1.14&f=u



More information about the pld-cvs-commit mailing list