2000-06-13 07:35:34 +08:00
|
|
|
|
%define subver @GIMP_MAJOR_VERSION@.@GIMP_MINOR_VERSION@
|
|
|
|
|
%define microver @GIMP_MICRO_VERSION@
|
|
|
|
|
%define ver @VERSION@
|
1999-12-21 07:44:01 +08:00
|
|
|
|
%define prefix /usr
|
2000-10-15 06:15:11 +08:00
|
|
|
|
%define sysconfdir /etc
|
1998-04-17 04:53:43 +08:00
|
|
|
|
|
2000-04-15 00:42:57 +08:00
|
|
|
|
Summary: The GNU Image Manipulation Program
|
2003-08-11 03:55:24 +08:00
|
|
|
|
Name: gimp
|
2003-09-03 23:17:32 +08:00
|
|
|
|
Epoch: 1
|
2000-04-15 00:42:57 +08:00
|
|
|
|
Version: %{ver}
|
|
|
|
|
Release: 1
|
1999-12-21 07:44:01 +08:00
|
|
|
|
Copyright: GPL, LGPL
|
2000-04-15 00:42:57 +08:00
|
|
|
|
Group: Applications/Graphics
|
1999-12-21 07:44:01 +08:00
|
|
|
|
URL: http://www.gimp.org/
|
2002-05-07 22:51:31 +08:00
|
|
|
|
BuildRoot: %{_tmppath}/%{name}-%{ver}-root
|
1999-12-21 07:44:01 +08:00
|
|
|
|
Docdir: %{prefix}/doc
|
|
|
|
|
Prefix: %{prefix}
|
|
|
|
|
Obsoletes: gimp-data-min
|
|
|
|
|
Obsoletes: gimp-libgimp
|
2003-09-17 22:17:20 +08:00
|
|
|
|
Requires: gtk2 >= @GTK_REQUIRED_VERSION@
|
2003-08-11 00:28:02 +08:00
|
|
|
|
Requires: libart_lgpl >= 2.0
|
2003-09-17 22:17:20 +08:00
|
|
|
|
Requires: fontconfig >= @FONTCONFIG_REQUIRED_VERSION@
|
|
|
|
|
Requires: gimp-print >= @GIMPPRINT_REQUIRED_VERSION@
|
2003-10-09 02:17:05 +08:00
|
|
|
|
Conflicts: gimp-print >= @GIMPPRINT_TOONEW_VERSION@
|
2003-09-17 22:17:20 +08:00
|
|
|
|
Requires: gtkhtml2 >= @GTKHTML2_REQUIRED_VERSION@
|
2003-10-07 23:14:41 +08:00
|
|
|
|
Requires: librsvg2 >= @RSVG_REQUIRED_VERSION@
|
2003-09-29 04:16:32 +08:00
|
|
|
|
BuildRequires: gtk2-devel >= @GTK_REQUIRED_VERSION@
|
|
|
|
|
BuildRequires: fontconfig-devel >= @FONTCONFIG_REQUIRED_VERSION@
|
|
|
|
|
BuildRequires: libart_lgpl-devel >= 2.0
|
|
|
|
|
BuildRequires: gimp-print-devel >= @GIMPPRINT_REQUIRED_VERSION@
|
|
|
|
|
BuildRequires: librsvg2-devel >= 2.0
|
|
|
|
|
BuildRequires: gtkhtml2-devel >= @GTKHTML2_REQUIRED_VERSION@
|
2002-05-07 22:51:31 +08:00
|
|
|
|
Source: ftp://ftp.gimp.org/pub/gimp/v%{subver}/%{name}-%{ver}.tar.bz2
|
1998-04-17 04:53:43 +08:00
|
|
|
|
|
|
|
|
|
%description
|
2000-04-14 05:31:04 +08:00
|
|
|
|
The 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. The GIMP has many of
|
|
|
|
|
the tools and filters you would expect to find in similar commercial
|
|
|
|
|
offerings, and some interesting extras as well. The 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.
|
|
|
|
|
|
|
|
|
|
The GIMP includes a scripting facility, but many of the included
|
|
|
|
|
scripts rely on fonts that we cannot distribute. The GIMP FTP site
|
|
|
|
|
has a package of fonts that you can install by yourself, which
|
|
|
|
|
includes all the fonts needed to run the included scripts. Some of
|
|
|
|
|
the fonts have unusual licensing requirements; all the licenses are
|
|
|
|
|
documented in the package. Get
|
|
|
|
|
ftp://ftp.gimp.org/pub/gimp/fonts/freefonts-0.10.tar.gz and
|
|
|
|
|
ftp://ftp.gimp.org/pub/gimp/fonts/sharefonts-0.10.tar.gz if you are so
|
|
|
|
|
inclined. Alternatively, choose fonts which exist on your system
|
|
|
|
|
before running the scripts.
|
|
|
|
|
|
|
|
|
|
Install the GIMP if you need a powerful image manipulation
|
|
|
|
|
program. You may also want to install other GIMP packages:
|
|
|
|
|
gimp-libgimp if you're going to use any GIMP plug-ins and
|
|
|
|
|
gimp-data-extras, which includes various extra files for the GIMP.
|
1998-04-17 04:53:43 +08:00
|
|
|
|
|
|
|
|
|
%package devel
|
|
|
|
|
Summary: GIMP plugin and extension development kit
|
1999-12-21 07:44:01 +08:00
|
|
|
|
Group: Applications/Graphics
|
2003-08-11 00:28:02 +08:00
|
|
|
|
Requires: gtk2-devel
|
1998-04-17 04:53:43 +08:00
|
|
|
|
%description devel
|
2000-04-14 05:31:04 +08:00
|
|
|
|
The gimp-devel package contains the static libraries and header files
|
|
|
|
|
for writing GNU Image Manipulation Program (GIMP) plug-ins and
|
|
|
|
|
extensions.
|
|
|
|
|
|
|
|
|
|
Install gimp-devel if you're going to create plug-ins and/or
|
|
|
|
|
extensions for the GIMP. You'll also need to install gimp-limpgimp
|
|
|
|
|
and gimp, and you may want to install gimp-data-extras.
|
1998-04-17 04:53:43 +08:00
|
|
|
|
|
2003-08-11 00:28:02 +08:00
|
|
|
|
%package docs
|
|
|
|
|
Summary: GIMP Documentation
|
|
|
|
|
Group: Applications/Graphics
|
|
|
|
|
%description docs
|
|
|
|
|
GIMP documentation
|
|
|
|
|
|
1998-04-17 04:53:43 +08:00
|
|
|
|
%prep
|
1999-12-21 07:44:01 +08:00
|
|
|
|
%setup -q
|
1998-04-17 04:53:43 +08:00
|
|
|
|
|
|
|
|
|
%build
|
1999-12-21 07:44:01 +08:00
|
|
|
|
%ifarch alpha
|
|
|
|
|
MYARCH_FLAGS="--host=alpha-redhat-linux"
|
|
|
|
|
%endif
|
|
|
|
|
|
1998-04-17 04:53:43 +08:00
|
|
|
|
if [ ! -f configure ]; then
|
2000-04-14 05:31:04 +08:00
|
|
|
|
CFLAGS="$RPM_OPT_FLAGS" ./autogen.sh --quiet $MYARCH_FLAGS --prefix=%{prefix}
|
1998-04-17 04:53:43 +08:00
|
|
|
|
else
|
2003-08-12 17:02:57 +08:00
|
|
|
|
CFLAGS="$RPM_OPT_FLAGS" %configure --prefix=%{prefix} --quiet
|
1998-04-17 04:53:43 +08:00
|
|
|
|
fi
|
2003-08-11 00:28:02 +08:00
|
|
|
|
make
|
1998-04-17 04:53:43 +08:00
|
|
|
|
|
|
|
|
|
%install
|
1999-12-23 01:07:32 +08:00
|
|
|
|
[ -n "$RPM_BUILD_ROOT" -a "$RPM_BUILD_ROOT" != / ] && rm -rf $RPM_BUILD_ROOT
|
2000-04-14 05:31:04 +08:00
|
|
|
|
mkdir -p $RPM_BUILD_ROOT/%{prefix}/info $RPM_BUILD_ROOT/%{prefix}/include \
|
|
|
|
|
$RPM_BUILD_ROOT/%{prefix}/lib $RPM_BUILD_ROOT/%{prefix}/bin
|
2003-08-11 00:28:02 +08:00
|
|
|
|
make destdir=$RPM_BUILD_ROOT DESTDIR=$RPM_BUILD_ROOT install
|
1998-04-17 04:53:43 +08:00
|
|
|
|
|
2000-01-22 05:36:13 +08:00
|
|
|
|
#
|
|
|
|
|
# Plugins and modules change often (grab the executeable ones)
|
|
|
|
|
#
|
|
|
|
|
echo "%defattr (0555, bin, bin)" > gimp-plugin-files
|
2003-02-24 00:29:30 +08:00
|
|
|
|
find $RPM_BUILD_ROOT/%{prefix}/lib/gimp/%{subver} -type f -exec file {} \; | cut -d':' -f 1 | sed "s@^$RPM_BUILD_ROOT@@g" >>gimp-plugin-files
|
2000-04-14 05:31:04 +08:00
|
|
|
|
|
2000-01-22 05:36:13 +08:00
|
|
|
|
#
|
2000-04-14 05:31:04 +08:00
|
|
|
|
# Tips
|
2000-01-22 05:36:13 +08:00
|
|
|
|
#
|
2000-04-14 05:31:04 +08:00
|
|
|
|
echo "%defattr (444, bin, bin, 555)" >gimp-tips-files
|
1999-12-23 01:07:32 +08:00
|
|
|
|
|
2000-01-22 05:36:13 +08:00
|
|
|
|
#
|
|
|
|
|
# Build the master filelists generated from the above mess.
|
|
|
|
|
#
|
2003-08-11 00:28:02 +08:00
|
|
|
|
cat gimp-plugin-files gimp-tips-files > gimp.files
|
1999-12-23 01:07:32 +08:00
|
|
|
|
|
1998-04-17 04:53:43 +08:00
|
|
|
|
%clean
|
1999-12-23 01:07:32 +08:00
|
|
|
|
[ -n "$RPM_BUILD_ROOT" -a "$RPM_BUILD_ROOT" != / ] && rm -rf $RPM_BUILD_ROOT
|
1999-12-21 13:10:18 +08:00
|
|
|
|
|
|
|
|
|
%post -p /sbin/ldconfig
|
1998-04-17 04:53:43 +08:00
|
|
|
|
|
1999-12-21 13:10:18 +08:00
|
|
|
|
%postun -p /sbin/ldconfig
|
1998-04-17 04:53:43 +08:00
|
|
|
|
|
2000-01-22 05:36:13 +08:00
|
|
|
|
%files -f gimp.files
|
2003-08-11 00:28:02 +08:00
|
|
|
|
%attr (0555, bin, man) %doc AUTHORS COPYING ChangeLog MAINTAINERS NEWS README
|
|
|
|
|
%attr (0555, bin, man) %doc docs/*.txt README.i18n README.win32
|
2000-04-14 05:31:04 +08:00
|
|
|
|
%defattr (0444, bin, bin, 0555)
|
|
|
|
|
%dir %{prefix}/share/gimp/%{subver}
|
|
|
|
|
%dir %{prefix}/share/gimp/%{subver}/tips
|
|
|
|
|
%dir %{prefix}/lib/gimp/%{subver}
|
|
|
|
|
%dir %{prefix}/lib/gimp/%{subver}/modules
|
|
|
|
|
%dir %{prefix}/lib/gimp/%{subver}/plug-ins
|
|
|
|
|
|
|
|
|
|
%{prefix}/share/gimp/%{subver}/brushes/
|
|
|
|
|
%{prefix}/share/gimp/%{subver}/fractalexplorer/
|
|
|
|
|
%{prefix}/share/gimp/%{subver}/gfig/
|
|
|
|
|
%{prefix}/share/gimp/%{subver}/gflare/
|
|
|
|
|
%{prefix}/share/gimp/%{subver}/gimpressionist/
|
|
|
|
|
%{prefix}/share/gimp/%{subver}/gradients/
|
|
|
|
|
%{prefix}/share/gimp/%{subver}/palettes/
|
|
|
|
|
%{prefix}/share/gimp/%{subver}/patterns/
|
|
|
|
|
%{prefix}/share/gimp/%{subver}/scripts/
|
|
|
|
|
|
2000-11-08 07:12:03 +08:00
|
|
|
|
%{sysconfdir}/gimp/%{subver}/gtkrc_user
|
2000-10-16 20:07:55 +08:00
|
|
|
|
%{sysconfdir}/gimp/%{subver}/unitrc
|
|
|
|
|
%{sysconfdir}/gimp/%{subver}/ps-menurc
|
2003-09-03 20:24:21 +08:00
|
|
|
|
%{sysconfdir}/gimp/%{subver}/gimprc
|
|
|
|
|
%{sysconfdir}/gimp/%{subver}/sessionrc
|
|
|
|
|
%{sysconfdir}/gimp/%{subver}/templaterc
|
2000-10-15 06:15:11 +08:00
|
|
|
|
|
1999-12-21 07:44:01 +08:00
|
|
|
|
%defattr (0555, bin, bin)
|
|
|
|
|
|
2000-01-22 05:36:13 +08:00
|
|
|
|
%{prefix}/lib/libgimp-%{subver}.so.%{microver}.0.0
|
|
|
|
|
%{prefix}/lib/libgimp-%{subver}.so.%{microver}
|
|
|
|
|
%{prefix}/lib/libgimpui-%{subver}.so.%{microver}.0.0
|
|
|
|
|
%{prefix}/lib/libgimpui-%{subver}.so.%{microver}
|
1999-12-21 13:10:18 +08:00
|
|
|
|
|
2003-08-11 00:28:02 +08:00
|
|
|
|
# 1.3
|
|
|
|
|
%{prefix}/lib/libgimpbase-%{subver}.so.%{microver}.0.0
|
|
|
|
|
%{prefix}/lib/libgimpbase-%{subver}.so.%{microver}
|
|
|
|
|
%{prefix}/lib/libgimpcolor-%{subver}.so.%{microver}.0.0
|
|
|
|
|
%{prefix}/lib/libgimpcolor-%{subver}.so.%{microver}
|
|
|
|
|
%{prefix}/lib/libgimpmath-%{subver}.so.%{microver}.0.0
|
|
|
|
|
%{prefix}/lib/libgimpmath-%{subver}.so.%{microver}
|
|
|
|
|
%{prefix}/lib/libgimpwidgets-%{subver}.so.%{microver}.0.0
|
|
|
|
|
%{prefix}/lib/libgimpwidgets-%{subver}.so.%{microver}
|
|
|
|
|
%{prefix}/lib/libgimpmodule-%{subver}.so.%{microver}.0.0
|
|
|
|
|
%{prefix}/lib/libgimpmodule-%{subver}.so.%{microver}
|
|
|
|
|
|
|
|
|
|
%{prefix}/share/gimp/%{subver}/images
|
|
|
|
|
%{prefix}/share/gimp/%{subver}/misc
|
|
|
|
|
%{prefix}/share/gimp/%{subver}/themes
|
|
|
|
|
%{prefix}/share/gimp/%{subver}/tips/gimp-tips.xml
|
|
|
|
|
|
|
|
|
|
%{prefix}/share/locale/
|
|
|
|
|
|
|
|
|
|
%{prefix}/bin/gimp-1.3
|
|
|
|
|
%{prefix}/bin/gimp-remote-1.3
|
1999-12-21 13:10:18 +08:00
|
|
|
|
|
1999-12-21 07:44:01 +08:00
|
|
|
|
%defattr (0444, bin, man)
|
1998-04-17 04:53:43 +08:00
|
|
|
|
|
2003-09-03 20:24:21 +08:00
|
|
|
|
%{prefix}/share/man/man1/*
|
|
|
|
|
%{prefix}/share/man/man5/*
|
|
|
|
|
|
1998-04-17 04:53:43 +08:00
|
|
|
|
%files devel
|
2000-04-14 05:31:04 +08:00
|
|
|
|
%defattr (0555, bin, bin, 0555)
|
2003-08-11 00:28:02 +08:00
|
|
|
|
%{prefix}/bin/gimptool-1.3
|
2000-04-14 05:31:04 +08:00
|
|
|
|
%{prefix}/lib/*.so
|
|
|
|
|
%{prefix}/lib/*.la
|
2000-04-15 00:42:57 +08:00
|
|
|
|
%dir %{prefix}/lib/gimp/%{subver}
|
|
|
|
|
%dir %{prefix}/lib/gimp/%{subver}/modules
|
2000-04-14 05:31:04 +08:00
|
|
|
|
%{prefix}/lib/gimp/%{subver}/modules/*.la
|
|
|
|
|
|
|
|
|
|
%defattr (0444, root, root, 0555)
|
2003-08-11 00:28:02 +08:00
|
|
|
|
#new stuff 1.3
|
|
|
|
|
%{prefix}/lib/pkgconfig/gimp-1.3.pc
|
|
|
|
|
%{prefix}/lib/pkgconfig/gimpui-1.3.pc
|
|
|
|
|
|
|
|
|
|
%dir %{prefix}/include/gimp-%{subver}/libgimpbase
|
|
|
|
|
%{prefix}/include/gimp-%{subver}/libgimpbase/*
|
|
|
|
|
|
|
|
|
|
%dir %{prefix}/include/gimp-%{subver}/libgimpmath
|
|
|
|
|
%{prefix}/include/gimp-%{subver}/libgimpmath/*
|
|
|
|
|
|
|
|
|
|
%dir %{prefix}/include/gimp-%{subver}/libgimpmodule
|
|
|
|
|
%{prefix}/include/gimp-%{subver}/libgimpmodule/*
|
|
|
|
|
|
|
|
|
|
%dir %{prefix}/include/gimp-%{subver}/libgimpwidgets
|
|
|
|
|
%{prefix}/include/gimp-%{subver}/libgimpwidgets/*
|
|
|
|
|
|
|
|
|
|
%dir %{prefix}/include/gimp-%{subver}/libgimpcolor
|
|
|
|
|
%{prefix}/include/gimp-%{subver}/libgimpcolor/*
|
|
|
|
|
|
|
|
|
|
%{prefix}/share/aclocal/gimp-2.0.m4
|
1999-12-21 13:10:18 +08:00
|
|
|
|
|
2000-04-14 05:31:04 +08:00
|
|
|
|
%{prefix}/lib/*.a
|
|
|
|
|
%{prefix}/lib/gimp/%{subver}/modules/*.a
|
2000-01-22 05:36:13 +08:00
|
|
|
|
|
2003-08-11 00:28:02 +08:00
|
|
|
|
%{prefix}/include/gimp-%{subver}/libgimp
|
|
|
|
|
|
|
|
|
|
%files docs
|
|
|
|
|
%{prefix}/share/gtk-doc/html/libgimp
|
|
|
|
|
%{prefix}/share/gtk-doc/html/libgimpbase
|
|
|
|
|
%{prefix}/share/gtk-doc/html/libgimpcolor
|
|
|
|
|
%{prefix}/share/gtk-doc/html/libgimpmath
|
|
|
|
|
%{prefix}/share/gtk-doc/html/libgimpmodule
|
|
|
|
|
%{prefix}/share/gtk-doc/html/libgimpwidgets
|
1998-04-17 04:53:43 +08:00
|
|
|
|
|
1999-12-23 12:19:56 +08:00
|
|
|
|
%changelog
|
2003-10-09 02:17:05 +08:00
|
|
|
|
* Wed Oct 08 2003 Ville P<>tsi <drc@gimp.org>
|
|
|
|
|
- Enabled debug packages again.
|
|
|
|
|
|
2003-09-08 19:05:26 +08:00
|
|
|
|
* Mon Sep 08 2003 Ville P<>tsi <drc@gimp.org>
|
|
|
|
|
- Remove *gck* since that is no longer installed by the source
|
|
|
|
|
|
2003-09-03 20:24:21 +08:00
|
|
|
|
* Wed Sep 03 2003 Ville P<>tsi <drc@gimp.org>
|
|
|
|
|
- Move /etc/gimp/* from the devel package to the main one.
|
|
|
|
|
|
2003-08-12 17:02:57 +08:00
|
|
|
|
* Tue Aug 12 2003 Ville P<>tsi <drc@gimp.org>
|
|
|
|
|
- Remove stripping by defining DONT_STRIP=1 in the install stage
|
|
|
|
|
- Disable building of separate debug packages
|
|
|
|
|
|
2003-08-11 00:28:02 +08:00
|
|
|
|
* Sun Aug 10 2003 Ville P<>tsi <drc@gimp.org>
|
|
|
|
|
- Bring gtk2 package names up to date
|
|
|
|
|
- Change PREFIX to DESTDIR
|
|
|
|
|
- Change files to match what 1.3 uses.
|
|
|
|
|
- Remove lots of obsolete (?) macros
|
|
|
|
|
|
2000-04-15 00:42:57 +08:00
|
|
|
|
* 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 and
|
|
|
|
|
prefix/lib/gimp/1.1/modules
|
|
|
|
|
|
2000-04-14 05:31:04 +08:00
|
|
|
|
* Thu Apr 13 2000 Matt Wilson <msw@redhat.com>
|
|
|
|
|
- 1.1.19
|
|
|
|
|
- get all .mo files
|
|
|
|
|
|
2000-01-22 05:36:13 +08:00
|
|
|
|
* Wed Jan 19 2000 Gregory McLean <gregm@comstar.net>
|
|
|
|
|
- Version 1.1.15
|
|
|
|
|
|
1999-12-23 12:19:56 +08:00
|
|
|
|
* Wed Dec 22 1999 Gregory McLean <gregm@comstar.net>
|
|
|
|
|
- Version 1.1.14
|
2000-01-22 05:36:13 +08:00
|
|
|
|
- Added some auto %files section generation scriptlets
|
1999-12-23 12:19:56 +08:00
|
|
|
|
|
|
|
|
|
|