update to 2.2.0 [release 2.2.0-1mamba;Sat Feb 12 2022]

This commit is contained in:
Silvan Calarco 2024-01-06 08:29:03 +01:00
parent fc9c1e4e24
commit b6b0888c93

View File

@ -1,17 +1,18 @@
%define ver_append beta1 %define ver_append beta1
Name: pear-HTML_Common2 Name: pear-HTML_Common2
Version: 2.0.0 Version: 2.2.0
Release: 2mamba Release: 1mamba
Summary: Provides a pear class for generating HTML form select elements. Summary: Provides a pear class for generating HTML form select elements.
Group: Applications/Web Group: Applications/Web
Vendor: openmamba Vendor: openmamba
Distribution: openmamba Distribution: openmamba
Packager: Silvan Calarco <silvan.calarco@mambasoft.it> Packager: Silvan Calarco <silvan.calarco@mambasoft.it>
URL: http://pear.php.net URL: https://pear.php.net/package/HTML_Common2
Source: http://download.pear.php.net/package/HTML_Common2-%{version}%{ver_append}.tgz Source: http://download.pear.php.net/package/HTML_Common2-%{version}.tgz
License: GPL License: BSD
## AUTOBUILDREQ-BEGIN
## AUTOBUILDREQ-END
Requires: php >= 5 Requires: php >= 5
BuildRoot: %{_tmppath}/%{name}-%{version}-root
%description %description
The PEAR::HTML_Common package provides methods for html code display and attributes handling. The PEAR::HTML_Common package provides methods for html code display and attributes handling.
@ -21,28 +22,27 @@ The PEAR::HTML_Common package provides methods for html code display and attribu
This is a PHP5 port of HTML_Common package. This is a PHP5 port of HTML_Common package.
%prep %prep
[ "%{buildroot}" != "/" ] && rm -rf "%{buildroot}" %setup -c -a0
%build %build
%install %install
mkdir -p %{buildroot}%{_libdir}/php [ "%{buildroot}" != "/" ] && rm -rf "%{buildroot}"
pushd %{buildroot}%{_libdir}/php install -d -m0755 %{buildroot}%{_libdir}/php/PEAR
tar xzvf %{SOURCE0} cp -a HTML_Common2-%{version}/HTML %{buildroot}%{_libdir}/php/PEAR/
mv HTML_Common2-%{version}%{ver_append} HTML
rm package.xml
popd
%clean %clean
[ "%{buildroot}" != "/" ] && rm -rf "%{buildroot}" [ "%{buildroot}" != "/" ] && rm -rf "%{buildroot}"
%files %files
%defattr(-,root,root) %defattr(-,root,root)
%dir %{_libdir}/php/HTML %dir %{_libdir}/php/PEAR/HTML
%{_libdir}/php/HTML/Common2.php %{_libdir}/php/PEAR/HTML/Common2.php
%{_libdir}/php/HTML/tests/HTML_Common2_Test.php
%changelog %changelog
* Sat Feb 12 2022 Silvan Calarco <silvan.calarco@mambasoft.it> 2.2.0-1mamba
- update to 2.2.0
* Sun Aug 18 2013 Automatic Build System <autodist@mambasoft.it> 2.0.0-2mamba * Sun Aug 18 2013 Automatic Build System <autodist@mambasoft.it> 2.0.0-2mamba
- automatic rebuild by autodist - automatic rebuild by autodist