Accepting request 100498 from home:elvigia:branches:graphics

- Add explicit libbz2-devel BuildRequires
- Support LZMA
- Use libcms2 now.
- Cleanup huge dependency bloat in -devel package, this 
  will likely cause build fails on dependant packages
  the solution is to fix your BuildRequires.

OBS-URL: https://build.opensuse.org/request/show/100498
OBS-URL: https://build.opensuse.org/package/show/graphics/ImageMagick?expand=0&rev=113
This commit is contained in:
Pavol Rusnak 2012-01-18 15:42:44 +00:00 committed by Git OBS Bridge
parent 37a733686f
commit d4e6554598
2 changed files with 24 additions and 29 deletions

View File

@ -1,3 +1,13 @@
-------------------------------------------------------------------
Tue Jan 17 19:42:15 UTC 2012 - crrodriguez@opensuse.org
- Add explicit libbz2-devel BuildRequires
- Support LZMA
- Use libcms2 now.
- Cleanup huge dependency bloat in -devel package, this
will likely cause build fails on dependant packages
the solution is to fix your BuildRequires.
-------------------------------------------------------------------
Mon Oct 31 13:51:57 UTC 2011 - pgajdos@suse.com

View File

@ -1,7 +1,7 @@
#
# spec file for package ImageMagick
#
# Copyright (c) 2011 SUSE LINUX Products GmbH, Nuernberg, Germany.
# Copyright (c) 2012 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
@ -36,7 +36,8 @@ Name: ImageMagick
BuildRequires: fdupes pkgconfig
BuildRequires: libtool
BuildRequires: libbz2-devel
BuildRequires: lzma-devel
%if %{with DCraw}
BuildRequires: dcraw
%endif
@ -54,7 +55,7 @@ BuildRequires: ghostscript-fonts-other ghostscript-fonts-std ghostscript-librar
%endif
%if %{with LCMS}
BuildRequires: liblcms-devel
BuildRequires: liblcms2-devel
%endif
%if %{with TIFF}
@ -129,30 +130,7 @@ Requires: libMagickCore%{libver} = %{version} libMagickWand%{libver} = %{v
Requires: ImageMagick = %{version}
Summary: Include Files and Libraries Mandatory for Development
Group: Development/Libraries/C and C++
%if %{with FreeType}
Requires: freetype2-devel
%endif
%if %{with LCMS}
Requires: liblcms-devel
%endif
%if %{with TIFF}
Requires: libtiff-devel
%endif
%if %{with WMF}
Requires: libwmf-devel
%endif
%if %{with EXIF}
Requires: libexif-devel
%endif
%if %{with JPEG}
Requires: libjasper-devel
%endif
%if %{with WEBP}
Requires: libwebp-devel
%endif
%if %{with RSVG}
Requires: librsvg-devel
%endif
Requires: glibc-devel
%package extra
License: PERMISSIVE-OSI-COMPLIANT
@ -214,7 +192,7 @@ echo>wand.h '#include "wand/MagickWand.h"' #
%{__make} header-test.o #
%build
%define CFLAGS ${RPM_OPT_FLAGS} -fstack-protector-all
%define CFLAGS ${RPM_OPT_FLAGS}
%define LDFLAGS -L%{_libdir}
%define system_ltdl 0
%if %system_ltdl
@ -238,7 +216,7 @@ popd
# openmp does not work with perl module
OPENMP="--disable-openmp"
%endif
%configure \
%configure --with-pic \
--enable-shared \
--without-frozenpaths \
--with-magick_plus_plus \
@ -509,4 +487,11 @@ HTML documentation for ImageMagick library and scene examples.
%changelog