diff --git a/README.md b/README.md index 689fe0c..1fc674c 100644 --- a/README.md +++ b/README.md @@ -1,2 +1,8 @@ # pear-HTML_Common +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. + diff --git a/pear-HTML_Common.spec b/pear-HTML_Common.spec new file mode 100644 index 0000000..ddbc261 --- /dev/null +++ b/pear-HTML_Common.spec @@ -0,0 +1,51 @@ +Name: pear-HTML_Common +Version: 1.2.4 +Release: 2mamba +Summary: Provides a pear class for generating HTML form select elements. +Group: Applications/Web +Vendor: openmamba +Distribution: openmamba +Packager: Tiziana Ferro +URL: http://pear.php.net +Source: http://pb12.pair.com/get/HTML_Common-%{version}.tgz +License: GPL +Requires: php >= 4.3.3 +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. + +%prep +[ "%{buildroot}" != "/" ] && rm -rf "%{buildroot}" + +%build + +%install +mkdir -p %{buildroot}%{_libdir}/php +pushd %{buildroot}%{_libdir}/php +tar xzvf %{SOURCE0} +mv HTML_Common-%{version} HTML +rm package.xml +popd + +%clean +[ "%{buildroot}" != "/" ] && rm -rf "%{buildroot}" + +%files +%defattr(-,root,root) +%dir %{_libdir}/php/HTML +%{_libdir}/php/HTML/Common.php + +%changelog +* Thu Sep 05 2013 Automatic Build System 1.2.4-2mamba +- automatic rebuild by autodist + +* Sat Jun 09 2007 Tiziana Ferro 1.2.4-1mamba +- update to 1.2.4 + +* Tue Sep 11 2003 Silvan Calarco 1.2.1-1qilnx +- first build