2007-01-09 16:44:20 +00:00
|
|
|
#
|
2011-02-14 00:11:32 +00:00
|
|
|
# spec file for package gimp
|
2007-01-09 16:44:20 +00:00
|
|
|
#
|
2017-02-03 21:07:28 +00:00
|
|
|
# Copyright (c) 2017 SUSE LINUX GmbH, Nuernberg, Germany.
|
2007-01-09 16:44:20 +00:00
|
|
|
#
|
2008-08-22 22:30:04 +00:00
|
|
|
# All modifications and additions to the file contributed by third parties
|
|
|
|
# remain the property of their copyright owners, unless otherwise agreed
|
|
|
|
# upon. The license for this file, and modifications and additions to the
|
|
|
|
# file, is the same license as for the pristine package itself (unless the
|
|
|
|
# license for the pristine package is not an Open Source License, in which
|
|
|
|
# case the license is the MIT License). An "Open Source License" is a
|
|
|
|
# license that conforms to the Open Source Definition (Version 1.9)
|
|
|
|
# published by the Open Source Initiative.
|
|
|
|
|
2007-01-09 16:44:20 +00:00
|
|
|
# Please submit bugfixes or comments via http://bugs.opensuse.org/
|
|
|
|
#
|
|
|
|
|
|
|
|
|
2009-08-27 22:30:42 +00:00
|
|
|
%global abiver 4
|
|
|
|
%global apiver 2.0
|
2008-03-06 01:38:40 +00:00
|
|
|
|
2007-01-09 16:44:20 +00:00
|
|
|
Name: gimp
|
2017-02-04 04:34:36 +00:00
|
|
|
Version: 2.8.20
|
2012-09-15 15:27:15 +00:00
|
|
|
Release: 0
|
|
|
|
Summary: The GNU Image Manipulation Program
|
|
|
|
License: GPL-3.0+
|
|
|
|
Group: Productivity/Graphics/Bitmap Editors
|
|
|
|
Url: http://www.gimp.org/
|
2014-09-22 16:50:20 +00:00
|
|
|
Source: http://download.gimp.org/pub/gimp/v2.8/%{name}-%{version}.tar.bz2
|
2012-09-15 15:27:15 +00:00
|
|
|
Source1: macros.gimp
|
2017-02-21 15:43:52 +00:00
|
|
|
# PATCH-FIX-UPSTREAM gimp-bgo773233-CVE-2007-3126.patch bgo#773233 CVE-2007-3126 zaitor@opensuse.org -- Fix a crash
|
|
|
|
Patch0: gimp-bgo773233-CVE-2007-3126.patch
|
|
|
|
# PATCH-FIX-UPSTREAM gimp-fix-PDF-Import-filter-crash.patch bgo#593576 zaitor@opensuse.org -- Fix a crash when importing PDF's
|
|
|
|
Patch1: gimp-fix-PDF-Import-filter-crash.patch
|
2012-09-15 15:27:15 +00:00
|
|
|
# openSUSE palette file
|
|
|
|
Source2: openSUSE.gpl
|
|
|
|
Source99: baselibs.conf
|
2009-02-19 17:45:00 +00:00
|
|
|
BuildRequires: aalib-devel
|
2012-04-23 14:10:30 +00:00
|
|
|
BuildRequires: alsa-devel >= 1.0.0
|
|
|
|
BuildRequires: fdupes
|
|
|
|
BuildRequires: fontconfig-devel >= 2.2.0
|
|
|
|
BuildRequires: ghostscript-devel
|
|
|
|
# Explicitly needed, otherwise ghostscript-mini is used during the
|
|
|
|
# build, and it's not enough for gimp.
|
|
|
|
BuildRequires: ghostscript-library
|
|
|
|
BuildRequires: intltool >= 0.40.1
|
2009-02-19 17:45:00 +00:00
|
|
|
BuildRequires: iso-codes-devel
|
2012-04-23 14:10:30 +00:00
|
|
|
BuildRequires: libbz2-devel
|
|
|
|
BuildRequires: libjasper-devel
|
|
|
|
BuildRequires: libjpeg-devel
|
2009-02-19 17:45:00 +00:00
|
|
|
BuildRequires: libmng-devel
|
|
|
|
BuildRequires: libtiff-devel
|
2017-02-03 21:07:28 +00:00
|
|
|
%if 0%{?suse_version} < 1330
|
2012-04-23 14:10:30 +00:00
|
|
|
BuildRequires: libwebkit-devel >= 1.6.1
|
|
|
|
%endif
|
2017-02-03 21:07:28 +00:00
|
|
|
BuildRequires: libwmf-devel >= 0.2.8
|
|
|
|
BuildRequires: pkgconfig
|
2012-04-23 14:10:30 +00:00
|
|
|
BuildRequires: python-gtk-devel >= 2.10.4
|
2009-10-27 15:26:01 +00:00
|
|
|
BuildRequires: translation-update-upstream
|
2009-02-19 17:45:00 +00:00
|
|
|
BuildRequires: update-desktop-files
|
2012-04-23 14:10:30 +00:00
|
|
|
BuildRequires: pkgconfig(atk) >= 2.2.0
|
2017-02-03 21:07:28 +00:00
|
|
|
BuildRequires: pkgconfig(babl) >= 0.1.10
|
|
|
|
BuildRequires: pkgconfig(cairo) >= 1.10.2
|
|
|
|
BuildRequires: pkgconfig(cairo-pdf) >= 1.10.2
|
|
|
|
BuildRequires: pkgconfig(dbus-glib-1) >= 0.70
|
2012-04-23 14:10:30 +00:00
|
|
|
BuildRequires: pkgconfig(gdk-pixbuf-2.0) >= 2.24.1
|
2017-02-03 21:07:28 +00:00
|
|
|
BuildRequires: pkgconfig(gegl-0.2) >= 0.2.0
|
|
|
|
BuildRequires: pkgconfig(glib-2.0) >= 2.30.2
|
|
|
|
BuildRequires: pkgconfig(gtk+-2.0) >= 2.24.10
|
2012-04-23 14:10:30 +00:00
|
|
|
BuildRequires: pkgconfig(gudev-1.0) >= 167
|
2017-02-03 21:07:28 +00:00
|
|
|
BuildRequires: pkgconfig(lcms2) >= 2.2
|
|
|
|
BuildRequires: pkgconfig(libexif) >= 0.6.15
|
|
|
|
BuildRequires: pkgconfig(libpng) >= 1.2.37
|
2017-02-26 06:23:10 +00:00
|
|
|
BuildRequires: pkgconfig(libmypaint) >= 1.3
|
2012-09-15 15:27:15 +00:00
|
|
|
BuildRequires: pkgconfig(pango) >= 1.29.4
|
2017-02-03 21:07:28 +00:00
|
|
|
BuildRequires: pkgconfig(poppler-glib) >= 0.12.4
|
2012-04-23 14:10:30 +00:00
|
|
|
BuildRequires: pkgconfig(xcursor)
|
2017-02-03 21:07:28 +00:00
|
|
|
BuildRequires: pkgconfig(xfixes)
|
|
|
|
BuildRequires: pkgconfig(xpm)
|
|
|
|
BuildRequires: pkgconfig(zlib)
|
|
|
|
# Explicitly declare the libgimp versions for upgrade purposes
|
|
|
|
Requires: libgimp-2_0-0 = %{version}
|
|
|
|
Requires: libgimpui-2_0-0 = %{version}
|
|
|
|
%if 0%{?suse_version} < 1330
|
2011-10-25 13:54:01 +00:00
|
|
|
Recommends: %{name}-help-browser
|
2017-02-09 15:58:41 +00:00
|
|
|
%else
|
|
|
|
# Obsolete gimp-help browser for versions newer than 1330
|
|
|
|
Obsoletes: %{name}-help-browser
|
2017-02-03 21:07:28 +00:00
|
|
|
%endif
|
2012-09-15 15:27:15 +00:00
|
|
|
Recommends: %{name}-lang
|
2011-10-25 13:54:01 +00:00
|
|
|
Recommends: %{name}-plugins-python = %{version}
|
2011-10-07 14:07:14 +00:00
|
|
|
Recommends: iso-codes
|
|
|
|
Suggests: AdobeICCProfiles
|
2011-10-25 13:54:01 +00:00
|
|
|
Suggests: gimp-2.0-scanner-plugin
|
2017-02-03 21:07:28 +00:00
|
|
|
# With openSUSE 13.1, we started shipping gimp unbranded
|
|
|
|
Obsoletes: %{name}-branding
|
2011-10-07 14:07:14 +00:00
|
|
|
Provides: gimp-2.0 = %{version}
|
2012-04-23 14:10:30 +00:00
|
|
|
Provides: gimp(abi) = %{abiver}
|
|
|
|
Provides: gimp(api) = %{apiver}
|
2011-10-07 14:07:14 +00:00
|
|
|
Obsoletes: gimp-unstable < 2.6.0
|
2011-06-14 10:03:23 +00:00
|
|
|
# Obsolete hal subpackage which we had until 11.4.
|
2012-04-23 14:10:30 +00:00
|
|
|
Obsoletes: %{name}-module-hal < %{version}
|
2011-10-07 14:07:14 +00:00
|
|
|
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
2017-02-03 21:07:28 +00:00
|
|
|
%if 0%{?suse_version} < 1220
|
|
|
|
# best-effort attempt to use librsvg (file-svg plugin will be built
|
|
|
|
# if recent-enough version of librsvg is there)
|
|
|
|
BuildRequires: librsvg-devel
|
|
|
|
%else
|
|
|
|
BuildRequires: librsvg-devel >= 2.36.0
|
|
|
|
%endif
|
|
|
|
%if 0%{?suse_version} < 1220
|
|
|
|
BuildRequires: libxslt-devel
|
|
|
|
%else
|
|
|
|
BuildRequires: libxslt-tools
|
|
|
|
%endif
|
2007-01-09 16:44:20 +00:00
|
|
|
|
|
|
|
%description
|
2017-02-08 04:46:16 +00:00
|
|
|
The GIMP is an image composition and editing program, which can be
|
|
|
|
used for creating logos and other graphics for Web pages. The GIMP
|
|
|
|
offers many tools and filters, and provides a large image
|
|
|
|
manipulation toolbox, including channel operations and layers,
|
|
|
|
effects, subpixel imaging and antialiasing, and conversions, together
|
|
|
|
with multilevel undo. The GIMP offers a scripting facility, but many
|
|
|
|
of the included scripts rely on fonts that we cannot distribute.
|
2008-01-30 17:14:41 +00:00
|
|
|
|
2010-12-20 13:40:59 +00:00
|
|
|
%package -n libgimp-2_0-0
|
|
|
|
Summary: The GNU Image Manipulation Program - Libraries
|
2013-09-23 12:56:09 +00:00
|
|
|
Group: System/Libraries
|
2010-12-20 13:40:59 +00:00
|
|
|
|
|
|
|
%description -n libgimp-2_0-0
|
2017-02-08 04:46:16 +00:00
|
|
|
The GIMP is an image composition and editing program. GIMP offers
|
|
|
|
many tools and filters, and provides a large image manipulation
|
|
|
|
toolbox and scripting.
|
2010-12-20 13:40:59 +00:00
|
|
|
|
|
|
|
This package provides GIMP libraries.
|
|
|
|
|
|
|
|
%package -n libgimpui-2_0-0
|
|
|
|
Summary: The GNU Image Manipulation Program - UI Libraries
|
2013-09-23 12:56:09 +00:00
|
|
|
Group: System/Libraries
|
2010-12-20 13:40:59 +00:00
|
|
|
|
|
|
|
%description -n libgimpui-2_0-0
|
2017-02-08 04:46:16 +00:00
|
|
|
The GIMP is an image composition and editing program. GIMP offers
|
|
|
|
many tools and filters, and provides a large image manipulation
|
|
|
|
toolbox and scripting.
|
2010-12-20 13:40:59 +00:00
|
|
|
|
|
|
|
This package provides GIMP UI libraries.
|
|
|
|
|
2008-01-30 17:14:41 +00:00
|
|
|
%package plugins-python
|
|
|
|
Summary: The GNU Image Manipulation Program - python-gtk based plugins
|
2012-02-03 09:22:22 +00:00
|
|
|
Group: Productivity/Graphics/Bitmap Editors
|
2012-04-23 14:10:30 +00:00
|
|
|
Requires: %{name} = %{version}
|
|
|
|
Requires: python-gtk
|
2008-01-30 17:14:41 +00:00
|
|
|
Supplements: %{name}
|
2008-10-06 14:24:15 +00:00
|
|
|
Provides: gimp-2.0-plugins-python = %{version}
|
|
|
|
Obsoletes: gimp-unstable-plugins-python < 2.6.0
|
|
|
|
# For update from <= 10.3 and SLED 10:
|
|
|
|
Provides: %{name}:%{_libdir}/gimp/2.0/plug-ins/pyconsole.py = %{version}
|
2009-03-25 17:47:46 +00:00
|
|
|
%py_requires
|
2008-01-30 17:14:41 +00:00
|
|
|
|
|
|
|
%description plugins-python
|
2017-02-08 04:46:16 +00:00
|
|
|
The GIMP is an image composition and editing program. GIMP offers
|
|
|
|
many tools and filters, and provides a large image manipulation
|
|
|
|
toolbox and scripting.
|
2007-01-09 16:44:20 +00:00
|
|
|
|
2013-11-27 14:28:31 +00:00
|
|
|
%package plugin-aa
|
|
|
|
Summary: The GNU Image Manipulation Program -- ASCII-Art output plugin
|
|
|
|
Group: Productivity/Graphics/Bitmap Editors
|
|
|
|
Requires: %{name} = %{version}
|
|
|
|
# Let's trigger automatic installation if the user already has libaa installed.
|
|
|
|
Supplements: packageand(%{name}:libaa1)
|
|
|
|
|
|
|
|
%description plugin-aa
|
2017-02-08 04:46:16 +00:00
|
|
|
The GIMP is an image composition and editing program. GIMP offers
|
|
|
|
many tools and filters, and provides a large image manipulation
|
|
|
|
toolbox and scripting.
|
2013-11-27 14:28:31 +00:00
|
|
|
|
2007-01-09 16:44:20 +00:00
|
|
|
%package devel
|
2008-01-30 17:14:41 +00:00
|
|
|
Summary: The GNU Image Manipulation Program
|
2017-02-03 21:07:28 +00:00
|
|
|
Group: Development/Libraries/Other
|
2010-12-20 13:40:59 +00:00
|
|
|
Requires: libgimp-2_0-0 = %{version}
|
|
|
|
Requires: libgimpui-2_0-0 = %{version}
|
2008-10-06 14:24:15 +00:00
|
|
|
Provides: gimp-2.0-devel = %{version}
|
2009-02-19 17:45:00 +00:00
|
|
|
Provides: gimp-doc = 2.6.4
|
2012-04-23 14:10:30 +00:00
|
|
|
Obsoletes: gimp-doc < 2.6.4
|
|
|
|
Obsoletes: gimp-unstable-devel < 2.6.0
|
2007-01-09 16:44:20 +00:00
|
|
|
|
|
|
|
%description devel
|
2017-02-08 04:46:16 +00:00
|
|
|
The GIMP is an image composition and editing program. GIMP offers
|
|
|
|
many tools and filters, and provides a large image manipulation
|
|
|
|
toolbox and scripting.
|
|
|
|
|
|
|
|
This subpackage contains libraries and header files for developing
|
|
|
|
applications that want to make use of the GIMP libraries.
|
2007-01-09 16:44:20 +00:00
|
|
|
|
2017-02-03 21:07:28 +00:00
|
|
|
%if 0%{?suse_version} < 1330
|
2009-07-31 17:21:15 +00:00
|
|
|
%package help-browser
|
|
|
|
Summary: The GNU Image Manipulation Program - Help Browser
|
|
|
|
Group: Productivity/Graphics/Bitmap Editors
|
|
|
|
Requires: %{name} = %{version}
|
|
|
|
Supplements: packageand(%{name}:gimp-help)
|
|
|
|
|
|
|
|
%description help-browser
|
2017-02-08 04:46:16 +00:00
|
|
|
This package contains the help browser for the GIMP.
|
2017-02-03 21:07:28 +00:00
|
|
|
%endif
|
2007-01-09 16:44:20 +00:00
|
|
|
|
2007-08-09 23:17:51 +00:00
|
|
|
%lang_package
|
2017-02-03 21:07:28 +00:00
|
|
|
|
2007-09-16 09:26:10 +00:00
|
|
|
%prep
|
2012-05-08 10:09:44 +00:00
|
|
|
%setup -q
|
2017-02-21 15:43:52 +00:00
|
|
|
%patch0 -p1
|
|
|
|
%patch1 -p1
|
2009-10-27 15:26:01 +00:00
|
|
|
translation-update-upstream
|
|
|
|
translation-update-upstream po-libgimp gimp20-libgimp
|
|
|
|
translation-update-upstream po-python gimp20-python
|
|
|
|
translation-update-upstream po-script-fu gimp20-script-fu
|
|
|
|
translation-update-upstream po-plug-ins gimp20-std-plug-ins
|
|
|
|
translation-update-upstream po-tips gimp20-tips
|
2009-08-27 22:30:42 +00:00
|
|
|
# Safety check for ABI version change.
|
|
|
|
vabi=`printf "%d" $(sed -n '/#define GIMP_MODULE_ABI_VERSION/{s/.* //;p}' libgimpmodule/gimpmodule.h)`
|
|
|
|
if test "x${vabi}" != "x%{abiver}"; then
|
|
|
|
: Error: Upstream ABI version is now ${vabi}, expecting %{abiver}.
|
|
|
|
: Update the apiver macro and rebuild.
|
|
|
|
exit 1
|
|
|
|
fi
|
|
|
|
# Safety check for API version change.
|
|
|
|
vapi=`sed -n '/#define GIMP_API_VERSION/{s/.* //;p}' libgimpbase/gimpversion.h | sed -e 's@"@@g'`
|
|
|
|
if test "x${vapi}" != "x%{apiver}"; then
|
|
|
|
: Error: Upstream API version is now ${vapi}, expecting %{apiver}.
|
|
|
|
: Update the apiver macro and rebuild.
|
|
|
|
exit 1
|
|
|
|
fi
|
2007-01-09 16:44:20 +00:00
|
|
|
|
|
|
|
%build
|
2012-09-15 15:27:15 +00:00
|
|
|
export CFLAGS="%{optflags} -fno-strict-aliasing"
|
2017-02-08 04:46:16 +00:00
|
|
|
%configure \
|
2008-01-30 17:14:41 +00:00
|
|
|
--disable-static\
|
2017-02-03 21:07:28 +00:00
|
|
|
%if 0%{?suse_version} >= 1330
|
|
|
|
--without-webkit\
|
|
|
|
%endif
|
2007-10-25 13:28:28 +00:00
|
|
|
--libexecdir=%{_prefix}/lib\
|
|
|
|
--enable-default-binary\
|
|
|
|
--enable-mp
|
2017-02-03 21:07:28 +00:00
|
|
|
|
2012-09-15 15:27:15 +00:00
|
|
|
make %{?_smp_mflags}
|
2007-01-09 16:44:20 +00:00
|
|
|
|
|
|
|
%install
|
2012-09-15 15:27:15 +00:00
|
|
|
%make_install
|
|
|
|
install -D -m 0644 %{SOURCE2} %{buildroot}%{_datadir}/gimp/2.0/palettes
|
2009-09-22 20:51:54 +00:00
|
|
|
%suse_update_desktop_file -N GIMP gimp
|
2012-09-15 15:27:15 +00:00
|
|
|
rm %{buildroot}%{_libdir}/gimp/2.0/*/*.*a
|
2011-02-14 00:11:26 +00:00
|
|
|
%find_lang gimp20 %{?no_lang_C}
|
|
|
|
%find_lang gimp20-libgimp %{?no_lang_C} gimp20.lang
|
|
|
|
%find_lang gimp20-python %{?no_lang_C} gimp20.lang
|
|
|
|
%find_lang gimp20-script-fu %{?no_lang_C} gimp20.lang
|
|
|
|
%find_lang gimp20-std-plug-ins %{?no_lang_C} gimp20.lang
|
|
|
|
%find_lang gimp20-tips %{?no_lang_C} gimp20.lang
|
2008-01-30 17:14:41 +00:00
|
|
|
echo "%%defattr(-,root,root)" >plugins.list
|
|
|
|
echo "%%defattr(-,root,root)" >plugins-python.list
|
2012-09-15 15:27:15 +00:00
|
|
|
for PLUGIN in %{buildroot}%{_libdir}/gimp/2.0/plug-ins/* ; do
|
2008-01-30 17:14:41 +00:00
|
|
|
if grep -q '^#!.*python' $PLUGIN ; then
|
2012-09-15 15:27:15 +00:00
|
|
|
echo "${PLUGIN#%{buildroot}}" >>plugins-python.list
|
2008-01-30 17:14:41 +00:00
|
|
|
else
|
2012-09-15 15:27:15 +00:00
|
|
|
echo "${PLUGIN#%{buildroot}}" >>plugins.list
|
2008-01-30 17:14:41 +00:00
|
|
|
fi
|
|
|
|
done
|
2017-02-03 21:07:28 +00:00
|
|
|
find %{buildroot} -type f -name "*.la" -delete -print
|
2009-08-27 22:30:42 +00:00
|
|
|
# Install the macros file:
|
2012-09-15 15:27:15 +00:00
|
|
|
install -d %{buildroot}%{_sysconfdir}/rpm
|
2009-08-27 22:30:42 +00:00
|
|
|
sed -e "s/@GIMP_APIVER@/%{apiver}/;s/@GIMP_ABIVER@/%{abiver}/" \
|
|
|
|
< $RPM_SOURCE_DIR/macros.gimp > macros.gimp
|
|
|
|
install -m 644 -c macros.gimp \
|
2012-09-15 15:27:15 +00:00
|
|
|
%{buildroot}%{_sysconfdir}/rpm/macros.gimp
|
2012-04-23 14:10:30 +00:00
|
|
|
%fdupes %{buildroot}%{_datadir}/gtk-doc/
|
|
|
|
%fdupes %{buildroot}%{_libdir}/gimp/2.0/python/
|
2012-05-08 10:09:44 +00:00
|
|
|
%fdupes %{buildroot}%{_datadir}/gimp/2.0/
|
2007-01-09 16:44:20 +00:00
|
|
|
|
2011-02-14 00:11:26 +00:00
|
|
|
%if 0%{?suse_version} > 1130
|
|
|
|
%post
|
|
|
|
%desktop_database_post
|
|
|
|
%icon_theme_cache_post
|
|
|
|
%endif
|
|
|
|
|
|
|
|
%if 0%{?suse_version} > 1130
|
|
|
|
%postun
|
|
|
|
%desktop_database_postun
|
|
|
|
%icon_theme_cache_postun
|
|
|
|
%endif
|
|
|
|
|
2010-12-20 13:40:59 +00:00
|
|
|
%post -n libgimp-2_0-0 -p /sbin/ldconfig
|
|
|
|
%postun -n libgimp-2_0-0 -p /sbin/ldconfig
|
|
|
|
%post -n libgimpui-2_0-0 -p /sbin/ldconfig
|
|
|
|
%postun -n libgimpui-2_0-0 -p /sbin/ldconfig
|
2007-01-09 16:44:20 +00:00
|
|
|
|
2008-01-30 17:14:41 +00:00
|
|
|
%files -f plugins.list
|
2007-01-09 16:44:20 +00:00
|
|
|
%defattr(-,root,root)
|
2009-07-31 17:21:15 +00:00
|
|
|
%doc AUTHORS COPYING ChangeLog LICENSE NEWS* README
|
2017-02-03 21:07:28 +00:00
|
|
|
%if 0%{?suse_version} < 1330
|
2009-07-31 17:21:15 +00:00
|
|
|
%exclude %{_libdir}/gimp/2.0/plug-ins/help-browser
|
2017-02-03 21:07:28 +00:00
|
|
|
%endif
|
2007-01-09 16:44:20 +00:00
|
|
|
%{_bindir}/gimp
|
2010-12-20 13:40:59 +00:00
|
|
|
%{_bindir}/gimp-2.?
|
|
|
|
%{_bindir}/gimp-console
|
|
|
|
%{_bindir}/gimp-console-2.?
|
2013-12-23 18:33:11 +00:00
|
|
|
%dir %{_datadir}/appdata
|
|
|
|
%{_datadir}/appdata/gimp.appdata.xml
|
2007-10-25 13:28:28 +00:00
|
|
|
%{_datadir}/applications/gimp.desktop
|
|
|
|
%{_datadir}/icons/hicolor/*/apps/*.png
|
2011-01-10 10:09:10 +00:00
|
|
|
%{_datadir}/gimp/
|
2013-08-27 18:42:47 +00:00
|
|
|
%{_datadir}/gimp/2.0/images/gimp-splash.png
|
2008-01-30 17:14:41 +00:00
|
|
|
%{_libdir}/gimp/2.0/environ/default.env
|
|
|
|
%{_libdir}/gimp/2.0/interpreters/default.interp
|
2012-04-23 14:10:30 +00:00
|
|
|
# Explicitly list modules so we don't lose one by accident
|
|
|
|
%{_libdir}/gimp/2.0/modules/libcolor-selector-cmyk.so
|
|
|
|
%{_libdir}/gimp/2.0/modules/libcolor-selector-water.so
|
|
|
|
%{_libdir}/gimp/2.0/modules/libcolor-selector-wheel.so
|
|
|
|
%{_libdir}/gimp/2.0/modules/libcontroller-linux-input.so
|
|
|
|
%{_libdir}/gimp/2.0/modules/libcontroller-midi.so
|
|
|
|
%{_libdir}/gimp/2.0/modules/libdisplay-filter-color-blind.so
|
|
|
|
%{_libdir}/gimp/2.0/modules/libdisplay-filter-gamma.so
|
|
|
|
%{_libdir}/gimp/2.0/modules/libdisplay-filter-high-contrast.so
|
|
|
|
%{_libdir}/gimp/2.0/modules/libdisplay-filter-lcms.so
|
|
|
|
%{_libdir}/gimp/2.0/modules/libdisplay-filter-proof.so
|
2010-12-20 13:40:59 +00:00
|
|
|
%doc %{_mandir}/man?/gimp.*
|
|
|
|
%doc %{_mandir}/man?/gimp-2.?.*
|
|
|
|
%doc %{_mandir}/man?/gimp-console.*
|
|
|
|
%doc %{_mandir}/man?/gimp-console-2.?.*
|
|
|
|
%doc %{_mandir}/man?/gimprc.*
|
|
|
|
%doc %{_mandir}/man?/gimprc-2.?.*
|
2008-01-30 17:14:41 +00:00
|
|
|
%dir %{_sysconfdir}/gimp
|
|
|
|
%dir %{_sysconfdir}/gimp/2.0
|
|
|
|
%config %{_sysconfdir}/gimp/2.0/*rc
|
2013-11-27 14:28:31 +00:00
|
|
|
# split file-aa into own package (bnc#851509
|
|
|
|
%exclude %{_libdir}/gimp/2.0/plug-ins/file-aa
|
|
|
|
|
|
|
|
%files plugin-aa
|
|
|
|
%defattr(-,root,root)
|
|
|
|
%{_libdir}/gimp/2.0/plug-ins/file-aa
|
2008-01-30 17:14:41 +00:00
|
|
|
|
2010-12-20 13:40:59 +00:00
|
|
|
%files -n libgimp-2_0-0
|
|
|
|
%defattr(-,root,root)
|
2011-01-10 10:09:10 +00:00
|
|
|
%dir %{_datadir}/gimp
|
|
|
|
%dir %{_datadir}/gimp/2.0
|
|
|
|
%dir %{_libdir}/gimp
|
|
|
|
%dir %{_libdir}/gimp/2.0
|
|
|
|
%dir %{_libdir}/gimp/2.0/environ
|
|
|
|
%dir %{_libdir}/gimp/2.0/interpreters
|
|
|
|
%dir %{_libdir}/gimp/2.0/modules
|
|
|
|
%dir %{_libdir}/gimp/2.0/plug-ins
|
2010-12-20 13:40:59 +00:00
|
|
|
%{_libdir}/libgimp-2.0.so.*
|
|
|
|
%{_libdir}/libgimpbase-2.0.so.*
|
|
|
|
%{_libdir}/libgimpcolor-2.0.so.*
|
|
|
|
%{_libdir}/libgimpconfig-2.0.so.*
|
|
|
|
%{_libdir}/libgimpmath-2.0.so.*
|
|
|
|
%{_libdir}/libgimpmodule-2.0.so.*
|
|
|
|
|
|
|
|
%files -n libgimpui-2_0-0
|
|
|
|
%defattr(-,root,root)
|
|
|
|
%{_libdir}/libgimpthumb-2.0.so.*
|
|
|
|
%{_libdir}/libgimpui-2.0.so.*
|
|
|
|
%{_libdir}/libgimpwidgets-2.0.so.*
|
|
|
|
|
2017-02-03 21:07:28 +00:00
|
|
|
%if 0%{?suse_version} < 1330
|
2009-07-31 17:21:15 +00:00
|
|
|
%files help-browser
|
|
|
|
%defattr(-,root,root)
|
|
|
|
%doc AUTHORS COPYING ChangeLog LICENSE NEWS* README
|
|
|
|
%{_libdir}/gimp/2.0/plug-ins/help-browser
|
2017-02-03 21:07:28 +00:00
|
|
|
%endif
|
2009-07-31 17:21:15 +00:00
|
|
|
|
2008-01-30 17:14:41 +00:00
|
|
|
%files plugins-python -f plugins-python.list
|
|
|
|
%defattr(-,root,root)
|
|
|
|
%{_libdir}/gimp/2.0/environ/pygimp.env
|
|
|
|
%{_libdir}/gimp/2.0/interpreters/pygimp.interp
|
2011-01-10 10:09:10 +00:00
|
|
|
%{_libdir}/gimp/2.0/python/
|
2008-01-30 17:14:41 +00:00
|
|
|
# FIXME: Maybe split gimp-lang and gimp-plugins-python-lang
|
2007-01-09 16:44:20 +00:00
|
|
|
|
2007-08-09 23:17:51 +00:00
|
|
|
%files lang -f gimp20.lang
|
2017-02-03 21:07:28 +00:00
|
|
|
%defattr(-,root,root)
|
2007-08-09 23:17:51 +00:00
|
|
|
|
2007-01-09 16:44:20 +00:00
|
|
|
%files devel
|
|
|
|
%defattr(-,root,root)
|
2008-03-06 01:38:40 +00:00
|
|
|
%doc README.i18n
|
2010-12-20 13:40:59 +00:00
|
|
|
%{_bindir}/gimptool-2.0
|
|
|
|
%doc %{_mandir}/man?/gimptool-2.0.*
|
2012-04-23 14:10:30 +00:00
|
|
|
%{_includedir}/gimp-2.0/
|
2007-01-09 16:44:20 +00:00
|
|
|
%{_libdir}/*.so
|
2012-04-23 14:10:30 +00:00
|
|
|
%{_datadir}/aclocal/gimp-2.0.m4
|
|
|
|
%{_libdir}/pkgconfig/gimp-2.0.pc
|
|
|
|
%{_libdir}/pkgconfig/gimpthumb-2.0.pc
|
|
|
|
%{_libdir}/pkgconfig/gimpui-2.0.pc
|
2009-02-19 17:45:00 +00:00
|
|
|
# Own these repositories to not depend on gtk-doc while building:
|
|
|
|
%dir %{_datadir}/gtk-doc
|
2012-09-15 15:27:15 +00:00
|
|
|
%{_datadir}/gtk-doc/html/
|
2009-08-27 22:30:42 +00:00
|
|
|
%config %{_sysconfdir}/rpm/macros.gimp
|
2007-12-07 19:09:53 +00:00
|
|
|
|
2007-03-01 19:37:10 +00:00
|
|
|
%changelog
|