Accepting request 40547 from GNOME:Apps
Copy from GNOME:Apps/gimp based on submit request 40547 from user vuntz OBS-URL: https://build.opensuse.org/request/show/40547 OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/gimp?expand=0&rev=41
This commit is contained in:
committed by
Git OBS Bridge
parent
d457e61b18
commit
394b7a8f36
31
gimp.spec
31
gimp.spec
@@ -48,7 +48,7 @@ BuildRequires: update-desktop-files
|
||||
BuildRequires: xorg-x11-libXfixes-devel
|
||||
Url: http://www.gimp.org/
|
||||
Version: 2.6.8
|
||||
Release: 2
|
||||
Release: 3
|
||||
License: GPLv2+
|
||||
Group: Productivity/Graphics/Bitmap Editors
|
||||
Suggests: AdobeICCProfiles
|
||||
@@ -61,6 +61,8 @@ Source: ftp://ftp.gimp.org/pub/gimp/v2.6/%{name}-%{version}.tar.bz2
|
||||
Source1: macros.gimp
|
||||
# PATCH-FIX-UPSTREAM gimp-new-libpng.patch vuntz@opensuse.org -- Taken from upstream, fix build with recent libpng
|
||||
Patch0: gimp-new-libpng.patch
|
||||
# PATCH-FIX-UPSTREAM gimp-fix-statusbar.patch bnc601712 vuntz@opensuse.org -- Taken from upstream, fix status bar not complete with recent gtk+
|
||||
Patch1: gimp-fix-statusbar.patch
|
||||
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
||||
Requires: %{name}-branding >= 2.4
|
||||
Recommends: %{name}-plugins-python = %{version} gimp-2.0-scanner-plugin %{name}-help-browser
|
||||
@@ -167,6 +169,27 @@ Supplements: packageand(%{name}:gimp-help)
|
||||
This package contains the help browser for the GIMP.
|
||||
|
||||
|
||||
%package module-hal
|
||||
License: GPLv2+
|
||||
Summary: The GNU Image Manipulation Program - module to detect input devices with HAL
|
||||
Requires: %{name} = %{version}
|
||||
Supplements: packageand(%{name}:hal)
|
||||
Group: Productivity/Graphics/Bitmap Editors
|
||||
|
||||
%description module-hal
|
||||
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 offers many
|
||||
of the tools and filters you would expect to find in similar commercial
|
||||
offerings and contains some interesting extras as well. The GIMP
|
||||
provides alarge image manipulation toolbox, including channel
|
||||
operations and layers, effects, subpixel imaging and antialiasing, and
|
||||
conversions- all including multilevel undo. The GIMP offers a scripting
|
||||
facility, but many of the included scripts rely on fonts that we cannot
|
||||
distribute.
|
||||
|
||||
This package provides a module to detect input devices with HAL.
|
||||
|
||||
%lang_package
|
||||
%prep
|
||||
%setup -q
|
||||
@@ -177,6 +200,7 @@ translation-update-upstream po-script-fu gimp20-script-fu
|
||||
translation-update-upstream po-plug-ins gimp20-std-plug-ins
|
||||
translation-update-upstream po-tips gimp20-tips
|
||||
%patch0 -p1
|
||||
%patch1 -p1
|
||||
# Safety check for ABI version change.
|
||||
vabi=`printf "%d" $(sed -n '/#define GIMP_MODULE_ABI_VERSION/{s/.* //;p}' libgimpmodule/gimpmodule.h)`
|
||||
if test "x${vabi}" != "x%{abiver}"; then
|
||||
@@ -254,6 +278,7 @@ rm -rf $RPM_BUILD_ROOT
|
||||
%dir %{_libdir}/gimp/2.0/interpreters
|
||||
%{_libdir}/gimp/2.0/interpreters/default.interp
|
||||
%{_libdir}/gimp/2.0/modules
|
||||
%exclude %{_libdir}/gimp/2.0/modules/libcontroller-linux-input.so
|
||||
%dir %{_libdir}/gimp/2.0/plug-ins
|
||||
%doc %{_mandir}/man?/*.*
|
||||
%dir %{_sysconfdir}/gimp
|
||||
@@ -276,6 +301,10 @@ rm -rf $RPM_BUILD_ROOT
|
||||
%{_libdir}/gimp/2.0/python
|
||||
# FIXME: Maybe split gimp-lang and gimp-plugins-python-lang
|
||||
|
||||
%files module-hal
|
||||
%defattr(-,root,root)
|
||||
%{_libdir}/gimp/2.0/modules/libcontroller-linux-input.so
|
||||
|
||||
%files lang -f gimp20.lang
|
||||
|
||||
%files devel
|
||||
|
Reference in New Issue
Block a user