pear-Net_Socket/pear-Net_Socket.spec

45 lines
1.2 KiB
RPMSpec
Raw Normal View History

Name: pear-Net_Socket
Version: 1.2.2
Release: 1mamba
Summary: PHP/Pear Network Socket Interface
Group: System/Libraries
Vendor: openmamba
Distribution: openmamba
Packager: Silvan Calarco <silvan.calarco@mambasoft.it>
URL: https://pear.php.net/package/Net_Socket
Source: http://download.pear.php.net/package/Net_Socket-%{version}.tgz
License: PHP License
## AUTOBUILDREQ-BEGIN
## AUTOBUILDREQ-END
Requires: php
BuildRoot: %{_tmppath}/%{name}-%{version}-root
%description
PHP/Pear Network Socket Interface.
%prep
%setup -q -c %{name}-%{version}
%build
%install
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
mkdir -p %{buildroot}%{_libdir}/php
cp -a Net_Socket-%{version}/* %{buildroot}%{_libdir}/php/
rm -f %{buildroot}%{_libdir}/php/{LICENSE,README.md}
%clean
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
%files
%defattr(-,root,root)
%attr(0644,root,root) %{_libdir}/php/Net/Socket.php
%doc Net_Socket-%{version}/LICENSE
%changelog
* Sat Feb 20 2021 Automatic Build System <autodist@mambasoft.it> 1.2.2-1mamba
- automatic version update by autodist
* Wed Feb 20 2013 Silvan Calarco <silvan.calarco@mambasoft.it> 1.0.10-1mamba
- package created by silvan using the webbuild interface