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