Accepting request 73438 from GNOME:Apps

Drop hal dep on 12.1 and later (bnc#697016) (forwarded request 73399 from vuntz)

OBS-URL: https://build.opensuse.org/request/show/73438
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/gimp?expand=0&rev=58
This commit is contained in:
Sascha Peilicke
2011-06-14 10:03:23 +00:00
committed by Git OBS Bridge
parent 3c0f180c44
commit df1a889060
2 changed files with 28 additions and 8 deletions

View File

@@ -15,7 +15,7 @@
# Please submit bugfixes or comments via http://bugs.opensuse.org/
#
# norootforbuild
%define build_hal 0%{?suse_version} <= 1140
%global abiver 4
%global apiver 2.0
@@ -30,7 +30,9 @@ BuildRequires: fontconfig-devel
BuildRequires: gegl-devel
BuildRequires: glib2-devel
BuildRequires: gtk2-devel
%if %{build_hal}
BuildRequires: hal-devel
%endif
BuildRequires: intltool
BuildRequires: iso-codes-devel
BuildRequires: libexif-devel
@@ -71,6 +73,10 @@ BuildRoot: %{_tmppath}/%{name}-%{version}-build
Requires: %{name}-branding >= 2.4
Recommends: %{name}-plugins-python = %{version} gimp-2.0-scanner-plugin %{name}-help-browser
Provides: gimp(api) = %{apiver} gimp(abi) = %{abiver}
%if ! %{build_hal}
# Obsolete hal subpackage which we had until 11.4.
Obsoletes: %{name}-module-hal <= %{version}
%endif
%description
The GIMP (GNU Image Manipulation Program) is a powerful image
@@ -78,7 +84,7 @@ 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
provides a large 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
@@ -96,7 +102,7 @@ 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
provides a large 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
@@ -116,7 +122,7 @@ 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
provides a large 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
@@ -145,7 +151,7 @@ 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
provides a large 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
@@ -170,7 +176,7 @@ 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
provides a large 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
@@ -194,7 +200,7 @@ 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
provides a large 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
@@ -212,6 +218,7 @@ Supplements: packageand(%{name}:gimp-help)
This package contains the help browser for the GIMP.
%if %{build_hal}
%package module-hal
License: GPLv2+
Summary: The GNU Image Manipulation Program - module to detect input devices with HAL
@@ -225,13 +232,14 @@ 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
provides a large 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.
%endif
%lang_package
%prep
@@ -387,9 +395,11 @@ rm -rf $RPM_BUILD_ROOT
%{_libdir}/gimp/2.0/python/
# FIXME: Maybe split gimp-lang and gimp-plugins-python-lang
%if %{build_hal}
%files module-hal
%defattr(-,root,root)
%{_libdir}/gimp/2.0/modules/libcontroller-linux-input.so
%endif
%files lang -f gimp20.lang