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