%define pkg_name Gnome2-Print %define pkg_version 1.000 %define rpm_pkg_version 1.000 %define rpm_pkg_release 1.n0i.6 Summary: Perl wrappers for the Gnome Print utilities Name: perl-%{pkg_name} Version: %{rpm_pkg_version} Release: %{rpm_pkg_release}%{?cpan_version}%{?dist} Group: Development/Libraries License: Artistic URL: http://search.cpan.org/dist/%{pkg_name}/ Source0: http://www.cpan.org/authors/id/E/EB/EBASSI/%{pkg_name}-%{pkg_version}.tar.gz BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) BuildRequires: reb00t-rpmdevtools BuildRequires: pkgconfig BuildRequires: libgnomeprint22-devel BuildRequires: libgnomeprintui22-devel BuildRequires: perl >= 2:5.8.0 BuildRequires: perl(ExtUtils::MakeMaker) BuildRequires: perl(ExtUtils::Depends) >= 0.200 BuildRequires: perl(ExtUtils::PkgConfig) >= 1.03 BuildRequires: perl(Glib) >= 1.120 BuildRequires: perl(Gtk2) >= 1.120 Requires: perl(Glib) >= 1.120 Requires: perl(Gtk2) >= 1.120 %description This module allows you to use the GNOME Print libraries within your applications written using the gtk2-perl wrapper. The GNOME Print libraries (also known as libgnomeprint and libgnomeprintui) allow you to create printable documents (using various frontends) and offer standard widgets in order to maintain a UI consistent for all GNOME applications. %prep %setup -q -n %{pkg_name}-%{pkg_version} %{fix_perl_path examples/} %build %{perl_build} %{!?_without_test:%{__make} test} %install %{__rm} -rf $RPM_BUILD_ROOT %{perl_install} %clean %{__rm} -rf $RPM_BUILD_ROOT %files %defattr(-,root,root,-) %{perl_files} %doc AUTHORS ChangeLog examples/ NEWS README %changelog * Wed Jun 06 2007 Marius Feraru - 1.000-1.n0i.6 - spec file (re)created using N0i::CPAN::RPMizer/1.14.8 - version 1.000 * Thu Aug 25 2005 Marius FERARU 0.95_1-1.n0i.5.0.951 - version 0.951 * Thu Jul 28 2005 Marius Feraru 0.94-2.n0i.4 - spec file (re)created using N0i::CPAN::RPMizer/1.01 - rebuild on perl 5.8.7 * Mon Dec 06 2004 Marius Feraru 0:0.94-1.n0i.3 - version 0.94 - spec updates * Wed May 05 2004 Marius FERARU 0:0.91-1.n0i.2 - version 0.91 * Tue Feb 03 2004 Marius FERARU 0:0.61-0.n0i.1 - version 0.61 - spec file (re?)created using N0i::CPAN::RPMizer/2004011001