]>
Commit | Line | Data |
---|---|---|
a860f861 ŁK |
1 | # |
2 | # Conditional build: | |
5cf236a1 | 3 | %bcond_without systemd # by default use systemd for session tracking instead of ConsoleKit (fallback to ConsoleKit on runtime) |
a860f861 | 4 | # |
80f1cab6 | 5 | Summary: Window manager and application launcher for GNOME |
1a7ebb2b | 6 | Name: gnome-shell |
3f2c11fa | 7 | Version: 3.6.3.1 |
2ec034be | 8 | Release: 1 |
1a7ebb2b | 9 | License: GPL v2+ |
10 | Group: X11/Window Managers | |
1255cf42 | 11 | Source0: http://ftp.gnome.org/pub/GNOME/sources/gnome-shell/3.6/%{name}-%{version}.tar.xz |
3f2c11fa | 12 | # Source0-md5: 6d00d16fd54fa0d0e5d4b3a7dcad0bfe |
80f1cab6 | 13 | URL: http://live.gnome.org/GnomeShell |
46d92bde | 14 | BuildRequires: NetworkManager-devel >= 0.8.999 |
80f1cab6 | 15 | BuildRequires: autoconf >= 2.63 |
293b02ce | 16 | BuildRequires: automake >= 1:1.11 |
1255cf42 | 17 | BuildRequires: clutter-devel >= 1.11.11 |
80f1cab6 | 18 | BuildRequires: dbus-glib-devel |
1255cf42 | 19 | BuildRequires: evolution-data-server-devel >= 3.5.3 |
a860f861 | 20 | BuildRequires: gcr-devel >= 3.3.90 |
293b02ce | 21 | BuildRequires: gettext-devel >= 0.17 |
1255cf42 | 22 | BuildRequires: gjs-devel >= 1.33.2 |
a860f861 | 23 | BuildRequires: glib2-devel >= 1:2.31.6 |
293b02ce | 24 | BuildRequires: gnome-bluetooth-devel >= 3.1.0 |
1255cf42 ŁK |
25 | BuildRequires: gnome-desktop-devel >= 3.5.1 |
26 | BuildRequires: gnome-menus-devel >= 3.5.3 | |
80f1cab6 | 27 | BuildRequires: gobject-introspection-devel >= 0.10.1 |
1255cf42 ŁK |
28 | BuildRequires: gsettings-desktop-schemas-devel >= 3.5.4 |
29 | BuildRequires: gstreamer-devel >= 1.0.0 | |
30 | BuildRequires: gstreamer-plugins-base-devel >= 1.0.0 | |
a860f861 | 31 | BuildRequires: gtk+3-devel >= 3.3.9 |
d588dcc3 | 32 | BuildRequires: gtk-doc >= 1.15 |
293b02ce ŁK |
33 | BuildRequires: intltool >= 0.40 |
34 | BuildRequires: json-glib-devel >= 0.13.90 | |
80f1cab6 | 35 | BuildRequires: libcanberra-devel |
293b02ce ŁK |
36 | BuildRequires: libcroco-devel >= 0.6.2 |
37 | BuildRequires: libgnome-keyring-devel | |
38 | BuildRequires: libsoup-devel | |
80f1cab6 ŁK |
39 | BuildRequires: libtool >= 2:2.2.6 |
40 | BuildRequires: libxml2-devel | |
cfbe7068 ŁK |
41 | BuildRequires: libxslt-progs |
42 | BuildRequires: mutter-devel >= 3.6.2 | |
80f1cab6 ŁK |
43 | BuildRequires: pkgconfig >= 1:0.22 |
44 | BuildRequires: polkit-devel >= 0.100 | |
45 | BuildRequires: pulseaudio-devel | |
a985b63a | 46 | BuildRequires: rpm-pythonprov |
80f1cab6 | 47 | BuildRequires: rpmbuild(macros) >= 1.601 |
293b02ce | 48 | BuildRequires: startup-notification-devel >= 0.11 |
a860f861 | 49 | %{?with_systemd:BuildRequires: systemd-devel} |
293b02ce | 50 | BuildRequires: tar >= 1:1.22 |
a860f861 | 51 | BuildRequires: telepathy-glib-devel >= 0.17.5 |
80f1cab6 ŁK |
52 | BuildRequires: telepathy-logger-devel >= 0.2.4 |
53 | BuildRequires: xorg-lib-libXfixes-devel | |
293b02ce | 54 | BuildRequires: xz |
80f1cab6 | 55 | Requires(post,postun): glib2 >= 1:2.26.0 |
90f9906f | 56 | Requires: at-spi2-atk >= 2.4.0 |
293b02ce | 57 | Requires: caribou >= 0.3.5 |
1255cf42 ŁK |
58 | Requires: evolution-data-server >= 3.5.3 |
59 | Requires: gjs >= 1.33.2 | |
a860f861 | 60 | Requires: glib2 >= 1:2.31.6 |
293b02ce | 61 | Requires: gnome-bluetooth-libs >= 3.1.0 |
1255cf42 | 62 | Requires: gnome-menus >= 3.5.3 |
293b02ce | 63 | Requires: gnome-settings-daemon >= 3.1.90 |
1255cf42 | 64 | Requires: gsettings-desktop-schemas >= 3.5.4 |
a860f861 | 65 | Requires: gtk+3 >= 3.3.9 |
cfbe7068 | 66 | Requires: mutter >= 3.6.2 |
21482538 | 67 | Requires: nautilus >= 3.2.0 |
626f4cd1 | 68 | Requires: telepathy-logger >= 0.2.4 |
90f9906f | 69 | Requires: telepathy-mission-control |
21482538 | 70 | Suggests: gnome-contacts >= 3.2.0 |
76f6a6f7 | 71 | Suggests: gnome-icon-theme-symbolic >= 3.0.0 |
1255cf42 | 72 | Provides: gdm-wm = 3.6.0 |
1a7ebb2b | 73 | BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n) |
74 | ||
75 | %description | |
80f1cab6 ŁK |
76 | GNOME Shell is the defining technology of the GNOME 3 desktop user |
77 | experience. It provides core interface functions like switching to | |
78 | windows and launching applications. GNOME Shell takes advantage of the | |
79 | capabilities of modern graphics hardware and introduces innovative | |
80 | user interface concepts to provide a delightful and easy to use | |
81 | experience. | |
1a7ebb2b | 82 | |
a860f861 ŁK |
83 | %package apidocs |
84 | Summary: GNOME Shell API documentation | |
85 | Summary(pl.UTF-8): Dokumentacja API GNOME Shell | |
86 | Group: Documentation | |
87 | Requires: gtk-doc-common | |
88 | ||
89 | %description apidocs | |
90 | This package provides GNOME Shell API documentation. | |
91 | ||
92 | %description apidocs -l pl.UTF-8 | |
93 | Ten pakiet dostarcza dokumentację API GNOME Shell. | |
94 | ||
293b02ce ŁK |
95 | %package -n browser-plugin-%{name} |
96 | Summary: gnome-shell plugin for WWW browsers | |
97 | Summary(pl.UTF-8): Wtyczka gnome-shell do przeglądarek WWW | |
98 | Group: X11/Libraries | |
99 | Requires: %{name} = %{version}-%{release} | |
100 | Requires: browser-plugins >= 2.0 | |
101 | Requires: browser-plugins(%{_target_base_arch}) | |
102 | Provides: mozilla-firefox-plugin-gnome-shell = %{version}-%{release} | |
103 | Provides: mozilla-plugin-gnome-shell = %{version}-%{release} | |
104 | Obsoletes: mozilla-firefox-plugin-gnome-shell < %{version}-%{release} | |
105 | Obsoletes: mozilla-plugin-gnome-shell < %{version}-%{release} | |
106 | ||
107 | %description -n browser-plugin-%{name} | |
108 | gnome-shell plugin for WWW browsers. | |
109 | ||
110 | %description -n browser-plugin-%{name} -l pl.UTF-8 | |
111 | Wtyczka gnome-shell do przeglądarek WWW. | |
112 | ||
1a7ebb2b | 113 | %prep |
114 | %setup -q | |
115 | ||
116 | %build | |
80f1cab6 ŁK |
117 | %{__intltoolize} |
118 | %{__libtoolize} | |
f5486c89 | 119 | %{__aclocal} -I m4 |
80f1cab6 ŁK |
120 | %{__autoconf} |
121 | %{__autoheader} | |
122 | %{__automake} | |
1a7ebb2b | 123 | %configure \ |
293b02ce | 124 | --with-ca-certificates=/etc/certs/ca-certificates.crt \ |
a860f861 | 125 | --enable-gtk-doc \ |
184c4ba1 | 126 | --disable-silent-rules \ |
a860f861 ŁK |
127 | --disable-static \ |
128 | %{__enable_disable systemd systemd} \ | |
129 | --with-html-dir=%{_gtkdocdir} | |
80f1cab6 | 130 | %{__make} -j1 |
1a7ebb2b | 131 | |
132 | %install | |
133 | rm -rf $RPM_BUILD_ROOT | |
d5cb8e80 | 134 | install -d $RPM_BUILD_ROOT%{_datadir}/gnome-shell/{extensions,search-providers} |
1a7ebb2b | 135 | |
136 | %{__make} install \ | |
43e0fed8 ER |
137 | INSTALL="install -p" \ |
138 | install_sh="install -p" \ | |
293b02ce ŁK |
139 | DESTDIR=$RPM_BUILD_ROOT \ |
140 | mozillalibdir=%{_browserpluginsdir} | |
1a7ebb2b | 141 | |
a860f861 | 142 | %{__rm} $RPM_BUILD_ROOT%{_libdir}/gnome-shell/*.la \ |
293b02ce | 143 | $RPM_BUILD_ROOT%{_browserpluginsdir}/*.la |
2d8a9ea1 AF |
144 | # evolution already ships this file |
145 | %{__rm} $RPM_BUILD_ROOT%{_desktopdir}/evolution-calendar.desktop | |
80f1cab6 ŁK |
146 | |
147 | %find_lang %{name} | |
1a7ebb2b | 148 | |
149 | %clean | |
150 | rm -rf $RPM_BUILD_ROOT | |
151 | ||
152 | %post | |
80f1cab6 | 153 | %glib_compile_schemas |
1a7ebb2b | 154 | |
80f1cab6 ŁK |
155 | %postun |
156 | if [ "$1" = "0" ]; then | |
157 | %glib_compile_schemas | |
158 | fi | |
1a7ebb2b | 159 | |
293b02ce ŁK |
160 | %post -n browser-plugin-%{name} |
161 | %update_browser_plugins | |
162 | ||
163 | %postun -n browser-plugin-%{name} | |
164 | if [ "$1" = 0 ]; then | |
165 | %update_browser_plugins | |
166 | fi | |
167 | ||
1a7ebb2b | 168 | %files -f %{name}.lang |
169 | %defattr(644,root,root,755) | |
9f710482 | 170 | %attr(755,root,root) %{_bindir}/gnome-shell |
a860f861 | 171 | %attr(755,root,root) %{_bindir}/gnome-shell-extension-prefs |
80f1cab6 | 172 | %attr(755,root,root) %{_bindir}/gnome-shell-extension-tool |
1255cf42 | 173 | %attr(755,root,root) %{_bindir}/gnome-shell-perf-tool |
293b02ce ŁK |
174 | %attr(755,root,root) %{_libexecdir}/gnome-shell-calendar-server |
175 | %attr(755,root,root) %{_libexecdir}/gnome-shell-hotplug-sniffer | |
176 | %attr(755,root,root) %{_libexecdir}/gnome-shell-perf-helper | |
80f1cab6 ŁK |
177 | %dir %{_libdir}/gnome-shell |
178 | %attr(755,root,root) %{_libdir}/gnome-shell/libgnome-shell.so | |
a860f861 | 179 | %attr(755,root,root) %{_libdir}/gnome-shell/libgnome-shell-js.so |
80f1cab6 ŁK |
180 | %{_libdir}/gnome-shell/Gvc-1.0.typelib |
181 | %{_libdir}/gnome-shell/Shell-0.1.typelib | |
a860f861 | 182 | %{_libdir}/gnome-shell/ShellJS-0.1.typelib |
80f1cab6 | 183 | %{_libdir}/gnome-shell/St-1.0.typelib |
a860f861 ŁK |
184 | %{_datadir}/GConf/gsettings/gnome-shell-overrides.convert |
185 | %{_datadir}/dbus-1/interfaces/org.gnome.ShellSearchProvider.xml | |
80f1cab6 | 186 | %{_datadir}/dbus-1/services/org.gnome.Shell.CalendarServer.service |
293b02ce | 187 | %{_datadir}/dbus-1/services/org.gnome.Shell.HotplugSniffer.service |
80f1cab6 | 188 | %{_datadir}/glib-2.0/schemas/org.gnome.shell.gschema.xml |
dff2b018 | 189 | %{_datadir}/gnome-control-center/keybindings/*.xml |
80f1cab6 ŁK |
190 | %{_datadir}/gnome-shell |
191 | %{_desktopdir}/gnome-shell.desktop | |
a860f861 | 192 | %{_desktopdir}/gnome-shell-extension-prefs.desktop |
80f1cab6 | 193 | %{_mandir}/man1/gnome-shell.1* |
293b02ce | 194 | |
a860f861 ŁK |
195 | %files apidocs |
196 | %defattr(644,root,root,755) | |
197 | %{_gtkdocdir}/shell | |
198 | %{_gtkdocdir}/st | |
199 | ||
293b02ce ŁK |
200 | %files -n browser-plugin-%{name} |
201 | %defattr(644,root,root,755) | |
202 | %attr(755,root,root) %{_browserpluginsdir}/libgnome-shell-browser-plugin.so |