diff --git a/py2pack-0.3.11.tar.bz2 b/py2pack-0.3.11.tar.bz2 deleted file mode 100644 index 10624b9..0000000 --- a/py2pack-0.3.11.tar.bz2 +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:f85f5e0c50a39e64e4801ba5c50bb83c9a9032639243aa566fb169bb807538c0 -size 11706 diff --git a/py2pack-0.3.13.tar.bz2 b/py2pack-0.3.13.tar.bz2 new file mode 100644 index 0000000..1881e57 --- /dev/null +++ b/py2pack-0.3.13.tar.bz2 @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:1246778425582131b79834d143eec980d11c3d812dead463b537b3889d89176f +size 15256 diff --git a/python-py2pack.changes b/python-py2pack.changes index 8ebb7aa..13a416a 100644 --- a/python-py2pack.changes +++ b/python-py2pack.changes @@ -1,3 +1,10 @@ +------------------------------------------------------------------- +Wed Mar 9 09:18:43 UTC 2011 - saschpe@suse.de + +- Update to version 0.3.13: + * Generate manpage and HTML documentation +- Added manpage and HTML documentation + ------------------------------------------------------------------- Wed Feb 16 08:42:27 UTC 2011 - saschpe@suse.de diff --git a/python-py2pack.spec b/python-py2pack.spec index 7d48d73..6606450 100644 --- a/python-py2pack.spec +++ b/python-py2pack.spec @@ -11,20 +11,19 @@ # case the license is the MIT License). An "Open Source License" is a # license that conforms to the Open Source Definition (Version 1.9) # published by the Open Source Initiative. - +# # Please submit bugfixes or comments via http://bugs.opensuse.org/ # # norootforbuild - %{!?python_sitelib: %global python_sitelib %(%{__python} -c "from distutils.sysconfig import get_python_lib; print get_python_lib()")} %{!?python_sitearch: %global python_sitearch %(%{__python} -c "from distutils.sysconfig import get_python_lib; print get_python_lib(1)")} %define mod_name py2pack Name: python-%{mod_name} -Version: 0.3.11 -Release: 1 +Version: 0.3.13 +Release: 0 Url: http://github.com/saschpe/py2pack Summary: Generate distribution packages from Python packages on PyPI License: GPLv2 @@ -58,12 +57,19 @@ python setup.py build %install python setup.py install --prefix=%{_prefix} --root=%{buildroot} +# The setup script installs stuff into '/usr/local', move stuff around accordingly +install -d %{buildroot}%{_mandir}/man1 +mv %{buildroot}/usr/man/man1/%{mod_name}.* %{buildroot}%{_mandir}/man1 +install -d %{buildroot}%{_docdir}/%{name} +mv %{buildroot}/usr/share/doc/%{mod_name}/* %{buildroot}%{_docdir}/%{name} %clean rm -rf %{buildroot} %files %defattr(-,root,root,-) +%{_docdir}/%{name} +%{_mandir}/man?/%{mod_name}.* %{_bindir}/%{mod_name} %python_sitelib/%{mod_name}*