[perl-HTTP-Soup] Initial import (#1064817).

David Dick ddick at fedoraproject.org
Fri Feb 21 08:14:20 UTC 2014


commit 73f220b349500350fec2fce4839b59e3ec8771d2
Author: David Dick <ddick at cpan.org>
Date:   Fri Feb 21 19:14:48 2014 +1100

    Initial import (#1064817).

 .gitignore          |    1 +
 perl-HTTP-Soup.spec |   61 +++++++++++++++++++++++++++++++++++++++++++++++++++
 sources             |    1 +
 3 files changed, 63 insertions(+), 0 deletions(-)
---
diff --git a/.gitignore b/.gitignore
index e69de29..ffefee4 100644
--- a/.gitignore
+++ b/.gitignore
@@ -0,0 +1 @@
+/HTTP-Soup-0.01.tar.gz
diff --git a/perl-HTTP-Soup.spec b/perl-HTTP-Soup.spec
new file mode 100644
index 0000000..cc75da6
--- /dev/null
+++ b/perl-HTTP-Soup.spec
@@ -0,0 +1,61 @@
+%{?perl_default_filter}
+%global __requires_exclude %{?__requires_exclude:__requires_exclude|}^perl\\(Glib\\)$
+Name:           perl-HTTP-Soup
+Version:        0.01
+Release:        1%{?dist}
+Summary:        HTTP client/server library for GNOME
+License:        LGPLv2 or Artistic 2.0
+Group:          Development/Libraries
+URL:            http://search.cpan.org/dist/HTTP-Soup/
+Source0:        http://www.cpan.org/authors/id/P/PO/POTYL/HTTP-Soup-%{version}.tar.gz
+BuildRequires:  libsoup-devel
+BuildRequires:  perl
+BuildRequires:  perl(base)
+BuildRequires:  perl(Cwd)
+BuildRequires:  perl(DynaLoader)
+BuildRequires:  perl(Data::Dumper)
+BuildRequires:  perl(ExtUtils::Depends)
+BuildRequires:  perl(ExtUtils::MakeMaker)
+BuildRequires:  perl(ExtUtils::PkgConfig)
+BuildRequires:  perl(File::Spec)
+BuildRequires:  perl(Glib) >= 1.00
+BuildRequires:  perl(Glib::CodeGen)
+BuildRequires:  perl(Glib::MakeHelper)
+BuildRequires:  perl(Glib::Object::Introspection)
+BuildRequires:  perl(strict)
+BuildRequires:  perl(Test::More)
+BuildRequires:  perl(warnings)
+Requires:       perl(Glib) >= 1.00
+Requires:       perl(:MODULE_COMPAT_%(eval "`%{__perl} -V:version`"; echo $version))
+
+%description
+This module provides the Perl bindings for the C library libsoup.
+
+%prep
+%setup -q -n HTTP-Soup-%{version}
+
+%build
+%{__perl} Makefile.PL INSTALLDIRS=vendor OPTIMIZE="$RPM_OPT_FLAGS"
+make %{?_smp_mflags}
+
+%install
+make pure_install DESTDIR=$RPM_BUILD_ROOT
+
+find $RPM_BUILD_ROOT -type f -name .packlist -exec rm -f {} \;
+find $RPM_BUILD_ROOT -type f -name '*.bs' -size 0 -exec rm -f {} \;
+find $RPM_BUILD_ROOT -type f -name '*.h' -exec rm -f {} \;
+
+%{_fixperms} $RPM_BUILD_ROOT/*
+
+%check
+make test
+
+%files
+%doc Changes COPYING README
+%{perl_vendorarch}/auto/*
+%{perl_vendorarch}/HTTP*
+%{_mandir}/man3/*
+
+%changelog
+* Thu Feb 13 2014 David Dick <ddick at cpan.org> - 0.01-1
+- Initial release
diff --git a/sources b/sources
index e69de29..6189dba 100644
--- a/sources
+++ b/sources
@@ -0,0 +1 @@
+24a81ea1b7edd7902a32427f33830fb5  HTTP-Soup-0.01.tar.gz


More information about the scm-commits mailing list