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