[libgtk2-perl] 19/30: Requires perl(Cairo) (distro >= FC-5).
Intrigeri
intrigeri at moszumanska.debian.org
Wed Apr 30 17:11:46 UTC 2014
This is an automated email from the git hooks/post-receive script.
intrigeri pushed a commit to annotated tag F-10-split
in repository libgtk2-perl.
commit a9496ed430c84913963d00b13d68b0d18f804660
Author: Jose Pedro Oliveira <jpo at fedoraproject.org>
Date: Mon May 1 00:16:40 2006 +0000
Requires perl(Cairo) (distro >= FC-5).
---
perl-Gtk2.spec | 20 +++++++++++++++++---
1 file changed, 17 insertions(+), 3 deletions(-)
diff --git a/perl-Gtk2.spec b/perl-Gtk2.spec
index a9ef6fe..d96933a 100644
--- a/perl-Gtk2.spec
+++ b/perl-Gtk2.spec
@@ -6,7 +6,7 @@
Name: perl-Gtk2
Version: 1.121
-Release: 1%{?dist}
+Release: 2%{?dist}
Summary: Perl interface to the 2.x series of the Gimp Toolkit library
Group: Development/Libraries
@@ -16,10 +16,13 @@ Source0: http://www.cpan.org/authors/id/T/TS/TSCH/Gtk2-%{version}.tar.gz
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
BuildRequires: perl >= 2:5.8.0
-BuildRequires: gtk2-devel, perl-Glib >= 1.120
+BuildRequires: gtk2-devel
BuildRequires: perl(ExtUtils::Depends), perl(ExtUtils::PkgConfig)
-Requires: perl-Glib >= 1.120
+BuildRequires: perl(Glib) >= 1.120
+BuildRequires: perl(Cairo)
Requires: perl(:MODULE_COMPAT_%(eval "`%{__perl} -V:version`"; echo $version))
+Requires: perl(Glib) >= 1.120
+Requires: perl(Cairo)
%description
This module allows you to write Gtk+ graphical user interfaces in a
@@ -42,6 +45,14 @@ __EOF__
%define __perl_provides %{_builddir}/Gtk2-%{version}/%{name}-perl.prov
chmod +x %{__perl_provides}
+# Requires: exclude unversioned perl(Glib)
+cat <<__EOF__ > %{name}-perl.req
+#!/bin/sh
+/usr/lib/rpm/perl.req \$* | grep -v '^perl(Glib)$'
+__EOF__
+%define __perl_requires %{_builddir}/Gtk2-%{version}/%{name}-perl.req
+chmod +x %{__perl_requires}
+
%build
CFLAGS="$RPM_OPT_FLAGS" %{__perl} Makefile.PL INSTALLDIRS=vendor
@@ -75,6 +86,9 @@ rm -rf $RPM_BUILD_ROOT
%changelog
+* Mon May 1 2006 Jose Pedro Oliveira <jpo at di.uminho.pt> - 1.121-2
+- Requires perl(Cairo) (distro >= FC-5).
+
* Tue Apr 11 2006 Jose Pedro Oliveira <jpo at di.uminho.pt> - 1.121-1
- Update to 1.121.
--
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-perl/packages/libgtk2-perl.git
More information about the Pkg-perl-cvs-commits
mailing list