]> git.pld-linux.org Git - packages/php-dirs.git/blob - php-dirs.spec
- resolve overlaping dirs with {php4,php}-common
[packages/php-dirs.git] / php-dirs.spec
1 Summary:        Common dirs for different PHP versions
2 Name:           php-dirs
3 Version:        0.9
4 Release:        0.1
5 License:        GPL
6 Group:          Base
7 BuildArch:      noarch
8 BuildRoot:      %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
9
10 %define         _phpsharedir    %{_datadir}/php
11
12 %description
13 Common directories for PHP version 4 and version 5.
14
15 %prep
16
17 %install
18 rm -rf $RPM_BUILD_ROOT
19 install -d $RPM_BUILD_ROOT{%{_datadir}/php,/var/run/php,/etc/tmpwatch}
20
21 echo '/var/run/php 720' > $RPM_BUILD_ROOT/etc/tmpwatch/php.conf
22
23 %clean
24 rm -rf $RPM_BUILD_ROOT
25
26 %files
27 %defattr(644,root,root,755)
28 %dir %{_datadir}/php
29 %attr(770,root,http) %dir %verify(not group mode) /var/run/php
30 %attr(644,root,root) %config(noreplace) %verify(not md5 mtime size) /etc/tmpwatch/php.conf
This page took 0.079468 seconds and 4 git commands to generate.