]> git.pld-linux.org Git - packages/perl-libxml.git/blame - perl-libxml.spec
- tabs in preamble
[packages/perl-libxml.git] / perl-libxml.spec
CommitLineData
c69879d9 1#
2# Conditional build:
2c0af90f 3%bcond_with tests # perform "make test"
c69879d9 4#
8823817a 5%include /usr/lib/rpm/macros.perl
ae5614fa 6%define pdir XML
7%define pnam libxml-perl
bddbd0a1 8Summary: Collection of Perl modules for working with XML
cbe4cb65 9Summary(pl.UTF-8): Kolekcja modułów Perla do pracy z XML-em
8823817a 10Name: perl-libxml
99f4cd1e
AG
11Version: 0.08
12Release: 1
37793a24 13# same as perl
14License: GPL v1+ or Artistic
8823817a 15Group: Development/Languages/Perl
734ca853 16Source0: http://www.cpan.org/modules/by-module/%{pdir}/%{pnam}-%{version}.tar.gz
99f4cd1e 17# Source0-md5: 0ed5fbdda53d1301ddaed88db10503bb
4e642929 18URL: http://bitsko.slc.ut.us/libxml-perl/
173660ec 19BuildRequires: perl-devel >= 1:5.8.0
d27f8a56 20BuildRequires: perl-XML-Parser >= 2.19
f5398872 21BuildRequires: rpm-perlprov >= 4.1-13
e8ed7c69 22BuildArch: noarch
ac084d7b 23Obsoletes: perl-libxml-perl
2c0af90f 24BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
8823817a 25
6c9e65b4 26%define _noautoreqdep 'perl(UNIVERSAL)'
27
8823817a
JR
28%description
29libxml-perl is a collection of smaller Perl modules, scripts, and
6c0ad048 30documents for working with XML in Perl. libxml-perl software works in
31combination with XML::Parser, PerlSAX, XML::DOM, XML::Grove and
32others.
8823817a 33
1edc2f1b
JR
34%description -l pl.UTF-8
35libxml-perl to zestaw mniejszych perlowych modułów, skryptów i
36dokumentów do pracy z XML-em w Perlu. Działa w połączeniu z
94d5d2a6 37XML::Parser, PerlSAX, XML::DOM, XML::Grove i innymi.
80f02129 38
8823817a 39%prep
d27f8a56 40%setup -q -n %{pnam}-%{version}
8823817a
JR
41
42%build
f5398872 43%{__perl} Makefile.PL \
7af9fd96 44 INSTALLDIRS=vendor
f6b9072d 45%{__make}
8823817a 46
2c0af90f 47%{?with_tests:%{__make} test}
c69879d9 48
8823817a
JR
49%install
50rm -rf $RPM_BUILD_ROOT
51
37793a24 52%{__make} install \
53 DESTDIR=$RPM_BUILD_ROOT
8823817a 54
8823817a
JR
55%clean
56rm -rf $RPM_BUILD_ROOT
57
58%files
59%defattr(644,root,root,755)
d27f8a56 60%doc README Change*
f5398872 61%{perl_vendorlib}/Data/Grove.pm
62%{perl_vendorlib}/Data/Grove
63%{perl_vendorlib}/XML/*.pm
64%{perl_vendorlib}/XML/Handler/*.pm
65%{perl_vendorlib}/XML/Parser/*.pm
66%{perl_vendorlib}/XML/PatAct
8823817a 67%{_mandir}/man3/*
This page took 0.103394 seconds and 4 git commands to generate.