From fc9c1e4e24418d85aec2499eeed9b4e210a56b7b Mon Sep 17 00:00:00 2001 From: Automatic Build System Date: Sat, 6 Jan 2024 08:29:03 +0100 Subject: [PATCH] automatic rebuild by autodist [release 2.0.0-2mamba;Sun Aug 18 2013] --- README.md | 6 +++++ pear-HTML_Common2.spec | 50 ++++++++++++++++++++++++++++++++++++++++++ 2 files changed, 56 insertions(+) create mode 100644 pear-HTML_Common2.spec diff --git a/README.md b/README.md index e66a950..27df4b8 100644 --- a/README.md +++ b/README.md @@ -1,2 +1,8 @@ # pear-HTML_Common2 +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. + diff --git a/pear-HTML_Common2.spec b/pear-HTML_Common2.spec new file mode 100644 index 0000000..8f2d59b --- /dev/null +++ b/pear-HTML_Common2.spec @@ -0,0 +1,50 @@ +%define ver_append beta1 +Name: pear-HTML_Common2 +Version: 2.0.0 +Release: 2mamba +Summary: Provides a pear class for generating HTML form select elements. +Group: Applications/Web +Vendor: openmamba +Distribution: openmamba +Packager: Silvan Calarco +URL: http://pear.php.net +Source: http://download.pear.php.net/package/HTML_Common2-%{version}%{ver_append}.tgz +License: GPL +Requires: php >= 5 +BuildRoot: %{_tmppath}/%{name}-%{version}-root + +%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 +[ "%{buildroot}" != "/" ] && rm -rf "%{buildroot}" + +%build + +%install +mkdir -p %{buildroot}%{_libdir}/php +pushd %{buildroot}%{_libdir}/php +tar xzvf %{SOURCE0} +mv HTML_Common2-%{version}%{ver_append} HTML +rm package.xml +popd + +%clean +[ "%{buildroot}" != "/" ] && rm -rf "%{buildroot}" + +%files +%defattr(-,root,root) +%dir %{_libdir}/php/HTML +%{_libdir}/php/HTML/Common2.php +%{_libdir}/php/HTML/tests/HTML_Common2_Test.php + +%changelog +* Sun Aug 18 2013 Automatic Build System 2.0.0-2mamba +- automatic rebuild by autodist + +* Mon May 05 2008 Silvan Calarco 2.0.0-1mamba +- first build, based on pear-HTML_Common specfile