[packages/perl-Alien-LibGumbo] - initial

arekm arekm at pld-linux.org
Wed Jul 16 20:56:43 CEST 2014


commit c0df022ea0060c50d0895d7b698561a838da3d70
Author: Arkadiusz Miśkiewicz <arekm at maven.pl>
Date:   Wed Jul 16 20:56:32 2014 +0200

    - initial

 perl-Alien-LibGumbo.spec | 54 ++++++++++++++++++++++++++++++++++++++++++++++++
 1 file changed, 54 insertions(+)
---
diff --git a/perl-Alien-LibGumbo.spec b/perl-Alien-LibGumbo.spec
new file mode 100644
index 0000000..4c368ee
--- /dev/null
+++ b/perl-Alien-LibGumbo.spec
@@ -0,0 +1,54 @@
+# TODO:
+# - make it use gumbo-parser-devel
+#
+# Conditional build:
+%bcond_without	tests		# do not perform "make test"
+#
+%define		pdir	Alien
+%define		pnam	LibGumbo
+%include	/usr/lib/rpm/macros.perl
+Summary:	gumbo parser library
+Name:		perl-Alien-LibGumbo
+Version:	0.02
+Release:	0.1
+# same as perl
+License:	GPL v1+ or Artistic
+Group:		Development/Languages/Perl
+Source0:	http://www.cpan.org/modules/by-module/Alien/%{pdir}-%{pnam}-%{version}.tar.gz
+# Source0-md5:	9dbcfb65d56c17c09082079bbb42848c
+URL:		http://search.cpan.org/dist/Alien-LibGumbo/
+BuildRequires:	gumbo-parser-devel
+BuildRequires:	perl-Alien-Base
+BuildRequires:	perl-Module-Build
+BuildRequires:	perl-devel >= 1:5.8.0
+BuildRequires:	rpm-perlprov >= 4.1-13
+BuildArch:	noarch
+BuildRoot:	%{tmpdir}/%{name}-%{version}-root-%(id -u -n)
+
+%description
+gumbo parser library.
+
+%prep
+%setup -q -n %{pdir}-%{pnam}-%{version}
+
+%build
+%{__perl} Build.PL \
+	destdir=$RPM_BUILD_ROOT \
+	installdirs=vendor
+./Build
+
+%{?with_tests:./Build test}
+
+%install
+rm -rf $RPM_BUILD_ROOT
+
+./Build install
+
+%clean
+rm -rf $RPM_BUILD_ROOT
+
+%files
+%defattr(644,root,root,755)
+%{perl_vendorlib}/Alien/*.pm
+%{perl_vendorlib}/Alien/LibGumbo
+%{_mandir}/man3/*
================================================================

---- gitweb:

http://git.pld-linux.org/gitweb.cgi/packages/perl-Alien-LibGumbo.git/commitdiff/c0df022ea0060c50d0895d7b698561a838da3d70



More information about the pld-cvs-commit mailing list