SPECS: tinyproxy.spec - fix packaging, rel 2

prism prism at pld-linux.org
Tue Apr 8 13:40:53 CEST 2008


Author: prism                        Date: Tue Apr  8 11:40:53 2008 GMT
Module: SPECS                         Tag: HEAD
---- Log message:
- fix packaging, rel 2

---- Files affected:
SPECS:
   tinyproxy.spec (1.24 -> 1.25) 

---- Diffs:

================================================================
Index: SPECS/tinyproxy.spec
diff -u SPECS/tinyproxy.spec:1.24 SPECS/tinyproxy.spec:1.25
--- SPECS/tinyproxy.spec:1.24	Sat Oct 20 17:04:25 2007
+++ SPECS/tinyproxy.spec	Tue Apr  8 13:40:48 2008
@@ -3,7 +3,7 @@
 Summary(pl.UTF-8):	Mały demon proxy
 Name:		tinyproxy
 Version:	1.7.0
-Release:	1
+Release:	2
 License:	GPL v2
 Group:		Networking/Daemons
 Source0:	http://dl.sourceforge.net/tinyproxy/%{name}-%{version}.tar.gz
@@ -43,11 +43,12 @@
 
 %install
 rm -rf $RPM_BUILD_ROOT
-install -d $RPM_BUILD_ROOT{%{_bindir},%{_mandir}/man8,%{_sysconfdir}/tinyproxy,/etc/rc.d/init.d}
-install  src/tinyproxy $RPM_BUILD_ROOT%{_bindir}
-install  doc/tinyproxy.8 $RPM_BUILD_ROOT%{_mandir}/man8
-install  doc/tinyproxy.conf $RPM_BUILD_ROOT%{_sysconfdir}/tinyproxy
-
+install -d $RPM_BUILD_ROOT{%{_bindir},%{_mandir}/man8,%{_sysconfdir}/tinyproxy,/etc/rc.d/init.d,%{_datadir}/%{name}}
+install src/tinyproxy $RPM_BUILD_ROOT%{_bindir}
+install doc/tinyproxy.8 $RPM_BUILD_ROOT%{_mandir}/man8
+install doc/tinyproxy.conf $RPM_BUILD_ROOT%{_sysconfdir}/tinyproxy
+install doc/stats.html $RPM_BUILD_ROOT%{_datadir}/%{name}
+install doc/default.html $RPM_BUILD_ROOT%{_datadir}/%{name}
 install %{SOURCE1} $RPM_BUILD_ROOT/etc/rc.d/init.d/tinyproxy
 
 %clean
@@ -73,7 +74,9 @@
 %defattr(644,root,root,755)
 %doc AUTHORS README TODO
 %attr(755,root,root) %{_bindir}/*
-%{_sysconfdir}/tinyproxy
+%{_datadir}/%{name}
+%dir %{_sysconfdir}/tinyproxy
+%config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/tinyproxy/tinyproxy.conf
 %attr(754,root,root) /etc/rc.d/init.d/tinyproxy
 %{_mandir}/man8/tinyproxy*
 
@@ -83,6 +86,9 @@
 All persons listed below can be reached at <cvs_login>@pld-linux.org
 
 $Log$
+Revision 1.25  2008-04-08 11:40:48  prism
+- fix packaging, rel 2
+
 Revision 1.24  2007-10-20 15:04:25  kosmo
 - enable transparent-proxy mode
 
================================================================

---- CVS-web:
    http://cvs.pld-linux.org/cgi-bin/cvsweb.cgi/SPECS/tinyproxy.spec?r1=1.24&r2=1.25&f=u



More information about the pld-cvs-commit mailing list