[perl-Gtk2-Ex-FormFactory/el5/master] Initial import for devel

Nicolas Chauvet kwizart at fedoraproject.org
Sat Dec 11 17:25:54 UTC 2010


commit e1516a6385a6be9c50baf716595f2f0f2e1f2fb1
Author: Nicolas Chauvet <kwizart at fedoraproject.org>
Date:   Sat May 31 12:37:59 2008 +0000

    Initial import for devel

 .gitignore                    |    1 +
 perl-Gtk2-Ex-FormFactory.spec |   86 +++++++++++++++++++++++++++++++++++++++++
 sources                       |    1 +
 3 files changed, 88 insertions(+), 0 deletions(-)
---
diff --git a/.gitignore b/.gitignore
index e69de29..4605885 100644
--- a/.gitignore
+++ b/.gitignore
@@ -0,0 +1 @@
+Gtk2-Ex-FormFactory-0.65.tar.gz
diff --git a/perl-Gtk2-Ex-FormFactory.spec b/perl-Gtk2-Ex-FormFactory.spec
new file mode 100644
index 0000000..392f15b
--- /dev/null
+++ b/perl-Gtk2-Ex-FormFactory.spec
@@ -0,0 +1,86 @@
+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.
diff --git a/sources b/sources
index e69de29..63a3fd7 100644
--- a/sources
+++ b/sources
@@ -0,0 +1 @@
+904f6fe4b94248b56507710b29a53873  Gtk2-Ex-FormFactory-0.65.tar.gz



More information about the perl-devel mailing list