- updated to 0.17
[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
93083d8f
JB
10Version: 0.17
11Release: 1
fffd21ac
JB
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
93083d8f 16# Source0-md5: 5fee0bd3a987a1e7f40ce50016c10c8a
fffd21ac
JB
17URL: https://metacpan.org/release/Alien-Libxml2
18BuildRequires: libxml2-devel >= 1:2.9.5
93083d8f
JB
19BuildRequires: perl-Alien-Base >= 2.37
20BuildRequires: perl-Alien-Build >= 2.37
fffd21ac
JB
21BuildRequires: perl-ExtUtils-MakeMaker >= 6.52
22BuildRequires: perl-Test-Alien
23BuildRequires: perl-Test2-Suite >= 0.000060
24BuildRequires: perl-devel >= 1:5.8.0
25BuildRequires: rpm-perlprov >= 4.1-13
26BuildRequires: rpmbuild(macros) >= 1.745
27BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
28
4125502b
JP
29%define _enable_debug_packages 0
30
fffd21ac
JB
31%description
32This module provides libxml2 for other modules to use.
33
34%description -l pl.UTF-8
35Ten pakiet udostępnia bibliotekę libxml2 do użycia przez inne moduły.
36
37%prep
38%setup -q -n %{pdir}-%{pnam}-%{version}
39
40%build
41%{__perl} Makefile.PL \
42 INSTALLDIRS=vendor
43
44%{__make}
45
46%{?with_tests:%{__make} test}
47
48%install
49rm -rf $RPM_BUILD_ROOT
50
51%{__make} pure_install \
52 DESTDIR=$RPM_BUILD_ROOT
53
54%clean
55rm -rf $RPM_BUILD_ROOT
56
57%files
58%defattr(644,root,root,755)
59%doc Changes
60%{perl_vendorarch}/Alien/Libxml2.pm
61%{perl_vendorarch}/Alien/Libxml2
62%dir %{perl_vendorarch}/auto/Alien/Libxml2
63%{perl_vendorarch}/auto/Alien/Libxml2/Libxml2.txt
64%{perl_vendorarch}/auto/share/dist/Alien-Libxml2
65%{_mandir}/man3/Alien::Libxml2.3pm*
This page took 0.074707 seconds and 4 git commands to generate.