]>
Commit | Line | Data |
---|---|---|
1 | # | |
2 | # Conditional build: | |
3 | %bcond_with krb5 # MIT Kerberos 5 instead of Heimdal | |
4 | %bcond_without malcontent # parental control via malcontent | |
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 | |
9 | Version: 3.38.1 | |
10 | Release: 1 | |
11 | License: GPL v2+ | |
12 | Group: X11/Applications | |
13 | Source0: http://ftp.gnome.org/pub/GNOME/sources/gnome-initial-setup/3.38/%{name}-%{version}.tar.xz | |
14 | # Source0-md5: e5c45b203ac075902110b67731c9caa5 | |
15 | Patch0: %{name}-heimdal.patch | |
16 | URL: https://wiki.gnome.org/Design/OS/InitialSetup | |
17 | BuildRequires: NetworkManager-devel >= 1.2 | |
18 | BuildRequires: NetworkManager-gtk-lib-devel >= 1.0 | |
19 | BuildRequires: accountsservice-devel | |
20 | BuildRequires: cheese-devel >= 3.28 | |
21 | BuildRequires: fontconfig-devel | |
22 | BuildRequires: gdm-devel >= 3.8.3 | |
23 | BuildRequires: geoclue2-devel >= 2.3.1 | |
24 | BuildRequires: geocode-glib-devel >= 1.0 | |
25 | BuildRequires: gettext-tools | |
26 | BuildRequires: glib2-devel >= 1:2.63.1 | |
27 | BuildRequires: gnome-desktop-devel >= 3.8.0 | |
28 | BuildRequires: gnome-online-accounts-devel >= 3.0 | |
29 | BuildRequires: gsettings-desktop-schemas-devel >= 3.37.1 | |
30 | BuildRequires: gtk+3-devel >= 3.12.0 | |
31 | BuildRequires: gtk-webkit4-devel >= 2.26.0 | |
32 | %{!?with_krb5:BuildRequires: heimdal-devel} | |
33 | BuildRequires: ibus-devel >= 1.4.99 | |
34 | BuildRequires: iso-codes | |
35 | BuildRequires: json-glib-devel | |
36 | %{?with_krb5:BuildRequires: krb5-devel} | |
37 | BuildRequires: libgweather-devel >= 3.0 | |
38 | %if %{with malcontent} | |
39 | BuildRequires: libmalcontent-devel >= 0.6.0 | |
40 | BuildRequires: libmalcontent-ui-devel >= 0.6.0 | |
41 | %endif | |
42 | BuildRequires: libpwquality-devel | |
43 | BuildRequires: libsecret-devel >= 0.18.8 | |
44 | BuildRequires: meson >= 0.47.0 | |
45 | BuildRequires: ninja >= 1.5 | |
46 | BuildRequires: pango-devel >= 1:1.32.5 | |
47 | BuildRequires: pkgconfig | |
48 | BuildRequires: polkit-devel >= 0.103 | |
49 | BuildRequires: rest-devel >= 0.7 | |
50 | BuildRequires: rpmbuild(macros) >= 1.736 | |
51 | BuildRequires: systemd-units >= 1:242 | |
52 | BuildRequires: tar >= 1:1.22 | |
53 | BuildRequires: xz | |
54 | Requires: NetworkManager >= 1.2 | |
55 | Requires: NetworkManager-gtk-lib >= 1.0 | |
56 | Requires: cheese >= 3.28 | |
57 | Requires: gdm >= 3.8.3 | |
58 | Requires: geoclue2 >= 2.3.1 | |
59 | Requires: glib2 >= 1:2.63.1 | |
60 | Requires: gnome-desktop >= 3.8.0 | |
61 | Requires: gnome-online-accounts >= 3.0 | |
62 | %ifarch %{ix86} %{x8664} aarch64 | |
63 | # where available | |
64 | Requires: gnome-tour >= 3.38 | |
65 | %endif | |
66 | Requires: gsettings-desktop-schemas >= 3.37.1 | |
67 | Requires: gtk+3 >= 3.12.0 | |
68 | Requires: gtk-webkit4 >= 2.26.0 | |
69 | Requires: ibus >= 1.4.99 | |
70 | Requires: iso-codes | |
71 | Requires: libgweather >= 3.0 | |
72 | Requires: libsecret >= 0.18.8 | |
73 | %if %{with malcontent} | |
74 | Requires: malcontent >= 0.6.0 | |
75 | %endif | |
76 | Requires: pango >= 1:1.32.5 | |
77 | Requires: polkit >= 0.103 | |
78 | Requires: rest >= 0.7 | |
79 | Requires: systemd-units >= 1:242 | |
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 | |
97 | %meson build \ | |
98 | %{!?with_malcontent:-Dparental_controls=disabled} | |
99 | ||
100 | %ninja_build -C build | |
101 | ||
102 | %install | |
103 | rm -rf $RPM_BUILD_ROOT | |
104 | ||
105 | %ninja_install -C build | |
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) | |
114 | %doc NEWS README.md | |
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 | |
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 | |
125 | %{systemduserunitdir}/gnome-session.target.wants | |
126 | %{systemduserunitdir}/gnome-session@gnome-initial-setup.target.d | |
127 | %{systemduserunitdir}/gnome-initial-setup-copy-worker.service | |
128 | %{systemduserunitdir}/gnome-initial-setup-first-login.service | |
129 | %{systemduserunitdir}/gnome-welcome-tour.service |