]>
Commit | Line | Data |
---|---|---|
0f7870d9 JB |
1 | # |
2 | # Conditional build: | |
5cc1bca6 | 3 | %bcond_with krb5 # MIT Kerberos 5 instead of Heimdal |
56227cb7 | 4 | %bcond_without malcontent # parental control via malcontent |
0f7870d9 JB |
5 | # |
6 | Summary: GNOME Initial Setup utility | |
7 | Summary(pl.UTF-8): GNOME Initial Setup - narzędzie do wstępnej konfiguracji środowiska | |
8 | Name: gnome-initial-setup | |
f6b5220e | 9 | Version: 42.1.1 |
56227cb7 | 10 | Release: 1 |
0f7870d9 JB |
11 | License: GPL v2+ |
12 | Group: X11/Applications | |
f6b5220e JB |
13 | Source0: https://download.gnome.org/sources/gnome-initial-setup/42/%{name}-%{version}.tar.xz |
14 | # Source0-md5: 5161fe9fb47953be0a5f586abd0dc56a | |
0f7870d9 JB |
15 | Patch0: %{name}-heimdal.patch |
16 | URL: https://wiki.gnome.org/Design/OS/InitialSetup | |
5cc1bca6 JB |
17 | BuildRequires: NetworkManager-devel >= 1.2 |
18 | BuildRequires: NetworkManager-gtk-lib-devel >= 1.0 | |
0f7870d9 | 19 | BuildRequires: accountsservice-devel |
56227cb7 | 20 | BuildRequires: cheese-devel >= 3.28 |
0f7870d9 JB |
21 | BuildRequires: fontconfig-devel |
22 | BuildRequires: gdm-devel >= 3.8.3 | |
5cc1bca6 JB |
23 | BuildRequires: geoclue2-devel >= 2.3.1 |
24 | BuildRequires: geocode-glib-devel >= 1.0 | |
0f7870d9 | 25 | BuildRequires: gettext-tools |
56227cb7 | 26 | BuildRequires: glib2-devel >= 1:2.63.1 |
f6b5220e | 27 | BuildRequires: gnome-desktop4-devel >= 42 |
0f7870d9 | 28 | BuildRequires: gnome-online-accounts-devel >= 3.0 |
8d9de334 | 29 | BuildRequires: gsettings-desktop-schemas-devel >= 3.37.1 |
0f7870d9 | 30 | BuildRequires: gtk+3-devel >= 3.12.0 |
8d9de334 | 31 | BuildRequires: gtk-webkit4-devel >= 2.26.0 |
0f7870d9 JB |
32 | %{!?with_krb5:BuildRequires: heimdal-devel} |
33 | BuildRequires: ibus-devel >= 1.4.99 | |
0f7870d9 JB |
34 | BuildRequires: iso-codes |
35 | BuildRequires: json-glib-devel | |
36 | %{?with_krb5:BuildRequires: krb5-devel} | |
f6b5220e JB |
37 | BuildRequires: libgweather4-devel >= 4.0 |
38 | BuildRequires: libhandy1-devel >= 1.5.90 | |
56227cb7 JB |
39 | %if %{with malcontent} |
40 | BuildRequires: libmalcontent-devel >= 0.6.0 | |
41 | BuildRequires: libmalcontent-ui-devel >= 0.6.0 | |
42 | %endif | |
0f7870d9 | 43 | BuildRequires: libpwquality-devel |
56227cb7 | 44 | BuildRequires: libsecret-devel >= 0.18.8 |
f6b5220e | 45 | BuildRequires: meson >= 0.53.0 |
ef4db202 | 46 | BuildRequires: ninja >= 1.5 |
0f7870d9 | 47 | BuildRequires: pango-devel >= 1:1.32.5 |
0f7870d9 | 48 | BuildRequires: pkgconfig |
bd68593e | 49 | BuildRequires: polkit-devel >= 0.103 |
0f7870d9 | 50 | BuildRequires: rest-devel >= 0.7 |
ef4db202 | 51 | BuildRequires: rpmbuild(macros) >= 1.736 |
8d9de334 | 52 | BuildRequires: systemd-units >= 1:242 |
0f7870d9 JB |
53 | BuildRequires: tar >= 1:1.22 |
54 | BuildRequires: xz | |
5cc1bca6 JB |
55 | Requires: NetworkManager >= 1.2 |
56 | Requires: NetworkManager-gtk-lib >= 1.0 | |
56227cb7 | 57 | Requires: cheese >= 3.28 |
0f7870d9 | 58 | Requires: gdm >= 3.8.3 |
5cc1bca6 | 59 | Requires: geoclue2 >= 2.3.1 |
56227cb7 | 60 | Requires: glib2 >= 1:2.63.1 |
f6b5220e | 61 | Requires: gnome-desktop4 >= 42 |
0f7870d9 | 62 | Requires: gnome-online-accounts >= 3.0 |
8d9de334 JB |
63 | %ifarch %{ix86} %{x8664} aarch64 |
64 | # where available | |
65 | Requires: gnome-tour >= 3.38 | |
66 | %endif | |
67 | Requires: gsettings-desktop-schemas >= 3.37.1 | |
0f7870d9 | 68 | Requires: gtk+3 >= 3.12.0 |
8d9de334 | 69 | Requires: gtk-webkit4 >= 2.26.0 |
0f7870d9 JB |
70 | Requires: ibus >= 1.4.99 |
71 | Requires: iso-codes | |
f6b5220e JB |
72 | Requires: libgweather4 >= 4.0 |
73 | Requires: libhandy1 >= 1.5.90 | |
56227cb7 JB |
74 | Requires: libsecret >= 0.18.8 |
75 | %if %{with malcontent} | |
76 | Requires: malcontent >= 0.6.0 | |
77 | %endif | |
0f7870d9 JB |
78 | Requires: pango >= 1:1.32.5 |
79 | Requires: polkit >= 0.103 | |
80 | Requires: rest >= 0.7 | |
8d9de334 | 81 | Requires: systemd-units >= 1:242 |
0f7870d9 JB |
82 | BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n) |
83 | ||
84 | %description | |
85 | After acquiring or installing a new system there are a few essential | |
86 | things to set up before use. gnome-initial-setup aims to provide a | |
87 | simple, easy, and safe way to prepare a new system. | |
88 | ||
89 | %description -l pl.UTF-8 | |
90 | Po zainstalowaniu nowego systemu należy skonfigurować kilka | |
91 | podstawowych elementów. gnome-initial-setup zapewnia prosty, łatwy i | |
92 | bezpieczny sposób przygotowania nowego systemu. | |
93 | ||
94 | %prep | |
95 | %setup -q | |
96 | %{!?with_krb5:%patch0 -p1} | |
97 | ||
98 | %build | |
ef4db202 | 99 | %meson build \ |
56227cb7 | 100 | %{!?with_malcontent:-Dparental_controls=disabled} |
ef4db202 JB |
101 | |
102 | %ninja_build -C build | |
0f7870d9 JB |
103 | |
104 | %install | |
105 | rm -rf $RPM_BUILD_ROOT | |
106 | ||
ef4db202 | 107 | %ninja_install -C build |
0f7870d9 JB |
108 | |
109 | %find_lang %{name} | |
110 | ||
111 | %clean | |
112 | rm -rf $RPM_BUILD_ROOT | |
113 | ||
114 | %files -f %{name}.lang | |
115 | %defattr(644,root,root,755) | |
8d9de334 | 116 | %doc NEWS README.md |
0f7870d9 JB |
117 | /etc/xdg/autostart/gnome-initial-setup-copy-worker.desktop |
118 | /etc/xdg/autostart/gnome-initial-setup-first-login.desktop | |
0f7870d9 JB |
119 | %attr(755,root,root) %{_libexecdir}/gnome-initial-setup |
120 | %attr(755,root,root) %{_libexecdir}/gnome-initial-setup-copy-worker | |
0f7870d9 JB |
121 | %{_datadir}/gnome-session/sessions/gnome-initial-setup.session |
122 | %{_datadir}/gnome-shell/modes/initial-setup.json | |
123 | %{_datadir}/polkit-1/rules.d/20-gnome-initial-setup.rules | |
2dc455f3 | 124 | %{_desktopdir}/gnome-initial-setup.desktop |
ef4db202 | 125 | %{systemduserunitdir}/gnome-session.target.wants |
8d9de334 | 126 | %{systemduserunitdir}/gnome-session@gnome-initial-setup.target.d |
ef4db202 JB |
127 | %{systemduserunitdir}/gnome-initial-setup-copy-worker.service |
128 | %{systemduserunitdir}/gnome-initial-setup-first-login.service |