8 |
%{?_with_graphwiz: %global enable_graphwiz 1} |
%{?_with_graphwiz: %global enable_graphwiz 1} |
9 |
|
|
10 |
%define upstream_name GraphicsMagick |
%define upstream_name GraphicsMagick |
11 |
%define libname %mklibname %name 3 |
%define major 3 |
12 |
|
%define libname %mklibname %{name} %{major} |
13 |
|
%define ppmajor 12 |
14 |
|
%define libppname %mklibname %{name}++ %{ppmajor} |
15 |
%define libwandname %mklibname graphicsmagickwand 2 |
%define libwandname %mklibname graphicsmagickwand 2 |
16 |
%define develname %mklibname %name -d |
%define develname %mklibname %{name} -d |
17 |
%define qlev Q8 |
%define qlev Q8 |
18 |
|
|
19 |
Summary: An X application for displaying and manipulating images |
Summary: An X application for displaying and manipulating images |
20 |
Name: graphicsmagick |
Name: graphicsmagick |
21 |
Version: 1.3.20 |
Version: 1.3.23 |
22 |
Release: %mkrel 7 |
Release: %mkrel 1 |
23 |
License: GPLv2+ |
License: GPLv2+ |
24 |
Group: Graphics/Editors and Converters |
Group: Graphics/Editors and Converters |
25 |
URL: http://www.graphicsmagick.org/ |
URL: http://www.graphicsmagick.org/ |
26 |
Source0: http://downloads.sourceforge.net/%{name}/%{upstream_name}-%{version}.tar.xz |
Source0: http://downloads.sourceforge.net/%{name}/%{upstream_name}-%{version}.tar.xz |
27 |
Patch0: GraphicsMagick-1.3.15-use-so-for-modules.patch |
Patch0: GraphicsMagick-1.3.15-use-so-for-modules.patch |
28 |
Patch1: GraphicsMagick-1.3.16-perl-link.patch |
Patch1: GraphicsMagick-1.3.16-perl-link.patch |
|
Patch2: GraphicsMagick-1.3.20-CVE-2014-1947.patch |
|
|
Patch3: graphicsmagick-1.3.20-CVE-2014-8355.patch |
|
29 |
BuildRequires: x11-proto-devel |
BuildRequires: x11-proto-devel |
30 |
BuildRequires: perl-devel |
BuildRequires: perl-devel |
31 |
BuildRequires: freetype2-devel |
BuildRequires: freetype2-devel |
92 |
linked with GraphicsMagick libraries. |
linked with GraphicsMagick libraries. |
93 |
|
|
94 |
%files -n %{libname} |
%files -n %{libname} |
95 |
%{_libdir}/libGraphicsMagick++.so.3* |
%{_libdir}/libGraphicsMagick.so.%{major}* |
96 |
%{_libdir}/libGraphicsMagick.so.3* |
|
97 |
|
#-------------------------------------------------------------- |
98 |
|
|
99 |
|
%package -n %{libppname} |
100 |
|
Summary: %upstream_name C++ libraries |
101 |
|
Group: System/Libraries |
102 |
|
|
103 |
|
%description -n %{libppname} |
104 |
|
This package contains the libraries needed to run C++ programs dynamically |
105 |
|
linked with GraphicsMagick libraries. |
106 |
|
|
107 |
|
%files -n %{libppname} |
108 |
|
%{_libdir}/libGraphicsMagick++.so.%{ppmajor}* |
109 |
|
|
110 |
#-------------------------------------------------------------- |
#-------------------------------------------------------------- |
111 |
|
|
201 |
%setup -q -n %{upstream_name}-%{version} |
%setup -q -n %{upstream_name}-%{version} |
202 |
%patch0 -p0 |
%patch0 -p0 |
203 |
%patch1 -p1 -b .perl-link |
%patch1 -p1 -b .perl-link |
|
%patch2 -p1 -b .CVE-2014-1947 |
|
|
%patch3 -p1 -b .CVE-2014-8355 |
|
204 |
|
|
205 |
%build |
%build |
206 |
%define Werror_cflags %nil |
%define Werror_cflags %nil |