2024-01-06 08:30:05 +01:00
|
|
|
Name: pear-Net_IDNA2
|
2024-01-06 08:30:05 +01:00
|
|
|
Version: 0.2.0
|
2024-01-06 08:30:05 +01:00
|
|
|
Release: 1mamba
|
|
|
|
Summary: PHP/Pear Punycode encoding and decoding
|
|
|
|
Group: System/Libraries
|
|
|
|
Vendor: openmamba
|
|
|
|
Distribution: openmamba
|
|
|
|
Packager: Silvan Calarco <silvan.calarco@mambasoft.it>
|
2024-01-06 08:30:05 +01:00
|
|
|
URL: https://pear.php.net/package/Net_IDNA2
|
2024-01-06 08:30:05 +01:00
|
|
|
Source: http://download.pear.php.net/package/Net_IDNA2-%{version}.tgz
|
|
|
|
License: PHP License
|
|
|
|
## AUTOBUILDREQ-BEGIN
|
|
|
|
## AUTOBUILDREQ-END
|
|
|
|
Requires: php
|
|
|
|
BuildRoot: %{_tmppath}/%{name}-%{version}-root
|
|
|
|
|
|
|
|
%description
|
|
|
|
PHP/Pear Punycode encoding and decoding.
|
|
|
|
|
|
|
|
%prep
|
|
|
|
%setup -q -c %{name}-%{version}
|
|
|
|
|
|
|
|
%build
|
|
|
|
|
|
|
|
%install
|
|
|
|
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
|
|
|
|
mkdir -p %{buildroot}%{_libdir}/php
|
|
|
|
cp -a Net_IDNA2-%{version}/* %{buildroot}%{_libdir}/php/
|
|
|
|
rm -f %{buildroot}%{_libdir}/php/LICENSE
|
2024-01-06 08:30:05 +01:00
|
|
|
#mv %{buildroot}%{_libdir}/php/{tests,docs} %{buildroot}%{_libdir}/php/Net/IDNA2/
|
2024-01-06 08:30:05 +01:00
|
|
|
|
|
|
|
%clean
|
|
|
|
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
|
|
|
|
|
|
|
|
%files
|
|
|
|
%defattr(-,root,root)
|
|
|
|
%attr(0644,root,root) %{_libdir}/php/Net/IDNA2.php
|
|
|
|
%attr(0644,root,root) %{_libdir}/php/Net/IDNA2/Exception.php
|
|
|
|
%attr(0644,root,root) %{_libdir}/php/Net/IDNA2/Exception/Nameprep.php
|
2024-01-06 08:30:05 +01:00
|
|
|
%{_libdir}/php/tests/Net_IDNA2Test.php
|
|
|
|
%{_libdir}/php/tests/draft-josefsson-idn-test-vectors.php
|
2024-01-06 08:30:05 +01:00
|
|
|
|
|
|
|
%changelog
|
2024-01-06 08:30:05 +01:00
|
|
|
* Sun Feb 21 2021 Automatic Build System <autodist@mambasoft.it> 0.2.0-1mamba
|
|
|
|
- automatic version update by autodist
|
|
|
|
|
2024-01-06 08:30:05 +01:00
|
|
|
* Wed Feb 20 2013 Silvan Calarco <silvan.calarco@mambasoft.it> 0.1.1-1mamba
|
|
|
|
- package created by silvan using the webbuild interface
|