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