1 |
%define name gimp |
%define name gimp |
2 |
%define version 2.6.11 |
%define version 2.6.11 |
3 |
%define release %mkrel 4 |
%define release %mkrel 5 |
4 |
%define lib_major 0 |
%define lib_major 0 |
5 |
|
|
6 |
# optional compile flags |
# optional compile flags |
30 |
Source0: ftp://ftp.gimp.org/pub/gimp/v%{abi_version}/gimp-%version.tar.bz2 |
Source0: ftp://ftp.gimp.org/pub/gimp/v%{abi_version}/gimp-%version.tar.bz2 |
31 |
Source1: ftp://ftp.gimp.org/pub/gimp/v%{abi_version}/gimp-%version.tar.bz2.md5 |
Source1: ftp://ftp.gimp.org/pub/gimp/v%{abi_version}/gimp-%version.tar.bz2.md5 |
32 |
Source13: gimp-scripting-sample.pl |
Source13: gimp-scripting-sample.pl |
33 |
Patch0: gimp-2.6.4-fix-str-fmt.patch |
Patch0: gimp-2.6.4-fix-str-fmt.patch |
34 |
Patch1: gimp-2.6.4-fix-linking.patch |
Patch1: gimp-2.6.4-fix-linking.patch |
35 |
#gw fix name in desktop file and disable startup notification |
#gw fix name in desktop file and disable startup notification |
36 |
Patch6: gimp-2.5.1-desktopentry.patch |
Patch2: gimp-2.5.1-desktopentry.patch |
37 |
|
# add upstream patch to fix goption warning with glib >= 2.28.2 |
38 |
|
Patch3: gimp-2.6.11-fix-goption-warning.patch |
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 |
151 |
%setup -q -n gimp-%version |
%setup -q -n gimp-%version |
152 |
%patch0 -p1 -b .fix-str-fmt |
%patch0 -p1 -b .fix-str-fmt |
153 |
%patch1 -p1 -b .fix-linking |
%patch1 -p1 -b .fix-linking |
154 |
%patch6 -p1 -b .desktopentry |
%patch2 -p1 -b .desktopentry |
155 |
|
%patch3 -p1 -b .goption-warning |
156 |
|
|
157 |
#needed by patch1 |
#needed by patch1 |
158 |
autoreconf -fi -I m4macros |
autoreconf -fi -I m4macros |
267 |
%{_libdir}/gimp/%{api_version}/plug-ins/*.py |
%{_libdir}/gimp/%{api_version}/plug-ins/*.py |
268 |
%{_libdir}/python%{pyver}/site-packages/*.pth |
%{_libdir}/python%{pyver}/site-packages/*.pth |
269 |
%endif |
%endif |
|
|
|
|
|
|