]> git.pld-linux.org Git - packages/gnome-shell.git/blob - gnome-shell.spec
247af3f66df5970272218d2bfc35d882f73c3e2c
[packages/gnome-shell.git] / gnome-shell.spec
1 %define         caribou_version 0.4.8
2 %define         clutter_version 1.21.5
3 %define         evolution_data_server_version 3.18.0
4 %define         gcr_version 3.7.5
5 %define         gjs_version 1.47.0
6 %define         glib2_version 1:2.46.0
7 %define         gnome_bluetooth_version 3.9.0
8 %define         gnome_desktop_version 3.7.90
9 %define         gnome_menus_version 3.5.3
10 %define         gsettings_desktop_schemas_version 3.22.0
11 %define         gtk_version 3.15.0
12 %define         json_glib_version 0.13.90
13 %define         libcroco_version 0.6.8
14 %define         mutter_version 3.24.0
15 %define         networkmanager_version 0.9.8
16 %define         polkit_version 0.100
17 %define         pulseaudio_version 2.0
18 %define         startup_notification_version 0.11
19 %define         telepathy_glib_version 0.17.5
20
21 Summary:        Window manager and application launcher for GNOME
22 Name:           gnome-shell
23 Version:        3.24.0
24 Release:        1
25 License:        GPL v2+
26 Group:          X11/Window Managers
27 Source0:        http://ftp.gnome.org/pub/GNOME/sources/gnome-shell/3.24/%{name}-%{version}.tar.xz
28 # Source0-md5:  f5ab28ed3a96107289e5cea2609ef18a
29 Patch0:         link.patch
30 URL:            http://live.gnome.org/GnomeShell
31 BuildRequires:  NetworkManager-devel >= %{networkmanager_version}
32 BuildRequires:  NetworkManager-gtk-lib-devel >= %{networkmanager_version}
33 BuildRequires:  autoconf >= 2.63
34 BuildRequires:  automake >= 1:1.11
35 BuildRequires:  clutter-devel >= %{clutter_version}
36 BuildRequires:  evolution-data-server-devel >= %{evolution_data_server_version}
37 BuildRequires:  gcr-devel >= %{gcr_version}
38 BuildRequires:  gdk-pixbuf2-devel
39 BuildRequires:  gettext-tools >= 0.19.6
40 BuildRequires:  gjs-devel >= %{gjs_version}
41 BuildRequires:  glib2-devel >= %{glib2_version}
42 BuildRequires:  gnome-bluetooth-devel >= %{gnome_bluetooth_version}
43 BuildRequires:  gnome-common
44 BuildRequires:  gnome-control-center-devel
45 BuildRequires:  gnome-desktop-devel >= %{gnome_desktop_version}
46 BuildRequires:  gnome-menus-devel >= %{gnome_menus_version}
47 BuildRequires:  gobject-introspection-devel >= 1.50.0
48 BuildRequires:  gsettings-desktop-schemas-devel >= %{gsettings_desktop_schemas_version}
49 BuildRequires:  gstreamer-devel >= 1.0.0
50 BuildRequires:  gstreamer-plugins-base-devel >= 1.0.0
51 BuildRequires:  gtk+3-devel >= %{gtk_version}
52 BuildRequires:  gtk-doc >= 1.15
53 BuildRequires:  json-glib-devel >= %{json_glib_version}
54 BuildRequires:  libcanberra-devel
55 BuildRequires:  libcanberra-gtk3-devel
56 BuildRequires:  libcroco-devel >= 0.6.8
57 BuildRequires:  libsecret-devel
58 BuildRequires:  libsoup-devel
59 BuildRequires:  libtool >= 2:2.2.6
60 BuildRequires:  libxml2-devel
61 BuildRequires:  libxslt-progs
62 BuildRequires:  mutter-devel >= %{mutter_version}
63 BuildRequires:  pkgconfig >= 1:0.22
64 BuildRequires:  polkit-devel >= %{polkit_version}
65 BuildRequires:  pulseaudio-devel >= %{pulseaudio_version}
66 BuildRequires:  python3
67 BuildRequires:  rpm-pythonprov
68 BuildRequires:  rpmbuild(macros) >= 1.601
69 BuildRequires:  ruby-sass
70 BuildRequires:  startup-notification-devel >= %{startup_notification_version}
71 BuildRequires:  systemd-devel
72 BuildRequires:  tar >= 1:1.22
73 BuildRequires:  telepathy-glib-devel >= %{telepathy_glib_version}
74 BuildRequires:  xorg-lib-libX11-devel
75 BuildRequires:  xorg-lib-libXfixes-devel
76 BuildRequires:  xz
77 Requires(post,postun):  glib2 >= 1:2.26.0
78 Requires:       NetworkManager-libs >= %{networkmanager_version}
79 Requires:       at-spi2-atk >= 2.4.0
80 Requires:       caribou-libs >= %{caribou_version}
81 Requires:       clutter >= %{clutter_version}
82 Requires:       evolution-data-server >= %{evolution_data_server_version}
83 Requires:       gcr >= %{gcr_version}
84 Requires:       gjs >= %{gjs_version}
85 Requires:       glib2 >= %{glib2_version}
86 Requires:       gnome-bluetooth-libs >= %{gnome_bluetooth_version}
87 Requires:       gnome-desktop >= %{gnome_desktop_version}
88 Requires:       gnome-menus >= %{gnome_menus_version}
89 Requires:       gnome-settings-daemon >= 3.8.0
90 Requires:       gnome-themes-standard
91 Requires:       gsettings-desktop-schemas >= %{gsettings_desktop_schemas_version}
92 Requires:       gtk+3 >= %{gtk_version}
93 Requires:       json-glib >= %{json_glib_version}
94 Requires:       libcroco >= %{libcroco_version}
95 Requires:       mutter >= %{mutter_version}
96 Requires:       nautilus >= 3.8.0
97 Requires:       polkit >= %{polkit_version}
98 Requires:       pulseaudio-libs >= %{pulseaudio_version}
99 Requires:       startup-notification >= %{startup_notification_version}
100 Requires:       telepathy-glib >= %{telepathy_glib_version}
101 Requires:       telepathy-logger-libs >= 0.2
102 Requires:       telepathy-mission-control
103 Suggests:       gnome-contacts >= 3.2.0
104 Suggests:       gnome-icon-theme-symbolic >= 3.8.0
105 Provides:       gdm-wm = 3.8.0
106 BuildRoot:      %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
107
108 %description
109 GNOME Shell is the defining technology of the GNOME 3 desktop user
110 experience. It provides core interface functions like switching to
111 windows and launching applications. GNOME Shell takes advantage of the
112 capabilities of modern graphics hardware and introduces innovative
113 user interface concepts to provide a delightful and easy to use
114 experience.
115
116 %package devel
117 Summary:        Development files for GNOME Shell
118 Summary(pl.UTF-8):      Pliki programistyczne dla GNOME Shell
119 Group:          Development/Libraries
120
121 %description devel
122 This package provides development files for GNOME Shell.
123
124 %description devel -l pl.UTF-8
125 Ten pakiet dostarcza pliki programistyczne dla GNOME Shell.
126
127 %package apidocs
128 Summary:        GNOME Shell API documentation
129 Summary(pl.UTF-8):      Dokumentacja API GNOME Shell
130 Group:          Documentation
131 Requires:       gtk-doc-common
132 %if "%{_rpmversion}" >= "5"
133 BuildArch:      noarch
134 %endif
135
136 %description apidocs
137 This package provides GNOME Shell API documentation.
138
139 %description apidocs -l pl.UTF-8
140 Ten pakiet dostarcza dokumentację API GNOME Shell.
141
142 %package -n browser-plugin-%{name}
143 Summary:        gnome-shell plugin for WWW browsers
144 Summary(pl.UTF-8):      Wtyczka gnome-shell do przeglądarek WWW
145 Group:          X11/Libraries
146 Requires:       %{name} = %{version}-%{release}
147 Requires:       browser-plugins >= 2.0
148 Requires:       browser-plugins(%{_target_base_arch})
149
150 %description -n browser-plugin-%{name}
151 gnome-shell plugin for WWW browsers.
152
153 %description -n browser-plugin-%{name} -l pl.UTF-8
154 Wtyczka gnome-shell do przeglądarek WWW.
155
156 %prep
157 %setup -q
158 %patch0 -p1
159
160 %build
161 %{__libtoolize}
162 %{__aclocal} -I m4
163 %{__autoconf}
164 %{__autoheader}
165 %{__automake}
166 %configure \
167         --enable-gtk-doc \
168         --disable-silent-rules \
169         --disable-static \
170         --with-html-dir=%{_gtkdocdir}
171 %{__make} -j1
172
173 %install
174 rm -rf $RPM_BUILD_ROOT
175 install -d $RPM_BUILD_ROOT%{_datadir}/gnome-shell/{extensions,search-providers}
176
177 %{__make} install \
178         INSTALL="install -p" \
179         install_sh="install -p" \
180         DESTDIR=$RPM_BUILD_ROOT \
181         mozillalibdir=%{_browserpluginsdir}
182
183 %{__rm} $RPM_BUILD_ROOT%{_libdir}/gnome-shell/*.la \
184         $RPM_BUILD_ROOT%{_browserpluginsdir}/*.la
185 # evolution already ships this file
186 %{__rm} $RPM_BUILD_ROOT%{_desktopdir}/evolution-calendar.desktop
187
188 %find_lang %{name}
189
190 %clean
191 rm -rf $RPM_BUILD_ROOT
192
193 %post
194 %glib_compile_schemas
195
196 %postun
197 if [ "$1" = "0" ]; then
198         %glib_compile_schemas
199 fi
200
201 %post -n browser-plugin-%{name}
202 %update_browser_plugins
203
204 %postun -n browser-plugin-%{name}
205 if [ "$1" = 0 ]; then
206         %update_browser_plugins
207 fi
208
209 %files -f %{name}.lang
210 %defattr(644,root,root,755)
211 %attr(755,root,root) %{_bindir}/gnome-shell
212 %attr(755,root,root) %{_bindir}/gnome-shell-extension-prefs
213 %attr(755,root,root) %{_bindir}/gnome-shell-extension-tool
214 %attr(755,root,root) %{_bindir}/gnome-shell-perf-tool
215 %attr(755,root,root) %{_libexecdir}/gnome-shell-calendar-server
216 %attr(755,root,root) %{_libexecdir}/gnome-shell-hotplug-sniffer
217 %attr(755,root,root) %{_libexecdir}/gnome-shell-perf-helper
218 %attr(755,root,root) %{_libexecdir}/gnome-shell-portal-helper
219 %dir %{_libdir}/gnome-shell
220 %attr(755,root,root) %{_libdir}/gnome-shell/libgnome-shell.so
221 %attr(755,root,root) %{_libdir}/gnome-shell/libgnome-shell-menu.so
222 %{_libdir}/gnome-shell/Gvc-1.0.typelib
223 %{_libdir}/gnome-shell/Shell-0.1.typelib
224 %{_libdir}/gnome-shell/St-1.0.typelib
225 %{_libdir}/gnome-shell/ShellMenu-0.1.typelib
226 %{_datadir}/GConf/gsettings/gnome-shell-overrides.convert
227 %{_datadir}/dbus-1/services/org.gnome.Shell.CalendarServer.service
228 %{_datadir}/dbus-1/services/org.gnome.Shell.HotplugSniffer.service
229 %{_datadir}/dbus-1/services/org.gnome.Shell.PortalHelper.service
230 %{_datadir}/glib-2.0/schemas/org.gnome.shell.gschema.xml
231 %{_datadir}/gnome-control-center/keybindings/*.xml
232 %{_datadir}/gnome-shell
233 %{_datadir}/xdg-desktop-portal/portals/gnome-shell.portal
234 %{_desktopdir}/gnome-shell-extension-prefs.desktop
235 %{_desktopdir}/org.gnome.Shell.desktop
236 %{_desktopdir}/org.gnome.Shell.PortalHelper.desktop
237 %{_mandir}/man1/gnome-shell.1*
238
239 %files devel
240 %defattr(644,root,root,755)
241 %{_datadir}/dbus-1/interfaces/org.gnome.Shell.PadOsd.xml
242 %{_datadir}/dbus-1/interfaces/org.gnome.Shell.Screencast.xml
243 %{_datadir}/dbus-1/interfaces/org.gnome.Shell.Screenshot.xml
244 %{_datadir}/dbus-1/interfaces/org.gnome.ShellSearchProvider.xml
245 %{_datadir}/dbus-1/interfaces/org.gnome.ShellSearchProvider2.xml
246
247 %files apidocs
248 %defattr(644,root,root,755)
249 %{_gtkdocdir}/shell
250 %{_gtkdocdir}/st
251
252 %files -n browser-plugin-%{name}
253 %defattr(644,root,root,755)
254 %attr(755,root,root) %{_browserpluginsdir}/libgnome-shell-browser-plugin.so
This page took 0.078428 seconds and 2 git commands to generate.