]> git.pld-linux.org Git - packages/perl-SGMLS.git/blame - perl-SGMLS.spec
- drop obsolete and outdated manual inclusion of rpm macros
[packages/perl-SGMLS.git] / perl-SGMLS.spec
CommitLineData
a28364c7 1#
2# Conditional build:
3%bcond_with tests # perform "make test"
a729e42b
ER
4
5%define pdir SGMLS
3e5b6c5c 6Summary: SGMLS - postprocessing the output from the SGMLS and NSGMLS parsers
4892e923 7Summary(pl.UTF-8): SGMLS - przetwarzanie wyjścia z analizatorów składni: SGMLS i NSGMLS
6d517f7e 8Name: perl-SGMLS
9Version: 1.03ii
31bbd2f7 10Release: 15
a28364c7 11License: GPL v2
6d517f7e 12Group: Development/Languages/Perl
626176c2 13Source0: http://www.cpan.org/modules/by-module/SGMLS/SGMLSpm-%{version}.tar.gz
0fa675f4 14# Source0-md5: 5bcb197fd42e67d51c739b1414d514a7
a729e42b 15URL: http://search.cpan.org/dist/SGMLS-/
30d471ee 16BuildRequires: perl-devel >= 1:5.8.0
a729e42b 17BuildRequires: rpm-perlprov >= 4.1-13
0bed732f 18Obsoletes: perl-SGMLSpm
24aaedb3 19BuildArch: noarch
11015125 20BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
6d517f7e 21
22%description
d18ca89b 23This distribution contains SGMLS.pm, a perl5 class library for parsing
24the output from James Clark's SGMLS and NSGMLS parsers.
6d517f7e 25
7a573bba
JR
26%description -l pl.UTF-8
27Pakiet ten zawiera bibliotekę klas Perla 5 SGMLS.pm służącą do
28przetwarzania wyjścia z analizatorów składniowych SGMLS i NSGMLS
3e5b6c5c 29Jamesa Clarka.
6d517f7e 30
31%prep
32%setup -q -n SGMLSpm
d18ca89b 33mkdir -p lib/SGMLS
34mv Output.pm Refs.pm skel.pl lib/SGMLS
35mv SGMLS.pm lib
36mv sgmlspl.pl sgmlspl
37mv test-SGMLS.pl test.pl
38
39%build
40touch Makefile.PL
41%{__perl} -MExtUtils::MakeMaker -wle 'WriteMakefile(NAME=>"SGMLS", EXE_FILES=>["sgmlspl"])' \
42 INSTALLDIRS=vendor
43%{__make}
6d517f7e 44
a28364c7 45%{?with_tests:%{__make} test}
46
6d517f7e 47%install
48rm -rf $RPM_BUILD_ROOT
6d517f7e 49
0c4b6ee8 50%{__make} install \
d18ca89b 51 DESTDIR=$RPM_BUILD_ROOT
6d517f7e 52
53%clean
54rm -rf $RPM_BUILD_ROOT
55
56%files
57%defattr(644,root,root,755)
250deecd 58%doc ChangeLog README BUGS TODO DOC/*sgml DOC/*pl elisp
6d517f7e 59%attr(755,root,root) %{_bindir}/*
46334334 60%{perl_vendorlib}/SGMLS.pm
61%{perl_vendorlib}/SGMLS
6d517f7e 62%{_mandir}/man3/*
This page took 0.071853 seconds and 4 git commands to generate.