2022-06-17 14:40:01 +08:00
|
|
|
%global nm_version 1.2
|
|
|
|
|
%global nma_version 1.0
|
|
|
|
|
%global glib_required_version 2.63.1
|
2023-01-31 19:13:35 +08:00
|
|
|
%global gtk_required_version 4.6
|
2022-06-17 14:40:01 +08:00
|
|
|
%global geoclue_version 2.3.1
|
|
|
|
|
|
2019-12-14 14:47:41 +08:00
|
|
|
Name: gnome-initial-setup
|
2023-11-27 10:54:13 +08:00
|
|
|
Version: 44.0
|
|
|
|
|
Release: 1
|
2023-01-31 19:13:35 +08:00
|
|
|
Summary: Bootstrapping your OS
|
2019-12-14 14:47:41 +08:00
|
|
|
License: GPLv2+
|
|
|
|
|
URL: https://wiki.gnome.org/Design/OS/InitialSetup
|
2023-11-27 10:54:13 +08:00
|
|
|
Source0: https://download.gnome.org/sources/%{name}/44/%{name}-%{version}.tar.xz
|
2019-12-14 14:47:41 +08:00
|
|
|
Source1: vendor.conf
|
2023-01-31 19:13:35 +08:00
|
|
|
|
|
|
|
|
#Patch0: webkitgtk-6.0.patch
|
|
|
|
|
|
|
|
|
|
BuildRequires: desktop-file-utils
|
|
|
|
|
BuildRequires: gcc
|
|
|
|
|
BuildRequires: meson
|
|
|
|
|
BuildRequires: pkgconfig(accountsservice)
|
|
|
|
|
BuildRequires: pkgconfig(fontconfig)
|
|
|
|
|
BuildRequires: pkgconfig(gdm)
|
|
|
|
|
BuildRequires: pkgconfig(geocode-glib-2.0)
|
|
|
|
|
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}
|
|
|
|
|
BuildRequires: pkgconfig(gnome-desktop-4)
|
|
|
|
|
BuildRequires: pkgconfig(goa-1.0)
|
|
|
|
|
BuildRequires: pkgconfig(goa-backend-1.0)
|
|
|
|
|
BuildRequires: pkgconfig(gsettings-desktop-schemas)
|
|
|
|
|
BuildRequires: pkgconfig(gstreamer-1.0)
|
|
|
|
|
BuildRequires: pkgconfig(gtk4) >= %{gtk_required_version}
|
|
|
|
|
BuildRequires: pkgconfig(gweather4)
|
|
|
|
|
BuildRequires: pkgconfig(ibus-1.0)
|
|
|
|
|
BuildRequires: pkgconfig(iso-codes)
|
|
|
|
|
BuildRequires: pkgconfig(json-glib-1.0)
|
|
|
|
|
BuildRequires: pkgconfig(krb5)
|
|
|
|
|
BuildRequires: pkgconfig(libadwaita-1)
|
|
|
|
|
BuildRequires: pkgconfig(libgeoclue-2.0) >= %{geoclue_version}
|
|
|
|
|
BuildRequires: pkgconfig(libnma-gtk4) >= %{nma_version}
|
|
|
|
|
BuildRequires: pkgconfig(libnm) >= %{nm_version}
|
|
|
|
|
BuildRequires: pkgconfig(libsecret-1)
|
|
|
|
|
BuildRequires: pkgconfig(packagekit-glib2)
|
|
|
|
|
BuildRequires: pkgconfig(pango)
|
|
|
|
|
BuildRequires: pkgconfig(polkit-gobject-1)
|
|
|
|
|
BuildRequires: pkgconfig(pwquality)
|
|
|
|
|
BuildRequires: pkgconfig(rest-1.0)
|
|
|
|
|
BuildRequires: pkgconfig(webkit2gtk-5.0)
|
|
|
|
|
|
|
|
|
|
Requires: gdm
|
|
|
|
|
Requires: geoclue2-libs%{?_isa} >= %{geoclue_version}
|
|
|
|
|
Requires: glib2%{?_isa} >= %{glib_required_version}
|
|
|
|
|
Requires: polkit-js-engine
|
|
|
|
|
Requires: /usr/bin/gkbd-keyboard-display
|
2019-12-14 14:47:41 +08:00
|
|
|
|
|
|
|
|
Requires(pre): shadow-utils
|
|
|
|
|
|
|
|
|
|
Provides: user(%name)
|
|
|
|
|
|
|
|
|
|
%description
|
2023-01-31 19:13:35 +08:00
|
|
|
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.
|
2019-12-14 14:47:41 +08:00
|
|
|
|
|
|
|
|
%prep
|
|
|
|
|
%autosetup -p1
|
|
|
|
|
|
|
|
|
|
%build
|
2023-11-27 10:54:13 +08:00
|
|
|
%meson -Dparental_controls=disabled
|
2021-06-09 18:21:01 +08:00
|
|
|
%meson_build
|
2019-12-14 14:47:41 +08:00
|
|
|
|
|
|
|
|
%install
|
2021-06-09 18:21:01 +08:00
|
|
|
%meson_install
|
2019-12-14 14:47:41 +08:00
|
|
|
%delete_la
|
|
|
|
|
|
|
|
|
|
install -d %{buildroot}%{_datadir}/gnome-initial-setup
|
|
|
|
|
cp %{SOURCE1} %{buildroot}%{_datadir}/gnome-initial-setup/
|
|
|
|
|
|
2023-03-02 11:59:48 +08:00
|
|
|
%find_lang %{name}
|
|
|
|
|
|
2022-06-17 14:40:01 +08:00
|
|
|
%check
|
|
|
|
|
desktop-file-validate %{buildroot}%{_sysconfdir}/xdg/autostart/gnome-initial-setup-copy-worker.desktop
|
|
|
|
|
desktop-file-validate %{buildroot}%{_datadir}/applications/gnome-initial-setup.desktop
|
|
|
|
|
|
2019-12-14 14:47:41 +08:00
|
|
|
%pre
|
|
|
|
|
useradd -rM -d /run/gnome-initial-setup/ -s /sbin/nologin %{name} &>/dev/null || :
|
|
|
|
|
|
2022-06-17 14:40:01 +08:00
|
|
|
%files -f %{name}.lang
|
|
|
|
|
%license COPYING
|
|
|
|
|
%doc NEWS README.md
|
|
|
|
|
%{_libexecdir}/gnome-initial-setup
|
|
|
|
|
%{_libexecdir}/gnome-initial-setup-copy-worker
|
2023-01-31 19:13:35 +08:00
|
|
|
%{_libexecdir}/gnome-initial-setup-goa-helper
|
2022-06-17 14:40:01 +08:00
|
|
|
%{_sysconfdir}/xdg/autostart/gnome-initial-setup-copy-worker.desktop
|
|
|
|
|
%{_sysconfdir}/xdg/autostart/gnome-initial-setup-first-login.desktop
|
|
|
|
|
%{_datadir}/applications/gnome-initial-setup.desktop
|
2019-12-14 14:47:41 +08:00
|
|
|
%{_datadir}/gnome-session/sessions/gnome-initial-setup.session
|
|
|
|
|
%{_datadir}/gnome-shell/modes/initial-setup.json
|
|
|
|
|
%{_datadir}/polkit-1/rules.d/20-gnome-initial-setup.rules
|
2023-01-31 19:13:35 +08:00
|
|
|
%{_sysusersdir}/gnome-initial-setup.conf
|
2021-06-09 18:21:01 +08:00
|
|
|
%{_userunitdir}/*
|
2019-12-14 14:47:41 +08:00
|
|
|
%{_datadir}/gnome-initial-setup/vendor.conf
|
|
|
|
|
|
|
|
|
|
%changelog
|
2023-11-27 10:54:13 +08:00
|
|
|
* Mon Nov 27 2023 lwg <liweiganga@uniontech.com> - 44.0-1
|
|
|
|
|
- update to version 44.0
|
|
|
|
|
|
2023-03-02 11:59:48 +08:00
|
|
|
* Thu Mar 02 2023 wenlong ding <wenlong.ding@turbolinux.com.cn> - 43.2-2
|
|
|
|
|
- Move '%%find_lang %{name}' to %%install, fix not found %{name}.lang if disable %%check build
|
|
|
|
|
|
2023-01-31 19:13:35 +08:00
|
|
|
* Mon Jan 02 2023 lin zhang <lin.zhang@turbolinux.com.cn> - 43.2-1
|
|
|
|
|
- Update to 43.2
|
|
|
|
|
|
2022-06-17 14:40:01 +08:00
|
|
|
* Mon Jun 13 2022 lin zhang <lin.zhang@turbolinux.com.cn> - 42.2-1
|
|
|
|
|
- Update to 42.2
|
|
|
|
|
|
2021-06-09 18:21:01 +08:00
|
|
|
* Mon Jun 7 2021 weijin deng <weijin.deng@turbolinux.com.cn> - 3.38.5-1
|
|
|
|
|
- Upgrade to 3.38.5
|
|
|
|
|
- Update Version, Release, Source0, BuildRequires, Requires, stage 'build', 'install', 'files'
|
|
|
|
|
- Use meson rebuild, delete setup-shell.desktop, which doesn't existed in this version
|
|
|
|
|
- Delete honor-firstboot-disabled.patch which existed in this version
|
|
|
|
|
|
2020-01-21 11:13:31 +08:00
|
|
|
* Tue Jan 21 2020 openEuler Buildteam <buildteam@openeuler.org> - 3.30.0-3
|
|
|
|
|
- Type:bugfix
|
|
|
|
|
- ID:NA
|
|
|
|
|
- SUG:reboot
|
|
|
|
|
- DESC:remove link Macau to Macao
|
|
|
|
|
|
2019-12-14 14:47:41 +08:00
|
|
|
* Wed Dec 11 2019 openEuler Buildteam <buildteam@openeuler.org> - 3.30.0-2
|
|
|
|
|
- Package init
|