rpms/perl-Gtk2-Ex-FormFactory/F-9 perl-Gtk2-Ex-FormFactory.spec, NONE, 1.1 sources, 1.1, 1.2

Chauvet kwizart at fedoraproject.org
Sat May 31 13:26:19 UTC 2008


Author: kwizart

Update of /cvs/pkgs/rpms/perl-Gtk2-Ex-FormFactory/F-9
In directory cvs-int.fedora.redhat.com:/tmp/cvs-serv13346

Modified Files:
	sources 
Added Files:
	perl-Gtk2-Ex-FormFactory.spec 
Log Message:
Initial import for F-9



--- NEW FILE perl-Gtk2-Ex-FormFactory.spec ---
Name:           perl-Gtk2-Ex-FormFactory
Version:        0.65
Release:        3%{?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 $(find lib/ -name *.pm) 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

# Filter unwanted Provides:
cat << \EOF > %{name}-prov
#!/bin/sh
%{__perl_provides} $* |\
  sed -e '/^perl(Music/d'

EOF

%define __perl_provides %{_builddir}/Gtk2-Ex-FormFactory-%{version}/%{name}-prov
chmod +x %{name}-prov


%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 {} ';'

chmod 644 $RPM_BUILD_ROOT%{_mandir}/man3/*


%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
* Thu May 29 2008 kwizart < kwizart at gmail.com > - 0.65-3
- Fix non-utf8 encoding at source.

* Wed May 28 2008 kwizart < kwizart at gmail.com > - 0.65-2
- Fix man3 encoding
- Fix unwanted perl provides (Music::*)

* Wed Apr 30 2008 kwizart < kwizart at gmail.com > - 0.65-1
- Update to 0.65
- Fix encoding

* Mon Jan  9 2006 Matthias Saou <http://freshrpms.net/> 0.59-1
- Initial RPM package.


Index: sources
===================================================================
RCS file: /cvs/pkgs/rpms/perl-Gtk2-Ex-FormFactory/F-9/sources,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -r1.1 -r1.2
--- sources	30 May 2008 20:06:50 -0000	1.1
+++ sources	31 May 2008 13:25:38 -0000	1.2
@@ -0,0 +1 @@
+904f6fe4b94248b56507710b29a53873  Gtk2-Ex-FormFactory-0.65.tar.gz




More information about the Fedora-perl-devel-list mailing list