1 Summary: Common dirs for different PHP versions
2 Summary(pl.UTF-8): Wspólne katalogi dla różnych wersji PHP
8 BuildRequires: rpmbuild(macros) >= 1.202
9 Requires(postun): /usr/sbin/groupdel
10 Requires(pre): /usr/bin/getgid
11 Requires(pre): /usr/sbin/groupadd
14 BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
16 %define _tmpwatchdir /etc/tmpwatch
19 Common directories for PHP version 4 and version 5.
21 %description -l pl.UTF-8
22 Wspólne katalogi dla PHP w wersji 4 oraz 5.
27 rm -rf $RPM_BUILD_ROOT
28 install -d $RPM_BUILD_ROOT{%{_datadir}/php,/var/run/php}
29 install -d $RPM_BUILD_ROOT%{_docdir}/phpdoc
31 install -d $RPM_BUILD_ROOT%{_tmpwatchdir}
32 echo '/var/run/php 720' > $RPM_BUILD_ROOT%{_tmpwatchdir}/php.conf
35 rm -rf $RPM_BUILD_ROOT
41 if [ "$1" = "0" ]; then
46 %defattr(644,root,root,755)
48 %dir %{_docdir}/phpdoc
49 %attr(770,root,http) %dir %verify(not group mode) /var/run/php
50 %config(noreplace) %verify(not md5 mtime size) %{_tmpwatchdir}/php.conf