SPECS: ipw3945d.spec - pl - definitely not noarch; added EA and x8...

qboosh qboosh at pld-linux.org
Sat Aug 19 21:00:39 CEST 2006


Author: qboosh                       Date: Sat Aug 19 19:00:39 2006 GMT
Module: SPECS                         Tag: HEAD
---- Log message:
- pl
- definitely not noarch; added EA and x8664 support
- don't require kernel in userspace package

---- Files affected:
SPECS:
   ipw3945d.spec (1.3 -> 1.4) 

---- Diffs:

================================================================
Index: SPECS/ipw3945d.spec
diff -u SPECS/ipw3945d.spec:1.3 SPECS/ipw3945d.spec:1.4
--- SPECS/ipw3945d.spec:1.3	Sun Aug  6 23:49:36 2006
+++ SPECS/ipw3945d.spec	Sat Aug 19 21:00:33 2006
@@ -1,52 +1,58 @@
 # $Revision$, $Date$
 #TODO
 # - rc.init script
-# - description, summary
-# - exclude arch
 #
-%define		modname		ipw3945
-
-Summary:	The regulatory daemon for controlling and configuring ipw3945 cards.
+Summary:	The regulatory daemon for controlling and configuring ipw3945 cards
+Summary(pl):	Demon do kontrolowania i konfigurowania kart ipw3945
 Name:		ipw3945d
 Version:	1.7.22
 Release:	0.2
 License:	Intel Limited patents license
 Group:		Applications/demon
-Source0:	http://bughost.org/%{modname}/daemon/%{name}-%{version}.tgz
+Source0:	http://bughost.org/ipw3945/daemon/%{name}-%{version}.tgz
 # Source0-md5:	097888f5be05eb2b9b87dcdbeeb948ce
 #Source1:	%{name}-rc.init
 URL:		http://ipw3945.sourceforge.net/
 BuildRequires:	rpmbuild(macros) >= 1.228
 Requires(post,preun):	/sbin/chkconfig
-Requires:	%{modname}
-BuildArch:	noarch
-#ExclusiveArch:	%{ix86}
+Requires:	rc-scripts
+ExclusiveArch:	%{ix86} %{x8664}
 BuildRoot:	%{tmpdir}/%{name}-%{version}-root-%(id -u -n)
 
 %description
 The regulatory daemon is responsible for controlling and configuring
 aspects of the hardware required to operate the device within
-compliance of various regulatory agencies.  This includes controlling
+compliance of various regulatory agencies. This includes controlling
 which channels are allowed to do active/passive scanning, transmit
 power levels, which channels are allowed to be transmitted on, and 
 support for IEEE 802.11h (DFS and TPC).
 
+%description -l pl
+Demon regulujący jest odpowiedzialny za kontrolowanie i konfigurowanie
+sprzętu wymagane do używania urządzeń zgodnie z żądaniami agencji
+regulujących. Obejmuje to kontrolę, których kanałów można używać do
+aktywnego i pasywnego skanowania oraz transmisji, kontrolę poziomu
+sygnału transmisji oraz obsługę IEEE 802.11h (DFS i TPC).
+
 %prep
 %setup -q
 
 %install
 rm -rf $RPM_BUILD_ROOT
-install -d $RPM_BUILD_ROOT{/sbin,%{_sysconfdir}/rc.d/init.d}
+install -d $RPM_BUILD_ROOT{/sbin,/etc/rc.d/init.d}
 
+%ifarch %{ix86}
 install x86/%{name} $RPM_BUILD_ROOT/sbin
-#install x86_64/%{name} $RPM_BUILD_ROOT%/sbin
-#install $SOURCE1	 $RPM_BUILD_ROOT%{_sysconfdir}/rc.d/init.d/%{name}
+%endif
+%ifarch %{x8664}
+install x86_64/%{name} $RPM_BUILD_ROOT%/sbin
+%endif
+
+#install %{SOURCE1} $RPM_BUILD_ROOT/etc/rc.d/init.d/%{name}
 
 %clean
 rm -rf $RPM_BUILD_ROOT
 
-%postun
-
 %post 
 /sbin/chkconfig --add %{name}
 %service %{name} restart
@@ -59,7 +65,7 @@
 
 %files
 %defattr(644,root,root,755)
-%doc LICENSE.ipw3945d  README.ipw3945d
+%doc LICENSE.ipw3945d README.ipw3945d
 %attr(755,root,root) /sbin/*
 #%%attr(754,root,root) /etc/rc.d/init.d/%{name}
 #%%config(noreplace) %verify(not md5 mtime size) /etc/sysconfig/%{name}
@@ -70,6 +76,11 @@
 All persons listed below can be reached at <cvs_login>@pld-linux.org
 
 $Log$
+Revision 1.4  2006/08/19 19:00:33  qboosh
+- pl
+- definitely not noarch; added EA and x8664 support
+- don't require kernel in userspace package
+
 Revision 1.3  2006/08/06 21:49:36  wolvverine
 - add R
 
@@ -78,5 +89,3 @@
 
 Revision 1.1  2006/08/06 20:33:07  wolvverine
 - init, NFY
-
-
================================================================

---- CVS-web:
    http://cvs.pld-linux.org/SPECS/ipw3945d.spec?r1=1.3&r2=1.4&f=u



More information about the pld-cvs-commit mailing list