%global pkg_name Gtk3 %global pkg_version 0.037 %global rpm_pkg_version 0.037 %global rpm_pkg_release 4.n0i.18 #%%global snapshot 0393e6d Summary: Perl interface to the 3.x series of the Gimp Toolkit library Name: perl-%{pkg_name} Version: %{rpm_pkg_version} Release: %{rpm_pkg_release}%{?cpan_version}%{?snapshot:.git%{snapshot}}%{?dist} Group: Development/Libraries License: LGPLv2+ URL: http://search.cpan.org/dist/%{pkg_name}/ %if %{?snapshot:1}0 # git clone git://git.gnome.org/perl-Gtk3 # rm -rvf perl-Gtk3/.git* # tar cvJf perl-Gtk3-.tar.xz --remove-files perl-Gtk3 Source0: %{name}-%{snapshot}.tar.xz %else Source0: http://www.cpan.org/authors/id/X/XA/XAOC/%{pkg_name}-%{pkg_version}.tar.gz %endif BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) BuildArch: noarch BuildRequires: rpm-build-reb00t-perl BuildRequires: gtk3-devel BuildRequires: perl(Glib::Object::Introspection) >= 0.043 BuildRequires: perl(Glib::Object::Introspection::Install::Files) BuildRequires: perl(Cairo::GObject::Install::Files) >= 1.000 BuildRequires: perl(Test::Simple) >= 0.96 BuildRequires: perl(ExtUtils::MakeMaker) >= 6.30 Requires: perl(Glib::Object::Introspection) >= 0.043 Requires: perl(Cairo::GObject) >= 1.000 %global perl_filter_req 'perl\\((Cairo::GObject|Glib::Object::Introspection)\\)$' %description The Gtk3 module allows a Perl developer to use the Gtk+ graphical user interface library. %prep %if %{?snapshot:1}0 %setup -q -n %{name} %else %setup -q -n %{pkg_name}-%{pkg_version} %endif %build %{perl_build} %install %{perl_install} %files %defattr(-,root,root,-) %doc LICENSE NEWS README %{perl_files} %changelog * Tue Oct 06 2020 Marius Feraru - 0.037-4.n0i.18 - override F32 * Mon Mar 23 2020 Marius Feraru - 0.037-1.n0i.17 - version 0.037 * Wed May 08 2019 Marius Feraru - 0.035-1.n0i.16 - version 0.035 * Tue May 22 2018 Marius Feraru - 0.034-1.n0i.15 - version 0.034 * Tue Nov 07 2017 Marius Feraru - 0.033-1.n0i.14 - version 0.033 - bump Glib::Object::Introspection BR to 0.043 * Wed May 31 2017 Marius FERARU - 0.032-1.n0i.13 - version 0.032 * Wed Mar 22 2017 Marius Feraru - 0.030-2.n0i.12 - automatic rebuild (perl 5.24.1) * Thu Nov 24 2016 Marius Feraru - 0.030-1.n0i.11 - version 0.030 * Mon Aug 01 2016 Marius Feraru - 0.028-1.n0i.10 - version 0.028 * Tue Dec 01 2015 Marius Feraru - 0.026-1.n0i.9 - version 0.026 * Thu Nov 12 2015 Marius Feraru - 0.025-2.n0i.8 - automatic rebuild (perl 5.22.0) * Fri Oct 02 2015 Marius FERARU - 0.025-1.n0i.7 - version 0.025 * Sun Aug 16 2015 Marius Feraru - 0.023-1.n0i.6 - version 0.023 * Fri Aug 07 2015 Marius Feraru - 0.022-1.n0i.5 - version 0.022 * Mon Jun 22 2015 Marius Feraru - 0.021-1.n0i.4 - version 0.021 * Wed Jan 21 2015 Marius FERARU - 0.020-1.n0i.3 - version 0.020 * Wed Feb 19 2014 Marius FERARU - 0.016-1.n0i.2 - version 0.016 * Fri Jan 03 2014 Marius FERARU - 0.015-1.n0i.1 - initial packaging