SPECS: Apache-Gallery.spec - release 2 - added tmpwatch config for...

blues blues at pld-linux.org
Thu May 4 16:32:00 CEST 2006


Author: blues                        Date: Thu May  4 14:32:00 2006 GMT
Module: SPECS                         Tag: HEAD
---- Log message:
- release 2 - added tmpwatch config for cleaning Apache-Gallery cache.
  STBR to AC (and TH is someone wants it).

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

---- Diffs:

================================================================
Index: SPECS/Apache-Gallery.spec
diff -u SPECS/Apache-Gallery.spec:1.21 SPECS/Apache-Gallery.spec:1.22
--- SPECS/Apache-Gallery.spec:1.21	Wed Apr 26 22:22:56 2006
+++ SPECS/Apache-Gallery.spec	Thu May  4 16:31:54 2006
@@ -12,7 +12,7 @@
 Summary(pl):	Moduł Apache'a do tworzenia galerii online
 Name:		Apache-Gallery
 Version:	1.0
-Release:	0.%{_rc}.1.1
+Release:	0.%{_rc}.2
 License:	Artistic
 Group:		Applications/Graphics
 Source0:	http://apachegallery.dk/download/%{name}-%{version}%{_rc}.tar.gz
@@ -70,7 +70,7 @@
 
 %install
 rm -rf $RPM_BUILD_ROOT
-install -d $RPM_BUILD_ROOT{%{_appdir}/templates/{new,default},%{_apacheicons},/etc/httpd/httpd.conf,%{_cachedir}}
+install -d $RPM_BUILD_ROOT{%{_appdir}/templates/{new,default},%{_apacheicons},/etc/{httpd/httpd.conf,tmpwatch},%{_cachedir}}
 
 %{__make} install \
 	DESTDIR=$RPM_BUILD_ROOT
@@ -81,6 +81,8 @@
 
 install %{SOURCE1} $RPM_BUILD_ROOT/etc/httpd/httpd.conf/09_%{name}.conf
 
+echo "%{_cachedir} 720" > $RPM_BUILD_ROOT/etc/tmpwatch/%{name}.conf
+
 %clean
 rm -rf $RPM_BUILD_ROOT
 
@@ -102,6 +104,7 @@
 %defattr(644,root,root,755)
 %doc Changes INSTALL README TODO UPGRADE
 %attr(640,root,http) %config(noreplace) %verify(not md5 mtime size) /etc/httpd/httpd.conf/*%{name}.conf
+%attr(640,root,root) %config(noreplace) %verify(not md5 mtime size) /etc/tmpwatch/%{name}.conf
 %{perl_vendorlib}/Apache/Gallery.pm
 %dir %{_appdir}
 %dir %{_appdir}/templates
@@ -122,6 +125,10 @@
 All persons listed below can be reached at <cvs_login>@pld-linux.org
 
 $Log$
+Revision 1.22  2006/05/04 14:31:54  blues
+- release 2 - added tmpwatch config for cleaning Apache-Gallery cache.
+  STBR to AC (and TH is someone wants it).
+
 Revision 1.21  2006/04/26 20:22:56  blues
 - cache_dir patch added - moved default cache dir to /var/cache
 
================================================================

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



More information about the pld-cvs-commit mailing list