packages: python-pygments/python-pygments.spec - pl - revised docs

qboosh qboosh at pld-linux.org
Fri Aug 12 18:31:29 CEST 2011


Author: qboosh                       Date: Fri Aug 12 16:31:29 2011 GMT
Module: packages                      Tag: HEAD
---- Log message:
- pl
- revised docs

---- Files affected:
packages/python-pygments:
   python-pygments.spec (1.13 -> 1.14) 

---- Diffs:

================================================================
Index: packages/python-pygments/python-pygments.spec
diff -u packages/python-pygments/python-pygments.spec:1.13 packages/python-pygments/python-pygments.spec:1.14
--- packages/python-pygments/python-pygments.spec:1.13	Fri Jul 15 19:23:46 2011
+++ packages/python-pygments/python-pygments.spec	Fri Aug 12 18:31:24 2011
@@ -1,9 +1,12 @@
 # $Revision$, $Date$
-%bcond_without	python2
-%bcond_without	python3
-%define module	pygments
 #
-Summary:	A generic syntax highlighter
+# Conditional build:
+%bcond_without	python2	# CPython 2.x module
+%bcond_without	python3	# CPython 3.x module
+#
+%define module	pygments
+Summary:	A generic syntax highlighter as Python 2.x module
+Summary(pl.UTF-8):	Moduł Pythona 2.x do ogólnego podświetlania składni
 Name:		python-%{module}
 Version:	1.4
 Release:	2
@@ -34,7 +37,7 @@
 %description
 Pygments is a generic syntax highlighter for general use in all kinds
 of software such as forum systems, wikis or other applications that
-need to prettify source code. Highlights are
+need to prettify source code. Highlights are:
 - a wide range of common languages and markup formats is supported
 - special attention is paid to details that increase highlighting
   quality
@@ -45,9 +48,27 @@
 - it is usable as a command-line tool and as a library
 - ... and it highlights even Brainf*ck!
 
+%description -l pl.UTF-8
+Pygments to moduł Pythona do podświetlania składni ogólnego
+przeznaczenia we wszelkiego rodzaju programach, takich jaka systemy
+forów, wiki i inne plikacje wymagające ładnego wyświetlania kodu
+źródłowego. Zalety Pygments to:
+- obsługiwany szeroki zakres popularnych języków i formatów znaczników
+- zwrócenie szczególnej uwagi na szczegóły zwiększające jakość
+  podświetlania
+- łatwa obsługa nowych języków i formatów; większość języków
+  wykorzystuje prosty mechanizm analizy leksykalnej oparty o wyrażenia
+  regularne
+- dostępność wielu formatów wyjściowych, m.in. HTML, RTF, LaTeX i
+  sekwencje ANSI
+- możliwość używania z linii poleceń oraz jako biblioteki
+- ...a także - podświetla nawet Brainf*cka!
+
 %package -n python3-%{module}
-Summary:	Generic syntax highlighter
+Summary:	Generic syntax highlighter as Python 3.x module
+Summary(pl.UTF-8):	Moduł Pythona 3.x do ogólnego podświetlania składni
 Group:		Development/Languages/Python
+Requires:	python3-modules
 
 %description -n python3-%{module}
 Pygments is a generic syntax highlighter for general use in all kinds
@@ -63,6 +84,22 @@
 - it is usable as a command-line tool and as a library
 - ... and it highlights even Brainf*ck!
 
+%description -n python3-%{module} -l pl.UTF-8
+Pygments to moduł Pythona do podświetlania składni ogólnego
+przeznaczenia we wszelkiego rodzaju programach, takich jaka systemy
+forów, wiki i inne plikacje wymagające ładnego wyświetlania kodu
+źródłowego. Zalety Pygments to:
+- obsługiwany szeroki zakres popularnych języków i formatów znaczników
+- zwrócenie szczególnej uwagi na szczegóły zwiększające jakość
+  podświetlania
+- łatwa obsługa nowych języków i formatów; większość języków
+  wykorzystuje prosty mechanizm analizy leksykalnej oparty o wyrażenia
+  regularne
+- dostępność wielu formatów wyjściowych, m.in. HTML, RTF, LaTeX i
+  sekwencje ANSI
+- możliwość używania z linii poleceń oraz jako biblioteki
+- ...a także - podświetla nawet Brainf*cka!
+
 %prep
 %setup -q -n Pygments-%{version}
 
@@ -89,7 +126,6 @@
 
 %py_ocomp $RPM_BUILD_ROOT%{py_sitedir}
 %py_comp $RPM_BUILD_ROOT%{py_sitedir}
-
 %py_postclean
 %endif
 
@@ -103,7 +139,9 @@
 mv $RPM_BUILD_ROOT%{_bindir}/pygmentize{,-3}
 %endif
 
-ln -s pygmentize-2 $RPM_BUILD_ROOT%{_bindir}/pygmentize
+%if %{with python2}
+ln -sf pygmentize-2 $RPM_BUILD_ROOT%{_bindir}/pygmentize
+%endif
 
 %clean
 rm -rf $RPM_BUILD_ROOT
@@ -111,22 +149,22 @@
 %if %{with python2}
 %files
 %defattr(644,root,root,755)
-%doc PKG-INFO TODO AUTHORS
+%doc AUTHORS CHANGES LICENSE TODO
 %attr(755,root,root) %{_bindir}/pygmentize
 %attr(755,root,root) %{_bindir}/pygmentize-2
 %{py_sitescriptdir}/%{module}
 %if "%{py_ver}" > "2.4"
-%{py_sitescriptdir}/*.egg-info
+%{py_sitescriptdir}/Pygments-%{version}-py*.egg-info
 %endif
 %endif
 
 %if %{with python3}
 %files -n python3-%{module}
 %defattr(644,root,root,755)
-%doc PKG-INFO TODO AUTHORS
+%doc AUTHORS CHANGES LICENSE TODO
 %attr(755,root,root) %{_bindir}/pygmentize-3
 %{py3_sitescriptdir}/%{module}
-%{py3_sitescriptdir}/*.egg-info
+%{py3_sitescriptdir}/Pygments-%{version}-py*.egg-info
 %endif
 
 %define date	%(echo `LC_ALL="C" date +"%a %b %d %Y"`)
@@ -135,6 +173,10 @@
 All persons listed below can be reached at <cvs_login>@pld-linux.org
 
 $Log$
+Revision 1.14  2011/08/12 16:31:24  qboosh
+- pl
+- revised docs
+
 Revision 1.13  2011/07/15 17:23:46  jajcus
 - no %py3_postclean
 - Release: 2
@@ -180,4 +222,3 @@
 
 Revision 1.1  2008/10/16 19:47:37  wrobell
 - based on sphinx-pdg.spec
-
================================================================

---- CVS-web:
    http://cvs.pld-linux.org/cgi-bin/cvsweb.cgi/packages/python-pygments/python-pygments.spec?r1=1.13&r2=1.14&f=u



More information about the pld-cvs-commit mailing list