pear-HTML_Common2/pear-HTML_Common2.spec

51 lines
1.5 KiB
RPMSpec
Raw Permalink Normal View History

%define ver_append beta1
Name: pear-HTML_Common2
Version: 2.2.0
Release: 1mamba
Summary: Provides a pear class for generating HTML form select elements.
Group: Applications/Web
Vendor: openmamba
Distribution: openmamba
Packager: Silvan Calarco <silvan.calarco@mambasoft.it>
URL: https://pear.php.net/package/HTML_Common2
Source: http://download.pear.php.net/package/HTML_Common2-%{version}.tgz
License: BSD
## AUTOBUILDREQ-BEGIN
## AUTOBUILDREQ-END
Requires: php >= 5
%description
The PEAR::HTML_Common package provides methods for html code display and attributes handling.
* Methods to set, remove, update html attributes.
* Handles comments in HTML code.
* Handles layout, tabs, line endings for nicer HTML code.
This is a PHP5 port of HTML_Common package.
%prep
%setup -c -a0
%build
%install
[ "%{buildroot}" != "/" ] && rm -rf "%{buildroot}"
install -d -m0755 %{buildroot}%{_libdir}/php/PEAR
cp -a HTML_Common2-%{version}/HTML %{buildroot}%{_libdir}/php/PEAR/
%clean
[ "%{buildroot}" != "/" ] && rm -rf "%{buildroot}"
%files
%defattr(-,root,root)
%dir %{_libdir}/php/PEAR/HTML
%{_libdir}/php/PEAR/HTML/Common2.php
%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
- automatic rebuild by autodist
* Mon May 05 2008 Silvan Calarco <silvan.calarco@mambasoft.it> 2.0.0-1mamba
- first build, based on pear-HTML_Common specfile