From b1f91b2e554088ab97191f5971261cb135676780 Mon Sep 17 00:00:00 2001 From: Automatic Build System Date: Sat, 6 Jan 2024 11:14:11 +0100 Subject: [PATCH] automatic version update by autodist [release 0.999-1mamba;Sun Dec 29 2013] --- README.md | 2 ++ python-html5lib.spec | 54 ++++++++++++++++++++++++++++++++++++++++++++ 2 files changed, 56 insertions(+) create mode 100644 python-html5lib.spec diff --git a/README.md b/README.md index 81fa643..f389600 100644 --- a/README.md +++ b/README.md @@ -1,2 +1,4 @@ # python-html5lib +HTML parser based on the HTML5 specifcation. + diff --git a/python-html5lib.spec b/python-html5lib.spec new file mode 100644 index 0000000..3f0ea78 --- /dev/null +++ b/python-html5lib.spec @@ -0,0 +1,54 @@ +Name: python-html5lib +Version: 0.999 +Release: 1mamba +Summary: HTML parser based on the HTML5 specifcation +Group: System/Libraries/Python +Vendor: openmamba +Distribution: openmamba +Packager: Stefano Cotta Ramusino +URL: https://github.com/html5lib/html5lib-python +Source: https://github.com/html5lib/html5lib-python.git/%{version}/html5lib-python-%{version}.tar.bz2 +License: MIT +Requires: python >= %python_version +BuildRoot: %{_tmppath}/%{name}-%{version}-root +BuildArch: noarch + +%description +HTML parser based on the HTML5 specifcation. + +%prep +%setup -q -n html5lib-python-%{version} + +%build +%{__python} setup.py build + +%install +[ "%{buildroot}" != / ] && rm -rf "%{buildroot}" +%{__python} setup.py install \ + -O1 --skip-build \ + --root="%{buildroot}" \ + --install-headers=%{_includedir}/python \ + --install-lib=%{python_sitearch} \ + --record=%{name}.filelist + +sed -i "\,\.egg-info/,d;s,.*/man/.*,&.gz," %{name}.filelist + +%clean +[ "%{buildroot}" != / ] && rm -rf "%{buildroot}" + +%files -f %{name}.filelist +%defattr(-,root,root) +#%doc examples README + +%changelog +* Sun Dec 29 2013 Automatic Build System 0.999-1mamba +- automatic version update by autodist + +* Mon Sep 30 2013 Automatic Build System 0.99-1mamba +- update to 0.99 + +* Fri May 17 2013 Silvan Calarco 0.90-2mamba +- python 2.7 mass rebuild + +* Tue Oct 12 2010 Stefano Cotta Ramusino 0.90-1mamba +- package created by autospec