package created by autospec [release 0.11.4-1mamba;Sun Mar 17 2013]
This commit is contained in:
parent
5d5097f8f0
commit
2b2075fd1a
@ -1,2 +1,4 @@
|
||||
# pear-PHP_Archive
|
||||
|
||||
PHP_Archive allows you to create a single .phar file containing an entire application.
|
||||
|
||||
|
45
pear-PHP_Archive.spec
Normal file
45
pear-PHP_Archive.spec
Normal file
@ -0,0 +1,45 @@
|
||||
%define upstream_name PHP_Archive
|
||||
|
||||
Name: pear-%{upstream_name}
|
||||
Version: 0.11.4
|
||||
Release: 1mamba
|
||||
Summary: PHP_Archive allows you to create and use PHP archive files
|
||||
Group: Applications/Web
|
||||
Vendor: openmamba
|
||||
Distribution: openmamba
|
||||
Packager: Davide Madrisan <davide.madrisan@gmail.com>
|
||||
URL: http://pear.php.net/package/PHP_Archive
|
||||
Source: http://download.pear.php.net/package/PHP_Archive-%{version}.tgz
|
||||
License: PHP License
|
||||
## AUTOBUILDREQ-BEGIN
|
||||
## note: run 'autospec -u -a6 pear-PHP_Archive' to get the list of build requirements.
|
||||
## AUTOBUILDREQ-END
|
||||
BuildRequires: php-devel
|
||||
BuildRoot: %{_tmppath}/%{name}-%{version}-root
|
||||
|
||||
%description
|
||||
PHP_Archive allows you to create a single .phar file containing an entire application.
|
||||
|
||||
%prep
|
||||
%setup -q -c %{name}-%{version}
|
||||
cp package.xml %{upstream_name}-%{version}/%{upstream_name}.xml
|
||||
|
||||
%install
|
||||
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
|
||||
cd %{upstream_name}-%{version}
|
||||
|
||||
mkdir -p %{buildroot}%{_libdir}/php/PEAR
|
||||
cp Archive.php %{buildroot}%{_libdir}/php/PEAR/Archive.php
|
||||
cp -pr Archive %{buildroot}%{_libdir}/php/PEAR/
|
||||
|
||||
%clean
|
||||
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
|
||||
|
||||
%files
|
||||
%defattr(-,root,root)
|
||||
%{_libdir}/php/PEAR/Archive.php
|
||||
%{_libdir}/php/PEAR/Archive
|
||||
|
||||
%changelog
|
||||
* Sun Mar 17 2013 Davide Madrisan <davide.madrisan@gmail.com> 0.11.4-1mamba
|
||||
- package created by autospec
|
Loading…
Reference in New Issue
Block a user