]> git.pld-linux.org Git - packages/docutils.git/commitdiff
- python-docutils package added
authorJacek Konieczny <jajcus@pld-linux.org>
Wed, 7 Apr 2010 16:37:31 +0000 (16:37 +0000)
committercvs2git <feedback@pld-linux.org>
Sun, 24 Jun 2012 12:13:13 +0000 (12:13 +0000)
- Release: 2

Changed files:
    docutils.spec -> 1.12

docutils.spec

index b776aeb90d8b35651bc438e70b2b113cc62ecb4e..3ec9708d76cea2b708f5e149577ed0179c03543b 100644 (file)
@@ -1,15 +1,22 @@
+#
+# TODO:
+#      - check if ".py" suffix can be striped from the %{_bindir} scripts
+#        (*.py in %{_bindir} is generally a very bad idea)
+#
 Summary:       Documentation Utilities
 Summary(pl.UTF-8):     Narzędzia do tworzenia dokumentacji
 Name:          docutils
 Version:       0.6
-Release:       1
+Release:       2
 License:       Public Domain, BSD, GPL (see COPYING.txt)
 Group:         Development/Tools
 Source0:       http://dl.sourceforge.net/docutils/%{name}-%{version}.tar.gz
 # Source0-md5: 5c615479a965bc773892f585e0e08119
 URL:           http://docutils.sourceforge.net/
 BuildRequires: python-devel
-%pyrequires_eq python-libs
+BuildRequires: rpm-pythonprov
+BuildRequires: rpmbuild(macros) >= 1.219
+Requires:      python-%{name} = %{version}-%{release}
 BuildArch:     noarch
 BuildRoot:     %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
 
@@ -24,6 +31,27 @@ Narzędzia do ogólnego i specjalnego dokumentowania, włączając
 autodokumentację modułów pythona. Zawiera reStructuredText, łatwy do
 odczytania, łatwy w użyciu, WYSIWYG język opisu tekstu.
 
+%package -n python-%{name}
+Summary:        Text documents processing modules for Python
+Summary(pl.UTF-8):      Moduły Pythona do przetwarzania dokumentów tekstowych
+Group:          Development/Languages/Python
+%pyrequires_eq python-libs
+
+%description -n python-%{name}
+Docutils are utilities for general- and special-purpose documentation,
+including autodocumentation of Python modules. Includes reStructuredText, the
+easy to read, easy to use, what-you-see-is-what-you-get plaintext markup
+language.
+
+This package provides the Docutils python modules.
+
+%description -l pl.UTF-8 -n python-%{name}
+Docutils to narzędzia do ogólnego i specjalnego dokumentowania, włączając
+autodokumentację modułów pythona. Zawiera reStructuredText, łatwy do
+odczytania, łatwy w użyciu, WYSIWYG język opisu tekstu.
+
+Ten pakiet dostarcza modułów pythona Docutils.
+
 %prep
 %setup -q
 
@@ -51,5 +79,9 @@ rm -rf $RPM_BUILD_ROOT
 %defattr(644,root,root,755)
 %doc PKG-INFO *.txt docs
 %attr(755,root,root) %{_bindir}/*
+
+%files -n python-%{name}
+%defattr(644,root,root,755)
 %{py_sitescriptdir}/*.py[oc]
 %{py_sitescriptdir}/%{name}
+%{py_sitescriptdir}/%{name}*.egg-info
This page took 0.148703 seconds and 4 git commands to generate.