SPECS: linux-igd.spec - unify

glen glen at pld-linux.org
Mon Oct 2 10:09:03 CEST 2006


Author: glen                         Date: Mon Oct  2 08:09:03 2006 GMT
Module: SPECS                         Tag: HEAD
---- Log message:
- unify

---- Files affected:
SPECS:
   linux-igd.spec (1.1 -> 1.2) 

---- Diffs:

================================================================
Index: SPECS/linux-igd.spec
diff -u SPECS/linux-igd.spec:1.1 SPECS/linux-igd.spec:1.2
--- SPECS/linux-igd.spec:1.1	Mon Oct  2 03:58:34 2006
+++ SPECS/linux-igd.spec	Mon Oct  2 10:08:54 2006
@@ -1,17 +1,16 @@
 # $Revision$, $Date$
-
 Summary:	The Linux UPNP Internet Gateway Device
 Name:		linux-igd
 Version:	0.95
 Release:	1
+License:	GPL
+Group:		Daemons
 URL:		http://linux-igd.sourceforge.net/
-Source0:	http://dl.sourceforge.net/linux-igd/linuxigd-0.95.tar.gz
+Source0:	http://dl.sourceforge.net/linux-igd/linuxigd-%{version}.tar.gz
 # Source0-md5:	0f203a2db5e3fb01496b73e417dbd9a6
 Patch0:		%{name}-install.patch
-License:	GPL
-Group:		Daemons
-BuildRoot:	%{tmpdir}/%{name}-%{version}-root-%(id -u -n)
 BuildRequires:	libupnp-devel
+BuildRoot:	%{tmpdir}/%{name}-%{version}-root-%(id -u -n)
 
 %description
 This is a deamon that emulates Microsoft's Internet Connection Service
@@ -24,18 +23,20 @@
 %patch0 -p1
 
 %build
-%{__make} OPT="$RPM_OPT_FLAGS"
+%{__make} \
+	OPT="%{rpmcflags}"
 
 %install
 rm -rf $RPM_BUILD_ROOT
-%{__make} DESTDIR=$RPM_BUILD_ROOT install
+%{__make} install \
+	DESTDIR=$RPM_BUILD_ROOT
 
 %clean
 rm -rf $RPM_BUILD_ROOT
 
 %files
 %defattr(644,root,root,755)
-%dir %{_sysconfdir}/linuxigd/
+%dir %{_sysconfdir}/linuxigd
 %{_sysconfdir}/linuxigd/*.xml
 %config %{_sysconfdir}/upnpd.conf
 %config(noreplace) %verify(not md5 mtime size) /etc/sysconfig/upnpd
@@ -47,7 +48,7 @@
 /sbin/chkconfig --add upnpd
 
 %preun
-if [ $1 = 0 ] ; then
+if [ "$1" = 0 ]; then
 	/sbin/chkconfig --del upnpd
 fi
 
@@ -57,6 +58,8 @@
 All persons listed below can be reached at <cvs_login>@pld-linux.org
 
 $Log$
+Revision 1.2  2006/10/02 08:08:54  glen
+- unify
+
 Revision 1.1  2006/10/02 01:58:34  aredridel
 - added
-
================================================================

---- CVS-web:
    http://cvs.pld-linux.org/SPECS/linux-igd.spec?r1=1.1&r2=1.2&f=u



More information about the pld-cvs-commit mailing list