packages: docutils/docutils.spec - python-docutils package added - Release: 2

jajcus jajcus at pld-linux.org
Wed Apr 7 18:37:36 CEST 2010


Author: jajcus                       Date: Wed Apr  7 16:37:36 2010 GMT
Module: packages                      Tag: HEAD
---- Log message:
- python-docutils package added
- Release: 2

---- Files affected:
packages/docutils:
   docutils.spec (1.11 -> 1.12) 

---- Diffs:

================================================================
Index: packages/docutils/docutils.spec
diff -u packages/docutils/docutils.spec:1.11 packages/docutils/docutils.spec:1.12
--- packages/docutils/docutils.spec:1.11	Wed Oct 14 18:00:13 2009
+++ packages/docutils/docutils.spec	Wed Apr  7 18:37:31 2010
@@ -1,16 +1,23 @@
 # $Revision$, $Date$
+#
+# 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)
 
@@ -25,6 +32,27 @@
 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
 
@@ -52,8 +80,12 @@
 %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
 
 %define date	%(echo `LC_ALL="C" date +"%a %b %d %Y"`)
 %changelog
@@ -61,6 +93,10 @@
 All persons listed below can be reached at <cvs_login>@pld-linux.org
 
 $Log$
+Revision 1.12  2010/04/07 16:37:31  jajcus
+- python-docutils package added
+- Release: 2
+
 Revision 1.11  2009/10/14 16:00:13  adamg
 - updated to 0.6
 
================================================================

---- CVS-web:
    http://cvs.pld-linux.org/cgi-bin/cvsweb.cgi/packages/docutils/docutils.spec?r1=1.11&r2=1.12&f=u



More information about the pld-cvs-commit mailing list