Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
openSUSE:Evergreen:11.4
perl-GD
perl-GD.spec
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File perl-GD.spec of Package perl-GD
# # spec file for package perl-GD (Version 2.45) # # Copyright (c) 2010 SUSE LINUX Products GmbH, Nuernberg, Germany. # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed # upon. The license for this file, and modifications and additions to the # file, is the same license as for the pristine package itself (unless the # license for the pristine package is not an Open Source License, in which # case the license is the MIT License). An "Open Source License" is a # license that conforms to the Open Source Definition (Version 1.9) # published by the Open Source Initiative. # Please submit bugfixes or comments via http://bugs.opensuse.org/ # # norootforbuild Name: perl-GD %define cpan_name GD Summary: Interface to Gd Graphics Library Version: 2.45 Release: 2 License: MIT License (or similar) Group: Development/Libraries/Perl Url: http://search.cpan.org/dist/GD AutoReqProv: on Source: %{cpan_name}-%{version}.tar.bz2 Source1: test10.png BuildRoot: %{_tmppath}/%{name}-%{version}-build %{perl_requires} BuildRequires: perl BuildRequires: perl-macros BuildRequires: freetype2-devel BuildRequires: gd-devel >= 2.0.28 BuildRequires: libjpeg-devel libpng-devel xorg-x11-devel Provides: %{cpan_name} %description This is an autoloadable interface module for libgd, a popular library for creating and manipulating PNG files. With this library you can create PNG images on the fly or modify existing files. This version of GD no longer supports GIF output because of threats from the legal department at Unisys. Source code that calls $image->gif will have to be changed to call either $image->jpg or $image->png to output in JPEG or PNG formats. The last version of GD that supported GIF output was version 1.19. %prep %setup -q -n %{cpan_name}-%{version} cp %{S:1} t/test.out.10.png %build # replace /usr/local/perl with /usr/bin/perl for ii in `grep -rl "/usr/local/bin/perl" *` ; do sed -i -e "s@/usr/local/bin/perl@/usr/bin/perl@" $ii done #perl -pi -e 's#X11R6/lib#X11R6/%{_lib}#g;' Makefile.PL perl Makefile.PL OPTIMIZE="$RPM_OPT_FLAGS -Wall" %{__make} %{?_smp_mflags} %check %{__make} html %{__make} test %install %perl_make_install %perl_process_packlist %perl_gen_filelist %clean %{__rm} -rf $RPM_BUILD_ROOT %files -f %{name}.files %defattr(-, root, root) %doc ChangeLog README* demos %changelog
Locations
Projects
Search
Status Monitor
Help
OpenBuildService.org
Documentation
API Documentation
Code of Conduct
Contact
Support
@OBShq
Terms
openSUSE Build Service is sponsored by
The Open Build Service is an
openSUSE project
.
Sign Up
Log In
Places
Places
All Projects
Status Monitor