]>
Commit | Line | Data |
---|---|---|
0f7870d9 JB |
1 | # |
2 | # Conditional build: | |
3 | %bcond_with krb5 # MIT Kerberos 5 instead of Heimdal | |
4 | # | |
5 | Summary: GNOME Initial Setup utility | |
6 | Summary(pl.UTF-8): GNOME Initial Setup - narzędzie do wstępnej konfiguracji środowiska | |
7 | Name: gnome-initial-setup | |
bd9ecb78 | 8 | Version: 3.20.1 |
0f7870d9 JB |
9 | Release: 1 |
10 | License: GPL v2+ | |
11 | Group: X11/Applications | |
bd9ecb78 MB |
12 | Source0: http://ftp.gnome.org/pub/GNOME/sources/gnome-initial-setup/3.20/%{name}-%{version}.tar.xz |
13 | # Source0-md5: 3730652bc69c0dc4479dbe049c469291 | |
0f7870d9 JB |
14 | Patch0: %{name}-heimdal.patch |
15 | URL: https://wiki.gnome.org/Design/OS/InitialSetup | |
16 | BuildRequires: NetworkManager-devel >= 0.9.6.4 | |
17 | BuildRequires: NetworkManager-gtk-lib-devel >= 0.9.6.4 | |
18 | BuildRequires: accountsservice-devel | |
19 | BuildRequires: autoconf >= 2.50 | |
20 | BuildRequires: automake | |
21 | BuildRequires: cheese-devel >= 3.3.5 | |
22 | BuildRequires: fontconfig-devel | |
23 | BuildRequires: gdm-devel >= 3.8.3 | |
24 | BuildRequires: geoclue2-devel >= 2.1.2 | |
25 | BuildRequires: gettext-tools | |
26 | BuildRequires: glib2-devel >= 1:2.36.0 | |
27 | BuildRequires: gnome-common | |
28 | BuildRequires: gnome-desktop-devel >= 3.8.0 | |
29 | BuildRequires: gnome-online-accounts-devel >= 3.0 | |
30 | BuildRequires: gtk+3-devel >= 3.12.0 | |
31 | BuildRequires: gtk-webkit4-devel >= 2.6.0 | |
32 | %{!?with_krb5:BuildRequires: heimdal-devel} | |
33 | BuildRequires: ibus-devel >= 1.4.99 | |
34 | BuildRequires: intltool >= 0.40 | |
35 | BuildRequires: iso-codes | |
36 | BuildRequires: json-glib-devel | |
37 | %{?with_krb5:BuildRequires: krb5-devel} | |
38 | BuildRequires: libgweather-devel >= 3.0 | |
39 | BuildRequires: libpwquality-devel | |
40 | BuildRequires: libsecret-devel | |
41 | BuildRequires: libtool >= 2:2 | |
42 | BuildRequires: pango-devel >= 1:1.32.5 | |
0f7870d9 | 43 | BuildRequires: pkgconfig |
bd68593e | 44 | BuildRequires: polkit-devel >= 0.103 |
0f7870d9 JB |
45 | BuildRequires: rest-devel >= 0.7 |
46 | BuildRequires: tar >= 1:1.22 | |
47 | BuildRequires: xz | |
48 | Requires: NetworkManager >= 0.9.6.4 | |
49 | Requires: NetworkManager-gtk-lib >= 0.9.6.4 | |
50 | Requires: cheese >= 3.3.5 | |
51 | Requires: gdm >= 3.8.3 | |
52 | Requires: geoclue2 >= 2.1.2 | |
53 | Requires: glib2 >= 1:2.36.0 | |
54 | Requires: gnome-desktop >= 3.8.0 | |
55 | Requires: gnome-online-accounts >= 3.0 | |
56 | Requires: gtk+3 >= 3.12.0 | |
57 | Requires: gtk-webkit4 >= 2.6.0 | |
58 | Requires: ibus >= 1.4.99 | |
59 | Requires: iso-codes | |
60 | Requires: libgweather >= 3.0 | |
61 | Requires: pango >= 1:1.32.5 | |
62 | Requires: polkit >= 0.103 | |
63 | Requires: rest >= 0.7 | |
64 | BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n) | |
65 | ||
66 | %description | |
67 | After acquiring or installing a new system there are a few essential | |
68 | things to set up before use. gnome-initial-setup aims to provide a | |
69 | simple, easy, and safe way to prepare a new system. | |
70 | ||
71 | %description -l pl.UTF-8 | |
72 | Po zainstalowaniu nowego systemu należy skonfigurować kilka | |
73 | podstawowych elementów. gnome-initial-setup zapewnia prosty, łatwy i | |
74 | bezpieczny sposób przygotowania nowego systemu. | |
75 | ||
76 | %prep | |
77 | %setup -q | |
78 | %{!?with_krb5:%patch0 -p1} | |
79 | ||
80 | %build | |
81 | %{__intltoolize} | |
82 | %{__libtoolize} | |
83 | %{__aclocal} -I m4 | |
84 | %{__autoconf} | |
85 | %{__autoheader} | |
86 | %{__automake} | |
87 | %configure \ | |
88 | --disable-silent-rules | |
89 | %{__make} | |
90 | ||
91 | %install | |
92 | rm -rf $RPM_BUILD_ROOT | |
93 | ||
94 | %{__make} install \ | |
95 | DESTDIR=$RPM_BUILD_ROOT | |
96 | ||
97 | %find_lang %{name} | |
98 | ||
99 | %clean | |
100 | rm -rf $RPM_BUILD_ROOT | |
101 | ||
102 | %files -f %{name}.lang | |
103 | %defattr(644,root,root,755) | |
104 | %doc AUTHORS NEWS README TODO | |
105 | /etc/xdg/autostart/gnome-initial-setup-copy-worker.desktop | |
106 | /etc/xdg/autostart/gnome-initial-setup-first-login.desktop | |
107 | /etc/xdg/autostart/gnome-welcome-tour.desktop | |
108 | %attr(755,root,root) %{_libexecdir}/gnome-initial-setup | |
109 | %attr(755,root,root) %{_libexecdir}/gnome-initial-setup-copy-worker | |
110 | %attr(755,root,root) %{_libexecdir}/gnome-welcome-tour | |
111 | %{_datadir}/gdm/greeter/applications/gnome-initial-setup.desktop | |
112 | %{_datadir}/gdm/greeter/applications/setup-shell.desktop | |
113 | %{_datadir}/gnome-session/sessions/gnome-initial-setup.session | |
114 | %{_datadir}/gnome-shell/modes/initial-setup.json | |
115 | %{_datadir}/polkit-1/rules.d/20-gnome-initial-setup.rules |