]> git.pld-linux.org Git - packages/perl-Alien-LibGumbo.git/blame - perl-Alien-LibGumbo.spec
- updated to 0.05
[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
10%include /usr/lib/rpm/macros.perl
11Summary: gumbo parser library
12Name: perl-Alien-LibGumbo
6906ac56 13Version: 0.05
eb206a54 14Release: 1
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
c0df022e
AM
20URL: http://search.cpan.org/dist/Alien-LibGumbo/
21BuildRequires: gumbo-parser-devel
22BuildRequires: perl-Alien-Base
23BuildRequires: perl-Module-Build
24BuildRequires: perl-devel >= 1:5.8.0
25BuildRequires: rpm-perlprov >= 4.1-13
c0df022e
AM
26BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
27
28%description
29gumbo parser library.
30
31%prep
32%setup -q -n %{pdir}-%{pnam}-%{version}
33
34%build
35%{__perl} Build.PL \
0b2b3e35
AM
36 installdirs=vendor \
37 create_packlist=0
c0df022e
AM
38./Build
39
40%{?with_tests:./Build test}
41
42%install
43rm -rf $RPM_BUILD_ROOT
44
0b2b3e35
AM
45./Build install \
46 destdir=$RPM_BUILD_ROOT
c0df022e
AM
47
48%clean
49rm -rf $RPM_BUILD_ROOT
50
51%files
52%defattr(644,root,root,755)
6906ac56
AG
53#%{perl_vendorlib}/Alien/*.pm
54#%{perl_vendorlib}/Alien/LibGumbo
55#%{_mandir}/man3/*
This page took 0.104576 seconds and 4 git commands to generate.