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