Sisyphus repositório
Última atualização: 1 outubro 2023 | SRPMs: 18631 | Visitas: 37536402
en ru br
ALT Linux repositórios
S:2.10.34-alt1
5.0: 2.6.6-alt2
4.1: 2.4.7-alt0.M41.1
4.0: 2.4.3-alt0.M40.2

Outros repositórios
Upstream:2.4.5

Group :: Gráficos
RPM: gimp

 Main   Changelog   Spec   Patches   Sources   Download   Gear   Bugs e FR  Repocop 

%define ver_major 2.4
%define oldver 2.0

Name: gimp
Version: %ver_major.3
Release: alt0.M40.2

Summary: The GNU Image Manipulation Program
License: GPL, LGPL
Group: Graphics
Url: http://www.gimp.org/

Packager: Valery Inozemtsev <shrek at altlinux.ru>

Obsoletes: gimp2 < %version-%release
Provides: gimp2 = %version-%release
Conflicts: gimp2-perl
Requires: lib%name = %version-%release

%py_provides gimp gimpfu

Source: ftp://ftp.gimp.org/pub/gimp/v%ver_major/%name-%version.tar.bz2
Source1: %name.desktop

Patch0: gimp-2.3.14-alt-pygimp-link.patch

# Automatically added by buildreq on Sun Jun 18 2006

BuildRequires: aalib-devel gcc-c++ intltool libXmu-devel libXpm-devel libalsa-devel libart_lgpl-devel libexif-devel
BuildRequires: libexpat-devel libfreetype-devel libgtkhtml2-devel libjpeg-devel liblcms-devel libmng-devel
BuildRequires: libpng-devel librsvg2-devel libtiff-devel libwmf-devel perl-XML-Parser xml-utils xsltproc
BuildRequires: libpoppler-glib-devel libcurl-devel libdbus-glib-devel libhal-devel gnome-vfs-devel
BuildRequires: python-dev python-module-pygtk-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.

%package -n lib%name
Summary: GIMP libraries
Group: System/Libraries
License: LGPL
Obsoletes: libgimp2 < %version-%release
Provides: libgimp2 = %version-%release

%description -n lib%name
Libraries used to communicate between The GIMP and other programs which
may function as "GIMP plugins".

%package -n lib%name-devel
Summary: GIMP plugin and extension development kit
Group: Graphics
Requires: lib%name = %version-%release
Obsoletes: libgimp2-devel < %version-%release
Provides: libgimp2-devel = %version-%release

%description -n lib%name-devel
Development libraries and header files for writing GIMP plugins and extensions.

%prep
%setup -q

%patch0 -p1

%build
%__autoreconf
%configure \
--disable-gimp-console \
--enable-python \
--without-print

%make_build

%install
%make DESTDIR=%buildroot install

install -m644 %SOURCE1 %buildroot%_desktopdir/

find %buildroot%_libdir/%name -name \*.la -delete

# Execute find_lang for all components and merge the resulting lists

%find_lang --output=global.lang gimp20 gimp20-libgimp gimp20-std-plug-ins gimp20-script-fu gimp20-tips gimp20-python

%post
%update_menus

%postun
%clean_menus

%post -n lib%name
%post_ldconfig

%postun -n lib%name
%postun_ldconfig

%files -f global.lang
%doc AUTHORS NEWS README README.i18n
%dir %_sysconfdir/%name
%dir %_sysconfdir/%name/%oldver
%config %_sysconfdir/%name/%oldver/*
%_bindir/%name
%_bindir/%name-*
%dir %_libdir/%name
%dir %_libdir/%name/%oldver
%_libdir/%name/%oldver/modules
%_libdir/%name/%oldver/plug-ins
%_libdir/%name/%oldver/environ
%_libdir/%name/%oldver/interpreters
%_libdir/%name/%oldver/python
%_datadir/%name
%_iconsdir/hicolor/*/apps/*
%_desktopdir/%name.desktop
%_datadir/application-registry/*
%_datadir/mime-info/*
%_man1dir/*
%_man5dir/*

%files -n lib%name
%_libdir/*.so.*

%files -n lib%name-devel
%doc %_datadir/gtk-doc/html/*
%_includedir/*
%_bindir/gimptool*
%_libdir/*.so
%_pkgconfigdir/*
%_datadir/aclocal/*

%changelog

Todas as alterações você pod ver aqui

 
projeto & código: Vladimir Lettiev aka crux © 2004-2005, Andrew Avramenko aka liks © 2007-2008
mantenedor atual: Michael Shigorin
mantenedor da tradução: Fernando Martini aka fmartini © 2009