2014-04-03 22:28:35 +02:00
|
|
|
#
|
|
|
|
# spec file for package gnome-initial-setup
|
|
|
|
#
|
2021-01-08 10:42:59 +01:00
|
|
|
# Copyright (c) 2021 SUSE LLC
|
2014-04-03 22:28:35 +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.
|
|
|
|
|
2019-10-17 14:22:36 +02:00
|
|
|
# Please submit bugfixes or comments via https://bugs.opensuse.org/
|
2014-04-03 22:28:35 +02:00
|
|
|
#
|
|
|
|
|
|
|
|
|
|
|
|
Name: gnome-initial-setup
|
2021-02-16 15:32:05 +01:00
|
|
|
Version: 3.38.4
|
2014-04-03 22:28:35 +02:00
|
|
|
Release: 0
|
|
|
|
Summary: GNOME Initial Setup Assistant
|
2019-10-17 14:22:36 +02:00
|
|
|
License: GPL-2.0-or-later
|
|
|
|
Group: System/GUI/GNOME
|
2020-04-27 19:42:10 +02:00
|
|
|
URL: https://wiki.gnome.org/Design/OS/InitialSetup
|
2020-10-26 09:12:07 +01:00
|
|
|
Source0: https://download.gnome.org/sources/gnome-initial-setup/3.38/%{name}-%{version}.tar.xz
|
2019-11-07 11:52:27 +01:00
|
|
|
# PATCH-FEATURE-SLE gnome-initial-setup-smarter.patch FATE#325763 FATE#321126 boo#1067288 bnc#1029083 qzhao@suse.com -- Investigate gnome-initial-setup, and make a Smarter gnome initial configuration.
|
|
|
|
Patch0: gnome-initial-setup-smarter.patch
|
2020-04-27 19:42:10 +02:00
|
|
|
|
2014-04-03 22:28:35 +02:00
|
|
|
BuildRequires: krb5-devel
|
2020-10-26 09:12:07 +01:00
|
|
|
BuildRequires: meson >= 0.49.0
|
2019-10-17 14:22:36 +02:00
|
|
|
BuildRequires: pkgconfig
|
2014-04-03 22:28:35 +02:00
|
|
|
BuildRequires: vala
|
|
|
|
BuildRequires: pkgconfig(accountsservice)
|
2020-04-18 00:47:15 +02:00
|
|
|
BuildRequires: pkgconfig(cheese) >= 3.28
|
2014-04-03 22:28:35 +02:00
|
|
|
BuildRequires: pkgconfig(cheese-gtk) >= 3.3.5
|
|
|
|
BuildRequires: pkgconfig(fontconfig)
|
|
|
|
BuildRequires: pkgconfig(gdm) >= 3.8.3
|
2019-10-17 14:22:36 +02:00
|
|
|
BuildRequires: pkgconfig(geocode-glib-1.0)
|
|
|
|
BuildRequires: pkgconfig(gio-unix-2.0) >= 2.53.0
|
2014-04-03 22:28:35 +02:00
|
|
|
BuildRequires: pkgconfig(gnome-desktop-3.0) >= 3.7.5
|
|
|
|
BuildRequires: pkgconfig(goa-1.0)
|
|
|
|
BuildRequires: pkgconfig(goa-backend-1.0)
|
|
|
|
BuildRequires: pkgconfig(gobject-introspection-1.0)
|
2020-10-26 09:12:07 +01:00
|
|
|
BuildRequires: pkgconfig(gsettings-desktop-schemas) >= 3.37.1
|
2014-04-03 22:28:35 +02:00
|
|
|
BuildRequires: pkgconfig(gstreamer-1.0)
|
|
|
|
BuildRequires: pkgconfig(gtk+-3.0) >= 3.11.3
|
|
|
|
BuildRequires: pkgconfig(gweather-3.0)
|
|
|
|
BuildRequires: pkgconfig(ibus-1.0) >= 1.4.99
|
|
|
|
BuildRequires: pkgconfig(iso-codes)
|
2019-10-17 14:22:36 +02:00
|
|
|
BuildRequires: pkgconfig(json-glib-1.0)
|
|
|
|
BuildRequires: pkgconfig(libgeoclue-2.0) >= 2.3.1
|
|
|
|
BuildRequires: pkgconfig(libnm) >= 1.2
|
|
|
|
BuildRequires: pkgconfig(libnma) >= 1.0
|
2020-04-18 00:47:15 +02:00
|
|
|
BuildRequires: pkgconfig(libsecret-1) >= 0.18.8
|
2014-04-03 22:28:35 +02:00
|
|
|
BuildRequires: pkgconfig(pango) >= 1.32.5
|
|
|
|
BuildRequires: pkgconfig(polkit-gobject-1) >= 0.103
|
|
|
|
BuildRequires: pkgconfig(pwquality)
|
|
|
|
BuildRequires: pkgconfig(rest-0.7)
|
2020-10-26 09:12:07 +01:00
|
|
|
BuildRequires: pkgconfig(systemd) >= 242
|
|
|
|
BuildRequires: pkgconfig(webkit2gtk-4.0) >= 2.26.0
|
2019-10-17 14:22:36 +02:00
|
|
|
# Remove the yelp document dependency on both sle and leap, keeping tw consistent with upstream
|
|
|
|
%if !0%{?sle_version}
|
|
|
|
Requires: gnome-getting-started-docs
|
|
|
|
%endif
|
2014-04-03 22:28:35 +02:00
|
|
|
|
|
|
|
%description
|
|
|
|
Initial assistant, helping you to get the system up and running.
|
|
|
|
|
|
|
|
%lang_package
|
2019-10-17 14:22:36 +02:00
|
|
|
|
2014-04-03 22:28:35 +02:00
|
|
|
%prep
|
|
|
|
%setup -q
|
2020-04-27 19:36:37 +02:00
|
|
|
%if 0%{?sle_version} >= 150200
|
2019-10-17 14:22:36 +02:00
|
|
|
%patch0 -p1
|
|
|
|
%endif
|
2019-11-07 11:52:27 +01:00
|
|
|
|
2014-04-03 22:28:35 +02:00
|
|
|
%build
|
2019-10-17 14:22:36 +02:00
|
|
|
%meson \
|
2020-04-18 00:47:15 +02:00
|
|
|
-Dparental_controls=disabled \
|
2020-06-26 19:53:18 +02:00
|
|
|
%if 0%{?sle_version} && 0%{?sle_version} < 160000
|
|
|
|
-Dsystemd=false \
|
|
|
|
%endif
|
2019-10-17 14:22:36 +02:00
|
|
|
%{nil}
|
|
|
|
%meson_build
|
2014-04-03 22:28:35 +02:00
|
|
|
|
|
|
|
%install
|
2019-10-17 14:22:36 +02:00
|
|
|
%meson_install
|
2020-04-27 19:36:37 +02:00
|
|
|
%if 0%{?sle_version} >= 150200
|
2019-11-07 11:52:27 +01:00
|
|
|
rm -rf %{buildroot}%{_libexecdir}/gnome-welcome-tour
|
|
|
|
rm -rf %{buildroot}%{_sysconfdir}/xdg/autostart/gnome-welcome-tour.desktop
|
|
|
|
%endif
|
2014-04-03 22:28:35 +02:00
|
|
|
%find_lang %{name} %{?no_lang_C}
|
|
|
|
|
2019-10-17 14:22:36 +02:00
|
|
|
%pre
|
|
|
|
useradd -rM -d /run/gnome-initial-setup/ -s /sbin/nologin %{name} || :
|
|
|
|
|
2014-04-03 22:28:35 +02:00
|
|
|
%files
|
2019-10-17 14:22:36 +02:00
|
|
|
%license COPYING
|
2020-10-26 09:12:07 +01:00
|
|
|
%doc README.md
|
2014-04-03 22:28:35 +02:00
|
|
|
%dir %{_datadir}/gdm
|
|
|
|
%dir %{_datadir}/gdm/greeter
|
|
|
|
%dir %{_datadir}/gdm/greeter/applications
|
|
|
|
%{_datadir}/gdm/greeter/applications/gnome-initial-setup.desktop
|
|
|
|
%dir %{_datadir}/gnome-session
|
|
|
|
%dir %{_datadir}/gnome-session/sessions
|
|
|
|
%{_datadir}/gnome-session/sessions/gnome-initial-setup.session
|
|
|
|
%dir %{_datadir}/gnome-shell
|
|
|
|
%dir %{_datadir}/gnome-shell/modes
|
|
|
|
%{_datadir}/gnome-shell/modes/initial-setup.json
|
|
|
|
%{_datadir}/polkit-1/rules.d/20-gnome-initial-setup.rules
|
|
|
|
%{_libexecdir}/gnome-initial-setup
|
|
|
|
%{_libexecdir}/gnome-initial-setup-copy-worker
|
|
|
|
%{_sysconfdir}/xdg/autostart/gnome-initial-setup-copy-worker.desktop
|
2019-10-17 14:22:36 +02:00
|
|
|
%{_sysconfdir}/xdg/autostart/gnome-initial-setup-first-login.desktop
|
2020-06-26 19:53:18 +02:00
|
|
|
%if !0%{?sle_version} || 0%{?sle_version} >= 160000
|
2019-10-17 14:22:36 +02:00
|
|
|
%{_userunitdir}/gnome-initial-setup-copy-worker.service
|
|
|
|
%{_userunitdir}/gnome-initial-setup-first-login.service
|
|
|
|
%{_userunitdir}/gnome-welcome-tour.service
|
2020-10-26 09:12:07 +01:00
|
|
|
%dir %{_userunitdir}/gnome-session@gnome-initial-setup.target.d
|
|
|
|
%{_userunitdir}/gnome-session@gnome-initial-setup.target.d/session.conf
|
2019-10-17 14:22:36 +02:00
|
|
|
%dir %{_userunitdir}/gnome-session.target.wants
|
|
|
|
%{_userunitdir}/gnome-session.target.wants/gnome-initial-setup-copy-worker.service
|
|
|
|
%{_userunitdir}/gnome-session.target.wants/gnome-initial-setup-first-login.service
|
|
|
|
%{_userunitdir}/gnome-session.target.wants/gnome-welcome-tour.service
|
2020-06-26 19:53:18 +02:00
|
|
|
%endif
|
2020-04-27 19:36:37 +02:00
|
|
|
%if 0%{?sle_version} < 150200
|
2019-11-07 11:52:27 +01:00
|
|
|
%{_libexecdir}/gnome-welcome-tour
|
|
|
|
%{_sysconfdir}/xdg/autostart/gnome-welcome-tour.desktop
|
|
|
|
%endif
|
2014-04-03 22:28:35 +02:00
|
|
|
|
|
|
|
%files lang -f %{name}.lang
|
|
|
|
|
|
|
|
%changelog
|