diff options
author | Paweł Gołaszewski | 2006-05-04 14:31:54 (GMT) |
---|---|---|
committer | cvs2git | 2012-06-24 12:13:13 (GMT) |
commit | 2dcdeb66e3b6d85b44bea3121397bc453b71b18e (patch) | |
tree | 2d92bc3c0a54f0f5c7a61ff820cb0174d60c4313 | |
parent | 2a6c197041108f755bd4839c30aee39b3086ab70 (diff) | |
download | Apache-Gallery-2dcdeb66e3b6d85b44bea3121397bc453b71b18e.zip Apache-Gallery-2dcdeb66e3b6d85b44bea3121397bc453b71b18e.tar.gz |
- release 2 - added tmpwatch config for cleaning Apache-Gallery cache.
STBR to AC (and TH is someone wants it).
Changed files:
Apache-Gallery.spec -> 1.22
-rw-r--r-- | Apache-Gallery.spec | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/Apache-Gallery.spec b/Apache-Gallery.spec index ab540a8..7f8e3df 100644 --- a/Apache-Gallery.spec +++ b/Apache-Gallery.spec @@ -11,7 +11,7 @@ Summary: An Apache module for creating an online gallery 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 @@ -69,7 +69,7 @@ przeskalowywane w locie i buforowane. %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 @@ -80,6 +80,8 @@ install htdocs/*.png $RPM_BUILD_ROOT%{_apacheicons} 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 @@ -101,6 +103,7 @@ fi %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 |