- new
[packages/perl-Alien-Libxml2.git] / perl-Alien-Libxml2.spec
CommitLineData
fffd21ac
JB
1#
2# Conditional build:
3%bcond_without tests # do not perform "make test"
4#
5%define pdir Alien
6%define pnam Libxml2
7Summary: Alien::Libxml2 - provide the C libxml2 library
8Summary(pl.UTF-8): Alien::Libxml2 - dostarczenie biblioteki C libxml2
9Name: perl-Alien-Libxml2
10Version: 0.16
11Release: 1
12# same as perl 5
13License: GPL v1+ or Artistic
14Group: Development/Languages/Perl
15Source0: http://www.cpan.org/modules/by-module/Alien/%{pdir}-%{pnam}-%{version}.tar.gz
16# Source0-md5: 746d7452f1bbdd2707f07319ae4a5444
17URL: https://metacpan.org/release/Alien-Libxml2
18BuildRequires: libxml2-devel >= 1:2.9.5
19BuildRequires: perl-Alien-Build >= 2.12
20BuildRequires: perl-ExtUtils-MakeMaker >= 6.52
21BuildRequires: perl-Test-Alien
22BuildRequires: perl-Test2-Suite >= 0.000060
23BuildRequires: perl-devel >= 1:5.8.0
24BuildRequires: rpm-perlprov >= 4.1-13
25BuildRequires: rpmbuild(macros) >= 1.745
26BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
27
28%description
29This module provides libxml2 for other modules to use.
30
31%description -l pl.UTF-8
32Ten pakiet udostępnia bibliotekę libxml2 do użycia przez inne moduły.
33
34%prep
35%setup -q -n %{pdir}-%{pnam}-%{version}
36
37%build
38%{__perl} Makefile.PL \
39 INSTALLDIRS=vendor
40
41%{__make}
42
43%{?with_tests:%{__make} test}
44
45%install
46rm -rf $RPM_BUILD_ROOT
47
48%{__make} pure_install \
49 DESTDIR=$RPM_BUILD_ROOT
50
51%clean
52rm -rf $RPM_BUILD_ROOT
53
54%files
55%defattr(644,root,root,755)
56%doc Changes
57%{perl_vendorarch}/Alien/Libxml2.pm
58%{perl_vendorarch}/Alien/Libxml2
59%dir %{perl_vendorarch}/auto/Alien/Libxml2
60%{perl_vendorarch}/auto/Alien/Libxml2/Libxml2.txt
61%{perl_vendorarch}/auto/share/dist/Alien-Libxml2
62%{_mandir}/man3/Alien::Libxml2.3pm*
This page took 0.110801 seconds and 4 git commands to generate.