SPECS: natmonitor.spec - added -etc.patch (read {HOME_ETC, /etc}/na...

charles charles at pld-linux.org
Wed Oct 12 18:05:19 CEST 2005


Author: charles                      Date: Wed Oct 12 16:05:19 2005 GMT
Module: SPECS                         Tag: HEAD
---- Log message:
- added -etc.patch (read {HOME_ETC,/etc}/natmonitor.conf)
- fixed natmonitord.init
- /var/lib/natmonitor proper perms
- removed outdated -make.patch and -noc99.patch
- rel. 1

---- Files affected:
SPECS:
   natmonitor.spec (1.21 -> 1.22) 

---- Diffs:

================================================================
Index: SPECS/natmonitor.spec
diff -u SPECS/natmonitor.spec:1.21 SPECS/natmonitor.spec:1.22
--- SPECS/natmonitor.spec:1.21	Sat Oct  1 17:51:43 2005
+++ SPECS/natmonitor.spec	Wed Oct 12 18:05:14 2005
@@ -3,16 +3,15 @@
 Summary(pl):	Narzędzie monitorujące użycie szerokości pasma w sieci lokalnej
 Name:		natmonitor
 Version:	2.4
-Release:	0.5
+Release:	1
 License:	GPL
 Group:		Networking
 Source0:	http://dl.sourceforge.net/%{name}/%{name}-%{version}.tgz
 # Source0-md5:	22c15163254ec9f9f3e86c27a398d118
 Source1:	%{name}.desktop
 Source2:	natmonitord.init
-Patch0:		natmonitor-complex.patch
-Patch1:		%{name}-make.patch
-Patch2:		%{name}-noc99.patch
+Patch0:		%{name}-complex.patch
+Patch1:		%{name}-etc.patch
 URL:		http://natmonitor.sourceforge.net/
 BuildRequires:	gtk+2-devel >= 1:2.0.0
 BuildRequires:	libpcap-devel
@@ -47,6 +46,7 @@
 %prep
 %setup -q
 %patch0 -p0
+%patch1 -p1
 
 %build
 %{__make} \
@@ -67,10 +67,6 @@
 install natmonitor natmonitord natmonitorconsole $RPM_BUILD_ROOT%{_bindir}
 install natmonitord $RPM_BUILD_ROOT%{_sbindir}
 install natmonitor.conf natmonitord.conf $RPM_BUILD_ROOT%{_sysconfdir}
-#for i in 16x16 32x32 36x36 48x48 64x64; do
-#	install -d $RPM_BUILD_ROOT%{_pixmapsdir}/hicolor/$i/apps
-#	install icons/%{name}$i.png $RPM_BUILD_ROOT%{_pixmapsdir}/hicolor/$i/apps/%{name}.png
-#done
 install icons/%{name}48x48.png $RPM_BUILD_ROOT%{_pixmapsdir}/%{name}.png
 install %{SOURCE1} $RPM_BUILD_ROOT%{_desktopdir}
 install %{SOURCE2} $RPM_BUILD_ROOT%{_initrddir}/natmonitord
@@ -108,7 +104,7 @@
 %attr(755,root,root) %{_sbindir}/natmonitord
 %attr(754,root,root) %{_initrddir}/natmonitord
 %config(noreplace) %verify(not md5 size mtime) %{_sysconfdir}/natmonitord.conf
-%attr(755,root,root) %dir /var/lib/natmonitor
+%attr(750,nobody,nobody) /var/lib/natmonitor
 
 %define date	%(echo `LC_ALL="C" date +"%a %b %d %Y"`)
 %changelog
@@ -116,6 +112,13 @@
 All persons listed below can be reached at <cvs_login>@pld-linux.org
 
 $Log$
+Revision 1.22  2005/10/12 16:05:14  charles
+- added -etc.patch (read {HOME_ETC,/etc}/natmonitor.conf)
+- fixed natmonitord.init
+- /var/lib/natmonitor proper perms
+- removed outdated -make.patch and -noc99.patch
+- rel. 1
+
 Revision 1.21  2005/10/01 15:51:43  darekr
 - fix perms for init script
 
================================================================

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




More information about the pld-cvs-commit mailing list