]> git.pld-linux.org Git - packages/perl-SGMLS.git/blob - perl-SGMLS.spec
- made the install process ,,perlish'' -- used MakeMaker
[packages/perl-SGMLS.git] / perl-SGMLS.spec
1 %include        /usr/lib/rpm/macros.perl
2 Summary:        SGMLS - postprocessing the output from the sgmls and nsgmls parsers
3 #Summary(pl):   
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-devel >= 5.6
12 BuildArch:      noarch
13 BuildRoot:      %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
14
15 %description
16 This distribution contains SGMLS.pm, a perl5 class library for parsing
17 the output from James Clark's SGMLS and NSGMLS parsers.
18
19 # %description -l pl
20 # TODO
21
22 %prep
23 %setup -q -n SGMLSpm
24 mkdir -p lib/SGMLS
25 mv Output.pm Refs.pm skel.pl lib/SGMLS
26 mv SGMLS.pm lib
27 mv sgmlspl.pl sgmlspl
28 mv test-SGMLS.pl test.pl
29
30 %build
31 touch Makefile.PL
32 %{__perl} -MExtUtils::MakeMaker -wle 'WriteMakefile(NAME=>"SGMLS", EXE_FILES=>["sgmlspl"])' \
33         INSTALLDIRS=vendor
34 %{__make}
35
36 %install
37 rm -rf $RPM_BUILD_ROOT
38
39 %{__make} install \
40         DESTDIR=$RPM_BUILD_ROOT
41
42 %clean
43 rm -rf $RPM_BUILD_ROOT
44
45 %files
46 %defattr(644,root,root,755)
47 %doc ChangeLog README BUGS TODO DOC/*sgml DOC/*pl elisp
48 %attr(755,root,root) %{_bindir}/*
49 %{perl_vendorlib}/SGMLS.pm
50 %{perl_vendorlib}/SGMLS
51 %{_mandir}/man3/*
This page took 0.061365 seconds and 4 git commands to generate.