Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
home:csbuild:DBA
dba-GraphicsMagick-1326
dba-GraphicsMagick-1326.spec
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File dba-GraphicsMagick-1326.spec of Package dba-GraphicsMagick-1326
%define perl_vendorlib %(eval "`perl -V:installvendorlib`"; echo $installvendorlib) %define perl_vendorarch %(eval "`perl -V:installvendorarch`"; echo $installvendorarch) %define real_name GraphicsMagick %define version 1.3.26 %define prefix /DBA/%{real_name}/%{version} %define vers 1326 Name: dba-%{real_name}-%{vers} Summary: Viewer and Converter for Images 1.3.26 Version: %{version} Release: 1 License: MIT Group: Productivity/Graphics/Convertors Url: http://www.GraphicsMagick.org/ Source: ftp://ftp.GraphicsMagick.org/pub/%{real_name}/1.3/%{real_name}-%{version}.tar.bz2 Source1: typemap Source2: %{real_name}-rpmlintrc Patch0: %{real_name}-perl-link.patch Patch2: %{real_name}-debian-fixed.patch Patch10: %{real_name}-include.patch # BuildRequires: cups-client BuildRequires: dcraw BuildRequires: freetype2-devel BuildRequires: gcc-c++ BuildRequires: libbz2-devel BuildRequires: libjpeg-devel # BuildRequires: libjbig-devel %if 0%{?suse_version} >= 1100 BuildRequires: libjasper-devel %if 0%{?suse_version} >= 1200 BuildRequires: liblcms2-devel %endif # BuildRequires: libltdl-devel %endif BuildRequires: libtiff-devel # BuildRequires: libwebp-devel BuildRequires: libxml2-devel BuildRequires: pkgconfig %if 0%{?suse_version} Requires: libgomp libwmf BuildRequires: libwmf-devel BuildRequires: ghostscript-fonts-other BuildRequires: ghostscript-fonts-std BuildRequires: ghostscript-library BuildRequires: xorg-x11-devel xorg-x11-libICE-devel xorg-x11-libSM-devel xorg-x11-libX11-devel BuildRequires: xorg-x11-libXext-devel xorg-x11-libXmu-devel xorg-x11-libXpm-devel xorg-x11-libXt-devel BuildRequires: libtool %else #!BuildIgnore: gtk2 gtk2-devel glib2-devel BuildRequires: pango-devel cairo-devel glib2-devel BuildRequires: libICE-devel libSM-devel libX11-devel BuildRequires: libXext-devel libXmu-devel libXpm-devel libXt-devel BuildRequires: libtool-ltdl-devel %if 0%{?rhel_version} >= 600 BuildRequires: libwmf %else BuildRequires: libwmf-devel %endif BuildRequires: perl(ExtUtils::MakeMaker) %endif BuildRoot: %{_tmppath}/%{name}-%{version}-build #!BuildIgnore: dba-openssl-098o dba-openssl-098r dba-openssl-098x dba-openssl-101c dba-openssl-101e #!BuildIgnore: dba-libxml2-290 dba-net-snmp-572 dba-curl-7371 %if 0%{?suse_version} >= 1100 BuildRequires: -post-build-checks %endif %description GraphicsMagick(TM) provides a powerful image manipulation andtranslation utility. It is capable of displaying still images and animations using the X Window system which provides a simple interface forinteractively editing images, and is capable of importing selected windows or the entire desktop. GraphicsMagick is one of your choices if you need a program to manipulate and display images.It can read and write over 88 image formats, including JPEG, TIFF, WMF, SVG, PNG, PNM, GIF, andPhoto CD. Besides it allows you to resize, rotate, sharpen, color reduce, or add special effects to an image and to save the result to any supported format. GraphicsMagick may be used to create animated or transparent .gifs, to composite images, to create thumbnail images and a lot more. If you want to develop your own applications which use GraphicsMagick code or APIs, you need to install GraphicsMagick-devel as well. This package is compiled with Q16, which means that it provides better performance on 16 bit images and less. %package -n %{name}-perl Summary: Viewer and Converter for Images - perl interface Group: Development/Libraries/Perl Requires: %{real_name} = %{version} Requires: perl = %{perl_version} %description -n %{name}-perl GraphicsMagick(TM) provides a powerful image manipulation and translation utility. It is capable of displaying still images and animations using the X Window system, provides a simple interface for interactively editing images, and is capable of importing selected windows or the entire desktop. GraphicsMagick can read and write over 88 image formats, including JPEG, TIFF, WMF, SVG, PNG, PNM, GIF, and Photo CD. It can resize, rotate, sharpen, color reduce, or add special effects to the image and save the result to any supported format. GraphicsMagick may be used to create animated or transparent .gifs, create composite images, create thumbnail images, and much, much, more. This package contains perl interface to GraphicsMagick library. %prep %setup -q -n %{real_name}-%{version} %patch0 -p1 %patch2 -p1 %patch10 %build export PERLOPTS="PREFIX=%{buildroot}%{prefix}" # This shouldn't be there yet. rm -f PerlMagick/Makefile.PL ./configure \ --prefix=%{prefix} \ --enable-shared --enable-static \ --with-modules --enable-lzw \ --with-frozenpaths \ --without-perl \ --with-magick-plus-plus \ --with-quantum-depth=16 \ --enable-quantum-library-names \ --docdir=%{_defaultdocdir}/%{name} \ --with-x \ --x-libraries=%{prefix}/lib \ --x-includes=%{prefix}/include # --with-perl-options="$PERLOPTS" \ make %{?_smp_mflags} cd PerlMagick if [ -e PerlMagick/typemap ]; then echo "With Graphics Magick 1.4.0, typmap exists yet, please " echo "no need to carry it as a package source anymore." exit 1 else cp %{SOURCE1} . fi perl Makefile.PL make %{?_smp_mflags} LD_RUN_PATH="%{_libdir}" %install # prevent rpath problem on suse export NO_BRP_CHECK_RPATH=true make "DESTDIR=$RPM_BUILD_ROOT" install %{__mkdir_p} %{buildroot}%{prefix}/docs cp -a www ChangeLog* *.txt %{buildroot}/%{prefix}/docs cd PerlMagick make DESTDIR=%{buildroot} LD_RUN_PATH="%{_libdir}" install_vendor # Remove unpackaged files. rm -f `find %{buildroot} -name perllocal.pod -type f` rm -f `find %{buildroot} -name .packlist -type f` # perl modules are in lib even on 64 bit arch rm -f `find %{buildroot}%{_libexecdir}/perl*/ -name perllocal.pod -type f` rm -f `find %{buildroot}%{_libexecdir}/perl*/ -name .packlist -type f` rm -f %{buildroot}%{_localstatedir}/adm/perl-modules/GraphicsMagick # rm -f `find %{buildroot} -name *.la` rm -rf %{buildroot}/usr/share/doc* %files %defattr(-,root,root) %doc NEWS.txt www ChangeLog* %dir %{prefix} %{prefix}/* %files -n %{name}-perl %defattr(644, root, root, 755) %dir %{perl_vendorarch}/Graphics %dir %{perl_vendorarch}/auto/Graphics %dir %{perl_vendorarch}/auto/Graphics/Magick %{perl_vendorarch}/Graphics/Magick.pm %{perl_vendorarch}/auto/Graphics/Magick/* %doc %{_mandir}/man3/*gz %changelog * Fri Aug 11 2017 Holger Manthey <holger.manthey@bertelsmann.de> - inital version
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