]> git.pld-linux.org Git - packages/gnome-initial-setup.git/blob - gnome-initial-setup.spec
- release 2 (by relup.sh)
[packages/gnome-initial-setup.git] / gnome-initial-setup.spec
1 #
2 # Conditional build:
3 %bcond_with     krb5            # MIT Kerberos 5 instead of Heimdal
4 %bcond_with     packagekit      # PackageKit support (software sources page)
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.24.2
10 Release:        2
11 License:        GPL v2+
12 Group:          X11/Applications
13 Source0:        http://ftp.gnome.org/pub/GNOME/sources/gnome-initial-setup/3.24/%{name}-%{version}.tar.xz
14 # Source0-md5:  33583c43333b7fa17e27a127353bbd12
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 %{?with_packagekit:BuildRequires:       PackageKit-devel >= 1.1.4}
20 BuildRequires:  accountsservice-devel
21 BuildRequires:  autoconf >= 2.50
22 BuildRequires:  automake >= 1:1.11
23 BuildRequires:  cheese-devel >= 3.3.5
24 BuildRequires:  fontconfig-devel
25 BuildRequires:  gdm-devel >= 3.8.3
26 BuildRequires:  geoclue2-devel >= 2.3.1
27 BuildRequires:  geocode-glib-devel >= 1.0
28 BuildRequires:  gettext-tools
29 BuildRequires:  glib2-devel >= 1:2.46.0
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
46 BuildRequires:  pkgconfig
47 BuildRequires:  polkit-devel >= 0.103
48 BuildRequires:  rest-devel >= 0.7
49 BuildRequires:  tar >= 1:1.22
50 BuildRequires:  xz
51 Requires:       NetworkManager >= 1.2
52 Requires:       NetworkManager-gtk-lib >= 1.0
53 %{?with_packagekit:Requires:    PackageKit >= 1.1.4}
54 Requires:       cheese >= 3.3.5
55 Requires:       gdm >= 3.8.3
56 Requires:       geoclue2 >= 2.3.1
57 Requires:       glib2 >= 1:2.46.0
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 \
92         --disable-silent-rules \
93         %{?with_packagekit:--enable-software-sources}
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
This page took 0.081859 seconds and 4 git commands to generate.