]> git.pld-linux.org Git - packages/perl-Pod-Parser.git/blame - perl-Pod-Parser.spec
- up to 1.63, perl 5.32 does not bundle it anymore
[packages/perl-Pod-Parser.git] / perl-Pod-Parser.spec
CommitLineData
80bba1c7 1#
2# Conditional build:
12769e65 3%bcond_without tests # do not perform "make test"
80bba1c7 4#
87dbc740 5%define pdir Pod
6%define pnam Parser
80bba1c7 7Summary: Pod::Parser - base class for creating POD filters and translators
6477ced2 8Summary(pl.UTF-8): Pod::Parser - klasa bazowa do tworzenia klas filtrujących i tłumaczących POD
80bba1c7 9Name: perl-Pod-Parser
4d7b4b0b 10Version: 1.63
ebe7f863 11Release: 1
8e2fc191 12Epoch: 1
80bba1c7 13# I'm not sure how to interpret the README...
14License: Artistic
15Group: Development/Languages/Perl
fcb9a517 16Source0: http://www.cpan.org/modules/by-module/Pod/%{pdir}-%{pnam}-%{version}.tar.gz
4d7b4b0b 17# Source0-md5: d8e0d60e03d77442d354fd567e469ae4
35292a63 18URL: https://metacpan.org/release/Pod-Parser
3cad86e1 19BuildRequires: perl(File::Spec) >= 0.82
80bba1c7 20BuildRequires: perl-devel >= 1:5.8.0
21BuildRequires: rpm-perlprov >= 4.1-13
35292a63 22BuildRequires: rpmbuild(macros) >= 1.745
3cad86e1
JB
23%if %{with tests}
24BuildRequires: perl-Test-Simple >= 0.60
25%endif
80bba1c7 26BuildArch: noarch
27BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
28
29%description
4082bbfd 30 This parrot is dead. It has ceased to be.
31 It's gone to meet it's Maker! THIS IS AN EX-PARROT!
32 -- The Dead Parrot Sketch, Monty Python's Flying Circus
33
34Do s/parrot/package/g and you know the status of this distribution.
35
372533b5 36Pod::Parser is a base class for creating POD filters and translators.
80bba1c7 37It handles most of the effort involved with parsing the POD sections
372533b5
JB
38from an input stream, leaving subclasses free to be concerned only
39with performing the actual translation of text.
80bba1c7 40
372533b5
JB
41Pod::Parser parses PODs, and makes method calls to handle the various
42components of the POD. Subclasses of Pod::Parser override these
43methods to translate the POD into whatever output format they desire.
80bba1c7 44
416ce039
JR
45%description -l pl.UTF-8
46 Ta papuga jest martwa. Przestała istnieć.
47 Odeszła na spotkanie ze swoim stwórcą! TO JEST EX-PAPUGA!
48 -- skecz "Martwa Papuga", Latający Cyrk Monty Pythona
4082bbfd 49
416ce039 50Wykonaj s/papuga/pakiet/g, a poznasz status tego modułu.
4082bbfd 51
416ce039
JR
52Pod::Parser to klasa bazowa do tworzenia klas filtrujących i
53tłumaczących POD. Obsługuje większą część zadań związanych z analizą
54sekcji POD ze strumienia wejściowego, pozostawiając podklasom jedynie
55przeprowadzanie samego tłumaczenia tekstu.
372533b5 56
416ce039
JR
57Pod::Parser przetwarza pliki POD i wywołuje metody obsługujące różne
58komponenty POD. Podklasy Pod::Parser przykrywają te metody w celu
59tłumaczenia POD na żądany format wyjściowy.
80bba1c7 60
61%prep
8d4f70e8 62%setup -q -n %{pdir}-%{pnam}-%{version}
80bba1c7 63
64%build
65%{__perl} Makefile.PL \
66 INSTALLDIRS=vendor
67%{__make}
68
69%{?with_tests:%{__make} test}
70
71%install
72rm -rf $RPM_BUILD_ROOT
73
74%{__make} install \
75 DESTDIR=$RPM_BUILD_ROOT
76
3b781d9a 77# resolve conflict with perl-tools
3b781d9a 78%{__mv} $RPM_BUILD_ROOT%{_bindir}/podselect{,.cpan}
3b781d9a 79%{__mv} $RPM_BUILD_ROOT%{_mandir}/man1/podselect{,.cpan}.1p
80
80bba1c7 81%clean
82rm -rf $RPM_BUILD_ROOT
83
84%files
85%defattr(644,root,root,755)
86%doc CHANGES README TODO
3cad86e1 87%attr(755,root,root) %{_bindir}/podselect.cpan
ebe7f863
JB
88%{perl_vendorlib}/Pod/Find.pm
89%{perl_vendorlib}/Pod/InputObjects.pm
90%{perl_vendorlib}/Pod/ParseUtils.pm
91%{perl_vendorlib}/Pod/Parser.pm
92%{perl_vendorlib}/Pod/PlainText.pm
93%{perl_vendorlib}/Pod/Select.pm
3cad86e1 94%{_mandir}/man1/podselect.cpan.1p*
ebe7f863
JB
95%{_mandir}/man3/Pod::Find.3pm*
96%{_mandir}/man3/Pod::InputObjects.3pm*
97%{_mandir}/man3/Pod::ParseUtils.3pm*
98%{_mandir}/man3/Pod::Parser.3pm*
99%{_mandir}/man3/Pod::PlainText.3pm*
100%{_mandir}/man3/Pod::Select.3pm*
This page took 0.072886 seconds and 4 git commands to generate.