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