]> git.pld-linux.org Git - packages/perl-Alien-LibGumbo.git/blob - perl-Alien-LibGumbo.spec
- pl, more dependencies
[packages/perl-Alien-LibGumbo.git] / perl-Alien-LibGumbo.spec
1 # TODO:
2 # - make it use gumbo-parser-devel
3 # - https://github.com/ruz/Alien-LibGumbo/issues/2
4 #
5 # Conditional build:
6 %bcond_without  tests           # do not perform "make test"
7 #
8 %define         pdir    Alien
9 %define         pnam    LibGumbo
10 Summary:        Alien::LibGumbo - Gumbo parser library
11 Summary(pl.UTF-8):      Alien::LibGumbo - biblioteka analizatora Gumbo
12 Name:           perl-Alien-LibGumbo
13 Version:        0.05
14 Release:        2
15 # same as perl
16 License:        GPL v1+ or Artistic
17 Group:          Development/Languages/Perl
18 Source0:        http://www.cpan.org/modules/by-module/Alien/%{pdir}-%{pnam}-%{version}.tar.gz
19 # Source0-md5:  afeadf69135fbf368695e3d780c414da
20 URL:            https://metacpan.org/release/Alien-LibGumbo
21 BuildRequires:  gumbo-parser-devel
22 BuildRequires:  perl-Alien-Base >= 0.005
23 BuildRequires:  perl-File-ShareDir >= 1.03
24 BuildRequires:  perl-Module-Build >= 0.42
25 BuildRequires:  perl-Path-Class >= 0.013
26 BuildRequires:  perl-devel >= 1:5.10.0
27 BuildRequires:  rpm-perlprov >= 4.1-13
28 BuildRequires:  rpmbuild(macros) >= 1.745
29 Requires:       gumbo-parser
30 BuildArch:      noarch
31 BuildRoot:      %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
32
33 %description
34 This package brings libgumbo: <https://github.com/google/gumbo-parser>
35 on your system for use by Perl modules like HTML::Gumbo.
36
37 %description -l pl.UTF-8
38 Ten pakiet udostępnia w systemie libgumbo
39 (<https://github.com/google/gumbo-parser>) dla modułów Perla, takich
40 jak HTML::Gumbo.
41
42 %prep
43 %setup -q -n %{pdir}-%{pnam}-%{version}
44
45 %build
46 %{__perl} Build.PL \
47         installdirs=vendor \
48         create_packlist=0
49 ./Build
50
51 %{?with_tests:./Build test}
52
53 %install
54 rm -rf $RPM_BUILD_ROOT
55
56 ./Build install \
57         destdir=$RPM_BUILD_ROOT
58
59 %{__rm} $RPM_BUILD_ROOT%{perl_vendorlib}/auto/share/dist/Alien-LibGumbo/README
60
61 %clean
62 rm -rf $RPM_BUILD_ROOT
63
64 %files
65 %defattr(644,root,root,755)
66 %doc Changes
67 %{perl_vendorlib}/Alien/LibGumbo.pm
68 %{perl_vendorlib}/Alien/LibGumbo
69 %{_mandir}/man3/Alien::LibGumbo.3pm*
70 %{_mandir}/man3/Alien::LibGumbo::ConfigData.3pm*
This page took 0.09149 seconds and 4 git commands to generate.