1 |
%define name gimp |
%define name gimp |
2 |
%define version 2.6.11 |
%define version 2.6.11 |
3 |
%define release %mkrel 8 |
%define release %mkrel 9 |
4 |
%define lib_major 0 |
%define lib_major 0 |
5 |
|
|
6 |
# optional compile flags |
# optional compile flags |
35 |
Patch2: gimp-2.5.1-desktopentry.patch |
Patch2: gimp-2.5.1-desktopentry.patch |
36 |
# add upstream patch to fix goption warning with glib >= 2.28.2 |
# add upstream patch to fix goption warning with glib >= 2.28.2 |
37 |
Patch3: gimp-2.6.11-fix-goption-warning.patch |
Patch3: gimp-2.6.11-fix-goption-warning.patch |
38 |
|
Patch4: gimp-libpng15-v2.diff |
39 |
BuildRequires: libxfixes-devel |
BuildRequires: libxfixes-devel |
40 |
BuildRequires: gegl-devel >= 0.0.18 |
BuildRequires: gegl-devel >= 0.0.18 |
41 |
BuildRequires: imagemagick |
BuildRequires: imagemagick |
152 |
%patch1 -p1 -b .fix-linking |
%patch1 -p1 -b .fix-linking |
153 |
%patch2 -p1 -b .desktopentry |
%patch2 -p1 -b .desktopentry |
154 |
%patch3 -p1 -b .goption-warning |
%patch3 -p1 -b .goption-warning |
155 |
|
%patch4 -p0 -b .libpng |
156 |
|
|
157 |
#needed by patch1 |
#needed by patch1 |
158 |
autoreconf -fi -I m4macros |
autoreconf -fi -I m4macros |