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