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