automatic update by autodist [release 2.52-1mamba;Fri Feb 21 2014]
This commit is contained in:
parent
d55eb54709
commit
7bad7bfd4a
@ -1,2 +1,5 @@
|
||||
# perl-GD
|
||||
|
||||
The GD library was written by Thomas Boutell a long while ago to programatically generate images in C.
|
||||
Since then it's become the defacto standard for programatic image construction.
|
||||
|
||||
|
10
perl-GD-2.41-Group.patch
Normal file
10
perl-GD-2.41-Group.patch
Normal file
@ -0,0 +1,10 @@
|
||||
--- GD-2.41/Makefile.PL.orig 2008-10-11 01:34:24.000000000 +0200
|
||||
+++ GD-2.41/Makefile.PL 2008-10-11 01:34:48.000000000 +0200
|
||||
@@ -232,6 +232,7 @@
|
||||
'Math::Trig' => 0,
|
||||
},
|
||||
'PM' => { 'GD.pm' => '$(INST_LIBDIR)/GD.pm',
|
||||
+ 'GD/Group.pm' => '$(INST_LIBDIR)/GD/Group.pm',
|
||||
'GD/Polyline.pm' => '$(INST_LIBDIR)/GD/Polyline.pm',
|
||||
'GD/Polygon.pm' => '$(INST_LIBDIR)/GD/Polygon.pm',
|
||||
'GD/Simple.pm' => '$(INST_LIBDIR)/GD/Simple.pm',
|
114
perl-GD.spec
Normal file
114
perl-GD.spec
Normal file
@ -0,0 +1,114 @@
|
||||
%define perl_major_ver %(eval `perl -V:version`; echo ${version%*.[0-9]*}.0)
|
||||
|
||||
Name: perl-GD
|
||||
Version: 2.52
|
||||
Release: 1mamba
|
||||
Summary: A perl library that generates images
|
||||
Group: Development/Libraries/Perl
|
||||
Vendor: openmamba
|
||||
Distribution: openmamba
|
||||
Packager: Silvan Calarco <silvan.calarco@mambasoft.it>
|
||||
Source: http://www.cpan.org/authors/id/L/LD/LDS/GD-%{version}.tar.gz
|
||||
Patch0: %{name}-2.41-Group.patch
|
||||
URL: http://www.cpan.org
|
||||
License: GPL
|
||||
## AUTOBUILDREQ-BEGIN
|
||||
BuildRequires: glibc-devel
|
||||
BuildRequires: libfontconfig-devel
|
||||
BuildRequires: libfreetype-devel
|
||||
BuildRequires: libgd-devel
|
||||
BuildRequires: libjpeg-devel
|
||||
BuildRequires: libpng-devel
|
||||
BuildRequires: libX11-devel
|
||||
BuildRequires: libXpm-devel
|
||||
BuildRequires: libz-devel
|
||||
BuildRequires: perl-devel
|
||||
## AUTOBUILDREQ-END
|
||||
Requires: perl >= %perl_major_ver
|
||||
BuildRoot: %{_tmppath}/%{name}-%{version}-root
|
||||
|
||||
%description
|
||||
The GD library was written by Thomas Boutell a long while ago to programatically generate images in C.
|
||||
Since then it's become the defacto standard for programatic image construction.
|
||||
|
||||
%prep
|
||||
%setup -q -n GD-%{version}
|
||||
%patch0 -p1
|
||||
|
||||
%build
|
||||
# sed -i 's/my @INC.*/my @INC = qw(-I\/usr\/include)\;/' Makefile.PL
|
||||
perl Makefile.PL PREFIX=%{_prefix} INSTALLDIRS=vendor -lib_gd_path="%{_libdir}"
|
||||
%make
|
||||
# FIXME: test broken maybe since perl 5.16
|
||||
#% 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
|
||||
* Fri Feb 21 2014 Automatic Build System <autodist@mambasoft.it> 2.52-1mamba
|
||||
- automatic update by autodist
|
||||
|
||||
* Sat Jul 06 2013 Automatic Build System <autodist@mambasoft.it> 2.50-1mamba
|
||||
- automatic version update by autodist
|
||||
|
||||
* Tue Mar 05 2013 Automatic Build System <autodist@mambasoft.it> 2.49-1mamba
|
||||
- automatic version update by autodist
|
||||
|
||||
* Fri Nov 16 2012 Silvan Calarco <silvan.calarco@mambasoft.it> 2.46-2mamba
|
||||
- perl 5.16 mass rebuild
|
||||
|
||||
* Sun Jun 19 2011 Automatic Build System <autodist@mambasoft.it> 2.46-1mamba
|
||||
- automatic update by autodist
|
||||
|
||||
* Sat Mar 26 2011 Automatic Build System <autodist@mambasoft.it> 2.45-1mamba
|
||||
- automatic update by autodist
|
||||
|
||||
* Sun Jul 12 2009 Automatic Build System <autodist@mambasoft.it> 2.44-1mamba
|
||||
- automatic update by autodist
|
||||
|
||||
* Sat Jun 20 2009 Automatic Build System <autodist@mambasoft.it> 2.43-1mamba
|
||||
- automatic update by autodist
|
||||
|
||||
* Thu Feb 05 2009 Silvan Calarco <silvan.calarco@mambasoft.it> 2.41-1mamba
|
||||
- automatic update by autodist
|
||||
|
||||
* Tue Nov 04 2008 Silvan Calarco <silvan.calarco@mambasoft.it> 2.35-3mamba
|
||||
- automatic rebuild by autodist
|
||||
|
||||
* Mon Nov 26 2007 Aleph0 <aleph0@openmamba.org> 2.35-2mamba
|
||||
- rebuilt with installdir set to vendor
|
||||
|
||||
* Mon Mar 19 2007 Silvan Calarco <silvan.calarco@mambasoft.it> 2.35-1qilnx
|
||||
- update to version 2.35 by autospec
|
||||
- added PNG support
|
||||
|
||||
* Tue Feb 01 2005 Silvan Calarco <silvan.calarco@mambasoft.it> 2.19-1qilnx
|
||||
- update to version 2.19 by autospec
|
||||
|
||||
* Wed Jan 07 2004 Davide Madrisan <davide.madrisan@qilinux.it> 2.07-3qilnx
|
||||
- rebuilt with perl 5.8.2
|
||||
|
||||
* Wed Dec 31 2003 Davide Madrisan <davide.madrisan@qilinux.it> 2.07-2qilnx
|
||||
- rebuilt with Perl 5.8.1
|
||||
- specfile updates, added missing dependencies
|
||||
|
||||
* Tue Sep 09 2003 Silvan Calarco <silvan.calarco@mambasoft.it> 2.07-1qilnx
|
||||
- first build
|
Loading…
Reference in New Issue
Block a user