SPECS: php4-mmcache.spec - renamed and fixed executables - webinte...

glen glen at pld-linux.org
Sat Sep 17 02:00:24 CEST 2005


Author: glen                         Date: Sat Sep 17 00:00:24 2005 GMT
Module: SPECS                         Tag: HEAD
---- Log message:
- renamed and fixed executables
- webinterface files moved to datadir
- added manual pages

---- Files affected:
SPECS:
   php4-mmcache.spec (1.41 -> 1.42) 

---- Diffs:

================================================================
Index: SPECS/php4-mmcache.spec
diff -u SPECS/php4-mmcache.spec:1.41 SPECS/php4-mmcache.spec:1.42
--- SPECS/php4-mmcache.spec:1.41	Sat Sep 17 01:14:24 2005
+++ SPECS/php4-mmcache.spec	Sat Sep 17 02:00:16 2005
@@ -103,13 +103,18 @@
 
 %install
 rm -rf $RPM_BUILD_ROOT
-install -d $RPM_BUILD_ROOT{%{_sysconfdir}/conf.d,%{extensionsdir},%{_bindir}}
+install -d $RPM_BUILD_ROOT{%{_sysconfdir}/conf.d,%{extensionsdir},%{_bindir},%{_mandir}/man1,%{_datadir}/%{name}}
 
 install ./modules/mmcache.so $RPM_BUILD_ROOT%{extensionsdir}
-install ./encoder.php $RPM_BUILD_ROOT%{_bindir}
-install ./mmcache_password.php $RPM_BUILD_ROOT%{_bindir}
-install ./mmcache.php $RPM_BUILD_ROOT%{_bindir}
+
+install ./encoder.php $RPM_BUILD_ROOT%{_bindir}/turck-encode
+echo '#!%{_bindir}/php4 -q' > $RPM_BUILD_ROOT%{_bindir}/turck-mmcache_password
+cat ./mmcache_password.php >> $RPM_BUILD_ROOT%{_bindir}/turck-mmcache_password
+
+install ./mmcache*.php $RPM_BUILD_ROOT%{_datadir}/%{name}
+
 install ./TurckLoader/modules/TurckLoader.so $RPM_BUILD_ROOT%{extensionsdir}
+install debian/*.1 $RPM_BUILD_ROOT%{_mandir}/man1
 
 cat <<'EOF' > $RPM_BUILD_ROOT%{_sysconfdir}/conf.d/%{_modname}.ini
 ; Enable %{_modname} extension module
@@ -149,7 +154,9 @@
 %doc CREDITS EXPERIMENTAL README TODO
 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/%{_modname}.ini
 %attr(755,root,root) %{extensionsdir}/mmcache.so
-%attr(755,root,root) %{_bindir}/encoder.php
+%attr(755,root,root) %{_bindir}/turck-encode
+%attr(755,root,root) %{_bindir}/turck-mmcache_password
+%{_mandir}/man1/*
 
 %files TurckLoader
 %defattr(644,root,root,755)
@@ -159,8 +166,7 @@
 
 %files webinterface
 %defattr(644,root,root,755)
-%attr(755,root,root) %{_bindir}/mmcache.php
-%attr(755,root,root) %{_bindir}/mmcache_password.php
+%{_datadir}/%{name}
 
 %define date	%(echo `LC_ALL="C" date +"%a %b %d %Y"`)
 %changelog
@@ -168,6 +174,11 @@
 All persons listed below can be reached at <cvs_login>@pld-linux.org
 
 $Log$
+Revision 1.42  2005/09/17 00:00:16  glen
+- renamed and fixed executables
+- webinterface files moved to datadir
+- added manual pages
+
 Revision 1.41  2005/09/16 23:14:24  glen
 - also zend exteions, add zend api version dep
 
================================================================

---- CVS-web:
    http://cvs.pld-linux.org/SPECS/php4-mmcache.spec?r1=1.41&r2=1.42&f=u




More information about the pld-cvs-commit mailing list