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