%define subver 1.3 %define revision 16 %define sname gimp Summary: The GNU Image Manipulation Program. Name: gimp2 Version: %subver.%revision Release: alt1 License: GPL, LGPL Group: Graphics Source: %name-%version.tar.bz2 Source3: %name.desktop Source10: %name-16.xpm Source11: %name-32.xpm Source12: %name-48.xpm Requires: lib%name = %version-%release URL: http://www.gimp.org/ Requires: gtk2 >= 2.0.0, aalib # Automatically added by buildreq on Wed Mar 19 2003 BuildRequires: fontconfig-devel freetype2-devel glib2-devel libart_lgpl-devel libatk-devel libgtk+2-devel libjpeg-devel libpango-devel libpng-devel libtiff-devel pkgconfig zlib-devel libgpm-devel liblcms-devel libexpat-devel %description 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. This is developer version. %package -n lib%name Summary: GIMP libraries Group: System/Libraries License: LGPL %package -n lib%name-devel Summary: GIMP plugin and extension development kit. Group: Graphics Requires: gtk2-devel >= 2.0.0, pkgconfig Requires: lib%name = %version-%release %package -n lib%name-devel-static Summary: GIMP static libraries Group: Development/C Requires: gtk+-devel-static Requires: lib%name-devel = %version-%release %description -n lib%name Libraries used to communicate between The GIMP and other programs which may function as "GIMP plugins". %description -n lib%name-devel Development libraries and header files for writing GIMP plugins and extensions. %description -n lib%name-devel-static Static libraries for developing statically linked GIMP plugins and extensions. %prep %setup -q %build %configure \ --enable-default-binary \ --disable-print make %{_smp_mflags} %install rm -rf %{buildroot} make install DESTDIR=%{buildroot} mkdir -p $RPM_BUILD_ROOT{%_menudir,%_infodir,%_iconsdir/mini,%_includedir,%_bindir,%_libdir/%name/%subver/plug-ins,%_sysconfdir/X11/wmconfig} # install desktop entry (does Mandrake need this ?) install -p -m644 -D $RPM_SOURCE_DIR/%name.desktop %buildroot%_sysconfdir/X11/applnk/Graphics/%name.desktop mkdir -p $RPM_BUILD_ROOT%_iconsdir/{large,mini} install -p -m644 -D %SOURCE10 $RPM_BUILD_ROOT%_iconsdir/mini/%name-16.xpm install -p -m644 -D %SOURCE11 $RPM_BUILD_ROOT%_iconsdir/%name-32.xpm install -p -m644 -D %SOURCE12 $RPM_BUILD_ROOT%_iconsdir/large/%name-48.xpm # We don't want those find %{buildroot}%{_libdir} -name "*.la" | xargs rm -f # Execute find_lang for all components and merge the resulting lists rm -f global.lang for what in gimp14 gimp14-libgimp gimp14-std-plug-ins gimp14-script-fu; do %find_lang ${what} cat ${what}.lang >> global.lang done # cat >$RPM_BUILD_ROOT%_menudir/%sname-%subver < 1.3.16-alt1 - new version * Wed May 28 2003 Anatoly Yakushin 1.3.14-alt2 - fixed bugs in spec file, add new ru.po * Sun Apr 13 2003 Anatoly Yakushin 1.3.14-alt1 - package in Sisyphus * Mon Mar 24 2003 Anatoly Yakushin 1.3.13-alt0.1 - version 1.3.13 * Wed Mar 19 2003 Anatoly Yakushin 1.3.12-alt0.1 - Adapted spec for AltLinux * Fri Feb 14 2003 Matthias Saou - Reinvented the wheel, but packaged 1.3.11. * Fri Apr 14 2000 Matt Wilson - 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 * Thu Apr 13 2000 Matt Wilson - 1.1.19 - get all .mo files * Wed Jan 19 2000 Gregory McLean - Version 1.1.15 * Wed Dec 22 1999 Gregory McLean - Version 1.1.14 - Added some auto %files section generation scriptlets