[perl-HTML-Selector-XPath/f14/master] Import.

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



commit 6163b5ec08a5baa60f81be2dcae12ebcf05aea27
Author: Ralf CorsÃpius <corsepiu@xxxxxxxxxxxxxxxxx>
Date:   Thu Feb 3 07:50:42 2011 +0100

    Import.

 .gitignore                    |    1 +
 perl-HTML-Selector-XPath.spec |   57 +++++++++++++++++++++++++++++++++++++++++
 sources                       |    1 +
 3 files changed, 59 insertions(+), 0 deletions(-)
---
diff --git a/.gitignore b/.gitignore
index e69de29..f130927 100644
--- a/.gitignore
+++ b/.gitignore
@@ -0,0 +1 @@
+/HTML-Selector-XPath-0.04.tar.gz
diff --git a/perl-HTML-Selector-XPath.spec b/perl-HTML-Selector-XPath.spec
new file mode 100644
index 0000000..becc29b
--- /dev/null
+++ b/perl-HTML-Selector-XPath.spec
@@ -0,0 +1,57 @@
+Name:           perl-HTML-Selector-XPath
+Version:        0.04
+Release:        1%{?dist}
+Summary:        CSS Selector to XPath compiler
+License:        GPL+ or Artistic
+Group:          Development/Libraries
+URL:            http://search.cpan.org/dist/HTML-Selector-XPath/
+Source0:        http://www.cpan.org/authors/id/M/MI/MIYAGAWA/HTML-Selector-XPath-%{version}.tar.gz
+BuildRoot:      %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
+BuildArch:      noarch
+BuildRequires:  perl >= 1:5.8.1
+BuildRequires:  perl(ExtUtils::MakeMaker)
+BuildRequires:  perl(Test::Base)
+BuildRequires:  perl(Test::More)
+
+# for improved tests
+BuildRequires:  perl(HTML::TreeBuilder::XPath)
+BuildRequires:  perl(Test::Pod) >= 1.00
+
+Requires:       perl(:MODULE_COMPAT_%(eval "`%{__perl} -V:version`"; echo $version))
+
+%description
+HTML::Selector::XPath is a utility function to compile CSS2 selector to the
+equivalent XPath expression.
+
+%prep
+%setup -q -n HTML-Selector-XPath-%{version}
+
+%build
+%{__perl} Makefile.PL INSTALLDIRS=vendor
+make %{?_smp_mflags}
+
+%install
+rm -rf $RPM_BUILD_ROOT
+
+make pure_install PERL_INSTALL_ROOT=$RPM_BUILD_ROOT
+
+find $RPM_BUILD_ROOT -type f -name .packlist -exec rm -f {} \;
+find $RPM_BUILD_ROOT -depth -type d -exec rmdir {} 2>/dev/null \;
+
+%{_fixperms} $RPM_BUILD_ROOT/*
+
+%check
+make test
+
+%clean
+rm -rf $RPM_BUILD_ROOT
+
+%files
+%defattr(-,root,root,-)
+%doc Changes README
+%{perl_vendorlib}/*
+%{_mandir}/man3/*
+
+%changelog
+* Tue Dec 21 2010 Ralf CorsÃpius <corsepiu@xxxxxxxxxxxxxxxxx> 0.04-1
+- Initial Fedora package.
diff --git a/sources b/sources
index e69de29..09dd0a9 100644
--- a/sources
+++ b/sources
@@ -0,0 +1 @@
+df59d9ea234939505154db3a0c9dbbfd  HTML-Selector-XPath-0.04.tar.gz
--
Fedora Extras Perl SIG
http://www.fedoraproject.org/wiki/Extras/SIGs/Perl
perl-devel mailing list
perl-devel@xxxxxxxxxxxxxxxxxxxxxxx
https://admin.fedoraproject.org/mailman/listinfo/perl-devel



[Index of Archives]     [Fedora Announce]     [Fedora Kernel]     [Fedora Testing]     [Fedora Legacy Announce]     [Fedora PHP Devel]     [Kernel Devel]     [Fedora Legacy]     [Fedora Maintainers]     [Fedora Desktop]     [PAM]     [Red Hat Development]     [Big List of Linux Books]     [Gimp]     [Yosemite Information]
  Powered by Linux