]>
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 | |
59703ee1 | 9 | Version: 3.38.1 |
56227cb7 | 10 | Release: 1 |
0f7870d9 JB |
11 | License: GPL v2+ |
12 | Group: X11/Applications | |
8d9de334 | 13 | Source0: http://ftp.gnome.org/pub/GNOME/sources/gnome-initial-setup/3.38/%{name}-%{version}.tar.xz |
59703ee1 | 14 | # Source0-md5: e5c45b203ac075902110b67731c9caa5 |
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 |
0f7870d9 JB |
27 | BuildRequires: gnome-desktop-devel >= 3.8.0 |
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} | |
37 | BuildRequires: libgweather-devel >= 3.0 | |
56227cb7 JB |
38 | %if %{with malcontent} |
39 | BuildRequires: libmalcontent-devel >= 0.6.0 | |
40 | BuildRequires: libmalcontent-ui-devel >= 0.6.0 | |
41 | %endif | |
0f7870d9 | 42 | BuildRequires: libpwquality-devel |
56227cb7 | 43 | BuildRequires: libsecret-devel >= 0.18.8 |
ef4db202 JB |
44 | BuildRequires: meson >= 0.47.0 |
45 | BuildRequires: ninja >= 1.5 | |
0f7870d9 | 46 | BuildRequires: pango-devel >= 1:1.32.5 |
0f7870d9 | 47 | BuildRequires: pkgconfig |
bd68593e | 48 | BuildRequires: polkit-devel >= 0.103 |
0f7870d9 | 49 | BuildRequires: rest-devel >= 0.7 |
ef4db202 | 50 | BuildRequires: rpmbuild(macros) >= 1.736 |
8d9de334 | 51 | BuildRequires: systemd-units >= 1:242 |
0f7870d9 JB |
52 | BuildRequires: tar >= 1:1.22 |
53 | BuildRequires: xz | |
5cc1bca6 JB |
54 | Requires: NetworkManager >= 1.2 |
55 | Requires: NetworkManager-gtk-lib >= 1.0 | |
56227cb7 | 56 | Requires: cheese >= 3.28 |
0f7870d9 | 57 | Requires: gdm >= 3.8.3 |
5cc1bca6 | 58 | Requires: geoclue2 >= 2.3.1 |
56227cb7 | 59 | Requires: glib2 >= 1:2.63.1 |
0f7870d9 JB |
60 | Requires: gnome-desktop >= 3.8.0 |
61 | Requires: gnome-online-accounts >= 3.0 | |
8d9de334 JB |
62 | %ifarch %{ix86} %{x8664} aarch64 |
63 | # where available | |
64 | Requires: gnome-tour >= 3.38 | |
65 | %endif | |
66 | Requires: gsettings-desktop-schemas >= 3.37.1 | |
0f7870d9 | 67 | Requires: gtk+3 >= 3.12.0 |
8d9de334 | 68 | Requires: gtk-webkit4 >= 2.26.0 |
0f7870d9 JB |
69 | Requires: ibus >= 1.4.99 |
70 | Requires: iso-codes | |
71 | Requires: libgweather >= 3.0 | |
56227cb7 JB |
72 | Requires: libsecret >= 0.18.8 |
73 | %if %{with malcontent} | |
74 | Requires: malcontent >= 0.6.0 | |
75 | %endif | |
0f7870d9 JB |
76 | Requires: pango >= 1:1.32.5 |
77 | Requires: polkit >= 0.103 | |
78 | Requires: rest >= 0.7 | |
8d9de334 | 79 | Requires: systemd-units >= 1:242 |
0f7870d9 JB |
80 | BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n) |
81 | ||
82 | %description | |
83 | After acquiring or installing a new system there are a few essential | |
84 | things to set up before use. gnome-initial-setup aims to provide a | |
85 | simple, easy, and safe way to prepare a new system. | |
86 | ||
87 | %description -l pl.UTF-8 | |
88 | Po zainstalowaniu nowego systemu należy skonfigurować kilka | |
89 | podstawowych elementów. gnome-initial-setup zapewnia prosty, łatwy i | |
90 | bezpieczny sposób przygotowania nowego systemu. | |
91 | ||
92 | %prep | |
93 | %setup -q | |
94 | %{!?with_krb5:%patch0 -p1} | |
95 | ||
96 | %build | |
ef4db202 | 97 | %meson build \ |
56227cb7 | 98 | %{!?with_malcontent:-Dparental_controls=disabled} |
ef4db202 JB |
99 | |
100 | %ninja_build -C build | |
0f7870d9 JB |
101 | |
102 | %install | |
103 | rm -rf $RPM_BUILD_ROOT | |
104 | ||
ef4db202 | 105 | %ninja_install -C build |
0f7870d9 JB |
106 | |
107 | %find_lang %{name} | |
108 | ||
109 | %clean | |
110 | rm -rf $RPM_BUILD_ROOT | |
111 | ||
112 | %files -f %{name}.lang | |
113 | %defattr(644,root,root,755) | |
8d9de334 | 114 | %doc NEWS README.md |
0f7870d9 JB |
115 | /etc/xdg/autostart/gnome-initial-setup-copy-worker.desktop |
116 | /etc/xdg/autostart/gnome-initial-setup-first-login.desktop | |
117 | /etc/xdg/autostart/gnome-welcome-tour.desktop | |
118 | %attr(755,root,root) %{_libexecdir}/gnome-initial-setup | |
119 | %attr(755,root,root) %{_libexecdir}/gnome-initial-setup-copy-worker | |
120 | %attr(755,root,root) %{_libexecdir}/gnome-welcome-tour | |
121 | %{_datadir}/gdm/greeter/applications/gnome-initial-setup.desktop | |
0f7870d9 JB |
122 | %{_datadir}/gnome-session/sessions/gnome-initial-setup.session |
123 | %{_datadir}/gnome-shell/modes/initial-setup.json | |
124 | %{_datadir}/polkit-1/rules.d/20-gnome-initial-setup.rules | |
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 | |
ef4db202 | 129 | %{systemduserunitdir}/gnome-welcome-tour.service |