Sisyphus repositório
Última atualização: 21 setembro 2020 | SRPMs: 17696 | Visitas: 19266023
en ru br
ALT Linux repositórios
S:2.10.20-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 

# This spec is backported to ALTLinux 4.1 automatically by rpmbph script. Do not edit it.
#
%define ver_major 2.4
%define oldver 2.0

%define gtk_version %(rpmquery --queryformat=%%{version} libgtk+2)

Name: gimp
Version: %ver_major.7
Release: alt0.M41.1

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 create-resources <= 0.1.3-alt1
Requires: lib%name = %version-%release
Requires: icc-profiles

%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

BuildRequires: rpm-build-compat >= 0.95

%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
Requires: libgtk+2 >= %gtk_version

%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

%make_build

%install
%make DESTDIR=%buildroot install

mkdir -p %buildroot%_datadir/create/
ln -s ../%name/2.0/brushes %buildroot%_datadir/create/brushes
ln -s ../%name/2.0/gradients %buildroot%_datadir/create/gradients
ln -s ../%name/2.0/patterns %buildroot%_datadir/create/patterns

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 -p %post_ldconfig

%postun -n lib%name -p %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
%dir %_datadir/create
%_datadir/create/*
%_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