]> git.pld-linux.org Git - packages/perl-SGMLS.git/blame - perl-SGMLS.spec
- release 15
[packages/perl-SGMLS.git] / perl-SGMLS.spec
CommitLineData
a28364c7 1#
2# Conditional build:
3%bcond_with tests # perform "make test"
4#
6d517f7e 5%include /usr/lib/rpm/macros.perl
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
46334334 15BuildRequires: rpm-perlprov >= 4.1-13
30d471ee 16BuildRequires: perl-devel >= 1:5.8.0
0bed732f 17Obsoletes: perl-SGMLSpm
24aaedb3 18BuildArch: noarch
11015125 19BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
6d517f7e 20
21%description
d18ca89b 22This distribution contains SGMLS.pm, a perl5 class library for parsing
23the output from James Clark's SGMLS and NSGMLS parsers.
6d517f7e 24
7a573bba
JR
25%description -l pl.UTF-8
26Pakiet ten zawiera bibliotekę klas Perla 5 SGMLS.pm służącą do
27przetwarzania wyjścia z analizatorów składniowych SGMLS i NSGMLS
3e5b6c5c 28Jamesa Clarka.
6d517f7e 29
30%prep
31%setup -q -n SGMLSpm
d18ca89b 32mkdir -p lib/SGMLS
33mv Output.pm Refs.pm skel.pl lib/SGMLS
34mv SGMLS.pm lib
35mv sgmlspl.pl sgmlspl
36mv test-SGMLS.pl test.pl
37
38%build
39touch Makefile.PL
40%{__perl} -MExtUtils::MakeMaker -wle 'WriteMakefile(NAME=>"SGMLS", EXE_FILES=>["sgmlspl"])' \
41 INSTALLDIRS=vendor
42%{__make}
6d517f7e 43
a28364c7 44%{?with_tests:%{__make} test}
45
6d517f7e 46%install
47rm -rf $RPM_BUILD_ROOT
6d517f7e 48
0c4b6ee8 49%{__make} install \
d18ca89b 50 DESTDIR=$RPM_BUILD_ROOT
6d517f7e 51
52%clean
53rm -rf $RPM_BUILD_ROOT
54
55%files
56%defattr(644,root,root,755)
250deecd 57%doc ChangeLog README BUGS TODO DOC/*sgml DOC/*pl elisp
6d517f7e 58%attr(755,root,root) %{_bindir}/*
46334334 59%{perl_vendorlib}/SGMLS.pm
60%{perl_vendorlib}/SGMLS
6d517f7e 61%{_mandir}/man3/*
This page took 0.062383 seconds and 4 git commands to generate.