[packages/xmltoman] - pl, cleanup

qboosh qboosh at pld-linux.org
Fri Jun 24 20:22:18 CEST 2016


commit fac95cb9dba549a7a3f240d11c43dcddbd77464c
Author: Jakub Bogusz <qboosh at pld-linux.org>
Date:   Fri Jun 24 20:22:18 2016 +0200

    - pl, cleanup

 xmltoman.spec | 20 ++++++++++++++------
 1 file changed, 14 insertions(+), 6 deletions(-)
---
diff --git a/xmltoman.spec b/xmltoman.spec
index 5c79d04..ddc67fd 100644
--- a/xmltoman.spec
+++ b/xmltoman.spec
@@ -1,32 +1,39 @@
 Summary:	Scripts for converting XML to roff or HTML
+Summary(pl.UTF-8):	Skrypty do konwersji XML-a do formatu roff lub HTML
 Name:		xmltoman
 Version:	0.4
 Release:	1
 License:	GPL v2+
 Group:		Applications/Publishing
-URL:		http://sourceforge.net/projects/xmltoman/
 Source0:	http://downloads.sourceforge.net/xmltoman/%{name}-%{version}.tar.gz
 # Source0-md5:	99be944b9fce40b3fe397049bf14a097
 Patch0:		%{name}-0.3-timestamps.patch
+URL:		http://sourceforge.net/projects/xmltoman/
 BuildRequires:	perl-XML-Parser
 BuildArch:	noarch
+BuildRoot:	%{tmpdir}/%{name}-%{version}-root-%(id -u -n)
 
 %description
 This package provides xmltoman and xmlmantohtml scripts, to compile
-the xml representation of manual page to either roff source, or HTML
+the XML representation of manual page to either roff source, or HTML
 (while providing the CSS stylesheet for eye-candy look). XSL
 stylesheet for doing rougly the same job is provided.
 
+%description -l pl,UTF-8
+Ten pakiet zawiera skrypty xmltoman oraz xmlmantohtml służące do
+kompilacji reprezentacji XML stron podręcznika do postaci źródłowej
+roff lub HTML-a (z dostarczeniem arkusza CSS dla ładnego wyglądu).
+Załączony jest także arkusz XSL do wykonywania analogicznych zadań.
+
 %prep
 %setup -q
-%patch0 -p1 -b .timestamps
+%patch0 -p1
 
 %build
 %{__make}
 
 %install
 rm -rf $RPM_BUILD_ROOT
-
 install -d $RPM_BUILD_ROOT%{_mandir}/man1
 
 %{__make} install \
@@ -41,7 +48,8 @@ rm -rf $RPM_BUILD_ROOT
 %files
 %defattr(644,root,root,755)
 %doc README
-%attr(755,root,root) %{_bindir}/xmltoman
 %attr(755,root,root) %{_bindir}/xmlmantohtml
+%attr(755,root,root) %{_bindir}/xmltoman
 %{_datadir}/xmltoman
-%{_mandir}/man1/*.1*
+%{_mandir}/man1/xmlmantohtml.1*
+%{_mandir}/man1/xmltoman.1*
================================================================

---- gitweb:

http://git.pld-linux.org/gitweb.cgi/packages/xmltoman.git/commitdiff/fac95cb9dba549a7a3f240d11c43dcddbd77464c



More information about the pld-cvs-commit mailing list