commit aacbf6a0afcae6b7cc414c2a6efeb4de1211e558
Author: Jakub Bogusz <[email protected]>
Date:   Tue Jun 23 16:06:30 2015 +0200

    - pl

 perl-HTML-FormatExternal.spec | 44 +++++++++++++++++++++++++++++++++++++++----
 1 file changed, 40 insertions(+), 4 deletions(-)
---
diff --git a/perl-HTML-FormatExternal.spec b/perl-HTML-FormatExternal.spec
index 5dd8884..a0c2699 100644
--- a/perl-HTML-FormatExternal.spec
+++ b/perl-HTML-FormatExternal.spec
@@ -6,10 +6,11 @@
 %define                pnam    FormatExternal
 %include       /usr/lib/rpm/macros.perl
 Summary:       HTML::FormatExternal - HTML to text formatting using external 
programs
+Summary(pl.UTF-8):     HTML::FormatExternal - formatowanie HTML-a do tekstu 
przy użyciu programów zewnętrznych
 Name:          perl-HTML-FormatExternal
 Version:       24
 Release:       1
-License:       GPL
+License:       GPL v3+
 Group:         Development/Languages/Perl
 Source0:       
http://www.cpan.org/modules/by-module/HTML/%{pdir}-%{pnam}-%{version}.tar.gz
 # Source0-md5: 19efcf68833515878f8ed0e4feb4c25b
@@ -19,6 +20,7 @@ BuildRequires:        rpm-perlprov >= 4.1-13
 %if %{with tests}
 BuildRequires: perl-IPC-Run
 BuildRequires: perl-URI >= 0.08
+BuildRequires: perl-constant-defer
 %endif
 BuildArch:     noarch
 BuildRoot:     %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
@@ -44,6 +46,30 @@ There's nothing particularly difficult about piping through 
these
 programs, but a unified interface hides details like how to set
 margins and how to force input or output charsets.
 
+%description -l pl.UTF-8
+Ten pakiet zawiera zbiór modułów formatujących zamieniających HTML na
+zwykły tekst poprzez zrzucanie go przez odpowiednie programy
+zewnętrzne.
+
+HTML::FormatText::Elinks HTML::FormatText::Html2text
+HTML::FormatText::Links HTML::FormatText::Lynx
+HTML::FormatText::Netrik HTML::FormatText::Vilistextum
+HTML::FormatText::W3m HTML::FormatText::Zen
+
+Interfejsy modułów są zgodne z modułami HTML::Formatter, takimi jak
+HTML::FormatText, ale cała praca wykonywana jest przez zewnętrzne
+programy.
+
+W miarę możliwości używane są wspólne opcje formatowania, takie jak
+marginesy (leftmargin i rightmargin). Poprzez proste przełączenie
+klasy można używać innego programu (lub zwykłego HTML::FormatText)
+według własnych preferencji, zalet i wad, albo posiadanych programów.
+
+Nie ma nic trudnego w przepuszczaniu potoków przez te programy, ale
+ujednolicony interfejs ukrywa szczegóły, takie jak sposób ustawiania
+marginesów, albo wymuszania wejściowego lub wyjściowego zestawu
+znaków.
+
 %prep
 %setup -q -n %{pdir}-%{pnam}-%{version}
 
@@ -69,7 +95,17 @@ rm -rf $RPM_BUILD_ROOT
 %files
 %defattr(644,root,root,755)
 %doc Changes README
-%{perl_vendorlib}/HTML/*.pm
-%{perl_vendorlib}/HTML/FormatText
-%{_mandir}/man3/*
+%{perl_vendorlib}/HTML/FormatExternal.pm
+# XXX: shared with perl-HTML-FormatText-WithLinks
+%dir %{perl_vendorlib}/HTML/FormatText
+%{perl_vendorlib}/HTML/FormatText/Elinks.pm
+%{perl_vendorlib}/HTML/FormatText/Html2text.pm
+%{perl_vendorlib}/HTML/FormatText/Links.pm
+%{perl_vendorlib}/HTML/FormatText/Lynx.pm
+%{perl_vendorlib}/HTML/FormatText/Netrik.pm
+%{perl_vendorlib}/HTML/FormatText/Vilistextum.pm
+%{perl_vendorlib}/HTML/FormatText/W3m.pm
+%{perl_vendorlib}/HTML/FormatText/Zen.pm
+%{_mandir}/man3/HTML::FormatExternal.3pm*
+%{_mandir}/man3/HTML::FormatText::*.3pm*
 %{_examplesdir}/%{name}-%{version}
================================================================

---- gitweb:

http://git.pld-linux.org/gitweb.cgi/packages/perl-HTML-FormatExternal.git/commitdiff/aacbf6a0afcae6b7cc414c2a6efeb4de1211e558

_______________________________________________
pld-cvs-commit mailing list
[email protected]
http://lists.pld-linux.org/mailman/listinfo/pld-cvs-commit

Reply via email to