gimp/gimp.spec

605 lines
20 KiB
RPMSpec
Raw Normal View History

#### options:
# Use the following --with/--without <option> switches to control how the
# package will be built:
#
# mp: multi processor support
%bcond_without mp
# static: build static libraries
%bcond_with static
# default_binary: install unversioned binary
%bcond_without default_binary
# aalib: build with AAlib (ASCII art gfx library)
%if 0%{?rhel}
2009-06-04 15:23:53 +00:00
# don't use aalib on RHEL
%bcond_with aalib
%else
%bcond_without aalib
%endif
# don't build webkit-based help browser by default
2012-10-20 12:48:09 +00:00
%bcond_with helpbrowser
# hardcode python interpreter in python plug-ins
%bcond_without hardcoded_python
# webp support
%bcond_without webp
2018-11-10 10:32:41 +00:00
# libunwind support (only available on some architectures)
%ifarch %{arm} aarch64 hppa ia64 mips ppc %{power64} %{ix86} x86_64
%bcond_without libunwind
%else
2018-11-10 10:38:22 +00:00
%bcond_with libunwind
2018-11-10 10:32:41 +00:00
%endif
# If Python plug-ins need to be byte-compiled separately
2018-11-10 21:18:26 +00:00
%if ! 0%{?fedora}%{?rhel} || 0%{?fedora} > 27 || 0%{?rhel} > 7
%bcond_without python_separately_bytecompile
%else
%bcond_with python_separately_bytecompile
%endif
%if %{with python_separately_bytecompile}
# Disable automatic compilation of Python files in extra directories
%global _python_bytecompile_extra 0
# Don't ask ...
%if 0%{?!py_byte_compile:1}
%global py_byte_compile()\
python_binary="%1"\
bytecode_compilation_path="%2"\
find $bytecode_compilation_path -type f -a -name "*.py" -print0 | xargs -0 $python_binary -O -m py_compile\
find $bytecode_compilation_path -type f -a -name "*.py" -print0 | xargs -0 $python_binary -m py_compile
%endif
# ... just remove after F28 EOL
%endif
2012-10-20 13:08:13 +00:00
# skip tests known to be problematic in a specific version
2012-11-21 13:45:03 +00:00
#global skip_checks_version X.Y.Z
#global skip_checks test1 test2 test3
auto-import changelog data from gimp-2.0-1.pre3.4.1.src.rpm Tue Mar 02 2004 Elliot Lee <sopwith@redhat.com> - rebuilt Wed Feb 18 2004 Tim Waugh <twaugh@redhat.com> - Added epoch to gimp-perl obsoletes tag. Fri Feb 13 2004 Elliot Lee <sopwith@redhat.com> - rebuilt Fri Feb 13 2004 Nils Philippsen <nphilipp@redhat.com> - fix typo in %_enable_print macro - install convenience symlinks (gimp, gimp-remote, gimptool) Sun Feb 08 2004 Nils Philippsen <nphilipp@redhat.com> - require gtk2, glib2 >= 2.3.0, pango >= 1.3.0 Fri Feb 06 2004 Nils Philippsen <nphilipp@redhat.com> - version 2.0pre3 - update buildroot patch - enable building static libs (old default) - have '--define'able enable_* - disable building of print plugin, it's in another package Fri Jan 30 2004 Nils Philippsen <nphilipp@redhat.com> - rebuild against new libcroco Sat Jan 24 2004 Nils Philippsen <nphilipp@redhat.com> - require %{epoch}:%{version}-%{release} of base package in sub packages - rather use %{?smp_mflags} to actually exploit SMP build systems Fri Jan 23 2004 Nils Philippsen <nphilipp@redhat.com> - set epoch to 1 to upgrade old gimp rpms - obsolete gimp2-devel, gimp-beta-devel to allow upgrade of 3rd party repo packages, gimp-perl to upgrade old package Fri Jan 23 2004 Nils Philippsen <nphilipp@redhat.com> - fix binary name in desktop file ("gimp-1.3" until gimp-2.0 becomes final, to allow coexistence with old gimp-1.x packages) - system intltool buildrequires perl-XML-Parser, work around that, yay Thu Jan 22 2004 Nils Philippsen <nphilipp@redhat.com> - build as gimp, not gimp-beta - remove all the beta blurbs - fix automake dependency - fix libtool usage Tue Jan 20 2004 Nils Philippsen <nphilipp@redhat.com> - version 2.0pre2 Sun Jan 11 2004 Nils Philippsen <nphilipp@redhat.com> - version 2.0pre1 Tue Nov 25 2003 Nils Philippsen <nphilipp@redhat.com> - version 1.3.23 beta Fri Nov 21 2003 Nils Philippsen <nphilipp@redhat.com> - version 1.3.22 beta Thu Oct 16 2003 Nils Philippsen <nphilipp@redhat.com> - leave gtk-doc documentation in place - move gimptool to main package - own some directories previously not owned
2004-09-09 05:14:05 +00:00
Summary: GNU Image Manipulation Program
Name: gimp
2009-02-15 21:28:27 +00:00
Epoch: 2
Version: 2.10.34
Release: %autorelease
2014-02-11 17:05:02 +00:00
# Compute some version related macros.
# Ugly, need to get quoting percent signs straight.
2014-02-11 17:06:34 +00:00
%global major %(ver=%{version}; echo ${ver%%%%.*})
%global minor %(ver=%{version}; ver=${ver#%major.}; echo ${ver%%%%.*})
%global micro %(ver=%{version}; ver=${ver#%major.%minor.}; echo ${ver%%%%.*})
%global binver 2.10
%global interface_age 0
%global gettext_version %{major}0
%global lib_api_version %{major}.0
%global lib_minor %(echo $[%minor * 100])
%global lib_micro %micro
# poppler is "GPLv2 or GPLv3" which makes plug-ins linking to libpoppler such
# as file-pdf-load GPLv3-only
License: GPLv3+ and GPLv3
URL: http://www.gimp.org/
2009-06-04 15:23:53 +00:00
%if %{with aalib}
BuildRequires: aalib-devel
2009-06-04 15:23:53 +00:00
%endif
BuildRequires: alsa-lib-devel >= 1.0.0
2012-04-03 14:41:06 +00:00
BuildRequires: atk-devel >= 2.2.0
BuildRequires: babl-devel >= 0.1.74
2012-03-13 10:07:19 +00:00
BuildRequires: bzip2-devel
BuildRequires: cairo-devel >= 1.12.2
BuildRequires: fontconfig-devel >= 2.12.4
BuildRequires: freetype-devel >= 2.1.7
2018-02-20 16:25:07 +00:00
BuildRequires: gcc
BuildRequires: gdk-pixbuf2-devel >= 2.30.8
BuildRequires: gegl04-tools
BuildRequires: gegl04-devel >= 0.4.32
BuildRequires: libgs-devel
BuildRequires: glib2-devel >= 2.56.2
BuildRequires: glib-networking
2019-06-13 20:01:14 +00:00
BuildRequires: gtk2-devel >= 2.24.32
BuildRequires: gtk-doc >= 1.0
BuildRequires: harfbuzz-devel >= 0.9.19
2012-03-27 10:46:47 +00:00
BuildRequires: iso-codes-devel
BuildRequires: jasper-devel
BuildRequires: lcms2-devel >= 2.8
BuildRequires: libappstream-glib
BuildRequires: libheif-devel
BuildRequires: libgexiv2-devel >= 0.10.6
BuildRequires: libgudev1-devel >= 167
BuildRequires: libjpeg-devel
BuildRequires: libjxl-devel >= 0.6.1
BuildRequires: libmng-devel
BuildRequires: libpng-devel >= 1.6.25
BuildRequires: librsvg2-devel >= 2.40.6
BuildRequires: libtiff-devel
2018-11-10 10:32:41 +00:00
%if %{with libunwind}
2018-11-09 23:56:35 +00:00
BuildRequires: libunwind-devel >= 1.1.0
2018-11-10 10:32:41 +00:00
%endif
%if %{with webp}
BuildRequires: libwebp-devel >= 0.6.0
%endif
BuildRequires: libwmf-devel >= 0.2.8
BuildRequires: libmypaint-devel >= 1.3.0
BuildRequires: mypaint-brushes-devel >= 1.3.0
2021-08-05 22:15:38 +00:00
%if 0%{?fedora} > 34
BuildRequires: openexr-devel
BuildRequires: imath-devel
%else
BuildRequires: OpenEXR-devel >= 1.6.1
2021-08-05 22:15:38 +00:00
%endif
BuildRequires: openjpeg2-devel >= 2.1.0
2011-12-13 15:05:52 +00:00
BuildRequires: pango-devel >= 1.29.4
BuildRequires: perl >= 5.10.0
2019-11-04 12:27:52 +00:00
BuildRequires: poppler-glib-devel >= 0.50.0
BuildRequires: poppler-data-devel >= 0.4.7
BuildRequires: pycairo-devel >= 1.0.2
BuildRequires: pygtk2-devel >= 2.10.4
BuildRequires: pygobject2-devel
BuildRequires: python2-devel >= 2.5.0
2012-10-20 12:48:09 +00:00
%if %{with helpbrowser}
2011-12-13 15:05:52 +00:00
BuildRequires: webkitgtk-devel >= 1.6.1
2012-10-20 12:48:09 +00:00
%endif
BuildRequires: xz-devel >= 5.0.0
2012-03-13 10:07:19 +00:00
BuildRequires: zlib-devel
BuildRequires: libX11-devel
BuildRequires: libXmu-devel
BuildRequires: libXpm-devel
2014-02-12 16:48:57 +00:00
BuildRequires: chrpath >= 0.13-5
BuildRequires: intltool >= 0.40.1
BuildRequires: gettext >= 0.19
2021-04-02 21:56:45 +00:00
BuildRequires: make
BuildRequires: pkgconfig
2020-06-15 10:23:13 +00:00
Requires: babl%{?_isa} >= 0.1.78
Requires: gegl04%{?_isa} >= 0.4.32
Requires: fontconfig >= 2.12.4
Requires: freetype >= 2.1.7
Requires: glib2 >= 2.56.2
Requires: glib-networking
2019-06-13 20:01:14 +00:00
Requires: gtk2 >= 2.24.32
Requires: hicolor-icon-theme
2018-11-10 10:32:41 +00:00
%if %{with libunwind}
2018-11-09 23:56:35 +00:00
Requires: libunwind%{?_isa} >= 1.1.0
2018-11-10 10:32:41 +00:00
%endif
Requires: lcms2 >= 2.8
Recommends: mypaint-brushes
Requires: pango >= 1.29.4
2009-03-17 08:25:12 +00:00
Requires: pygtk2 >= 2.10.4
Requires: xdg-utils
Requires: %{name}-libs%{?_isa} = %{epoch}:%{version}-%{release}
%if %{with helpbrowser}
Recommends: %{name}-help-browser = %{epoch}:%{version}-%{release}
%else
Obsoletes: %{name}-help-browser < %{epoch}:%{version}-%{release}
Conflicts: %{name}-help-browser < %{epoch}:%{version}-%{release}
%endif
2020-01-09 08:40:06 +00:00
#Demodularizing of gimp (#1772469)
Obsoletes: %{name} < %{epoch}:%{version}-%{release}
Conflicts: %{name} < %{epoch}:%{version}-%{release}
2020-01-09 08:40:06 +00:00
#Remove dependency on RPM Fusion repository
Obsoletes: gimp-heif-plugin < 1.1.0-13
Source0: http://download.gimp.org/pub/gimp/v%{binver}/gimp-%{version}.tar.bz2
# Try using the system monitor profile for color management by default.
# Fedora specific.
Patch1: gimp-2.10.0-cm-system-monitor-profile-by-default.patch
# bz#1706653
2020-05-15 07:05:24 +00:00
Patch2: gimp-2.10.12-default-font.patch
# don't phone home to check for updates by default
Patch3: gimp-2.10.18-no-phone-home-default.patch
# use external help browser directly if help browser plug-in is not built
Patch100: gimp-2.10.24-external-help-browser.patch
Patch101: gimp-configure-c99.patch
auto-import changelog data from gimp-1.1.25-1.src.rpm Mon Aug 21 2000 Matt Wilson <msw@redhat.com> - 1.1.25 Fri Aug 11 2000 Jonathan Blandford <jrb@redhat.com> - Up Epoch and release Tue Aug 08 2000 Matt Wilson <msw@redhat.com> - fixed directory mode on %{_defaultdocdir}/gimp-%{version} Wed Aug 02 2000 Matt Wilson <msw@redhat.com> - rebuild against new libpng Mon Jul 31 2000 Matt Wilson <msw@redhat.com> - muck with modules filelist generation to avoid getting files owned by two packages Mon Jul 17 2000 Matt Wilson <msw@redhat.com> - disable aa plugin - moved the group back to Applications/Multimedia - added desktop entry back into the file list Thu Jul 13 2000 Prospector <bugzilla@redhat.com> - automatic rebuild Sat Jul 01 2000 Matt Wilson <msw@redhat.com> - 1.1.24 Sat Jun 17 2000 Matt Wilson <msw@redhat.com> - use root, not bin for the default owner. Fri Jun 16 2000 Preston Brown <pbrown@redhat.com> - add back missing system .desktop entry Sat Jun 10 2000 Matt Wilson <msw@redhat.com> - rebuilt against fixed gcc Mon Jun 05 2000 Matt Wilson <msw@redhat.com> - defattr for gimp-perl Sun Jun 04 2000 Matt Wilson <msw@redhat.com> - drop out all of \.a$ from the main package list Sat Jun 03 2000 Matt Wilson <msw@redhat.com> - 1.1.23 - use __NO_MATH_INLINES for now on ix86 - massive FHS surgery Tue May 16 2000 Matt Wilson <msw@redhat.com> - 1.1.22 Mon Apr 24 2000 Matt Wilson <msw@redhat.com> - 1.1.20 Fri Apr 14 2000 Matt Wilson <msw@redhat.com> - include subdirs in the help find - remove gimp-help-files generation - both gimp and gimp-perl own prefix/lib/gimp/1.1/plug-ins - both gimp and gimp-devel own prefix/lib/gimp/1.1/modules Thu Apr 13 2000 Matt Wilson <msw@redhat.com> - 1.1.19 - get all .mo files Wed Jan 19 2000 Gregory McLean <gregm@comstar.net> - Version 1.1.15 Wed Dec 22 1999 Gregory McLean <gregm@comstar.net> - Version 1.1.14 - Added some auto %files section generation scriptlets
2004-09-09 05:10:44 +00:00
%description
GIMP (GNU Image Manipulation Program) is a powerful image composition and
editing program, which can be extremely useful for creating logos and other
graphics for web pages. GIMP has many of the tools and filters you would expect
to find in similar commercial offerings, and some interesting extras as well.
GIMP provides a large image manipulation toolbox, including channel operations
and layers, effects, sub-pixel imaging and anti-aliasing, and conversions, all
with multi-level undo.
%package libs
Summary: GIMP libraries
License: LGPLv3+
# Demodularizing of gimp (#1772469)
Obsoletes: %{name}-libs < %{epoch}:%{version}-%{release}
Conflicts: %{name}-libs < %{epoch}:%{version}-%{release}
%description libs
The %{name}-libs package contains shared libraries needed for the GNU Image
Manipulation Program (GIMP).
auto-import changelog data from gimp-1.1.25-1.src.rpm Mon Aug 21 2000 Matt Wilson <msw@redhat.com> - 1.1.25 Fri Aug 11 2000 Jonathan Blandford <jrb@redhat.com> - Up Epoch and release Tue Aug 08 2000 Matt Wilson <msw@redhat.com> - fixed directory mode on %{_defaultdocdir}/gimp-%{version} Wed Aug 02 2000 Matt Wilson <msw@redhat.com> - rebuild against new libpng Mon Jul 31 2000 Matt Wilson <msw@redhat.com> - muck with modules filelist generation to avoid getting files owned by two packages Mon Jul 17 2000 Matt Wilson <msw@redhat.com> - disable aa plugin - moved the group back to Applications/Multimedia - added desktop entry back into the file list Thu Jul 13 2000 Prospector <bugzilla@redhat.com> - automatic rebuild Sat Jul 01 2000 Matt Wilson <msw@redhat.com> - 1.1.24 Sat Jun 17 2000 Matt Wilson <msw@redhat.com> - use root, not bin for the default owner. Fri Jun 16 2000 Preston Brown <pbrown@redhat.com> - add back missing system .desktop entry Sat Jun 10 2000 Matt Wilson <msw@redhat.com> - rebuilt against fixed gcc Mon Jun 05 2000 Matt Wilson <msw@redhat.com> - defattr for gimp-perl Sun Jun 04 2000 Matt Wilson <msw@redhat.com> - drop out all of \.a$ from the main package list Sat Jun 03 2000 Matt Wilson <msw@redhat.com> - 1.1.23 - use __NO_MATH_INLINES for now on ix86 - massive FHS surgery Tue May 16 2000 Matt Wilson <msw@redhat.com> - 1.1.22 Mon Apr 24 2000 Matt Wilson <msw@redhat.com> - 1.1.20 Fri Apr 14 2000 Matt Wilson <msw@redhat.com> - include subdirs in the help find - remove gimp-help-files generation - both gimp and gimp-perl own prefix/lib/gimp/1.1/plug-ins - both gimp and gimp-devel own prefix/lib/gimp/1.1/modules Thu Apr 13 2000 Matt Wilson <msw@redhat.com> - 1.1.19 - get all .mo files Wed Jan 19 2000 Gregory McLean <gregm@comstar.net> - Version 1.1.15 Wed Dec 22 1999 Gregory McLean <gregm@comstar.net> - Version 1.1.14 - Added some auto %files section generation scriptlets
2004-09-09 05:10:44 +00:00
%package devel
Summary: GIMP plugin and extension development kit
License: LGPLv3+
Requires: %{name}-libs%{?_isa} = %{epoch}:%{version}-%{release}
Requires: %{name}-devel-tools = %{epoch}:%{version}-%{release}
Requires: gtk2-devel
Requires: glib2-devel
Requires: pkgconfig
Requires: rpm >= 4.11.0
# Demodularizing of gimp (#1772469)
Obsoletes: %{name}-devel < %{epoch}:%{version}-%{release}
Conflicts: %{name}-devel < %{epoch}:%{version}-%{release}
auto-import changelog data from gimp-1.1.25-1.src.rpm Mon Aug 21 2000 Matt Wilson <msw@redhat.com> - 1.1.25 Fri Aug 11 2000 Jonathan Blandford <jrb@redhat.com> - Up Epoch and release Tue Aug 08 2000 Matt Wilson <msw@redhat.com> - fixed directory mode on %{_defaultdocdir}/gimp-%{version} Wed Aug 02 2000 Matt Wilson <msw@redhat.com> - rebuild against new libpng Mon Jul 31 2000 Matt Wilson <msw@redhat.com> - muck with modules filelist generation to avoid getting files owned by two packages Mon Jul 17 2000 Matt Wilson <msw@redhat.com> - disable aa plugin - moved the group back to Applications/Multimedia - added desktop entry back into the file list Thu Jul 13 2000 Prospector <bugzilla@redhat.com> - automatic rebuild Sat Jul 01 2000 Matt Wilson <msw@redhat.com> - 1.1.24 Sat Jun 17 2000 Matt Wilson <msw@redhat.com> - use root, not bin for the default owner. Fri Jun 16 2000 Preston Brown <pbrown@redhat.com> - add back missing system .desktop entry Sat Jun 10 2000 Matt Wilson <msw@redhat.com> - rebuilt against fixed gcc Mon Jun 05 2000 Matt Wilson <msw@redhat.com> - defattr for gimp-perl Sun Jun 04 2000 Matt Wilson <msw@redhat.com> - drop out all of \.a$ from the main package list Sat Jun 03 2000 Matt Wilson <msw@redhat.com> - 1.1.23 - use __NO_MATH_INLINES for now on ix86 - massive FHS surgery Tue May 16 2000 Matt Wilson <msw@redhat.com> - 1.1.22 Mon Apr 24 2000 Matt Wilson <msw@redhat.com> - 1.1.20 Fri Apr 14 2000 Matt Wilson <msw@redhat.com> - include subdirs in the help find - remove gimp-help-files generation - both gimp and gimp-perl own prefix/lib/gimp/1.1/plug-ins - both gimp and gimp-devel own prefix/lib/gimp/1.1/modules Thu Apr 13 2000 Matt Wilson <msw@redhat.com> - 1.1.19 - get all .mo files Wed Jan 19 2000 Gregory McLean <gregm@comstar.net> - Version 1.1.15 Wed Dec 22 1999 Gregory McLean <gregm@comstar.net> - Version 1.1.14 - Added some auto %files section generation scriptlets
2004-09-09 05:10:44 +00:00
%description devel
The %{name}-devel package contains the static libraries and header files
auto-import changelog data from gimp-1.1.25-1.src.rpm Mon Aug 21 2000 Matt Wilson <msw@redhat.com> - 1.1.25 Fri Aug 11 2000 Jonathan Blandford <jrb@redhat.com> - Up Epoch and release Tue Aug 08 2000 Matt Wilson <msw@redhat.com> - fixed directory mode on %{_defaultdocdir}/gimp-%{version} Wed Aug 02 2000 Matt Wilson <msw@redhat.com> - rebuild against new libpng Mon Jul 31 2000 Matt Wilson <msw@redhat.com> - muck with modules filelist generation to avoid getting files owned by two packages Mon Jul 17 2000 Matt Wilson <msw@redhat.com> - disable aa plugin - moved the group back to Applications/Multimedia - added desktop entry back into the file list Thu Jul 13 2000 Prospector <bugzilla@redhat.com> - automatic rebuild Sat Jul 01 2000 Matt Wilson <msw@redhat.com> - 1.1.24 Sat Jun 17 2000 Matt Wilson <msw@redhat.com> - use root, not bin for the default owner. Fri Jun 16 2000 Preston Brown <pbrown@redhat.com> - add back missing system .desktop entry Sat Jun 10 2000 Matt Wilson <msw@redhat.com> - rebuilt against fixed gcc Mon Jun 05 2000 Matt Wilson <msw@redhat.com> - defattr for gimp-perl Sun Jun 04 2000 Matt Wilson <msw@redhat.com> - drop out all of \.a$ from the main package list Sat Jun 03 2000 Matt Wilson <msw@redhat.com> - 1.1.23 - use __NO_MATH_INLINES for now on ix86 - massive FHS surgery Tue May 16 2000 Matt Wilson <msw@redhat.com> - 1.1.22 Mon Apr 24 2000 Matt Wilson <msw@redhat.com> - 1.1.20 Fri Apr 14 2000 Matt Wilson <msw@redhat.com> - include subdirs in the help find - remove gimp-help-files generation - both gimp and gimp-perl own prefix/lib/gimp/1.1/plug-ins - both gimp and gimp-devel own prefix/lib/gimp/1.1/modules Thu Apr 13 2000 Matt Wilson <msw@redhat.com> - 1.1.19 - get all .mo files Wed Jan 19 2000 Gregory McLean <gregm@comstar.net> - Version 1.1.15 Wed Dec 22 1999 Gregory McLean <gregm@comstar.net> - Version 1.1.14 - Added some auto %files section generation scriptlets
2004-09-09 05:10:44 +00:00
for writing GNU Image Manipulation Program (GIMP) plug-ins and
extensions.
%package devel-tools
Summary: GIMP plugin and extension development tools
License: LGPLv3+
Requires: %{name}-devel = %{epoch}:%{version}-%{release}
# Demodularizing of gimp (#1772469)
Obsoletes: %{name}-devel-tools < %{epoch}:%{version}-%{release}
Conflicts: %{name}-devel-tools < %{epoch}:%{version}-%{release}
%description devel-tools
The %{name}-devel-tools package contains gimptool, a helper program to
build GNU Image Manipulation Program (GIMP) plug-ins and extensions.
2012-10-20 12:48:09 +00:00
%if %{with helpbrowser}
2008-10-08 16:35:24 +00:00
%package help-browser
Summary: GIMP help browser plug-in
License: GPLv3+
Requires: %{name}%{?_isa} = %{epoch}:%{version}-%{release}
# Demodularizing of gimp (#1772469)
Obsoletes: %{name}-help-browser < %{epoch}:%{version}-%{release}
Conflicts: %{name}-help-browser < %{epoch}:%{version}-%{release}
2008-10-08 16:35:24 +00:00
%description help-browser
The %{name}-help-browser package contains a lightweight help browser plugin for
2008-10-08 16:35:24 +00:00
viewing GIMP online help.
2012-10-20 12:48:09 +00:00
%endif
2008-10-08 16:35:24 +00:00
auto-import changelog data from gimp-1.1.25-1.src.rpm Mon Aug 21 2000 Matt Wilson <msw@redhat.com> - 1.1.25 Fri Aug 11 2000 Jonathan Blandford <jrb@redhat.com> - Up Epoch and release Tue Aug 08 2000 Matt Wilson <msw@redhat.com> - fixed directory mode on %{_defaultdocdir}/gimp-%{version} Wed Aug 02 2000 Matt Wilson <msw@redhat.com> - rebuild against new libpng Mon Jul 31 2000 Matt Wilson <msw@redhat.com> - muck with modules filelist generation to avoid getting files owned by two packages Mon Jul 17 2000 Matt Wilson <msw@redhat.com> - disable aa plugin - moved the group back to Applications/Multimedia - added desktop entry back into the file list Thu Jul 13 2000 Prospector <bugzilla@redhat.com> - automatic rebuild Sat Jul 01 2000 Matt Wilson <msw@redhat.com> - 1.1.24 Sat Jun 17 2000 Matt Wilson <msw@redhat.com> - use root, not bin for the default owner. Fri Jun 16 2000 Preston Brown <pbrown@redhat.com> - add back missing system .desktop entry Sat Jun 10 2000 Matt Wilson <msw@redhat.com> - rebuilt against fixed gcc Mon Jun 05 2000 Matt Wilson <msw@redhat.com> - defattr for gimp-perl Sun Jun 04 2000 Matt Wilson <msw@redhat.com> - drop out all of \.a$ from the main package list Sat Jun 03 2000 Matt Wilson <msw@redhat.com> - 1.1.23 - use __NO_MATH_INLINES for now on ix86 - massive FHS surgery Tue May 16 2000 Matt Wilson <msw@redhat.com> - 1.1.22 Mon Apr 24 2000 Matt Wilson <msw@redhat.com> - 1.1.20 Fri Apr 14 2000 Matt Wilson <msw@redhat.com> - include subdirs in the help find - remove gimp-help-files generation - both gimp and gimp-perl own prefix/lib/gimp/1.1/plug-ins - both gimp and gimp-devel own prefix/lib/gimp/1.1/modules Thu Apr 13 2000 Matt Wilson <msw@redhat.com> - 1.1.19 - get all .mo files Wed Jan 19 2000 Gregory McLean <gregm@comstar.net> - Version 1.1.15 Wed Dec 22 1999 Gregory McLean <gregm@comstar.net> - Version 1.1.14 - Added some auto %files section generation scriptlets
2004-09-09 05:10:44 +00:00
%prep
2006-07-10 10:17:16 +00:00
cat << EOF
--- 8< --- Build options ---------------------------------------------------
MP support: %{with mp}
build static libs: %{with static}
install default binary: %{with default_binary}
build ASCII art plugin %{with aalib}
build help browser: %{with helpbrowser}
hardcode python interpreter: %{with hardcoded_python}
--- >8 ---------------------------------------------------------------------
2006-07-10 10:17:16 +00:00
EOF
%setup -q -n gimp-%{version}
2013-02-06 09:48:28 +00:00
%patch1 -p1 -b .cm-system-monitor-profile-by-default
%patch2 -p1 -b .font-default
%patch3 -p1 -b .no-phone-home-default
%if ! %{with helpbrowser}
%patch100 -p1 -b .external-help-browser
%endif
%patch101 -p1
# Avoid re-running autotools.
touch -r aclocal.m4 configure*
auto-import changelog data from gimp-1.1.25-1.src.rpm Mon Aug 21 2000 Matt Wilson <msw@redhat.com> - 1.1.25 Fri Aug 11 2000 Jonathan Blandford <jrb@redhat.com> - Up Epoch and release Tue Aug 08 2000 Matt Wilson <msw@redhat.com> - fixed directory mode on %{_defaultdocdir}/gimp-%{version} Wed Aug 02 2000 Matt Wilson <msw@redhat.com> - rebuild against new libpng Mon Jul 31 2000 Matt Wilson <msw@redhat.com> - muck with modules filelist generation to avoid getting files owned by two packages Mon Jul 17 2000 Matt Wilson <msw@redhat.com> - disable aa plugin - moved the group back to Applications/Multimedia - added desktop entry back into the file list Thu Jul 13 2000 Prospector <bugzilla@redhat.com> - automatic rebuild Sat Jul 01 2000 Matt Wilson <msw@redhat.com> - 1.1.24 Sat Jun 17 2000 Matt Wilson <msw@redhat.com> - use root, not bin for the default owner. Fri Jun 16 2000 Preston Brown <pbrown@redhat.com> - add back missing system .desktop entry Sat Jun 10 2000 Matt Wilson <msw@redhat.com> - rebuilt against fixed gcc Mon Jun 05 2000 Matt Wilson <msw@redhat.com> - defattr for gimp-perl Sun Jun 04 2000 Matt Wilson <msw@redhat.com> - drop out all of \.a$ from the main package list Sat Jun 03 2000 Matt Wilson <msw@redhat.com> - 1.1.23 - use __NO_MATH_INLINES for now on ix86 - massive FHS surgery Tue May 16 2000 Matt Wilson <msw@redhat.com> - 1.1.22 Mon Apr 24 2000 Matt Wilson <msw@redhat.com> - 1.1.20 Fri Apr 14 2000 Matt Wilson <msw@redhat.com> - include subdirs in the help find - remove gimp-help-files generation - both gimp and gimp-perl own prefix/lib/gimp/1.1/plug-ins - both gimp and gimp-devel own prefix/lib/gimp/1.1/modules Thu Apr 13 2000 Matt Wilson <msw@redhat.com> - 1.1.19 - get all .mo files Wed Jan 19 2000 Gregory McLean <gregm@comstar.net> - Version 1.1.15 Wed Dec 22 1999 Gregory McLean <gregm@comstar.net> - Version 1.1.14 - Added some auto %files section generation scriptlets
2004-09-09 05:10:44 +00:00
%build
# allow python2 package for RHEL-8
2018-01-17 08:25:53 +00:00
export RHEL_ALLOW_PYTHON2_FOR_BUILD=1
# Use hardening compiler/linker flags because gimp is likely to deal with files
# coming from untrusted sources
%global _hardened_build 1
auto-import changelog data from gimp-2.0-1.pre3.4.1.src.rpm Tue Mar 02 2004 Elliot Lee <sopwith@redhat.com> - rebuilt Wed Feb 18 2004 Tim Waugh <twaugh@redhat.com> - Added epoch to gimp-perl obsoletes tag. Fri Feb 13 2004 Elliot Lee <sopwith@redhat.com> - rebuilt Fri Feb 13 2004 Nils Philippsen <nphilipp@redhat.com> - fix typo in %_enable_print macro - install convenience symlinks (gimp, gimp-remote, gimptool) Sun Feb 08 2004 Nils Philippsen <nphilipp@redhat.com> - require gtk2, glib2 >= 2.3.0, pango >= 1.3.0 Fri Feb 06 2004 Nils Philippsen <nphilipp@redhat.com> - version 2.0pre3 - update buildroot patch - enable building static libs (old default) - have '--define'able enable_* - disable building of print plugin, it's in another package Fri Jan 30 2004 Nils Philippsen <nphilipp@redhat.com> - rebuild against new libcroco Sat Jan 24 2004 Nils Philippsen <nphilipp@redhat.com> - require %{epoch}:%{version}-%{release} of base package in sub packages - rather use %{?smp_mflags} to actually exploit SMP build systems Fri Jan 23 2004 Nils Philippsen <nphilipp@redhat.com> - set epoch to 1 to upgrade old gimp rpms - obsolete gimp2-devel, gimp-beta-devel to allow upgrade of 3rd party repo packages, gimp-perl to upgrade old package Fri Jan 23 2004 Nils Philippsen <nphilipp@redhat.com> - fix binary name in desktop file ("gimp-1.3" until gimp-2.0 becomes final, to allow coexistence with old gimp-1.x packages) - system intltool buildrequires perl-XML-Parser, work around that, yay Thu Jan 22 2004 Nils Philippsen <nphilipp@redhat.com> - build as gimp, not gimp-beta - remove all the beta blurbs - fix automake dependency - fix libtool usage Tue Jan 20 2004 Nils Philippsen <nphilipp@redhat.com> - version 2.0pre2 Sun Jan 11 2004 Nils Philippsen <nphilipp@redhat.com> - version 2.0pre1 Tue Nov 25 2003 Nils Philippsen <nphilipp@redhat.com> - version 1.3.23 beta Fri Nov 21 2003 Nils Philippsen <nphilipp@redhat.com> - version 1.3.22 beta Thu Oct 16 2003 Nils Philippsen <nphilipp@redhat.com> - leave gtk-doc documentation in place - move gimptool to main package - own some directories previously not owned
2004-09-09 05:14:05 +00:00
%configure \
--enable-python \
%if %{with mp}
--enable-mp \
auto-import changelog data from gimp-2.0-1.pre3.4.1.src.rpm Tue Mar 02 2004 Elliot Lee <sopwith@redhat.com> - rebuilt Wed Feb 18 2004 Tim Waugh <twaugh@redhat.com> - Added epoch to gimp-perl obsoletes tag. Fri Feb 13 2004 Elliot Lee <sopwith@redhat.com> - rebuilt Fri Feb 13 2004 Nils Philippsen <nphilipp@redhat.com> - fix typo in %_enable_print macro - install convenience symlinks (gimp, gimp-remote, gimptool) Sun Feb 08 2004 Nils Philippsen <nphilipp@redhat.com> - require gtk2, glib2 >= 2.3.0, pango >= 1.3.0 Fri Feb 06 2004 Nils Philippsen <nphilipp@redhat.com> - version 2.0pre3 - update buildroot patch - enable building static libs (old default) - have '--define'able enable_* - disable building of print plugin, it's in another package Fri Jan 30 2004 Nils Philippsen <nphilipp@redhat.com> - rebuild against new libcroco Sat Jan 24 2004 Nils Philippsen <nphilipp@redhat.com> - require %{epoch}:%{version}-%{release} of base package in sub packages - rather use %{?smp_mflags} to actually exploit SMP build systems Fri Jan 23 2004 Nils Philippsen <nphilipp@redhat.com> - set epoch to 1 to upgrade old gimp rpms - obsolete gimp2-devel, gimp-beta-devel to allow upgrade of 3rd party repo packages, gimp-perl to upgrade old package Fri Jan 23 2004 Nils Philippsen <nphilipp@redhat.com> - fix binary name in desktop file ("gimp-1.3" until gimp-2.0 becomes final, to allow coexistence with old gimp-1.x packages) - system intltool buildrequires perl-XML-Parser, work around that, yay Thu Jan 22 2004 Nils Philippsen <nphilipp@redhat.com> - build as gimp, not gimp-beta - remove all the beta blurbs - fix automake dependency - fix libtool usage Tue Jan 20 2004 Nils Philippsen <nphilipp@redhat.com> - version 2.0pre2 Sun Jan 11 2004 Nils Philippsen <nphilipp@redhat.com> - version 2.0pre1 Tue Nov 25 2003 Nils Philippsen <nphilipp@redhat.com> - version 1.3.23 beta Fri Nov 21 2003 Nils Philippsen <nphilipp@redhat.com> - version 1.3.22 beta Thu Oct 16 2003 Nils Philippsen <nphilipp@redhat.com> - leave gtk-doc documentation in place - move gimptool to main package - own some directories previously not owned
2004-09-09 05:14:05 +00:00
%else
--disable-mp \
auto-import changelog data from gimp-2.0-1.pre3.4.1.src.rpm Tue Mar 02 2004 Elliot Lee <sopwith@redhat.com> - rebuilt Wed Feb 18 2004 Tim Waugh <twaugh@redhat.com> - Added epoch to gimp-perl obsoletes tag. Fri Feb 13 2004 Elliot Lee <sopwith@redhat.com> - rebuilt Fri Feb 13 2004 Nils Philippsen <nphilipp@redhat.com> - fix typo in %_enable_print macro - install convenience symlinks (gimp, gimp-remote, gimptool) Sun Feb 08 2004 Nils Philippsen <nphilipp@redhat.com> - require gtk2, glib2 >= 2.3.0, pango >= 1.3.0 Fri Feb 06 2004 Nils Philippsen <nphilipp@redhat.com> - version 2.0pre3 - update buildroot patch - enable building static libs (old default) - have '--define'able enable_* - disable building of print plugin, it's in another package Fri Jan 30 2004 Nils Philippsen <nphilipp@redhat.com> - rebuild against new libcroco Sat Jan 24 2004 Nils Philippsen <nphilipp@redhat.com> - require %{epoch}:%{version}-%{release} of base package in sub packages - rather use %{?smp_mflags} to actually exploit SMP build systems Fri Jan 23 2004 Nils Philippsen <nphilipp@redhat.com> - set epoch to 1 to upgrade old gimp rpms - obsolete gimp2-devel, gimp-beta-devel to allow upgrade of 3rd party repo packages, gimp-perl to upgrade old package Fri Jan 23 2004 Nils Philippsen <nphilipp@redhat.com> - fix binary name in desktop file ("gimp-1.3" until gimp-2.0 becomes final, to allow coexistence with old gimp-1.x packages) - system intltool buildrequires perl-XML-Parser, work around that, yay Thu Jan 22 2004 Nils Philippsen <nphilipp@redhat.com> - build as gimp, not gimp-beta - remove all the beta blurbs - fix automake dependency - fix libtool usage Tue Jan 20 2004 Nils Philippsen <nphilipp@redhat.com> - version 2.0pre2 Sun Jan 11 2004 Nils Philippsen <nphilipp@redhat.com> - version 2.0pre1 Tue Nov 25 2003 Nils Philippsen <nphilipp@redhat.com> - version 1.3.23 beta Fri Nov 21 2003 Nils Philippsen <nphilipp@redhat.com> - version 1.3.22 beta Thu Oct 16 2003 Nils Philippsen <nphilipp@redhat.com> - leave gtk-doc documentation in place - move gimptool to main package - own some directories previously not owned
2004-09-09 05:14:05 +00:00
%endif
%if %{with static}
--enable-static \
auto-import changelog data from gimp-2.0-1.pre3.4.1.src.rpm Tue Mar 02 2004 Elliot Lee <sopwith@redhat.com> - rebuilt Wed Feb 18 2004 Tim Waugh <twaugh@redhat.com> - Added epoch to gimp-perl obsoletes tag. Fri Feb 13 2004 Elliot Lee <sopwith@redhat.com> - rebuilt Fri Feb 13 2004 Nils Philippsen <nphilipp@redhat.com> - fix typo in %_enable_print macro - install convenience symlinks (gimp, gimp-remote, gimptool) Sun Feb 08 2004 Nils Philippsen <nphilipp@redhat.com> - require gtk2, glib2 >= 2.3.0, pango >= 1.3.0 Fri Feb 06 2004 Nils Philippsen <nphilipp@redhat.com> - version 2.0pre3 - update buildroot patch - enable building static libs (old default) - have '--define'able enable_* - disable building of print plugin, it's in another package Fri Jan 30 2004 Nils Philippsen <nphilipp@redhat.com> - rebuild against new libcroco Sat Jan 24 2004 Nils Philippsen <nphilipp@redhat.com> - require %{epoch}:%{version}-%{release} of base package in sub packages - rather use %{?smp_mflags} to actually exploit SMP build systems Fri Jan 23 2004 Nils Philippsen <nphilipp@redhat.com> - set epoch to 1 to upgrade old gimp rpms - obsolete gimp2-devel, gimp-beta-devel to allow upgrade of 3rd party repo packages, gimp-perl to upgrade old package Fri Jan 23 2004 Nils Philippsen <nphilipp@redhat.com> - fix binary name in desktop file ("gimp-1.3" until gimp-2.0 becomes final, to allow coexistence with old gimp-1.x packages) - system intltool buildrequires perl-XML-Parser, work around that, yay Thu Jan 22 2004 Nils Philippsen <nphilipp@redhat.com> - build as gimp, not gimp-beta - remove all the beta blurbs - fix automake dependency - fix libtool usage Tue Jan 20 2004 Nils Philippsen <nphilipp@redhat.com> - version 2.0pre2 Sun Jan 11 2004 Nils Philippsen <nphilipp@redhat.com> - version 2.0pre1 Tue Nov 25 2003 Nils Philippsen <nphilipp@redhat.com> - version 1.3.23 beta Fri Nov 21 2003 Nils Philippsen <nphilipp@redhat.com> - version 1.3.22 beta Thu Oct 16 2003 Nils Philippsen <nphilipp@redhat.com> - leave gtk-doc documentation in place - move gimptool to main package - own some directories previously not owned
2004-09-09 05:14:05 +00:00
%else
--disable-static \
auto-import changelog data from gimp-2.0-1.pre3.4.1.src.rpm Tue Mar 02 2004 Elliot Lee <sopwith@redhat.com> - rebuilt Wed Feb 18 2004 Tim Waugh <twaugh@redhat.com> - Added epoch to gimp-perl obsoletes tag. Fri Feb 13 2004 Elliot Lee <sopwith@redhat.com> - rebuilt Fri Feb 13 2004 Nils Philippsen <nphilipp@redhat.com> - fix typo in %_enable_print macro - install convenience symlinks (gimp, gimp-remote, gimptool) Sun Feb 08 2004 Nils Philippsen <nphilipp@redhat.com> - require gtk2, glib2 >= 2.3.0, pango >= 1.3.0 Fri Feb 06 2004 Nils Philippsen <nphilipp@redhat.com> - version 2.0pre3 - update buildroot patch - enable building static libs (old default) - have '--define'able enable_* - disable building of print plugin, it's in another package Fri Jan 30 2004 Nils Philippsen <nphilipp@redhat.com> - rebuild against new libcroco Sat Jan 24 2004 Nils Philippsen <nphilipp@redhat.com> - require %{epoch}:%{version}-%{release} of base package in sub packages - rather use %{?smp_mflags} to actually exploit SMP build systems Fri Jan 23 2004 Nils Philippsen <nphilipp@redhat.com> - set epoch to 1 to upgrade old gimp rpms - obsolete gimp2-devel, gimp-beta-devel to allow upgrade of 3rd party repo packages, gimp-perl to upgrade old package Fri Jan 23 2004 Nils Philippsen <nphilipp@redhat.com> - fix binary name in desktop file ("gimp-1.3" until gimp-2.0 becomes final, to allow coexistence with old gimp-1.x packages) - system intltool buildrequires perl-XML-Parser, work around that, yay Thu Jan 22 2004 Nils Philippsen <nphilipp@redhat.com> - build as gimp, not gimp-beta - remove all the beta blurbs - fix automake dependency - fix libtool usage Tue Jan 20 2004 Nils Philippsen <nphilipp@redhat.com> - version 2.0pre2 Sun Jan 11 2004 Nils Philippsen <nphilipp@redhat.com> - version 2.0pre1 Tue Nov 25 2003 Nils Philippsen <nphilipp@redhat.com> - version 1.3.23 beta Fri Nov 21 2003 Nils Philippsen <nphilipp@redhat.com> - version 1.3.22 beta Thu Oct 16 2003 Nils Philippsen <nphilipp@redhat.com> - leave gtk-doc documentation in place - move gimptool to main package - own some directories previously not owned
2004-09-09 05:14:05 +00:00
%endif
--with-print \
--enable-gimp-console \
2009-06-04 15:23:53 +00:00
%if %{with aalib}
2009-01-04 12:17:48 +00:00
--with-aa \
2009-06-04 15:23:53 +00:00
%else
--without-aa \
%endif
2018-11-10 14:35:04 +00:00
--with-gudev \
%ifos linux
--with-linux-input \
%endif
2012-10-20 12:48:09 +00:00
%if %{with helpbrowser}
--with-webkit \
%else
--without-webkit \
%endif
%if %{with webp}
--with-webp \
%else
--without-webp \
%endif
%if %{with default_binary}
--enable-default-binary=yes \
%else
--enable-default-binary=no \
%endif
--with-libmng --with-libxpm --with-alsa --with-cairo-pdf --with-libheif \
%if 0%{?flatpak}
--with-icc-directory=/run/host/usr/share/color/icc/ \
%endif
2018-11-10 14:35:04 +00:00
--without-appdata-test
auto-import changelog data from gimp-1.1.25-1.src.rpm Mon Aug 21 2000 Matt Wilson <msw@redhat.com> - 1.1.25 Fri Aug 11 2000 Jonathan Blandford <jrb@redhat.com> - Up Epoch and release Tue Aug 08 2000 Matt Wilson <msw@redhat.com> - fixed directory mode on %{_defaultdocdir}/gimp-%{version} Wed Aug 02 2000 Matt Wilson <msw@redhat.com> - rebuild against new libpng Mon Jul 31 2000 Matt Wilson <msw@redhat.com> - muck with modules filelist generation to avoid getting files owned by two packages Mon Jul 17 2000 Matt Wilson <msw@redhat.com> - disable aa plugin - moved the group back to Applications/Multimedia - added desktop entry back into the file list Thu Jul 13 2000 Prospector <bugzilla@redhat.com> - automatic rebuild Sat Jul 01 2000 Matt Wilson <msw@redhat.com> - 1.1.24 Sat Jun 17 2000 Matt Wilson <msw@redhat.com> - use root, not bin for the default owner. Fri Jun 16 2000 Preston Brown <pbrown@redhat.com> - add back missing system .desktop entry Sat Jun 10 2000 Matt Wilson <msw@redhat.com> - rebuilt against fixed gcc Mon Jun 05 2000 Matt Wilson <msw@redhat.com> - defattr for gimp-perl Sun Jun 04 2000 Matt Wilson <msw@redhat.com> - drop out all of \.a$ from the main package list Sat Jun 03 2000 Matt Wilson <msw@redhat.com> - 1.1.23 - use __NO_MATH_INLINES for now on ix86 - massive FHS surgery Tue May 16 2000 Matt Wilson <msw@redhat.com> - 1.1.22 Mon Apr 24 2000 Matt Wilson <msw@redhat.com> - 1.1.20 Fri Apr 14 2000 Matt Wilson <msw@redhat.com> - include subdirs in the help find - remove gimp-help-files generation - both gimp and gimp-perl own prefix/lib/gimp/1.1/plug-ins - both gimp and gimp-devel own prefix/lib/gimp/1.1/modules Thu Apr 13 2000 Matt Wilson <msw@redhat.com> - 1.1.19 - get all .mo files Wed Jan 19 2000 Gregory McLean <gregm@comstar.net> - Version 1.1.15 Wed Dec 22 1999 Gregory McLean <gregm@comstar.net> - Version 1.1.14 - Added some auto %files section generation scriptlets
2004-09-09 05:10:44 +00:00
%make_build
auto-import changelog data from gimp-1.1.25-1.src.rpm Mon Aug 21 2000 Matt Wilson <msw@redhat.com> - 1.1.25 Fri Aug 11 2000 Jonathan Blandford <jrb@redhat.com> - Up Epoch and release Tue Aug 08 2000 Matt Wilson <msw@redhat.com> - fixed directory mode on %{_defaultdocdir}/gimp-%{version} Wed Aug 02 2000 Matt Wilson <msw@redhat.com> - rebuild against new libpng Mon Jul 31 2000 Matt Wilson <msw@redhat.com> - muck with modules filelist generation to avoid getting files owned by two packages Mon Jul 17 2000 Matt Wilson <msw@redhat.com> - disable aa plugin - moved the group back to Applications/Multimedia - added desktop entry back into the file list Thu Jul 13 2000 Prospector <bugzilla@redhat.com> - automatic rebuild Sat Jul 01 2000 Matt Wilson <msw@redhat.com> - 1.1.24 Sat Jun 17 2000 Matt Wilson <msw@redhat.com> - use root, not bin for the default owner. Fri Jun 16 2000 Preston Brown <pbrown@redhat.com> - add back missing system .desktop entry Sat Jun 10 2000 Matt Wilson <msw@redhat.com> - rebuilt against fixed gcc Mon Jun 05 2000 Matt Wilson <msw@redhat.com> - defattr for gimp-perl Sun Jun 04 2000 Matt Wilson <msw@redhat.com> - drop out all of \.a$ from the main package list Sat Jun 03 2000 Matt Wilson <msw@redhat.com> - 1.1.23 - use __NO_MATH_INLINES for now on ix86 - massive FHS surgery Tue May 16 2000 Matt Wilson <msw@redhat.com> - 1.1.22 Mon Apr 24 2000 Matt Wilson <msw@redhat.com> - 1.1.20 Fri Apr 14 2000 Matt Wilson <msw@redhat.com> - include subdirs in the help find - remove gimp-help-files generation - both gimp and gimp-perl own prefix/lib/gimp/1.1/plug-ins - both gimp and gimp-devel own prefix/lib/gimp/1.1/modules Thu Apr 13 2000 Matt Wilson <msw@redhat.com> - 1.1.19 - get all .mo files Wed Jan 19 2000 Gregory McLean <gregm@comstar.net> - Version 1.1.15 Wed Dec 22 1999 Gregory McLean <gregm@comstar.net> - Version 1.1.14 - Added some auto %files section generation scriptlets
2004-09-09 05:10:44 +00:00
# Generate RPM macros from pkg-config data:
# %%_gimp_datadir -- toplevel directory for brushes, gradients, scripts, ...
# %%_gimp_libdir -- toplevel directory for modules, plug-ins, ...
# %%_gimp_sysconfdir -- system-wide runtime configuration
# %%_gimp_localedir -- toplevel directory for translation files
# %%_gimp_scriptdir -- script-fu scripts directory
# %%_gimp_plugindir -- plug-in directory
gimp_pc_extract_normalize() {
PKG_CONFIG_PATH="$PWD" \
pkg-config --variable="$1" gimp-%{lib_api_version} | \
sed \
-e 's|^%_mandir|%%{_mandir}|' \
-e 's|^%_infodir|%%{_infodir}|' \
-e 's|^%_includedir|%%{_includedir}|' \
-e 's|^%_libdir|%%{_libdir}|' \
-e 's|^%_localstatedir|%%{_localstatedir}|' \
-e 's|^%_sharedstatedir|%%{_sharedstatedir}|' \
-e 's|^%_sysconfdir|%%{_sysconfdir}|' \
-e 's|^%_datadir|%%{_datadir}|' \
-e 's|^%_libexecdir|%%{_libexecdir}|' \
-e 's|^%_sbindir|%%{_sbindir}|' \
-e 's|^%_bindir|%%{_bindir}|' \
-e 's|^%_exec_prefix|%%{_exec_prefix}|' \
-e 's|^%_prefix|%%{_prefix}|'
}
_gimp_datadir="$(gimp_pc_extract_normalize gimpdatadir)"
_gimp_libdir="$(gimp_pc_extract_normalize gimplibdir)"
_gimp_sysconfdir="$(gimp_pc_extract_normalize gimpsysconfdir)"
_gimp_localedir="$(gimp_pc_extract_normalize gimplocaledir)"
_gimp_scriptdir="${_gimp_datadir}/scripts"
_gimp_plugindir="${_gimp_libdir}/plug-ins"
cat << EOF > macros.gimp
# RPM macros for GIMP
%%_gimp_datadir ${_gimp_datadir}
%%_gimp_libdir ${_gimp_libdir}
%%_gimp_sysconfdir ${_gimp_sysconfdir}
%%_gimp_localedir ${_gimp_localedir}
%%_gimp_scriptdir ${_gimp_scriptdir}
%%_gimp_plugindir ${_gimp_plugindir}
EOF
auto-import changelog data from gimp-1.1.25-1.src.rpm Mon Aug 21 2000 Matt Wilson <msw@redhat.com> - 1.1.25 Fri Aug 11 2000 Jonathan Blandford <jrb@redhat.com> - Up Epoch and release Tue Aug 08 2000 Matt Wilson <msw@redhat.com> - fixed directory mode on %{_defaultdocdir}/gimp-%{version} Wed Aug 02 2000 Matt Wilson <msw@redhat.com> - rebuild against new libpng Mon Jul 31 2000 Matt Wilson <msw@redhat.com> - muck with modules filelist generation to avoid getting files owned by two packages Mon Jul 17 2000 Matt Wilson <msw@redhat.com> - disable aa plugin - moved the group back to Applications/Multimedia - added desktop entry back into the file list Thu Jul 13 2000 Prospector <bugzilla@redhat.com> - automatic rebuild Sat Jul 01 2000 Matt Wilson <msw@redhat.com> - 1.1.24 Sat Jun 17 2000 Matt Wilson <msw@redhat.com> - use root, not bin for the default owner. Fri Jun 16 2000 Preston Brown <pbrown@redhat.com> - add back missing system .desktop entry Sat Jun 10 2000 Matt Wilson <msw@redhat.com> - rebuilt against fixed gcc Mon Jun 05 2000 Matt Wilson <msw@redhat.com> - defattr for gimp-perl Sun Jun 04 2000 Matt Wilson <msw@redhat.com> - drop out all of \.a$ from the main package list Sat Jun 03 2000 Matt Wilson <msw@redhat.com> - 1.1.23 - use __NO_MATH_INLINES for now on ix86 - massive FHS surgery Tue May 16 2000 Matt Wilson <msw@redhat.com> - 1.1.22 Mon Apr 24 2000 Matt Wilson <msw@redhat.com> - 1.1.20 Fri Apr 14 2000 Matt Wilson <msw@redhat.com> - include subdirs in the help find - remove gimp-help-files generation - both gimp and gimp-perl own prefix/lib/gimp/1.1/plug-ins - both gimp and gimp-devel own prefix/lib/gimp/1.1/modules Thu Apr 13 2000 Matt Wilson <msw@redhat.com> - 1.1.19 - get all .mo files Wed Jan 19 2000 Gregory McLean <gregm@comstar.net> - Version 1.1.15 Wed Dec 22 1999 Gregory McLean <gregm@comstar.net> - Version 1.1.14 - Added some auto %files section generation scriptlets
2004-09-09 05:10:44 +00:00
%install
%make_install
install -D -m0644 macros.gimp %{buildroot}%{_rpmconfigdir}/macros.d/macros.gimp
2009-04-14 15:39:24 +00:00
# remove rpaths
find %buildroot -type f -print0 | xargs -0 -L 20 chrpath --delete --keepgoing 2>/dev/null || :
# remove .la files
find %buildroot -name \*.la -exec %__rm -f {} \;
auto-import changelog data from gimp-1.1.25-1.src.rpm Mon Aug 21 2000 Matt Wilson <msw@redhat.com> - 1.1.25 Fri Aug 11 2000 Jonathan Blandford <jrb@redhat.com> - Up Epoch and release Tue Aug 08 2000 Matt Wilson <msw@redhat.com> - fixed directory mode on %{_defaultdocdir}/gimp-%{version} Wed Aug 02 2000 Matt Wilson <msw@redhat.com> - rebuild against new libpng Mon Jul 31 2000 Matt Wilson <msw@redhat.com> - muck with modules filelist generation to avoid getting files owned by two packages Mon Jul 17 2000 Matt Wilson <msw@redhat.com> - disable aa plugin - moved the group back to Applications/Multimedia - added desktop entry back into the file list Thu Jul 13 2000 Prospector <bugzilla@redhat.com> - automatic rebuild Sat Jul 01 2000 Matt Wilson <msw@redhat.com> - 1.1.24 Sat Jun 17 2000 Matt Wilson <msw@redhat.com> - use root, not bin for the default owner. Fri Jun 16 2000 Preston Brown <pbrown@redhat.com> - add back missing system .desktop entry Sat Jun 10 2000 Matt Wilson <msw@redhat.com> - rebuilt against fixed gcc Mon Jun 05 2000 Matt Wilson <msw@redhat.com> - defattr for gimp-perl Sun Jun 04 2000 Matt Wilson <msw@redhat.com> - drop out all of \.a$ from the main package list Sat Jun 03 2000 Matt Wilson <msw@redhat.com> - 1.1.23 - use __NO_MATH_INLINES for now on ix86 - massive FHS surgery Tue May 16 2000 Matt Wilson <msw@redhat.com> - 1.1.22 Mon Apr 24 2000 Matt Wilson <msw@redhat.com> - 1.1.20 Fri Apr 14 2000 Matt Wilson <msw@redhat.com> - include subdirs in the help find - remove gimp-help-files generation - both gimp and gimp-perl own prefix/lib/gimp/1.1/plug-ins - both gimp and gimp-devel own prefix/lib/gimp/1.1/modules Thu Apr 13 2000 Matt Wilson <msw@redhat.com> - 1.1.19 - get all .mo files Wed Jan 19 2000 Gregory McLean <gregm@comstar.net> - Version 1.1.15 Wed Dec 22 1999 Gregory McLean <gregm@comstar.net> - Version 1.1.14 - Added some auto %files section generation scriptlets
2004-09-09 05:10:44 +00:00
#
# Plugins and modules change often (grab the executeable ones)
#
2016-10-25 15:56:25 +00:00
find %{buildroot}%{_libdir}/gimp/%{lib_api_version} -type f | sed "s@^%{buildroot}@@g" | grep -v '\.a$' > gimp-plugin-files
2018-08-24 14:48:09 +00:00
find %{buildroot}%{_libdir}/gimp/%{lib_api_version}/* -type d | sed "s@^%{buildroot}@%%dir @g" >> gimp-plugin-files
# .pyc and .pyo files don't exist yet
grep "\.py$" gimp-plugin-files > gimp-plugin-files-py
for file in $(cat gimp-plugin-files-py); do
for newfile in ${file}c ${file}o; do
2012-11-21 13:45:03 +00:00
grep -F -q -x "$newfile" gimp-plugin-files || echo "$newfile"
done
done >> gimp-plugin-files
auto-import changelog data from gimp-1.1.25-1.src.rpm Mon Aug 21 2000 Matt Wilson <msw@redhat.com> - 1.1.25 Fri Aug 11 2000 Jonathan Blandford <jrb@redhat.com> - Up Epoch and release Tue Aug 08 2000 Matt Wilson <msw@redhat.com> - fixed directory mode on %{_defaultdocdir}/gimp-%{version} Wed Aug 02 2000 Matt Wilson <msw@redhat.com> - rebuild against new libpng Mon Jul 31 2000 Matt Wilson <msw@redhat.com> - muck with modules filelist generation to avoid getting files owned by two packages Mon Jul 17 2000 Matt Wilson <msw@redhat.com> - disable aa plugin - moved the group back to Applications/Multimedia - added desktop entry back into the file list Thu Jul 13 2000 Prospector <bugzilla@redhat.com> - automatic rebuild Sat Jul 01 2000 Matt Wilson <msw@redhat.com> - 1.1.24 Sat Jun 17 2000 Matt Wilson <msw@redhat.com> - use root, not bin for the default owner. Fri Jun 16 2000 Preston Brown <pbrown@redhat.com> - add back missing system .desktop entry Sat Jun 10 2000 Matt Wilson <msw@redhat.com> - rebuilt against fixed gcc Mon Jun 05 2000 Matt Wilson <msw@redhat.com> - defattr for gimp-perl Sun Jun 04 2000 Matt Wilson <msw@redhat.com> - drop out all of \.a$ from the main package list Sat Jun 03 2000 Matt Wilson <msw@redhat.com> - 1.1.23 - use __NO_MATH_INLINES for now on ix86 - massive FHS surgery Tue May 16 2000 Matt Wilson <msw@redhat.com> - 1.1.22 Mon Apr 24 2000 Matt Wilson <msw@redhat.com> - 1.1.20 Fri Apr 14 2000 Matt Wilson <msw@redhat.com> - include subdirs in the help find - remove gimp-help-files generation - both gimp and gimp-perl own prefix/lib/gimp/1.1/plug-ins - both gimp and gimp-devel own prefix/lib/gimp/1.1/modules Thu Apr 13 2000 Matt Wilson <msw@redhat.com> - 1.1.19 - get all .mo files Wed Jan 19 2000 Gregory McLean <gregm@comstar.net> - Version 1.1.15 Wed Dec 22 1999 Gregory McLean <gregm@comstar.net> - Version 1.1.14 - Added some auto %files section generation scriptlets
2004-09-09 05:10:44 +00:00
%if %{with python_separately_bytecompile}
%py_byte_compile %{__python2} %{buildroot}%{_libdir}/gimp/%{lib_api_version}
%endif
%if %{with static}
2016-10-25 15:56:25 +00:00
find %{buildroot}%{_libdir}/gimp/%{lib_api_version} -type f | sed "s@^%{buildroot}@@g" | grep '\.a$' > gimp-static-files
%endif
auto-import changelog data from gimp-1.1.25-1.src.rpm Mon Aug 21 2000 Matt Wilson <msw@redhat.com> - 1.1.25 Fri Aug 11 2000 Jonathan Blandford <jrb@redhat.com> - Up Epoch and release Tue Aug 08 2000 Matt Wilson <msw@redhat.com> - fixed directory mode on %{_defaultdocdir}/gimp-%{version} Wed Aug 02 2000 Matt Wilson <msw@redhat.com> - rebuild against new libpng Mon Jul 31 2000 Matt Wilson <msw@redhat.com> - muck with modules filelist generation to avoid getting files owned by two packages Mon Jul 17 2000 Matt Wilson <msw@redhat.com> - disable aa plugin - moved the group back to Applications/Multimedia - added desktop entry back into the file list Thu Jul 13 2000 Prospector <bugzilla@redhat.com> - automatic rebuild Sat Jul 01 2000 Matt Wilson <msw@redhat.com> - 1.1.24 Sat Jun 17 2000 Matt Wilson <msw@redhat.com> - use root, not bin for the default owner. Fri Jun 16 2000 Preston Brown <pbrown@redhat.com> - add back missing system .desktop entry Sat Jun 10 2000 Matt Wilson <msw@redhat.com> - rebuilt against fixed gcc Mon Jun 05 2000 Matt Wilson <msw@redhat.com> - defattr for gimp-perl Sun Jun 04 2000 Matt Wilson <msw@redhat.com> - drop out all of \.a$ from the main package list Sat Jun 03 2000 Matt Wilson <msw@redhat.com> - 1.1.23 - use __NO_MATH_INLINES for now on ix86 - massive FHS surgery Tue May 16 2000 Matt Wilson <msw@redhat.com> - 1.1.22 Mon Apr 24 2000 Matt Wilson <msw@redhat.com> - 1.1.20 Fri Apr 14 2000 Matt Wilson <msw@redhat.com> - include subdirs in the help find - remove gimp-help-files generation - both gimp and gimp-perl own prefix/lib/gimp/1.1/plug-ins - both gimp and gimp-devel own prefix/lib/gimp/1.1/modules Thu Apr 13 2000 Matt Wilson <msw@redhat.com> - 1.1.19 - get all .mo files Wed Jan 19 2000 Gregory McLean <gregm@comstar.net> - Version 1.1.15 Wed Dec 22 1999 Gregory McLean <gregm@comstar.net> - Version 1.1.14 - Added some auto %files section generation scriptlets
2004-09-09 05:10:44 +00:00
#
# Auto detect the lang files.
#
%find_lang gimp%{gettext_version}
%find_lang gimp%{gettext_version}-std-plug-ins
%find_lang gimp%{gettext_version}-script-fu
%find_lang gimp%{gettext_version}-libgimp
%find_lang gimp%{gettext_version}-python
2021-10-19 11:46:57 +00:00
cat gimp%{gettext_version}.lang gimp%{gettext_version}-std-plug-ins.lang gimp%{gettext_version}-script-fu.lang gimp%{gettext_version}-libgimp.lang gimp%{gettext_version}-python.lang > gimp-all.lang
auto-import changelog data from gimp-1.1.25-1.src.rpm Mon Aug 21 2000 Matt Wilson <msw@redhat.com> - 1.1.25 Fri Aug 11 2000 Jonathan Blandford <jrb@redhat.com> - Up Epoch and release Tue Aug 08 2000 Matt Wilson <msw@redhat.com> - fixed directory mode on %{_defaultdocdir}/gimp-%{version} Wed Aug 02 2000 Matt Wilson <msw@redhat.com> - rebuild against new libpng Mon Jul 31 2000 Matt Wilson <msw@redhat.com> - muck with modules filelist generation to avoid getting files owned by two packages Mon Jul 17 2000 Matt Wilson <msw@redhat.com> - disable aa plugin - moved the group back to Applications/Multimedia - added desktop entry back into the file list Thu Jul 13 2000 Prospector <bugzilla@redhat.com> - automatic rebuild Sat Jul 01 2000 Matt Wilson <msw@redhat.com> - 1.1.24 Sat Jun 17 2000 Matt Wilson <msw@redhat.com> - use root, not bin for the default owner. Fri Jun 16 2000 Preston Brown <pbrown@redhat.com> - add back missing system .desktop entry Sat Jun 10 2000 Matt Wilson <msw@redhat.com> - rebuilt against fixed gcc Mon Jun 05 2000 Matt Wilson <msw@redhat.com> - defattr for gimp-perl Sun Jun 04 2000 Matt Wilson <msw@redhat.com> - drop out all of \.a$ from the main package list Sat Jun 03 2000 Matt Wilson <msw@redhat.com> - 1.1.23 - use __NO_MATH_INLINES for now on ix86 - massive FHS surgery Tue May 16 2000 Matt Wilson <msw@redhat.com> - 1.1.22 Mon Apr 24 2000 Matt Wilson <msw@redhat.com> - 1.1.20 Fri Apr 14 2000 Matt Wilson <msw@redhat.com> - include subdirs in the help find - remove gimp-help-files generation - both gimp and gimp-perl own prefix/lib/gimp/1.1/plug-ins - both gimp and gimp-devel own prefix/lib/gimp/1.1/modules Thu Apr 13 2000 Matt Wilson <msw@redhat.com> - 1.1.19 - get all .mo files Wed Jan 19 2000 Gregory McLean <gregm@comstar.net> - Version 1.1.15 Wed Dec 22 1999 Gregory McLean <gregm@comstar.net> - Version 1.1.14 - Added some auto %files section generation scriptlets
2004-09-09 05:10:44 +00:00
#
# Build the master filelists generated from the above mess.
#
auto-import changelog data from gimp-2.0-1.pre3.4.1.src.rpm Tue Mar 02 2004 Elliot Lee <sopwith@redhat.com> - rebuilt Wed Feb 18 2004 Tim Waugh <twaugh@redhat.com> - Added epoch to gimp-perl obsoletes tag. Fri Feb 13 2004 Elliot Lee <sopwith@redhat.com> - rebuilt Fri Feb 13 2004 Nils Philippsen <nphilipp@redhat.com> - fix typo in %_enable_print macro - install convenience symlinks (gimp, gimp-remote, gimptool) Sun Feb 08 2004 Nils Philippsen <nphilipp@redhat.com> - require gtk2, glib2 >= 2.3.0, pango >= 1.3.0 Fri Feb 06 2004 Nils Philippsen <nphilipp@redhat.com> - version 2.0pre3 - update buildroot patch - enable building static libs (old default) - have '--define'able enable_* - disable building of print plugin, it's in another package Fri Jan 30 2004 Nils Philippsen <nphilipp@redhat.com> - rebuild against new libcroco Sat Jan 24 2004 Nils Philippsen <nphilipp@redhat.com> - require %{epoch}:%{version}-%{release} of base package in sub packages - rather use %{?smp_mflags} to actually exploit SMP build systems Fri Jan 23 2004 Nils Philippsen <nphilipp@redhat.com> - set epoch to 1 to upgrade old gimp rpms - obsolete gimp2-devel, gimp-beta-devel to allow upgrade of 3rd party repo packages, gimp-perl to upgrade old package Fri Jan 23 2004 Nils Philippsen <nphilipp@redhat.com> - fix binary name in desktop file ("gimp-1.3" until gimp-2.0 becomes final, to allow coexistence with old gimp-1.x packages) - system intltool buildrequires perl-XML-Parser, work around that, yay Thu Jan 22 2004 Nils Philippsen <nphilipp@redhat.com> - build as gimp, not gimp-beta - remove all the beta blurbs - fix automake dependency - fix libtool usage Tue Jan 20 2004 Nils Philippsen <nphilipp@redhat.com> - version 2.0pre2 Sun Jan 11 2004 Nils Philippsen <nphilipp@redhat.com> - version 2.0pre1 Tue Nov 25 2003 Nils Philippsen <nphilipp@redhat.com> - version 1.3.23 beta Fri Nov 21 2003 Nils Philippsen <nphilipp@redhat.com> - version 1.3.22 beta Thu Oct 16 2003 Nils Philippsen <nphilipp@redhat.com> - leave gtk-doc documentation in place - move gimptool to main package - own some directories previously not owned
2004-09-09 05:14:05 +00:00
cat gimp-plugin-files gimp-all.lang > gimp.files
auto-import changelog data from gimp-1.1.25-1.src.rpm Mon Aug 21 2000 Matt Wilson <msw@redhat.com> - 1.1.25 Fri Aug 11 2000 Jonathan Blandford <jrb@redhat.com> - Up Epoch and release Tue Aug 08 2000 Matt Wilson <msw@redhat.com> - fixed directory mode on %{_defaultdocdir}/gimp-%{version} Wed Aug 02 2000 Matt Wilson <msw@redhat.com> - rebuild against new libpng Mon Jul 31 2000 Matt Wilson <msw@redhat.com> - muck with modules filelist generation to avoid getting files owned by two packages Mon Jul 17 2000 Matt Wilson <msw@redhat.com> - disable aa plugin - moved the group back to Applications/Multimedia - added desktop entry back into the file list Thu Jul 13 2000 Prospector <bugzilla@redhat.com> - automatic rebuild Sat Jul 01 2000 Matt Wilson <msw@redhat.com> - 1.1.24 Sat Jun 17 2000 Matt Wilson <msw@redhat.com> - use root, not bin for the default owner. Fri Jun 16 2000 Preston Brown <pbrown@redhat.com> - add back missing system .desktop entry Sat Jun 10 2000 Matt Wilson <msw@redhat.com> - rebuilt against fixed gcc Mon Jun 05 2000 Matt Wilson <msw@redhat.com> - defattr for gimp-perl Sun Jun 04 2000 Matt Wilson <msw@redhat.com> - drop out all of \.a$ from the main package list Sat Jun 03 2000 Matt Wilson <msw@redhat.com> - 1.1.23 - use __NO_MATH_INLINES for now on ix86 - massive FHS surgery Tue May 16 2000 Matt Wilson <msw@redhat.com> - 1.1.22 Mon Apr 24 2000 Matt Wilson <msw@redhat.com> - 1.1.20 Fri Apr 14 2000 Matt Wilson <msw@redhat.com> - include subdirs in the help find - remove gimp-help-files generation - both gimp and gimp-perl own prefix/lib/gimp/1.1/plug-ins - both gimp and gimp-devel own prefix/lib/gimp/1.1/modules Thu Apr 13 2000 Matt Wilson <msw@redhat.com> - 1.1.19 - get all .mo files Wed Jan 19 2000 Gregory McLean <gregm@comstar.net> - Version 1.1.15 Wed Dec 22 1999 Gregory McLean <gregm@comstar.net> - Version 1.1.14 - Added some auto %files section generation scriptlets
2004-09-09 05:10:44 +00:00
%if %{with default_binary}
# install default binary symlinks
ln -snf gimp-%{binver} %{buildroot}%{_bindir}/gimp
ln -snf gimp-%{binver}.1 %{buildroot}%{_mandir}/man1/gimp.1
ln -snf gimp-console-%{binver} %{buildroot}/%{_bindir}/gimp-console
ln -snf gimp-console-%{binver}.1 %{buildroot}/%{_mandir}/man1/gimp-console.1
ln -snf gimptool-%{lib_api_version} %{buildroot}%{_bindir}/gimptool
ln -snf gimptool-%{lib_api_version}.1 %{buildroot}%{_mandir}/man1/gimptool.1
ln -snf gimprc-%{binver}.5 %{buildroot}/%{_mandir}/man5/gimprc.5
auto-import changelog data from gimp-2.0-1.pre3.4.1.src.rpm Tue Mar 02 2004 Elliot Lee <sopwith@redhat.com> - rebuilt Wed Feb 18 2004 Tim Waugh <twaugh@redhat.com> - Added epoch to gimp-perl obsoletes tag. Fri Feb 13 2004 Elliot Lee <sopwith@redhat.com> - rebuilt Fri Feb 13 2004 Nils Philippsen <nphilipp@redhat.com> - fix typo in %_enable_print macro - install convenience symlinks (gimp, gimp-remote, gimptool) Sun Feb 08 2004 Nils Philippsen <nphilipp@redhat.com> - require gtk2, glib2 >= 2.3.0, pango >= 1.3.0 Fri Feb 06 2004 Nils Philippsen <nphilipp@redhat.com> - version 2.0pre3 - update buildroot patch - enable building static libs (old default) - have '--define'able enable_* - disable building of print plugin, it's in another package Fri Jan 30 2004 Nils Philippsen <nphilipp@redhat.com> - rebuild against new libcroco Sat Jan 24 2004 Nils Philippsen <nphilipp@redhat.com> - require %{epoch}:%{version}-%{release} of base package in sub packages - rather use %{?smp_mflags} to actually exploit SMP build systems Fri Jan 23 2004 Nils Philippsen <nphilipp@redhat.com> - set epoch to 1 to upgrade old gimp rpms - obsolete gimp2-devel, gimp-beta-devel to allow upgrade of 3rd party repo packages, gimp-perl to upgrade old package Fri Jan 23 2004 Nils Philippsen <nphilipp@redhat.com> - fix binary name in desktop file ("gimp-1.3" until gimp-2.0 becomes final, to allow coexistence with old gimp-1.x packages) - system intltool buildrequires perl-XML-Parser, work around that, yay Thu Jan 22 2004 Nils Philippsen <nphilipp@redhat.com> - build as gimp, not gimp-beta - remove all the beta blurbs - fix automake dependency - fix libtool usage Tue Jan 20 2004 Nils Philippsen <nphilipp@redhat.com> - version 2.0pre2 Sun Jan 11 2004 Nils Philippsen <nphilipp@redhat.com> - version 2.0pre1 Tue Nov 25 2003 Nils Philippsen <nphilipp@redhat.com> - version 1.3.23 beta Fri Nov 21 2003 Nils Philippsen <nphilipp@redhat.com> - version 1.3.22 beta Thu Oct 16 2003 Nils Philippsen <nphilipp@redhat.com> - leave gtk-doc documentation in place - move gimptool to main package - own some directories previously not owned
2004-09-09 05:14:05 +00:00
%endif
%if %{with hardcoded_python}
# Hardcode python interpreter in shipped python plug-ins. This actually has no
# effect because gimp maps hashbangs with and without the /usr/bin/env detour
# to the system python interpreter, but this will avoid false alarms.
grep -E -rl '^#!\s*/usr/bin/env\s+python' --include=\*.py "%{buildroot}" |
while read file; do
sed -r '1s,^#!\s*/usr/bin/env\s+python$,#!%{__python2},' -i "$file"
sed -r '1s,^#!\s*/usr/bin/env\s+python2$,#!%{__python2},' -i "$file"
done
echo "%{__python2}=%{__python2}" >> %{buildroot}%{_libdir}/gimp/%{lib_api_version}/interpreters/pygimp.interp
%endif
2012-10-20 12:33:18 +00:00
%check
2012-10-20 13:08:13 +00:00
# skip tests known to be problematic in a specific version
2014-02-11 17:06:34 +00:00
%if "%{version}" == "%{?skip_checks_version}"
2012-10-20 13:26:24 +00:00
pushd app/tests
for problematic in %{?skip_checks}; do
2012-10-20 13:08:13 +00:00
rm -f "$problematic"
cat << EOF > "$problematic"
#!/bin/sh
echo Skipping test "$problematic"
EOF
chmod +x "$problematic"
done
popd
%endif
make check %{?_smp_mflags}
2012-10-20 12:33:18 +00:00
%ldconfig_scriptlets libs
auto-import changelog data from gimp-1.1.25-1.src.rpm Mon Aug 21 2000 Matt Wilson <msw@redhat.com> - 1.1.25 Fri Aug 11 2000 Jonathan Blandford <jrb@redhat.com> - Up Epoch and release Tue Aug 08 2000 Matt Wilson <msw@redhat.com> - fixed directory mode on %{_defaultdocdir}/gimp-%{version} Wed Aug 02 2000 Matt Wilson <msw@redhat.com> - rebuild against new libpng Mon Jul 31 2000 Matt Wilson <msw@redhat.com> - muck with modules filelist generation to avoid getting files owned by two packages Mon Jul 17 2000 Matt Wilson <msw@redhat.com> - disable aa plugin - moved the group back to Applications/Multimedia - added desktop entry back into the file list Thu Jul 13 2000 Prospector <bugzilla@redhat.com> - automatic rebuild Sat Jul 01 2000 Matt Wilson <msw@redhat.com> - 1.1.24 Sat Jun 17 2000 Matt Wilson <msw@redhat.com> - use root, not bin for the default owner. Fri Jun 16 2000 Preston Brown <pbrown@redhat.com> - add back missing system .desktop entry Sat Jun 10 2000 Matt Wilson <msw@redhat.com> - rebuilt against fixed gcc Mon Jun 05 2000 Matt Wilson <msw@redhat.com> - defattr for gimp-perl Sun Jun 04 2000 Matt Wilson <msw@redhat.com> - drop out all of \.a$ from the main package list Sat Jun 03 2000 Matt Wilson <msw@redhat.com> - 1.1.23 - use __NO_MATH_INLINES for now on ix86 - massive FHS surgery Tue May 16 2000 Matt Wilson <msw@redhat.com> - 1.1.22 Mon Apr 24 2000 Matt Wilson <msw@redhat.com> - 1.1.20 Fri Apr 14 2000 Matt Wilson <msw@redhat.com> - include subdirs in the help find - remove gimp-help-files generation - both gimp and gimp-perl own prefix/lib/gimp/1.1/plug-ins - both gimp and gimp-devel own prefix/lib/gimp/1.1/modules Thu Apr 13 2000 Matt Wilson <msw@redhat.com> - 1.1.19 - get all .mo files Wed Jan 19 2000 Gregory McLean <gregm@comstar.net> - Version 1.1.15 Wed Dec 22 1999 Gregory McLean <gregm@comstar.net> - Version 1.1.14 - Added some auto %files section generation scriptlets
2004-09-09 05:10:44 +00:00
%files -f gimp.files
2016-10-25 15:54:50 +00:00
%license COPYING
%doc AUTHORS ChangeLog NEWS README
%doc docs/*.xcf*
%{_datadir}/applications/*.desktop
%{_datadir}/metainfo/*.appdata.xml
%{_datadir}/metainfo/*.metainfo.xml
auto-import changelog data from gimp-1.1.25-1.src.rpm Mon Aug 21 2000 Matt Wilson <msw@redhat.com> - 1.1.25 Fri Aug 11 2000 Jonathan Blandford <jrb@redhat.com> - Up Epoch and release Tue Aug 08 2000 Matt Wilson <msw@redhat.com> - fixed directory mode on %{_defaultdocdir}/gimp-%{version} Wed Aug 02 2000 Matt Wilson <msw@redhat.com> - rebuild against new libpng Mon Jul 31 2000 Matt Wilson <msw@redhat.com> - muck with modules filelist generation to avoid getting files owned by two packages Mon Jul 17 2000 Matt Wilson <msw@redhat.com> - disable aa plugin - moved the group back to Applications/Multimedia - added desktop entry back into the file list Thu Jul 13 2000 Prospector <bugzilla@redhat.com> - automatic rebuild Sat Jul 01 2000 Matt Wilson <msw@redhat.com> - 1.1.24 Sat Jun 17 2000 Matt Wilson <msw@redhat.com> - use root, not bin for the default owner. Fri Jun 16 2000 Preston Brown <pbrown@redhat.com> - add back missing system .desktop entry Sat Jun 10 2000 Matt Wilson <msw@redhat.com> - rebuilt against fixed gcc Mon Jun 05 2000 Matt Wilson <msw@redhat.com> - defattr for gimp-perl Sun Jun 04 2000 Matt Wilson <msw@redhat.com> - drop out all of \.a$ from the main package list Sat Jun 03 2000 Matt Wilson <msw@redhat.com> - 1.1.23 - use __NO_MATH_INLINES for now on ix86 - massive FHS surgery Tue May 16 2000 Matt Wilson <msw@redhat.com> - 1.1.22 Mon Apr 24 2000 Matt Wilson <msw@redhat.com> - 1.1.20 Fri Apr 14 2000 Matt Wilson <msw@redhat.com> - include subdirs in the help find - remove gimp-help-files generation - both gimp and gimp-perl own prefix/lib/gimp/1.1/plug-ins - both gimp and gimp-devel own prefix/lib/gimp/1.1/modules Thu Apr 13 2000 Matt Wilson <msw@redhat.com> - 1.1.19 - get all .mo files Wed Jan 19 2000 Gregory McLean <gregm@comstar.net> - Version 1.1.15 Wed Dec 22 1999 Gregory McLean <gregm@comstar.net> - Version 1.1.14 - Added some auto %files section generation scriptlets
2004-09-09 05:10:44 +00:00
auto-import changelog data from gimp-2.0-1.pre3.4.1.src.rpm Tue Mar 02 2004 Elliot Lee <sopwith@redhat.com> - rebuilt Wed Feb 18 2004 Tim Waugh <twaugh@redhat.com> - Added epoch to gimp-perl obsoletes tag. Fri Feb 13 2004 Elliot Lee <sopwith@redhat.com> - rebuilt Fri Feb 13 2004 Nils Philippsen <nphilipp@redhat.com> - fix typo in %_enable_print macro - install convenience symlinks (gimp, gimp-remote, gimptool) Sun Feb 08 2004 Nils Philippsen <nphilipp@redhat.com> - require gtk2, glib2 >= 2.3.0, pango >= 1.3.0 Fri Feb 06 2004 Nils Philippsen <nphilipp@redhat.com> - version 2.0pre3 - update buildroot patch - enable building static libs (old default) - have '--define'able enable_* - disable building of print plugin, it's in another package Fri Jan 30 2004 Nils Philippsen <nphilipp@redhat.com> - rebuild against new libcroco Sat Jan 24 2004 Nils Philippsen <nphilipp@redhat.com> - require %{epoch}:%{version}-%{release} of base package in sub packages - rather use %{?smp_mflags} to actually exploit SMP build systems Fri Jan 23 2004 Nils Philippsen <nphilipp@redhat.com> - set epoch to 1 to upgrade old gimp rpms - obsolete gimp2-devel, gimp-beta-devel to allow upgrade of 3rd party repo packages, gimp-perl to upgrade old package Fri Jan 23 2004 Nils Philippsen <nphilipp@redhat.com> - fix binary name in desktop file ("gimp-1.3" until gimp-2.0 becomes final, to allow coexistence with old gimp-1.x packages) - system intltool buildrequires perl-XML-Parser, work around that, yay Thu Jan 22 2004 Nils Philippsen <nphilipp@redhat.com> - build as gimp, not gimp-beta - remove all the beta blurbs - fix automake dependency - fix libtool usage Tue Jan 20 2004 Nils Philippsen <nphilipp@redhat.com> - version 2.0pre2 Sun Jan 11 2004 Nils Philippsen <nphilipp@redhat.com> - version 2.0pre1 Tue Nov 25 2003 Nils Philippsen <nphilipp@redhat.com> - version 1.3.23 beta Fri Nov 21 2003 Nils Philippsen <nphilipp@redhat.com> - version 1.3.22 beta Thu Oct 16 2003 Nils Philippsen <nphilipp@redhat.com> - leave gtk-doc documentation in place - move gimptool to main package - own some directories previously not owned
2004-09-09 05:14:05 +00:00
%dir %{_datadir}/gimp
%dir %{_datadir}/gimp/%{lib_api_version}
%{_datadir}/gimp/%{lib_api_version}/dynamics/
%{_datadir}/gimp/%{lib_api_version}/file-raw/
%{_datadir}/gimp/%{lib_api_version}/menus/
%{_datadir}/gimp/%{lib_api_version}/tags/
%{_datadir}/gimp/%{lib_api_version}/tips/
2012-03-13 10:34:31 +00:00
%{_datadir}/gimp/%{lib_api_version}/tool-presets/
%{_datadir}/gimp/%{lib_api_version}/ui/
auto-import changelog data from gimp-2.0-1.pre3.4.1.src.rpm Tue Mar 02 2004 Elliot Lee <sopwith@redhat.com> - rebuilt Wed Feb 18 2004 Tim Waugh <twaugh@redhat.com> - Added epoch to gimp-perl obsoletes tag. Fri Feb 13 2004 Elliot Lee <sopwith@redhat.com> - rebuilt Fri Feb 13 2004 Nils Philippsen <nphilipp@redhat.com> - fix typo in %_enable_print macro - install convenience symlinks (gimp, gimp-remote, gimptool) Sun Feb 08 2004 Nils Philippsen <nphilipp@redhat.com> - require gtk2, glib2 >= 2.3.0, pango >= 1.3.0 Fri Feb 06 2004 Nils Philippsen <nphilipp@redhat.com> - version 2.0pre3 - update buildroot patch - enable building static libs (old default) - have '--define'able enable_* - disable building of print plugin, it's in another package Fri Jan 30 2004 Nils Philippsen <nphilipp@redhat.com> - rebuild against new libcroco Sat Jan 24 2004 Nils Philippsen <nphilipp@redhat.com> - require %{epoch}:%{version}-%{release} of base package in sub packages - rather use %{?smp_mflags} to actually exploit SMP build systems Fri Jan 23 2004 Nils Philippsen <nphilipp@redhat.com> - set epoch to 1 to upgrade old gimp rpms - obsolete gimp2-devel, gimp-beta-devel to allow upgrade of 3rd party repo packages, gimp-perl to upgrade old package Fri Jan 23 2004 Nils Philippsen <nphilipp@redhat.com> - fix binary name in desktop file ("gimp-1.3" until gimp-2.0 becomes final, to allow coexistence with old gimp-1.x packages) - system intltool buildrequires perl-XML-Parser, work around that, yay Thu Jan 22 2004 Nils Philippsen <nphilipp@redhat.com> - build as gimp, not gimp-beta - remove all the beta blurbs - fix automake dependency - fix libtool usage Tue Jan 20 2004 Nils Philippsen <nphilipp@redhat.com> - version 2.0pre2 Sun Jan 11 2004 Nils Philippsen <nphilipp@redhat.com> - version 2.0pre1 Tue Nov 25 2003 Nils Philippsen <nphilipp@redhat.com> - version 1.3.23 beta Fri Nov 21 2003 Nils Philippsen <nphilipp@redhat.com> - version 1.3.22 beta Thu Oct 16 2003 Nils Philippsen <nphilipp@redhat.com> - leave gtk-doc documentation in place - move gimptool to main package - own some directories previously not owned
2004-09-09 05:14:05 +00:00
%dir %{_libdir}/gimp
%dir %{_libdir}/gimp/%{lib_api_version}
%if %{with helpbrowser}
%exclude %{_libdir}/gimp/%{lib_api_version}/plug-ins/help-browser
%endif
%{_datadir}/gimp/%{lib_api_version}/brushes/
%{_datadir}/gimp/%{lib_api_version}/fractalexplorer/
%{_datadir}/gimp/%{lib_api_version}/gfig/
%{_datadir}/gimp/%{lib_api_version}/gflare/
%{_datadir}/gimp/%{lib_api_version}/gimpressionist/
%{_datadir}/gimp/%{lib_api_version}/gradients/
%{_datadir}/gimp/%{lib_api_version}/icons/
%{_datadir}/gimp/%{lib_api_version}/images/
%{_datadir}/gimp/%{lib_api_version}/palettes/
%{_datadir}/gimp/%{lib_api_version}/patterns/
%{_datadir}/gimp/%{lib_api_version}/scripts/
%{_datadir}/gimp/%{lib_api_version}/themes/
%{_datadir}/gimp/%{lib_api_version}/gimp-release
auto-import changelog data from gimp-2.0-1.pre3.4.1.src.rpm Tue Mar 02 2004 Elliot Lee <sopwith@redhat.com> - rebuilt Wed Feb 18 2004 Tim Waugh <twaugh@redhat.com> - Added epoch to gimp-perl obsoletes tag. Fri Feb 13 2004 Elliot Lee <sopwith@redhat.com> - rebuilt Fri Feb 13 2004 Nils Philippsen <nphilipp@redhat.com> - fix typo in %_enable_print macro - install convenience symlinks (gimp, gimp-remote, gimptool) Sun Feb 08 2004 Nils Philippsen <nphilipp@redhat.com> - require gtk2, glib2 >= 2.3.0, pango >= 1.3.0 Fri Feb 06 2004 Nils Philippsen <nphilipp@redhat.com> - version 2.0pre3 - update buildroot patch - enable building static libs (old default) - have '--define'able enable_* - disable building of print plugin, it's in another package Fri Jan 30 2004 Nils Philippsen <nphilipp@redhat.com> - rebuild against new libcroco Sat Jan 24 2004 Nils Philippsen <nphilipp@redhat.com> - require %{epoch}:%{version}-%{release} of base package in sub packages - rather use %{?smp_mflags} to actually exploit SMP build systems Fri Jan 23 2004 Nils Philippsen <nphilipp@redhat.com> - set epoch to 1 to upgrade old gimp rpms - obsolete gimp2-devel, gimp-beta-devel to allow upgrade of 3rd party repo packages, gimp-perl to upgrade old package Fri Jan 23 2004 Nils Philippsen <nphilipp@redhat.com> - fix binary name in desktop file ("gimp-1.3" until gimp-2.0 becomes final, to allow coexistence with old gimp-1.x packages) - system intltool buildrequires perl-XML-Parser, work around that, yay Thu Jan 22 2004 Nils Philippsen <nphilipp@redhat.com> - build as gimp, not gimp-beta - remove all the beta blurbs - fix automake dependency - fix libtool usage Tue Jan 20 2004 Nils Philippsen <nphilipp@redhat.com> - version 2.0pre2 Sun Jan 11 2004 Nils Philippsen <nphilipp@redhat.com> - version 2.0pre1 Tue Nov 25 2003 Nils Philippsen <nphilipp@redhat.com> - version 1.3.23 beta Fri Nov 21 2003 Nils Philippsen <nphilipp@redhat.com> - version 1.3.22 beta Thu Oct 16 2003 Nils Philippsen <nphilipp@redhat.com> - leave gtk-doc documentation in place - move gimptool to main package - own some directories previously not owned
2004-09-09 05:14:05 +00:00
%dir %{_sysconfdir}/gimp
%dir %{_sysconfdir}/gimp/%{lib_api_version}
%config(noreplace) %{_sysconfdir}/gimp/%{lib_api_version}/controllerrc
%config(noreplace) %{_sysconfdir}/gimp/%{lib_api_version}/gimprc
%config(noreplace) %{_sysconfdir}/gimp/%{lib_api_version}/gtkrc
%config(noreplace) %{_sysconfdir}/gimp/%{lib_api_version}/unitrc
%config(noreplace) %{_sysconfdir}/gimp/%{lib_api_version}/sessionrc
%config(noreplace) %{_sysconfdir}/gimp/%{lib_api_version}/templaterc
%config(noreplace) %{_sysconfdir}/gimp/%{lib_api_version}/menurc
%config(noreplace) %{_sysconfdir}/gimp/%{lib_api_version}/toolrc
auto-import changelog data from gimp-2.0-1.pre3.4.1.src.rpm Tue Mar 02 2004 Elliot Lee <sopwith@redhat.com> - rebuilt Wed Feb 18 2004 Tim Waugh <twaugh@redhat.com> - Added epoch to gimp-perl obsoletes tag. Fri Feb 13 2004 Elliot Lee <sopwith@redhat.com> - rebuilt Fri Feb 13 2004 Nils Philippsen <nphilipp@redhat.com> - fix typo in %_enable_print macro - install convenience symlinks (gimp, gimp-remote, gimptool) Sun Feb 08 2004 Nils Philippsen <nphilipp@redhat.com> - require gtk2, glib2 >= 2.3.0, pango >= 1.3.0 Fri Feb 06 2004 Nils Philippsen <nphilipp@redhat.com> - version 2.0pre3 - update buildroot patch - enable building static libs (old default) - have '--define'able enable_* - disable building of print plugin, it's in another package Fri Jan 30 2004 Nils Philippsen <nphilipp@redhat.com> - rebuild against new libcroco Sat Jan 24 2004 Nils Philippsen <nphilipp@redhat.com> - require %{epoch}:%{version}-%{release} of base package in sub packages - rather use %{?smp_mflags} to actually exploit SMP build systems Fri Jan 23 2004 Nils Philippsen <nphilipp@redhat.com> - set epoch to 1 to upgrade old gimp rpms - obsolete gimp2-devel, gimp-beta-devel to allow upgrade of 3rd party repo packages, gimp-perl to upgrade old package Fri Jan 23 2004 Nils Philippsen <nphilipp@redhat.com> - fix binary name in desktop file ("gimp-1.3" until gimp-2.0 becomes final, to allow coexistence with old gimp-1.x packages) - system intltool buildrequires perl-XML-Parser, work around that, yay Thu Jan 22 2004 Nils Philippsen <nphilipp@redhat.com> - build as gimp, not gimp-beta - remove all the beta blurbs - fix automake dependency - fix libtool usage Tue Jan 20 2004 Nils Philippsen <nphilipp@redhat.com> - version 2.0pre2 Sun Jan 11 2004 Nils Philippsen <nphilipp@redhat.com> - version 2.0pre1 Tue Nov 25 2003 Nils Philippsen <nphilipp@redhat.com> - version 1.3.23 beta Fri Nov 21 2003 Nils Philippsen <nphilipp@redhat.com> - version 1.3.22 beta Thu Oct 16 2003 Nils Philippsen <nphilipp@redhat.com> - leave gtk-doc documentation in place - move gimptool to main package - own some directories previously not owned
2004-09-09 05:14:05 +00:00
2004-11-03 17:31:58 +00:00
%{_bindir}/gimp-%{binver}
%{_bindir}/gimp-console-%{binver}
auto-import changelog data from gimp-2.0-1.pre3.4.1.src.rpm Tue Mar 02 2004 Elliot Lee <sopwith@redhat.com> - rebuilt Wed Feb 18 2004 Tim Waugh <twaugh@redhat.com> - Added epoch to gimp-perl obsoletes tag. Fri Feb 13 2004 Elliot Lee <sopwith@redhat.com> - rebuilt Fri Feb 13 2004 Nils Philippsen <nphilipp@redhat.com> - fix typo in %_enable_print macro - install convenience symlinks (gimp, gimp-remote, gimptool) Sun Feb 08 2004 Nils Philippsen <nphilipp@redhat.com> - require gtk2, glib2 >= 2.3.0, pango >= 1.3.0 Fri Feb 06 2004 Nils Philippsen <nphilipp@redhat.com> - version 2.0pre3 - update buildroot patch - enable building static libs (old default) - have '--define'able enable_* - disable building of print plugin, it's in another package Fri Jan 30 2004 Nils Philippsen <nphilipp@redhat.com> - rebuild against new libcroco Sat Jan 24 2004 Nils Philippsen <nphilipp@redhat.com> - require %{epoch}:%{version}-%{release} of base package in sub packages - rather use %{?smp_mflags} to actually exploit SMP build systems Fri Jan 23 2004 Nils Philippsen <nphilipp@redhat.com> - set epoch to 1 to upgrade old gimp rpms - obsolete gimp2-devel, gimp-beta-devel to allow upgrade of 3rd party repo packages, gimp-perl to upgrade old package Fri Jan 23 2004 Nils Philippsen <nphilipp@redhat.com> - fix binary name in desktop file ("gimp-1.3" until gimp-2.0 becomes final, to allow coexistence with old gimp-1.x packages) - system intltool buildrequires perl-XML-Parser, work around that, yay Thu Jan 22 2004 Nils Philippsen <nphilipp@redhat.com> - build as gimp, not gimp-beta - remove all the beta blurbs - fix automake dependency - fix libtool usage Tue Jan 20 2004 Nils Philippsen <nphilipp@redhat.com> - version 2.0pre2 Sun Jan 11 2004 Nils Philippsen <nphilipp@redhat.com> - version 2.0pre1 Tue Nov 25 2003 Nils Philippsen <nphilipp@redhat.com> - version 1.3.23 beta Fri Nov 21 2003 Nils Philippsen <nphilipp@redhat.com> - version 1.3.22 beta Thu Oct 16 2003 Nils Philippsen <nphilipp@redhat.com> - leave gtk-doc documentation in place - move gimptool to main package - own some directories previously not owned
2004-09-09 05:14:05 +00:00
%if %{with default_binary}
auto-import changelog data from gimp-2.0-1.pre3.4.1.src.rpm Tue Mar 02 2004 Elliot Lee <sopwith@redhat.com> - rebuilt Wed Feb 18 2004 Tim Waugh <twaugh@redhat.com> - Added epoch to gimp-perl obsoletes tag. Fri Feb 13 2004 Elliot Lee <sopwith@redhat.com> - rebuilt Fri Feb 13 2004 Nils Philippsen <nphilipp@redhat.com> - fix typo in %_enable_print macro - install convenience symlinks (gimp, gimp-remote, gimptool) Sun Feb 08 2004 Nils Philippsen <nphilipp@redhat.com> - require gtk2, glib2 >= 2.3.0, pango >= 1.3.0 Fri Feb 06 2004 Nils Philippsen <nphilipp@redhat.com> - version 2.0pre3 - update buildroot patch - enable building static libs (old default) - have '--define'able enable_* - disable building of print plugin, it's in another package Fri Jan 30 2004 Nils Philippsen <nphilipp@redhat.com> - rebuild against new libcroco Sat Jan 24 2004 Nils Philippsen <nphilipp@redhat.com> - require %{epoch}:%{version}-%{release} of base package in sub packages - rather use %{?smp_mflags} to actually exploit SMP build systems Fri Jan 23 2004 Nils Philippsen <nphilipp@redhat.com> - set epoch to 1 to upgrade old gimp rpms - obsolete gimp2-devel, gimp-beta-devel to allow upgrade of 3rd party repo packages, gimp-perl to upgrade old package Fri Jan 23 2004 Nils Philippsen <nphilipp@redhat.com> - fix binary name in desktop file ("gimp-1.3" until gimp-2.0 becomes final, to allow coexistence with old gimp-1.x packages) - system intltool buildrequires perl-XML-Parser, work around that, yay Thu Jan 22 2004 Nils Philippsen <nphilipp@redhat.com> - build as gimp, not gimp-beta - remove all the beta blurbs - fix automake dependency - fix libtool usage Tue Jan 20 2004 Nils Philippsen <nphilipp@redhat.com> - version 2.0pre2 Sun Jan 11 2004 Nils Philippsen <nphilipp@redhat.com> - version 2.0pre1 Tue Nov 25 2003 Nils Philippsen <nphilipp@redhat.com> - version 1.3.23 beta Fri Nov 21 2003 Nils Philippsen <nphilipp@redhat.com> - version 1.3.22 beta Thu Oct 16 2003 Nils Philippsen <nphilipp@redhat.com> - leave gtk-doc documentation in place - move gimptool to main package - own some directories previously not owned
2004-09-09 05:14:05 +00:00
%{_bindir}/gimp
%{_bindir}/gimp-console
auto-import changelog data from gimp-2.0-1.pre3.4.1.src.rpm Tue Mar 02 2004 Elliot Lee <sopwith@redhat.com> - rebuilt Wed Feb 18 2004 Tim Waugh <twaugh@redhat.com> - Added epoch to gimp-perl obsoletes tag. Fri Feb 13 2004 Elliot Lee <sopwith@redhat.com> - rebuilt Fri Feb 13 2004 Nils Philippsen <nphilipp@redhat.com> - fix typo in %_enable_print macro - install convenience symlinks (gimp, gimp-remote, gimptool) Sun Feb 08 2004 Nils Philippsen <nphilipp@redhat.com> - require gtk2, glib2 >= 2.3.0, pango >= 1.3.0 Fri Feb 06 2004 Nils Philippsen <nphilipp@redhat.com> - version 2.0pre3 - update buildroot patch - enable building static libs (old default) - have '--define'able enable_* - disable building of print plugin, it's in another package Fri Jan 30 2004 Nils Philippsen <nphilipp@redhat.com> - rebuild against new libcroco Sat Jan 24 2004 Nils Philippsen <nphilipp@redhat.com> - require %{epoch}:%{version}-%{release} of base package in sub packages - rather use %{?smp_mflags} to actually exploit SMP build systems Fri Jan 23 2004 Nils Philippsen <nphilipp@redhat.com> - set epoch to 1 to upgrade old gimp rpms - obsolete gimp2-devel, gimp-beta-devel to allow upgrade of 3rd party repo packages, gimp-perl to upgrade old package Fri Jan 23 2004 Nils Philippsen <nphilipp@redhat.com> - fix binary name in desktop file ("gimp-1.3" until gimp-2.0 becomes final, to allow coexistence with old gimp-1.x packages) - system intltool buildrequires perl-XML-Parser, work around that, yay Thu Jan 22 2004 Nils Philippsen <nphilipp@redhat.com> - build as gimp, not gimp-beta - remove all the beta blurbs - fix automake dependency - fix libtool usage Tue Jan 20 2004 Nils Philippsen <nphilipp@redhat.com> - version 2.0pre2 Sun Jan 11 2004 Nils Philippsen <nphilipp@redhat.com> - version 2.0pre1 Tue Nov 25 2003 Nils Philippsen <nphilipp@redhat.com> - version 1.3.23 beta Fri Nov 21 2003 Nils Philippsen <nphilipp@redhat.com> - version 1.3.22 beta Thu Oct 16 2003 Nils Philippsen <nphilipp@redhat.com> - leave gtk-doc documentation in place - move gimptool to main package - own some directories previously not owned
2004-09-09 05:14:05 +00:00
%endif
auto-import changelog data from gimp-1.1.25-1.src.rpm Mon Aug 21 2000 Matt Wilson <msw@redhat.com> - 1.1.25 Fri Aug 11 2000 Jonathan Blandford <jrb@redhat.com> - Up Epoch and release Tue Aug 08 2000 Matt Wilson <msw@redhat.com> - fixed directory mode on %{_defaultdocdir}/gimp-%{version} Wed Aug 02 2000 Matt Wilson <msw@redhat.com> - rebuild against new libpng Mon Jul 31 2000 Matt Wilson <msw@redhat.com> - muck with modules filelist generation to avoid getting files owned by two packages Mon Jul 17 2000 Matt Wilson <msw@redhat.com> - disable aa plugin - moved the group back to Applications/Multimedia - added desktop entry back into the file list Thu Jul 13 2000 Prospector <bugzilla@redhat.com> - automatic rebuild Sat Jul 01 2000 Matt Wilson <msw@redhat.com> - 1.1.24 Sat Jun 17 2000 Matt Wilson <msw@redhat.com> - use root, not bin for the default owner. Fri Jun 16 2000 Preston Brown <pbrown@redhat.com> - add back missing system .desktop entry Sat Jun 10 2000 Matt Wilson <msw@redhat.com> - rebuilt against fixed gcc Mon Jun 05 2000 Matt Wilson <msw@redhat.com> - defattr for gimp-perl Sun Jun 04 2000 Matt Wilson <msw@redhat.com> - drop out all of \.a$ from the main package list Sat Jun 03 2000 Matt Wilson <msw@redhat.com> - 1.1.23 - use __NO_MATH_INLINES for now on ix86 - massive FHS surgery Tue May 16 2000 Matt Wilson <msw@redhat.com> - 1.1.22 Mon Apr 24 2000 Matt Wilson <msw@redhat.com> - 1.1.20 Fri Apr 14 2000 Matt Wilson <msw@redhat.com> - include subdirs in the help find - remove gimp-help-files generation - both gimp and gimp-perl own prefix/lib/gimp/1.1/plug-ins - both gimp and gimp-devel own prefix/lib/gimp/1.1/modules Thu Apr 13 2000 Matt Wilson <msw@redhat.com> - 1.1.19 - get all .mo files Wed Jan 19 2000 Gregory McLean <gregm@comstar.net> - Version 1.1.15 Wed Dec 22 1999 Gregory McLean <gregm@comstar.net> - Version 1.1.14 - Added some auto %files section generation scriptlets
2004-09-09 05:10:44 +00:00
2018-07-05 11:04:15 +00:00
%{_bindir}/gimp-test-clipboard-%{lib_api_version}
%{_libexecdir}/gimp-debug-tool-%{lib_api_version}
2004-11-03 17:31:58 +00:00
%{_mandir}/man1/gimp-%{binver}.1*
%{_mandir}/man1/gimp-console-%{binver}.1*
2004-11-03 17:31:58 +00:00
%{_mandir}/man5/gimprc-%{binver}.5*
auto-import changelog data from gimp-1.1.25-1.src.rpm Mon Aug 21 2000 Matt Wilson <msw@redhat.com> - 1.1.25 Fri Aug 11 2000 Jonathan Blandford <jrb@redhat.com> - Up Epoch and release Tue Aug 08 2000 Matt Wilson <msw@redhat.com> - fixed directory mode on %{_defaultdocdir}/gimp-%{version} Wed Aug 02 2000 Matt Wilson <msw@redhat.com> - rebuild against new libpng Mon Jul 31 2000 Matt Wilson <msw@redhat.com> - muck with modules filelist generation to avoid getting files owned by two packages Mon Jul 17 2000 Matt Wilson <msw@redhat.com> - disable aa plugin - moved the group back to Applications/Multimedia - added desktop entry back into the file list Thu Jul 13 2000 Prospector <bugzilla@redhat.com> - automatic rebuild Sat Jul 01 2000 Matt Wilson <msw@redhat.com> - 1.1.24 Sat Jun 17 2000 Matt Wilson <msw@redhat.com> - use root, not bin for the default owner. Fri Jun 16 2000 Preston Brown <pbrown@redhat.com> - add back missing system .desktop entry Sat Jun 10 2000 Matt Wilson <msw@redhat.com> - rebuilt against fixed gcc Mon Jun 05 2000 Matt Wilson <msw@redhat.com> - defattr for gimp-perl Sun Jun 04 2000 Matt Wilson <msw@redhat.com> - drop out all of \.a$ from the main package list Sat Jun 03 2000 Matt Wilson <msw@redhat.com> - 1.1.23 - use __NO_MATH_INLINES for now on ix86 - massive FHS surgery Tue May 16 2000 Matt Wilson <msw@redhat.com> - 1.1.22 Mon Apr 24 2000 Matt Wilson <msw@redhat.com> - 1.1.20 Fri Apr 14 2000 Matt Wilson <msw@redhat.com> - include subdirs in the help find - remove gimp-help-files generation - both gimp and gimp-perl own prefix/lib/gimp/1.1/plug-ins - both gimp and gimp-devel own prefix/lib/gimp/1.1/modules Thu Apr 13 2000 Matt Wilson <msw@redhat.com> - 1.1.19 - get all .mo files Wed Jan 19 2000 Gregory McLean <gregm@comstar.net> - Version 1.1.15 Wed Dec 22 1999 Gregory McLean <gregm@comstar.net> - Version 1.1.14 - Added some auto %files section generation scriptlets
2004-09-09 05:10:44 +00:00
%if %{with default_binary}
2005-07-26 07:19:41 +00:00
%{_mandir}/man1/gimp.1*
%{_mandir}/man1/gimp-console.1*
2005-07-26 07:19:41 +00:00
%{_mandir}/man5/gimprc.5*
%endif
%{_datadir}/icons/hicolor/*/apps/gimp.png
%files libs
2016-10-25 15:54:50 +00:00
%license COPYING
%doc AUTHORS ChangeLog NEWS README
%{_libdir}/libgimp-%{lib_api_version}.so.%{interface_age}.%{lib_minor}.%{lib_micro}
%{_libdir}/libgimp-%{lib_api_version}.so.%{interface_age}
%{_libdir}/libgimpbase-%{lib_api_version}.so.%{interface_age}.%{lib_minor}.%{lib_micro}
%{_libdir}/libgimpbase-%{lib_api_version}.so.%{interface_age}
%{_libdir}/libgimpcolor-%{lib_api_version}.so.%{interface_age}.%{lib_minor}.%{lib_micro}
%{_libdir}/libgimpcolor-%{lib_api_version}.so.%{interface_age}
%{_libdir}/libgimpconfig-%{lib_api_version}.so.%{interface_age}.%{lib_minor}.%{lib_micro}
%{_libdir}/libgimpconfig-%{lib_api_version}.so.%{interface_age}
%{_libdir}/libgimpmath-%{lib_api_version}.so.%{interface_age}.%{lib_minor}.%{lib_micro}
%{_libdir}/libgimpmath-%{lib_api_version}.so.%{interface_age}
%{_libdir}/libgimpmodule-%{lib_api_version}.so.%{interface_age}.%{lib_minor}.%{lib_micro}
%{_libdir}/libgimpmodule-%{lib_api_version}.so.%{interface_age}
%{_libdir}/libgimpthumb-%{lib_api_version}.so.%{interface_age}.%{lib_minor}.%{lib_micro}
%{_libdir}/libgimpthumb-%{lib_api_version}.so.%{interface_age}
%{_libdir}/libgimpui-%{lib_api_version}.so.%{interface_age}.%{lib_minor}.%{lib_micro}
%{_libdir}/libgimpui-%{lib_api_version}.so.%{interface_age}
%{_libdir}/libgimpwidgets-%{lib_api_version}.so.%{interface_age}.%{lib_minor}.%{lib_micro}
%{_libdir}/libgimpwidgets-%{lib_api_version}.so.%{interface_age}
%if %{with static}
%files devel -f gimp-static-files
%else
auto-import changelog data from gimp-1.1.25-1.src.rpm Mon Aug 21 2000 Matt Wilson <msw@redhat.com> - 1.1.25 Fri Aug 11 2000 Jonathan Blandford <jrb@redhat.com> - Up Epoch and release Tue Aug 08 2000 Matt Wilson <msw@redhat.com> - fixed directory mode on %{_defaultdocdir}/gimp-%{version} Wed Aug 02 2000 Matt Wilson <msw@redhat.com> - rebuild against new libpng Mon Jul 31 2000 Matt Wilson <msw@redhat.com> - muck with modules filelist generation to avoid getting files owned by two packages Mon Jul 17 2000 Matt Wilson <msw@redhat.com> - disable aa plugin - moved the group back to Applications/Multimedia - added desktop entry back into the file list Thu Jul 13 2000 Prospector <bugzilla@redhat.com> - automatic rebuild Sat Jul 01 2000 Matt Wilson <msw@redhat.com> - 1.1.24 Sat Jun 17 2000 Matt Wilson <msw@redhat.com> - use root, not bin for the default owner. Fri Jun 16 2000 Preston Brown <pbrown@redhat.com> - add back missing system .desktop entry Sat Jun 10 2000 Matt Wilson <msw@redhat.com> - rebuilt against fixed gcc Mon Jun 05 2000 Matt Wilson <msw@redhat.com> - defattr for gimp-perl Sun Jun 04 2000 Matt Wilson <msw@redhat.com> - drop out all of \.a$ from the main package list Sat Jun 03 2000 Matt Wilson <msw@redhat.com> - 1.1.23 - use __NO_MATH_INLINES for now on ix86 - massive FHS surgery Tue May 16 2000 Matt Wilson <msw@redhat.com> - 1.1.22 Mon Apr 24 2000 Matt Wilson <msw@redhat.com> - 1.1.20 Fri Apr 14 2000 Matt Wilson <msw@redhat.com> - include subdirs in the help find - remove gimp-help-files generation - both gimp and gimp-perl own prefix/lib/gimp/1.1/plug-ins - both gimp and gimp-devel own prefix/lib/gimp/1.1/modules Thu Apr 13 2000 Matt Wilson <msw@redhat.com> - 1.1.19 - get all .mo files Wed Jan 19 2000 Gregory McLean <gregm@comstar.net> - Version 1.1.15 Wed Dec 22 1999 Gregory McLean <gregm@comstar.net> - Version 1.1.14 - Added some auto %files section generation scriptlets
2004-09-09 05:10:44 +00:00
%files devel
%endif
%doc HACKING README.i18n
%doc %{_datadir}/gtk-doc
2005-07-26 07:19:41 +00:00
%{_libdir}/*.so
%ifnos linux
%{_libdir}/*.la
%{_libdir}/gimp/%{lib_api_version}/modules/*.la
%endif
%{_datadir}/aclocal/*.m4
%{_includedir}/gimp-%{lib_api_version}
auto-import changelog data from gimp-2.0-1.pre3.4.1.src.rpm Tue Mar 02 2004 Elliot Lee <sopwith@redhat.com> - rebuilt Wed Feb 18 2004 Tim Waugh <twaugh@redhat.com> - Added epoch to gimp-perl obsoletes tag. Fri Feb 13 2004 Elliot Lee <sopwith@redhat.com> - rebuilt Fri Feb 13 2004 Nils Philippsen <nphilipp@redhat.com> - fix typo in %_enable_print macro - install convenience symlinks (gimp, gimp-remote, gimptool) Sun Feb 08 2004 Nils Philippsen <nphilipp@redhat.com> - require gtk2, glib2 >= 2.3.0, pango >= 1.3.0 Fri Feb 06 2004 Nils Philippsen <nphilipp@redhat.com> - version 2.0pre3 - update buildroot patch - enable building static libs (old default) - have '--define'able enable_* - disable building of print plugin, it's in another package Fri Jan 30 2004 Nils Philippsen <nphilipp@redhat.com> - rebuild against new libcroco Sat Jan 24 2004 Nils Philippsen <nphilipp@redhat.com> - require %{epoch}:%{version}-%{release} of base package in sub packages - rather use %{?smp_mflags} to actually exploit SMP build systems Fri Jan 23 2004 Nils Philippsen <nphilipp@redhat.com> - set epoch to 1 to upgrade old gimp rpms - obsolete gimp2-devel, gimp-beta-devel to allow upgrade of 3rd party repo packages, gimp-perl to upgrade old package Fri Jan 23 2004 Nils Philippsen <nphilipp@redhat.com> - fix binary name in desktop file ("gimp-1.3" until gimp-2.0 becomes final, to allow coexistence with old gimp-1.x packages) - system intltool buildrequires perl-XML-Parser, work around that, yay Thu Jan 22 2004 Nils Philippsen <nphilipp@redhat.com> - build as gimp, not gimp-beta - remove all the beta blurbs - fix automake dependency - fix libtool usage Tue Jan 20 2004 Nils Philippsen <nphilipp@redhat.com> - version 2.0pre2 Sun Jan 11 2004 Nils Philippsen <nphilipp@redhat.com> - version 2.0pre1 Tue Nov 25 2003 Nils Philippsen <nphilipp@redhat.com> - version 1.3.23 beta Fri Nov 21 2003 Nils Philippsen <nphilipp@redhat.com> - version 1.3.22 beta Thu Oct 16 2003 Nils Philippsen <nphilipp@redhat.com> - leave gtk-doc documentation in place - move gimptool to main package - own some directories previously not owned
2004-09-09 05:14:05 +00:00
%{_libdir}/pkgconfig/*
%{_rpmconfigdir}/macros.d/macros.gimp
auto-import changelog data from gimp-1.1.25-1.src.rpm Mon Aug 21 2000 Matt Wilson <msw@redhat.com> - 1.1.25 Fri Aug 11 2000 Jonathan Blandford <jrb@redhat.com> - Up Epoch and release Tue Aug 08 2000 Matt Wilson <msw@redhat.com> - fixed directory mode on %{_defaultdocdir}/gimp-%{version} Wed Aug 02 2000 Matt Wilson <msw@redhat.com> - rebuild against new libpng Mon Jul 31 2000 Matt Wilson <msw@redhat.com> - muck with modules filelist generation to avoid getting files owned by two packages Mon Jul 17 2000 Matt Wilson <msw@redhat.com> - disable aa plugin - moved the group back to Applications/Multimedia - added desktop entry back into the file list Thu Jul 13 2000 Prospector <bugzilla@redhat.com> - automatic rebuild Sat Jul 01 2000 Matt Wilson <msw@redhat.com> - 1.1.24 Sat Jun 17 2000 Matt Wilson <msw@redhat.com> - use root, not bin for the default owner. Fri Jun 16 2000 Preston Brown <pbrown@redhat.com> - add back missing system .desktop entry Sat Jun 10 2000 Matt Wilson <msw@redhat.com> - rebuilt against fixed gcc Mon Jun 05 2000 Matt Wilson <msw@redhat.com> - defattr for gimp-perl Sun Jun 04 2000 Matt Wilson <msw@redhat.com> - drop out all of \.a$ from the main package list Sat Jun 03 2000 Matt Wilson <msw@redhat.com> - 1.1.23 - use __NO_MATH_INLINES for now on ix86 - massive FHS surgery Tue May 16 2000 Matt Wilson <msw@redhat.com> - 1.1.22 Mon Apr 24 2000 Matt Wilson <msw@redhat.com> - 1.1.20 Fri Apr 14 2000 Matt Wilson <msw@redhat.com> - include subdirs in the help find - remove gimp-help-files generation - both gimp and gimp-perl own prefix/lib/gimp/1.1/plug-ins - both gimp and gimp-devel own prefix/lib/gimp/1.1/modules Thu Apr 13 2000 Matt Wilson <msw@redhat.com> - 1.1.19 - get all .mo files Wed Jan 19 2000 Gregory McLean <gregm@comstar.net> - Version 1.1.15 Wed Dec 22 1999 Gregory McLean <gregm@comstar.net> - Version 1.1.14 - Added some auto %files section generation scriptlets
2004-09-09 05:10:44 +00:00
%files devel-tools
%{_bindir}/gimptool-%{lib_api_version}
%{_mandir}/man1/gimptool-%{lib_api_version}.1*
%if %{with default_binary}
%{_bindir}/gimptool
%{_mandir}/man1/gimptool.1*
%endif
2012-10-20 12:48:09 +00:00
%if %{with helpbrowser}
2008-10-08 16:35:24 +00:00
%files help-browser
%{_libdir}/gimp/%{lib_api_version}/plug-ins/help-browser
2012-10-20 12:48:09 +00:00
%endif
2008-10-08 16:35:24 +00:00
auto-import changelog data from gimp-1.1.25-1.src.rpm Mon Aug 21 2000 Matt Wilson <msw@redhat.com> - 1.1.25 Fri Aug 11 2000 Jonathan Blandford <jrb@redhat.com> - Up Epoch and release Tue Aug 08 2000 Matt Wilson <msw@redhat.com> - fixed directory mode on %{_defaultdocdir}/gimp-%{version} Wed Aug 02 2000 Matt Wilson <msw@redhat.com> - rebuild against new libpng Mon Jul 31 2000 Matt Wilson <msw@redhat.com> - muck with modules filelist generation to avoid getting files owned by two packages Mon Jul 17 2000 Matt Wilson <msw@redhat.com> - disable aa plugin - moved the group back to Applications/Multimedia - added desktop entry back into the file list Thu Jul 13 2000 Prospector <bugzilla@redhat.com> - automatic rebuild Sat Jul 01 2000 Matt Wilson <msw@redhat.com> - 1.1.24 Sat Jun 17 2000 Matt Wilson <msw@redhat.com> - use root, not bin for the default owner. Fri Jun 16 2000 Preston Brown <pbrown@redhat.com> - add back missing system .desktop entry Sat Jun 10 2000 Matt Wilson <msw@redhat.com> - rebuilt against fixed gcc Mon Jun 05 2000 Matt Wilson <msw@redhat.com> - defattr for gimp-perl Sun Jun 04 2000 Matt Wilson <msw@redhat.com> - drop out all of \.a$ from the main package list Sat Jun 03 2000 Matt Wilson <msw@redhat.com> - 1.1.23 - use __NO_MATH_INLINES for now on ix86 - massive FHS surgery Tue May 16 2000 Matt Wilson <msw@redhat.com> - 1.1.22 Mon Apr 24 2000 Matt Wilson <msw@redhat.com> - 1.1.20 Fri Apr 14 2000 Matt Wilson <msw@redhat.com> - include subdirs in the help find - remove gimp-help-files generation - both gimp and gimp-perl own prefix/lib/gimp/1.1/plug-ins - both gimp and gimp-devel own prefix/lib/gimp/1.1/modules Thu Apr 13 2000 Matt Wilson <msw@redhat.com> - 1.1.19 - get all .mo files Wed Jan 19 2000 Gregory McLean <gregm@comstar.net> - Version 1.1.15 Wed Dec 22 1999 Gregory McLean <gregm@comstar.net> - Version 1.1.14 - Added some auto %files section generation scriptlets
2004-09-09 05:10:44 +00:00
%changelog
%autochangelog