47 lines
1.4 KiB
RPMSpec
47 lines
1.4 KiB
RPMSpec
%define upstream_name PHP_Archive
|
|
|
|
Name: pear-%{upstream_name}
|
|
Version: 0.14.0
|
|
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: https://pear.php.net/package/PHP_Archive
|
|
Source: http://download.pear.php.net/package/PHP_Archive-%{version}.tgz
|
|
License: PHP License
|
|
## AUTOBUILDREQ-BEGIN
|
|
## AUTOBUILDREQ-END
|
|
BuildRequires: php-devel
|
|
|
|
%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
|
|
* Sat May 07 2022 Automatic Build System <autodist@mambasoft.it> 0.14.0-1mamba
|
|
- automatic version update by autodist
|
|
|
|
* Sun Mar 17 2013 Davide Madrisan <davide.madrisan@gmail.com> 0.11.4-1mamba
|
|
- package created by autospec
|