]> git.pld-linux.org Git - packages/php-dirs.git/commitdiff
- resolve overlaping dirs with {php4,php}-common
authorElan Ruusamäe <glen@pld-linux.org>
Thu, 23 Mar 2006 17:44:09 +0000 (17:44 +0000)
committercvs2git <feedback@pld-linux.org>
Sun, 24 Jun 2012 12:13:13 +0000 (12:13 +0000)
Changed files:
    php-dirs.spec -> 1.1

php-dirs.spec [new file with mode: 0644]

diff --git a/php-dirs.spec b/php-dirs.spec
new file mode 100644 (file)
index 0000000..54838e5
--- /dev/null
@@ -0,0 +1,30 @@
+Summary:       Common dirs for different PHP versions
+Name:          php-dirs
+Version:       0.9
+Release:       0.1
+License:       GPL
+Group:         Base
+BuildArch:     noarch
+BuildRoot:     %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
+
+%define                _phpsharedir    %{_datadir}/php
+
+%description
+Common directories for PHP version 4 and version 5.
+
+%prep
+
+%install
+rm -rf $RPM_BUILD_ROOT
+install -d $RPM_BUILD_ROOT{%{_datadir}/php,/var/run/php,/etc/tmpwatch}
+
+echo '/var/run/php 720' > $RPM_BUILD_ROOT/etc/tmpwatch/php.conf
+
+%clean
+rm -rf $RPM_BUILD_ROOT
+
+%files
+%defattr(644,root,root,755)
+%dir %{_datadir}/php
+%attr(770,root,http) %dir %verify(not group mode) /var/run/php
+%attr(644,root,root) %config(noreplace) %verify(not md5 mtime size) /etc/tmpwatch/php.conf
This page took 0.142735 seconds and 4 git commands to generate.