[perl-Gtk2-WebKit] initial import, new package

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

 



commit 7558b0b621d3d807a7b797cc7fb52882e4f11d7d
Author: remi <fedora@xxxxxxxxxxxxxxxxx>
Date:   Fri Aug 5 17:22:36 2011 +0200

    initial import, new package

 .gitignore            |    1 +
 perl-Gtk2-WebKit.spec |   74 +++++++++++++++++++++++++++++++++++++++++++++++++
 sources               |    1 +
 3 files changed, 76 insertions(+), 0 deletions(-)
---
diff --git a/.gitignore b/.gitignore
index e69de29..dfd8f68 100644
--- a/.gitignore
+++ b/.gitignore
@@ -0,0 +1 @@
+/Gtk2-WebKit-0.09.tar.gz
diff --git a/perl-Gtk2-WebKit.spec b/perl-Gtk2-WebKit.spec
new file mode 100644
index 0000000..982952a
--- /dev/null
+++ b/perl-Gtk2-WebKit.spec
@@ -0,0 +1,74 @@
+Name:           perl-Gtk2-WebKit
+Version:        0.09
+Release:        1%{?dist}
+Summary:        Web content engine library for Gtk2
+License:        LGPLv2+
+Group:          Development/Libraries
+URL:            http://search.cpan.org/dist/Gtk2-WebKit/
+Source0:        http://www.cpan.org/modules/by-module/Gtk2/Gtk2-WebKit-%{version}.tar.gz
+
+BuildRoot:      %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
+BuildRequires:  perl >= 1:5.8.0
+BuildRequires:  perl(ExtUtils::MakeMaker)
+BuildRequires:  perl(ExtUtils::Depends)
+BuildRequires:  perl(ExtUtils::PkgConfig)
+BuildRequires:  perl(Gtk2)
+BuildRequires:  perl(Test::More) >= 0.89
+BuildRequires:  webkitgtk-devel
+BuildRequires:  perl-Glib-devel
+
+Requires:       perl(Gtk2)
+Requires:       perl(:MODULE_COMPAT_%(eval "`%{__perl} -V:version`"; echo $version))
+
+%{?perl_default_filter}
+
+
+%description
+WebKit is a web content engine, derived from KHTML and KJS from KDE, and
+used primarily in Apple's Safari browser. It is made to be embedded in
+other applications, such as mail readers, or web browsers.
+
+
+%prep
+%setup -q -n Gtk2-WebKit-%{version}
+
+
+%build
+%{__perl} Makefile.PL INSTALLDIRS=vendor OPTIMIZE="$RPM_OPT_FLAGS"
+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 -type f -name '*.bs' -size 0 -exec rm -f {} \;
+find $RPM_BUILD_ROOT -depth -type d -exec rmdir {} 2>/dev/null \;
+
+%{_fixperms} $RPM_BUILD_ROOT/*
+
+
+%check
+echo "make test disabled, requires a display"
+
+
+%clean
+rm -rf $RPM_BUILD_ROOT
+
+
+%files
+%defattr(-,root,root,-)
+# request for License
+# https://rt.cpan.org/Public/Bug/Display.html?id=70048
+%doc Changes maps README
+%{perl_vendorarch}/auto/Gtk2
+%{perl_vendorarch}/Gtk2/*
+%{_mandir}/man3/Gtk2*
+
+
+%changelog
+* Thu Aug 04 2011 Remi Collet <remi@xxxxxxxxxxxxxxxxx> 0.09-1
+- initial package for review
+- Specfile autogenerated by cpanspec 1.78.
diff --git a/sources b/sources
index e69de29..b45f102 100644
--- a/sources
+++ b/sources
@@ -0,0 +1 @@
+e696fc2b15d6189370e19bce9a9e56f3  Gtk2-WebKit-0.09.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