2017-03-14 00:05:35 +00:00
|
|
|
%global nm_version 1.2
|
|
|
|
%global nma_version 1.0
|
2020-03-06 14:32:54 +00:00
|
|
|
%global glib_required_version 2.63.1
|
2022-08-08 19:08:17 +00:00
|
|
|
%global gtk_required_version 4.6
|
2016-09-13 18:11:57 +00:00
|
|
|
%global geoclue_version 2.3.1
|
2016-09-03 18:42:21 +00:00
|
|
|
|
2021-02-17 23:23:44 +00:00
|
|
|
%global tarball_version %%(echo %{version} | tr '~' '.')
|
|
|
|
|
2012-09-26 17:20:43 +00:00
|
|
|
Name: gnome-initial-setup
|
2023-08-07 17:40:14 +00:00
|
|
|
Version: 45~beta
|
2022-06-21 17:28:53 +00:00
|
|
|
Release: %autorelease
|
2012-09-26 17:20:43 +00:00
|
|
|
Summary: Bootstrapping your OS
|
|
|
|
|
2023-02-15 21:30:46 +00:00
|
|
|
License: GPL-2.0-or-later
|
2016-09-03 18:49:56 +00:00
|
|
|
URL: https://wiki.gnome.org/Design/OS/InitialSetup
|
2023-08-07 17:40:14 +00:00
|
|
|
Source0: https://download.gnome.org/sources/%{name}/45/%{name}-%{tarball_version}.tar.xz
|
2018-02-17 01:02:57 +00:00
|
|
|
Source1: vendor.conf
|
2013-01-11 19:57:43 +00:00
|
|
|
|
2012-09-26 17:20:43 +00:00
|
|
|
BuildRequires: desktop-file-utils
|
2022-04-21 07:40:11 +00:00
|
|
|
BuildRequires: gcc
|
|
|
|
BuildRequires: meson
|
2012-09-26 17:20:43 +00:00
|
|
|
BuildRequires: pkgconfig(accountsservice)
|
2014-02-19 20:58:13 +00:00
|
|
|
BuildRequires: pkgconfig(fontconfig)
|
2022-08-08 19:08:17 +00:00
|
|
|
BuildRequires: pkgconfig(gdm)
|
2022-07-19 15:15:39 +00:00
|
|
|
BuildRequires: pkgconfig(geocode-glib-2.0)
|
2022-08-08 19:08:17 +00:00
|
|
|
BuildRequires: pkgconfig(gio-2.0) >= %{glib_required_version}
|
|
|
|
BuildRequires: pkgconfig(gio-unix-2.0) >= %{glib_required_version}
|
|
|
|
BuildRequires: pkgconfig(glib-2.0) >= %{glib_required_version}
|
2022-04-21 07:40:11 +00:00
|
|
|
BuildRequires: pkgconfig(gnome-desktop-4)
|
2012-09-26 17:20:43 +00:00
|
|
|
BuildRequires: pkgconfig(goa-1.0)
|
|
|
|
BuildRequires: pkgconfig(goa-backend-1.0)
|
2022-08-08 19:08:17 +00:00
|
|
|
BuildRequires: pkgconfig(gsettings-desktop-schemas)
|
|
|
|
BuildRequires: pkgconfig(gstreamer-1.0)
|
|
|
|
BuildRequires: pkgconfig(gtk4) >= %{gtk_required_version}
|
2022-04-21 07:40:11 +00:00
|
|
|
BuildRequires: pkgconfig(gweather4)
|
|
|
|
BuildRequires: pkgconfig(ibus-1.0)
|
2012-09-26 17:20:43 +00:00
|
|
|
BuildRequires: pkgconfig(iso-codes)
|
2022-08-08 19:08:17 +00:00
|
|
|
BuildRequires: pkgconfig(json-glib-1.0)
|
2022-04-21 07:40:11 +00:00
|
|
|
BuildRequires: pkgconfig(krb5)
|
2022-08-08 19:08:17 +00:00
|
|
|
BuildRequires: pkgconfig(libadwaita-1)
|
2016-09-13 18:11:57 +00:00
|
|
|
BuildRequires: pkgconfig(libgeoclue-2.0) >= %{geoclue_version}
|
2022-08-08 19:08:17 +00:00
|
|
|
BuildRequires: pkgconfig(libnma-gtk4) >= %{nma_version}
|
2022-04-21 07:40:11 +00:00
|
|
|
BuildRequires: pkgconfig(libnm) >= %{nm_version}
|
|
|
|
BuildRequires: pkgconfig(libsecret-1)
|
2016-09-03 18:49:18 +00:00
|
|
|
BuildRequires: pkgconfig(packagekit-glib2)
|
2022-08-08 19:08:17 +00:00
|
|
|
BuildRequires: pkgconfig(pango)
|
2022-04-21 07:40:11 +00:00
|
|
|
BuildRequires: pkgconfig(polkit-gobject-1)
|
|
|
|
BuildRequires: pkgconfig(pwquality)
|
2022-07-19 15:15:39 +00:00
|
|
|
BuildRequires: pkgconfig(rest-1.0)
|
2022-12-06 14:14:09 +00:00
|
|
|
BuildRequires: pkgconfig(webkitgtk-6.0)
|
2012-09-26 17:20:43 +00:00
|
|
|
|
|
|
|
# gnome-initial-setup is being run by gdm
|
|
|
|
Requires: gdm
|
2016-09-13 18:11:57 +00:00
|
|
|
Requires: geoclue2-libs%{?_isa} >= %{geoclue_version}
|
2017-06-25 15:42:29 +00:00
|
|
|
Requires: glib2%{?_isa} >= %{glib_required_version}
|
2013-06-07 11:48:46 +00:00
|
|
|
# we install a rules file
|
|
|
|
Requires: polkit-js-engine
|
2023-08-07 17:40:14 +00:00
|
|
|
Requires: /usr/bin/tecla
|
2012-09-26 17:20:43 +00:00
|
|
|
|
2012-11-27 02:35:01 +00:00
|
|
|
Requires(pre): shadow-utils
|
|
|
|
|
2012-11-08 21:26:48 +00:00
|
|
|
Provides: user(%name)
|
|
|
|
|
2012-09-26 17:20:43 +00:00
|
|
|
%description
|
|
|
|
GNOME Initial Setup is an alternative to firstboot, providing
|
|
|
|
a good setup experience to welcome you to your system, and walks
|
|
|
|
you through configuring it. It is integrated with gdm.
|
|
|
|
|
|
|
|
%prep
|
2022-08-08 19:08:17 +00:00
|
|
|
%autosetup -p1 -n %{name}-%{tarball_version}
|
2012-09-26 17:20:43 +00:00
|
|
|
|
|
|
|
%build
|
2022-06-21 17:29:09 +00:00
|
|
|
%meson -Dparental_controls=disabled
|
2019-04-04 15:20:06 +00:00
|
|
|
%meson_build
|
2012-09-26 17:20:43 +00:00
|
|
|
|
|
|
|
%install
|
2019-04-04 15:20:06 +00:00
|
|
|
%meson_install
|
2012-09-26 17:20:43 +00:00
|
|
|
|
2012-11-27 02:35:01 +00:00
|
|
|
desktop-file-validate %{buildroot}%{_sysconfdir}/xdg/autostart/gnome-initial-setup-copy-worker.desktop
|
2021-02-17 23:23:44 +00:00
|
|
|
desktop-file-validate %{buildroot}%{_datadir}/applications/gnome-initial-setup.desktop
|
2012-11-27 02:35:01 +00:00
|
|
|
|
2018-04-02 22:42:46 +00:00
|
|
|
mkdir -p %{buildroot}%{_datadir}/gnome-initial-setup
|
|
|
|
cp %{SOURCE1} %{buildroot}%{_datadir}/gnome-initial-setup/
|
2012-11-27 02:35:01 +00:00
|
|
|
|
2012-09-26 17:20:43 +00:00
|
|
|
%find_lang %{name}
|
|
|
|
|
2012-11-08 21:26:48 +00:00
|
|
|
%pre
|
|
|
|
useradd -rM -d /run/gnome-initial-setup/ -s /sbin/nologin %{name} &>/dev/null || :
|
|
|
|
|
2012-09-26 17:20:43 +00:00
|
|
|
%files -f %{name}.lang
|
2015-03-02 21:28:16 +00:00
|
|
|
%license COPYING
|
2022-01-12 11:54:09 +00:00
|
|
|
%doc NEWS README.md
|
2012-09-26 17:20:43 +00:00
|
|
|
%{_libexecdir}/gnome-initial-setup
|
|
|
|
%{_libexecdir}/gnome-initial-setup-copy-worker
|
2022-08-08 19:08:17 +00:00
|
|
|
%{_libexecdir}/gnome-initial-setup-goa-helper
|
2012-09-26 17:20:43 +00:00
|
|
|
%{_sysconfdir}/xdg/autostart/gnome-initial-setup-copy-worker.desktop
|
2014-09-16 09:48:38 +00:00
|
|
|
%{_sysconfdir}/xdg/autostart/gnome-initial-setup-first-login.desktop
|
2021-02-17 23:23:44 +00:00
|
|
|
%{_datadir}/applications/gnome-initial-setup.desktop
|
2023-08-07 17:40:14 +00:00
|
|
|
%{_datadir}/dconf/profile/gnome-initial-setup
|
2012-09-26 17:20:43 +00:00
|
|
|
%{_datadir}/gnome-session/sessions/gnome-initial-setup.session
|
2013-05-06 09:53:43 +00:00
|
|
|
%{_datadir}/gnome-shell/modes/initial-setup.json
|
2012-11-27 02:35:01 +00:00
|
|
|
%{_datadir}/polkit-1/rules.d/20-gnome-initial-setup.rules
|
2022-08-08 19:08:17 +00:00
|
|
|
%{_sysusersdir}/gnome-initial-setup.conf
|
2019-09-04 14:50:11 +00:00
|
|
|
%{_userunitdir}/*
|
2012-09-26 17:20:43 +00:00
|
|
|
|
2018-04-02 22:42:46 +00:00
|
|
|
%dir %{_datadir}/gnome-initial-setup
|
2023-08-07 17:40:14 +00:00
|
|
|
%{_datadir}/gnome-initial-setup/initial-setup-dconf-defaults
|
2018-04-02 22:42:46 +00:00
|
|
|
%{_datadir}/gnome-initial-setup/vendor.conf
|
2018-02-17 01:02:57 +00:00
|
|
|
|
2012-09-26 17:20:43 +00:00
|
|
|
%changelog
|
2022-06-21 17:28:53 +00:00
|
|
|
%autochangelog
|