From 415d10a3f2d795a7ede02179c608320201b05e33 Mon Sep 17 00:00:00 2001 From: Automatic Build System Date: Sat, 6 Jan 2024 11:26:08 +0100 Subject: [PATCH] automatic version update by autodist [release 0.21-1mamba;Wed Apr 23 2014] --- README.md | 2 ++ python-markupsafe.spec | 58 ++++++++++++++++++++++++++++++++++++++++++ 2 files changed, 60 insertions(+) create mode 100644 python-markupsafe.spec diff --git a/README.md b/README.md index aae2bbc..4d3b38d 100644 --- a/README.md +++ b/README.md @@ -1,2 +1,4 @@ # python-markupsafe +Implements a XML/HTML/XHTML Markup safe string for Python. + diff --git a/python-markupsafe.spec b/python-markupsafe.spec new file mode 100644 index 0000000..5e5d268 --- /dev/null +++ b/python-markupsafe.spec @@ -0,0 +1,58 @@ +Name: python-markupsafe +Version: 0.21 +Release: 1mamba +Summary: Implements a XML/HTML/XHTML Markup safe string for Python +Group: System/Libraries +Vendor: openmamba +Distribution: openmamba +Packager: openmamba WebBuild System +URL: https://github.com/mitsuhiko/markupsafe +Source: https://pypi.python.org/packages/source/M/MarkupSafe/MarkupSafe-%{version}.tar.gz +License: BSD +## AUTOBUILDREQ-BEGIN +## note: run 'autospec -u -a6 python-markupsafe' to get the list of build requirements. +## AUTOBUILDREQ-END +BuildRequires: libpython-devel +Requires: python >= %python_version +BuildRoot: %{_tmppath}/%{name}-%{version}-root + +%description +%{summary}. + +%prep +%setup -q -n MarkupSafe-%{version} + +%build +CFLAGS="%{optflags}" %{__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} \ + --single-version-externally-managed \ + --record=%{name}.filelist + +sed -i "\,\.egg-info/,d;s,.*/man/.*,&.gz," %{name}.filelist + +%files -f %{name}.filelist +%defattr(-,root,root) +%doc AUTHORS LICENSE README.rst + +%changelog +* Wed Apr 23 2014 Automatic Build System 0.21-1mamba +- automatic version update by autodist + +* Sun Mar 16 2014 Automatic Build System 0.19-1mamba +- automatic update by autodist + +* Wed Aug 07 2013 openmamba WebBuild System 0.18-1mamba +- update to 0.18 + +* Sun Feb 06 2011 gil 0.11-2mamba +- rebuilt devel + +* Tue Nov 09 2010 gil 0.11-1mamba +- package created by autospec