]> git.pld-linux.org Git - packages/perl-SGMLS.git/blob - perl-SGMLS.spec
d25b0644ed5f9ef7bc88718875d7340b068727c8
[packages/perl-SGMLS.git] / perl-SGMLS.spec
1 %include        /usr/lib/rpm/macros.perl
2 Summary:        SGMLS perl module
3 Summary(pl):    Modu³ perla SGMLS
4 Name:           perl-SGMLS
5 Version:        1.03ii
6 Release:        10
7 License:        GPL
8 Group:          Development/Languages/Perl
9 Source0:        http://www.cpan.org/modules/by-module/SGMLS/SGMLSpm-%{version}.tar.gz
10 BuildRequires:  rpm-perlprov >= 4.1-13
11 BuildRequires:  perl >= 5.6
12 BuildArch:      noarch
13 BuildRoot:      %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
14
15 %description
16 SGMLS perl module.
17
18 %description -l pl
19 Modu³ perla SGMLS.
20
21 %prep
22 %setup -q -n SGMLSpm
23
24 %install
25 rm -rf $RPM_BUILD_ROOT
26 install -d $RPM_BUILD_ROOT{%{_bindir},%{_mandir}/man3,%{perl_vendorlib}/SGMLS}
27
28 %{__make} install \
29         BINDIR=$RPM_BUILD_ROOT%{_bindir} \
30         PERL5DIR=$RPM_BUILD_ROOT%{perl_vendorlib} \
31         SPECDIR=$RPM_BUILD_ROOT%{perl_vendorlib}/SGMLS
32
33 pod2man --section=3pm SGMLS.pm  > $RPM_BUILD_ROOT%{_mandir}/man3/SGMLS.3pm
34 pod2man --section=3pm Output.pm > $RPM_BUILD_ROOT%{_mandir}/man3/SGMLS::Output.3pm
35 pod2man --section=3pm Refs.pm   > $RPM_BUILD_ROOT%{_mandir}/man3/SGMLS::Refs.3pm
36
37 %clean
38 rm -rf $RPM_BUILD_ROOT
39
40 %files
41 %defattr(644,root,root,755)
42 %doc ChangeLog README BUGS TODO DOC/*sgml DOC/*pl elisp
43 %attr(755,root,root) %{_bindir}/*
44 %{perl_vendorlib}/SGMLS.pm
45 %{perl_vendorlib}/SGMLS
46 %{_mandir}/man3/*
This page took 0.039823 seconds and 2 git commands to generate.