perl 5.16 mass rebuild [release 1.245-2mamba;Mon Nov 12 2012]

This commit is contained in:
Silvan Calarco 2024-01-06 09:04:22 +01:00
parent 03f2e77f99
commit 25b55b9050
2 changed files with 110 additions and 0 deletions

View File

@ -1,2 +1,4 @@
# perl-Gtk2
Perl bindings to the 2.x series of the Gtk+ graphical user interface library.

108
perl-Gtk2.spec Normal file
View File

@ -0,0 +1,108 @@
%define perl_major_ver %(eval `perl -V:version`; echo ${version%*.[0-9]*}.0)
Name: perl-Gtk2
Version: 1.245
Release: 2mamba
Summary: Gtk2 - Perl bindings to the 2.x series of the Gtk+ graphical user interface library
Group: Development/Libraries/Perl
Vendor: openmamba
Distribution: openmamba
Packager: Aleph0 <aleph0@openmamba.org>
URL: http://www.cpan.org
Source: http://www.cpan.org/authors/id/T/TS/TSCH/Gtk2-%{version}.tar.gz
License: GPL
Requires: perl >= %perl_major_ver
## AUTOBUILDREQ-BEGIN
BuildRequires: glibc-devel
BuildRequires: libatk-devel
BuildRequires: libcairo-devel
BuildRequires: libfontconfig-devel
BuildRequires: libfreetype-devel
BuildRequires: libgdk-pixbuf-devel
BuildRequires: libglib-devel
BuildRequires: libgtk-devel
BuildRequires: libpango-devel
BuildRequires: libpng-devel
BuildRequires: perl-devel
BuildRequires: perl-Glib
BuildRequires: perl-Pango
## AUTOBUILDREQ-END
BuildRequires: perl-Cairo
Provides: perl-Gtk
Obsoletes: perl-Gtk
BuildRoot: %{_tmppath}/%{name}-%{version}-root
%description
Perl bindings to the 2.x series of the Gtk+ graphical user interface library.
%prep
%setup -q -n Gtk2-%{version}
%build
perl Makefile.PL PREFIX=%{_prefix} INSTALLDIRS=vendor
%make
#FIXME: test failing on libgdk-pixbuf
#% make test
%install
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
%makeinstall_perl
packlist=`find %{buildroot} -name .packlist`
[ -z "$packlist" ] && exit 1 || cat $packlist | \
sed "s,%buildroot,,g;s,.*/man/.*,&.gz,g" | \
sort -u > .packlist && rm $packlist
strid=`echo $packlist | sed 's,.*auto\(.*\)/.packlist,\1,'`
for dir in `find %{buildroot} -type d | grep $strid`; do
echo "%dir ${dir#%buildroot}" >> .packlist
done
%clean
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
rm -f .packlist
%files -f .packlist
%defattr(-,root,root)
%changelog
* Mon Nov 12 2012 Silvan Calarco <silvan.calarco@mambasoft.it> 1.245-2mamba
- perl 5.16 mass rebuild
* Sat Aug 11 2012 Automatic Build System <autodist@mambasoft.it> 1.245-1mamba
- automatic version update by autodist
* Tue May 01 2012 Automatic Build System <autodist@mambasoft.it> 1.240-1mamba
- automatic version update by autodist
* Sat Aug 06 2011 Automatic Build System <autodist@mambasoft.it> 1.224-1mamba
- automatic version update by autodist
* Mon Oct 04 2010 Silvan Calarco <silvan.calarco@mambasoft.it> 1.222-2mamba
- obsolete perl-Gtk
* Sat Jun 05 2010 Automatic Build System <autodist@mambasoft.it> 1.222-1mamba
- automatic update by autodist
* Sat Jul 11 2009 Automatic Build System <autodist@mambasoft.it> 1.221-1mamba
- automatic update by autodist
* Thu May 07 2009 Automatic Build System <autodist@mambasoft.it> 1.220-1mamba
- automatic update by autodist
* Mon Mar 02 2009 Silvan Calarco <silvan.calarco@mambasoft.it> 1.203-1mamba
- automatic update by autodist
* Fri Jan 02 2009 Silvan Calarco <silvan.calarco@mambasoft.it> 1.202-1mamba
- automatic update by autodist
* Sat Nov 08 2008 Silvan Calarco <silvan.calarco@mambasoft.it> 1.162-2mamba
- automatic rebuild by autodist
* Thu Nov 22 2007 Aleph0 <aleph0@openmamba.org> 1.162-1mamba
- update to 1.162
* Tue Aug 30 2005 Davide Madrisan <davide.madrisan@qilinux.it> 1.083-1qilnx
- update to version 1.083 by autospec
* Thu Nov 11 2004 Alessandro Ramazzina <alessandro.ramazzina@qilinux.it> 1.061-1qilnx
- package created by autospec