Name: perl-Gtk2-Ex-FormFactory Version: 0.65 Release: 1%{?dist} Summary: Framework for Gtk2 perl applications Group: Development/Libraries License: LGPLv2+ URL: http://www.exit1.org/Gtk2-Ex-FormFactory/ Source0: http://www.exit1.org/packages/Gtk2-Ex-FormFactory/dist/Gtk2-Ex-FormFactory-%{version}.tar.gz BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) BuildArch: noarch BuildRequires: perl(ExtUtils::MakeMaker) BuildRequires: perl(Gtk2) Requires: perl(:MODULE_COMPAT_%(eval "`%{__perl} -V:version`"; echo $version)) %description Gtk2::Ex::FormFactory is a framework for Perl Gtk2 developers. %prep %setup -q -n Gtk2-Ex-FormFactory-%{version} # Make it so that the .pl scripts in %%doc don't add bogus requirements chmod -x examples/* tutorial/* # Convert encoding for f in README tutorial/README ; do cp -p ${f} ${f}.noutf8 iconv -f ISO-8859-1 -t UTF-8 ${f}.noutf8 > ${f} touch -r ${f}.noutf8 ${f} rm ${f}.noutf8 done %build %{__perl} Makefile.PL INSTALLDIRS=vendor 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 {} ';' %check make test %clean rm -rf $RPM_BUILD_ROOT %files %defattr(-,root,root,-) %doc Changes examples/ LICENSE README tutorial/ %{perl_vendorlib}/Gtk2/ %{_mandir}/man3/*.3* %changelog * Wed Apr 30 2008 kwizart < kwizart at gmail.com > - 0.65-1 - Update to 0.65 - Fix encoding * Mon Jan 9 2006 Matthias Saou 0.59-1 - Initial RPM package.