]> git.pld-linux.org Git - packages/perl-HTML-FormatExternal.git/commitdiff
- pl
authorJakub Bogusz <qboosh@pld-linux.org>
Tue, 23 Jun 2015 14:06:30 +0000 (16:06 +0200)
committerJakub Bogusz <qboosh@pld-linux.org>
Tue, 23 Jun 2015 14:06:30 +0000 (16:06 +0200)
perl-HTML-FormatExternal.spec

index 5dd8884a46a1f2f92c5a3124cfdc0d77b9ca0070..a0c269970225af4245de335f5c0a5a616e75bcaf 100644 (file)
@@ -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}
This page took 0.072438 seconds and 4 git commands to generate.