diff --git a/pear-HTML_Select.spec b/pear-HTML_Select.spec
index 3fe1384..36e75ea 100644
--- a/pear-HTML_Select.spec
+++ b/pear-HTML_Select.spec
@@ -1,16 +1,17 @@
Name: pear-HTML_Select
-Version: 1.2.1
-Release: 2mamba
+Version: 1.3.1
+Release: 1mamba
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_Select-%{version}.tgz
+Packager: Silvan Calarco
+URL: https://pear.php.net/
+Source: http://download.pear.php.net/package/HTML_Select-%{version}.tgz
License: GPL
+## AUTOBUILDREQ-BEGIN
+## AUTOBUILDREQ-END
Requires: php >= 4.3.3
-BuildRoot: %{_tmppath}/%{name}-%{version}-root
%description
HTML_Select provides an OOP way of generating HTML form select elements.
@@ -21,13 +22,15 @@ HTML_Select provides an OOP way of generating HTML form select elements.
%build
%install
-mkdir -p %{buildroot}%{_libdir}/php
-pushd %{buildroot}%{_libdir}/php
+mkdir -p %{buildroot}%{_libdir}
+pushd %{buildroot}%{_libdir}
tar xzvf %{SOURCE0}
-mv HTML_Select-%{version} HTML
+mv HTML_Select-%{version} php
rm package.xml
popd
+rm -rf %{buildroot}%{_libdir}/php/{README,docs}
+
%clean
[ "%{buildroot}" != "/" ] && rm -rf "%{buildroot}"
@@ -36,11 +39,14 @@ popd
%{_libdir}/php/HTML/Select.php
%changelog
+* Mon May 09 2022 Silvan Calarco 1.3.1-1mamba
+- update to 1.3.1
+
* Thu Sep 05 2013 Automatic Build System 1.2.1-2mamba
- automatic rebuild by autodist
* Sun Jun 17 2007 Tiziana Ferro 1.2.1-1mamba
- update to 1.2.1
-* Tue Sep 11 2003 Silvan Calarco 1.2-1qilnx
+* Thu Sep 11 2003 Silvan Calarco 1.2-1qilnx
- first build