]> git.pld-linux.org Git - packages/perl-SGMLS.git/blob - perl-SGMLS.spec
- added using %%{__make} macro.
[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:        3
7 License:        GPL
8 Group:          Development/Languages/Perl
9 Group(pl):      Programowanie/Jêzyki/Perl
10 Source0:        ftp://ftp.perl.org/pub/CPAN/modules/by-module/SGMLS/SGMLSpm-%{version}.tar.gz
11 BuildRequires:  rpm-perlprov >= 3.0.3-18
12 BuildRequires:  perl >= 5.005_03-14
13 %requires_eq    perl
14 BuildRoot:      %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
15
16 %description
17 SGMLS perl module.
18
19 %description -l pl
20 Modu³ perla SGMLS.
21
22 %prep
23 %setup -q -n SGMLSpm
24
25 %install
26 rm -rf $RPM_BUILD_ROOT
27 install -d $RPM_BUILD_ROOT{%{_bindir},%{_mandir}/man3,%{perl_sitelib}/SGMLS}
28
29 %{__make} install \
30         BINDIR=$RPM_BUILD_ROOT%{_bindir} \
31         PERL5DIR=$RPM_BUILD_ROOT%{perl_sitelib} \
32         SPECDIR=$RPM_BUILD_ROOT%{perl_sitelib}/SGMLS
33
34 pod2man SGMLS.pm  > $RPM_BUILD_ROOT%{_mandir}/man3/SGMLS.3pm
35 pod2man Output.pm > $RPM_BUILD_ROOT%{_mandir}/man3/SGMLS::Output.3pm
36 pod2man Refs.pm   > $RPM_BUILD_ROOT%{_mandir}/man3/SGMLS::Refs.3pm
37
38 gzip -9nf $RPM_BUILD_ROOT%{_mandir}/man3/* \
39         ChangeLog README BUGS TODO
40
41 %clean
42 rm -rf $RPM_BUILD_ROOT
43
44 %files
45 %defattr(644,root,root,755)
46 %doc {ChangeLog,README,BUGS,TODO}.gz DOC/*sgml DOC/*pl elisp
47 %attr(755,root,root) %{_bindir}/*
48
49 %{perl_sitelib}/SGMLS.pm
50 %{perl_sitelib}/SGMLS
51
52 %{_mandir}/man3/*
This page took 0.053623 seconds and 4 git commands to generate.