SPECS: ifplugd.spec - PLDized; rel 2

glen glen at pld-linux.org
Sun Sep 17 21:36:43 CEST 2006


Author: glen                         Date: Sun Sep 17 19:36:43 2006 GMT
Module: SPECS                         Tag: HEAD
---- Log message:
- PLDized; rel 2

---- Files affected:
SPECS:
   ifplugd.spec (1.20 -> 1.21) 

---- Diffs:

================================================================
Index: SPECS/ifplugd.spec
diff -u SPECS/ifplugd.spec:1.20 SPECS/ifplugd.spec:1.21
--- SPECS/ifplugd.spec:1.20	Wed Apr 26 19:07:52 2006
+++ SPECS/ifplugd.spec	Sun Sep 17 21:36:35 2006
@@ -3,12 +3,14 @@
 Summary(pl):	Wykrywanie podłączenia/odłączenia kabla ethernetowego i podejmowanie działań z tym związanych
 Name:		ifplugd
 Version:	0.28
-Release:	1
+Release:	2
 License:	GPL
 Group:		Networking
 Source0:	http://0pointer.de/lennart/projects/ifplugd/%{name}-%{version}.tar.gz
 # Source0-md5:	df6f4bab52f46ffd6eb1f5912d4ccee3
+Patch0:	%{name}-pld.patch
 Source1:	%{name}.init
+Source2:	%{name}.sysconfig
 URL:		http://0pointer.de/lennart/projects/ifplugd/
 BuildRequires:	autoconf
 BuildRequires:	automake
@@ -38,6 +40,7 @@
 
 %prep
 %setup -q
+%patch0 -p1
 
 %build
 autoreconf
@@ -49,12 +52,12 @@
 
 %install
 rm -rf $RPM_BUILD_ROOT
-install -d $RPM_BUILD_ROOT/etc/rc.d/init.d
 
 %{__make} install \
 	DESTDIR=$RPM_BUILD_ROOT
 
 install %{SOURCE1} $RPM_BUILD_ROOT/etc/rc.d/init.d/%{name}
+install %{SOURCE2} $RPM_BUILD_ROOT/etc/sysconfig/%{name}
 
 %clean
 rm -rf $RPM_BUILD_ROOT
@@ -72,12 +75,12 @@
 %files
 %defattr(644,root,root,755)
 %doc doc/README doc/NEWS doc/README.html doc/style.css
-%attr(755,root,root) %{_sbindir}/*
-%{_mandir}/man?/*
+%config(noreplace) %verify(not md5 mtime size) /etc/sysconfig/ifplugd
 %attr(754,root,root) /etc/rc.d/init.d/%{name}
+%attr(755,root,root) %{_sbindir}/*
 %dir %{_sysconfdir}/ifplugd
-%config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/ifplugd/ifplugd.conf
 %attr(755,root,root) %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/ifplugd/ifplugd.action
+%{_mandir}/man?/*
 
 %define date	%(echo `LC_ALL="C" date +"%a %b %d %Y"`)
 %changelog
@@ -85,6 +88,9 @@
 All persons listed below can be reached at <cvs_login>@pld-linux.org
 
 $Log$
+Revision 1.21  2006/09/17 19:36:35  glen
+- PLDized; rel 2
+
 Revision 1.20  2006/04/26 17:07:52  glen
 - +/- tabs
 
================================================================

---- CVS-web:
    http://cvs.pld-linux.org/SPECS/ifplugd.spec?r1=1.20&r2=1.21&f=u



More information about the pld-cvs-commit mailing list