packages: perl-Gtk3/perl-Gtk3.spec (NEW)=?UTF-8?Q?=20?=- new; gobject-based binding
qboosh
qboosh at pld-linux.org
Tue Jun 5 18:05:12 CEST 2012
Author: qboosh Date: Tue Jun 5 16:05:12 2012 GMT
Module: packages Tag: HEAD
---- Log message:
- new; gobject-based binding
---- Files affected:
packages/perl-Gtk3:
perl-Gtk3.spec (NONE -> 1.1) (NEW)
---- Diffs:
================================================================
Index: packages/perl-Gtk3/perl-Gtk3.spec
diff -u /dev/null packages/perl-Gtk3/perl-Gtk3.spec:1.1
--- /dev/null Tue Jun 5 18:05:12 2012
+++ packages/perl-Gtk3/perl-Gtk3.spec Tue Jun 5 18:05:07 2012
@@ -0,0 +1,79 @@
+# $Revision$, $Date$
+#
+# Conditional build:
+%bcond_without tests # do not perform "make test"
+#
+%include /usr/lib/rpm/macros.perl
+%define pdir Gtk3
+Summary: Perl interface to the 3.x series of the Gimp Toolkit library
+Summary(pl.UTF-8): Interfejs perlowy do wersji 3.x biblioteki Gimp Toolkit
+Name: perl-Gtk3
+Version: 0.006
+Release: 1
+License: LGPL v2.1+
+Group: Development/Languages/Perl
+Source0: http://downloads.sourceforge.net/gtk2-perl/%{pdir}-%{version}.tar.gz
+# Source0-md5: f0fdf9cc4c715ddc9548ba36be16d56e
+URL: http://gtk2-perl.sourceforge.net/
+BuildRequires: perl-ExtUtils-MakeMaker >= 6.30
+BuildRequires: perl-devel >= 1:5.8.0
+BuildRequires: rpm-perlprov >= 4.1-13
+BuildRequires: rpmbuild(macros) >= 1.192
+%if %{with tests}
+BuildRequires: perl-Cairo-GObject >= 1.000
+BuildRequires: perl-Glib >= 1.260
+BuildRequires: perl-Glib-Object-Introspection >= 0.009
+%endif
+# gdk-pixbuf2, gtk+3, pango with gobject-introspection bindings
+Requires: gdk-pixbuf2 >= 2.22
+Requires: gtk+3 >= 3.0.0
+Requires: pango >= 1:1.26
+Requires: perl-Cairo-GObject >= 1.000
+Requires: perl-Glib >= 1.260
+Requires: perl-Glib-Object-Introspection >= 0.009
+BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
+
+%description
+The Gtk3 module allows a perl developer to use the GTK+ graphical user
+interface library.
+
+%description -l pl.UTF-8
+Moduł Gtk3 pozwala programistom perlowym na używanie biblioteki
+interfejsu graficznego GTK+.
+
+%prep
+%setup -q -n %{pdir}-%{version}
+
+%build
+%{__perl} Makefile.PL \
+ INSTALLDIRS=vendor
+
+%{__make} \
+ CC="%{__cc}" \
+ OPTIMIZE="%{rpmcflags}"
+
+%{?with_tests:%{__make} test}
+
+%install
+rm -rf $RPM_BUILD_ROOT
+
+%{__make} pure_install \
+ DESTDIR=$RPM_BUILD_ROOT
+
+%clean
+rm -rf $RPM_BUILD_ROOT
+
+%files
+%defattr(644,root,root,755)
+%doc NEWS README
+%{perl_vendorlib}/Gtk3.pm
+%{_mandir}/man3/Gtk3.3pm*
+
+%define date %(echo `LC_ALL="C" date +"%a %b %d %Y"`)
+%changelog
+* %{date} PLD Team <feedback at pld-linux.org>
+All persons listed below can be reached at <cvs_login>@pld-linux.org
+
+$Log$
+Revision 1.1 2012/06/05 16:05:07 qboosh
+- new; gobject-based binding
================================================================
More information about the pld-cvs-commit
mailing list