2007-01-07 23:54:35 +01:00
#
2011-01-17 18:49:00 +01:00
# spec file for package gnome-desktop
2007-01-07 23:54:35 +01:00
#
2021-01-11 14:55:05 +01:00
# Copyright (c) 2021 SUSE LLC
2007-01-07 23:54:35 +01:00
#
2008-08-14 00:51:18 +02:00
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
# upon. The license for this file, and modifications and additions to the
# file, is the same license as for the pristine package itself (unless the
# license for the pristine package is not an Open Source License, in which
# case the license is the MIT License). An "Open Source License" is a
# license that conforms to the Open Source Definition (Version 1.9)
# published by the Open Source Initiative.
2018-09-23 03:00:53 +02:00
# Please submit bugfixes or comments via https://bugs.opensuse.org/
2007-01-07 23:54:35 +01:00
#
2012-02-22 11:31:49 +01:00
2007-01-07 23:54:35 +01:00
Name : gnome-desktop
2021-08-25 09:00:14 +02:00
Version : 40.4
2011-12-21 05:16:16 +01:00
Release : 0
2007-01-07 23:54:35 +01:00
Summary : The GNOME Desktop API Library
2018-03-09 11:09:34 +01:00
License : LGPL-2.1-or-later
2009-09-05 01:40:12 +02:00
Group : System/GUI/GNOME
2018-09-20 05:42:25 +02:00
URL : https://www.gnome.org
2021-03-24 17:34:04 +01:00
Source0 : https://download.gnome.org/sources/gnome-desktop/40/%{name} -%{version} .tar.xz
2018-09-20 05:42:25 +02:00
2019-04-18 14:54:45 +02:00
# PATCH-FIX-OPENSUSE gnome-desktop-switch-Japanese-default-input-to-mozc.patch bnc#1029083 boo#1056289 qzhao@suse.com -- Switch new user's default input engine from "anthy" to "mozc" in gnome-desktop with Japanese language and ibus input frame-work condition.
2017-09-09 19:57:35 +02:00
Patch1 : gnome-desktop-switch-Japanese-default-input-to-mozc.patch
2018-09-20 05:42:25 +02:00
2009-09-05 01:40:12 +02:00
BuildRequires : fdupes
2011-01-16 16:44:53 +01:00
BuildRequires : gobject-introspection-devel
2019-04-18 14:54:45 +02:00
BuildRequires : gtk-doc
2009-09-05 01:40:12 +02:00
BuildRequires : intltool
2021-03-24 17:34:04 +01:00
BuildRequires : libxkbregistry0
2020-04-18 00:45:36 +02:00
BuildRequires : meson >= 0.49.0
2018-03-09 11:09:34 +01:00
BuildRequires : pkgconfig
2018-03-22 10:42:49 +01:00
BuildRequires : translation-update-upstream
2012-09-07 20:30:40 +02:00
BuildRequires : yelp-tools
2017-02-22 21:40:20 +01:00
BuildRequires : pkgconfig(gdk-pixbuf-2.0) >= 2.36.5
2018-09-20 05:42:25 +02:00
BuildRequires : pkgconfig(gio-unix-2.0)
2017-08-31 09:45:38 +02:00
BuildRequires : pkgconfig(glib-2.0) >= 2.53.0
2019-04-18 14:54:45 +02:00
BuildRequires : pkgconfig(gsettings-desktop-schemas) >= 3.31.0
2012-01-17 16:56:31 +01:00
BuildRequires : pkgconfig(gtk+-3.0) >= 3.3.6
2013-03-13 23:56:34 +01:00
BuildRequires : pkgconfig(iso-codes)
2017-08-31 09:45:38 +02:00
BuildRequires : pkgconfig(libseccomp)
2019-12-04 21:00:13 +01:00
BuildRequires : pkgconfig(libsystemd)
2016-09-08 23:24:04 +02:00
BuildRequires : pkgconfig(libudev)
2012-09-07 20:06:33 +02:00
BuildRequires : pkgconfig(xkbfile)
2021-03-24 17:34:04 +01:00
BuildRequires : pkgconfig(xkbregistry)
2012-09-07 20:06:33 +02:00
BuildRequires : pkgconfig(xkeyboard-config)
2007-01-07 23:54:35 +01:00
%description
2011-04-26 11:56:34 +02:00
This package contains the desktop-wide files.
2007-01-07 23:54:35 +01:00
2011-01-14 16:12:33 +01:00
%package -n gnome-version
2011-01-16 16:44:53 +01:00
Summary : GNOME version
2011-01-14 16:12:33 +01:00
Group : System/GUI/GNOME
%description -n gnome-version
2011-01-16 16:44:53 +01:00
This package contains information on the version of GNOME that is installed.
2011-01-14 16:12:33 +01:00
2012-09-07 20:06:33 +02:00
%package -n libgnome-desktop-3_0-common
2017-09-12 08:58:32 +02:00
Summary : Common data files for the GNOME Desktop API library
2012-09-07 20:06:33 +02:00
Group : System/Libraries
%description -n libgnome-desktop-3_0-common
The libgnome-desktop library provides API shared by several applications
on the desktop, but that cannot live in the platform for various
reasons.
This package contains data files used by libgnome-dekstop.
2020-04-18 00:45:36 +02:00
%package -n libgnome-desktop-3-19
2010-09-13 11:53:21 +02:00
Summary : The GNOME Desktop API Library
2018-03-09 11:09:34 +01:00
# the library calls out to bwrap in order to fire up thumbnailers in a secure container
2018-04-13 08:50:22 +02:00
Group : System/Libraries
2018-03-09 11:09:34 +01:00
Requires : bubblewrap
2010-12-06 15:35:31 +01:00
Requires : gsettings-desktop-schemas
2012-09-07 20:06:33 +02:00
# Data files for libgnome-desktop, split in an own package for SLPP compliancy
Requires : libgnome-desktop-3_0-common >= %{version}
2010-09-13 11:53:21 +02:00
Provides : %{name} = %{version}
Obsoletes : %{name} < %{version}
2008-02-02 01:40:35 +01:00
2020-04-18 00:45:36 +02:00
%description -n libgnome-desktop-3-19
2010-09-13 11:53:21 +02:00
The libgnome-desktop library provides API shared by several applications
on the desktop, but that cannot live in the platform for various
2011-12-21 05:16:16 +01:00
reasons.
2010-09-13 11:53:18 +02:00
2011-12-12 16:55:07 +01:00
%package -n typelib-1_0-GnomeDesktop-3_0
2017-09-12 08:58:32 +02:00
Summary : Introspection bindings for the GNOME Desktop API library
2011-12-12 16:55:07 +01:00
Group : System/Libraries
%description -n typelib-1_0-GnomeDesktop-3_0
The libgnome-desktop library provides API shared by several applications
on the desktop, but that cannot live in the platform for various
2011-12-21 05:16:16 +01:00
reasons.
This package provides the GObject Introspection bindings for
libgnome-desktop.
2011-12-12 16:55:07 +01:00
2010-09-13 11:53:21 +02:00
%package -n libgnome-desktop-3-devel
2017-09-12 08:58:32 +02:00
Summary : Development files for the GNOME Desktop API library
2007-01-07 23:54:35 +01:00
Group : Development/Libraries/GNOME
2020-04-18 00:45:36 +02:00
Requires : libgnome-desktop-3-19 = %{version}
2012-09-07 20:06:33 +02:00
# Needed as /usr/include/gnome-desktop-3.0/libgnome-desktop/gnome-xkb-info.h includes X11/extensions/XKBrules.h
Requires : libxkbfile-devel
2017-09-06 21:39:50 +02:00
Requires : typelib-1_0-GnomeDesktop-3_0 = %{version}
2010-09-13 11:53:21 +02:00
Provides : %{name} -devel = %{version}
Obsoletes : %{name} -devel < %{version}
Provides : %{name} -doc = %{version}
Obsoletes : %{name} -doc < %{version}
2007-01-07 23:54:35 +01:00
2010-09-13 11:53:21 +02:00
%description -n libgnome-desktop-3-devel
The libgnome-desktop library provides API shared by several applications
on the desktop, but that cannot live in the platform for various
2011-12-21 05:16:16 +01:00
reasons.
2007-01-07 23:54:35 +01:00
2007-08-09 16:35:26 +02:00
%lang_package
2017-09-06 21:39:50 +02:00
2007-01-07 23:54:35 +01:00
%prep
2019-04-18 14:54:45 +02:00
%autosetup -p1
translation-update-upstream po gnome-desktop
2011-01-14 16:12:33 +01:00
2007-01-07 23:54:35 +01:00
%build
2019-04-18 14:54:45 +02:00
%meson \
-Dgnome_distributor=openSUSE \
-Ddate_in_gnome_version=false \
-Ddesktop_docs=true \
-Dgtk_doc=true \
%{nil}
%meson_build
2007-01-07 23:54:35 +01:00
%install
2019-04-18 14:54:45 +02:00
%meson_install
2018-09-20 05:42:25 +02:00
2011-02-13 21:41:45 +01:00
%find_lang %{name} -3.0 %{?no_lang_C}
%find_lang fdl %{?no_lang_C} %{name} -3.0.lang
%find_lang gpl %{?no_lang_C} %{name} -3.0.lang
%find_lang lgpl %{?no_lang_C} %{name} -3.0.lang
2018-09-20 05:42:25 +02:00
2017-09-12 08:58:32 +02:00
%fdupes %{buildroot} /%{_prefix}
2007-08-09 16:35:26 +02:00
2020-04-18 00:45:36 +02:00
%post -n libgnome-desktop-3-19 -p /sbin/ldconfig
%postun -n libgnome-desktop-3-19 -p /sbin/ldconfig
2007-01-07 23:54:35 +01:00
2020-04-18 00:45:36 +02:00
%files -n libgnome-desktop-3-19
2018-03-09 11:09:34 +01:00
%license COPYING.LIB
2021-03-24 17:34:04 +01:00
%doc AUTHORS NEWS
2012-09-07 20:06:33 +02:00
%{_libdir} /libgnome-desktop-3.so.*
%files -n libgnome-desktop-3_0-common
2012-09-07 20:30:40 +02:00
%doc %{_datadir} /help/C/fdl/
%doc %{_datadir} /help/C/gpl/
%doc %{_datadir} /help/C/lgpl/
2021-03-24 17:34:04 +01:00
%{_libexecdir} /gnome-desktop-debug/
2020-01-11 20:19:33 +01:00
%{_datadir} /locale/en/
2011-12-12 16:55:07 +01:00
%files -n typelib-1_0-GnomeDesktop-3_0
2011-01-16 16:44:53 +01:00
%{_libdir} /girepository-1.0/GnomeDesktop-3.0.typelib
2007-08-09 16:35:26 +02:00
2010-09-13 11:53:21 +02:00
%files -n libgnome-desktop-3-devel
%{_includedir} /gnome-desktop-3.0/
%{_libdir} /libgnome-desktop-3.so
%{_libdir} /pkgconfig/gnome-desktop-3.0.pc
2011-01-16 16:44:53 +01:00
%{_datadir} /gir-1.0/*.gir
2010-09-13 11:53:21 +02:00
%doc %{_datadir} /gtk-doc/html/gnome-desktop3/
%files lang -f %{name}-3.0.lang
2020-01-11 20:19:33 +01:00
# english locale should be in the main package
%exclude %{_datadir} /locale/en
2007-01-07 23:54:35 +01:00
2011-01-14 16:12:33 +01:00
%files -n gnome-version
%dir %{_datadir} /gnome
%{_datadir} /gnome/gnome-version.xml
2007-02-20 00:06:53 +01:00
%changelog