1 %include /usr/lib/rpm/macros.perl
2 Summary: SGMLS - postprocessing the output from the sgmls and nsgmls parsers
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
13 BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
16 This distribution contains SGMLS.pm, a perl5 class library for parsing
17 the output from James Clark's SGMLS and NSGMLS parsers.
25 mv Output.pm Refs.pm skel.pl lib/SGMLS
28 mv test-SGMLS.pl test.pl
32 %{__perl} -MExtUtils::MakeMaker -wle 'WriteMakefile(NAME=>"SGMLS", EXE_FILES=>["sgmlspl"])' \
37 rm -rf $RPM_BUILD_ROOT
40 DESTDIR=$RPM_BUILD_ROOT
43 rm -rf $RPM_BUILD_ROOT
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