From 4e5c4230823805d9e832d90b4b6c50bf64b16723 Mon Sep 17 00:00:00 2001 From: Silvan Calarco Date: Sat, 6 Jan 2024 08:30:25 +0100 Subject: [PATCH] package created by silvan using the webbuild interface [release 1.0.10-1mamba;Wed Feb 20 2013] --- README.md | 2 ++ pear-Net_Socket.spec | 40 ++++++++++++++++++++++++++++++++++++++++ 2 files changed, 42 insertions(+) create mode 100644 pear-Net_Socket.spec diff --git a/README.md b/README.md index 117ad45..9868ab7 100644 --- a/README.md +++ b/README.md @@ -1,2 +1,4 @@ # pear-Net_Socket +PHP/Pear Network Socket Interface. + diff --git a/pear-Net_Socket.spec b/pear-Net_Socket.spec new file mode 100644 index 0000000..b9880e9 --- /dev/null +++ b/pear-Net_Socket.spec @@ -0,0 +1,40 @@ +Name: pear-Net_Socket +Version: 1.0.10 +Release: 1mamba +Summary: PHP/Pear Network Socket Interface +Group: System/Libraries +Vendor: openmamba +Distribution: openmamba +Packager: Silvan Calarco +URL: http://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 + +%clean +[ "%{buildroot}" != / ] && rm -rf "%{buildroot}" + +%files +%defattr(-,root,root) +%attr(0644,root,root) %{_libdir}/php/Net/Socket.php + +%changelog +* Wed Feb 20 2013 Silvan Calarco 1.0.10-1mamba +- package created by silvan using the webbuild interface