/[packages]/updates/5/gnome-shell/current/SPECS/gnome-shell.spec
ViewVC logotype

Contents of /updates/5/gnome-shell/current/SPECS/gnome-shell.spec

Parent Directory Parent Directory | Revision Log Revision Log


Revision 679763 - (show annotations) (download)
Tue Sep 16 16:04:39 2014 UTC (9 years, 6 months ago) by umeabot
Original Path: cauldron/gnome-shell/current/SPECS/gnome-shell.spec
File size: 7828 byte(s)
Mageia 5 Mass Rebuild
1 %define url_ver %(echo %{version}|cut -d. -f1,2)
2
3 %define mutter_ver %(echo %{version}|cut -d. -f1,2,3)
4 #define mutter_wayland_ver %(echo %{version}|cut -d. -f1,2,3)
5 %define mutter_wayland_ver 3.13.3
6 # To make GNOME Shell extensions load, we need to get rid of DT_RUNPATH on /usr/bin/gnome-shell
7 # (see glibc bug #13945, GNOME bug #670477, Mageia bug #4523)
8 %define _disable_ld_enable_new_dtags 1
9
10 Summary: Core user interface for the GNOME 3 desktop
11 Name: gnome-shell
12 Version: 3.13.91
13 Release: %mkrel 2
14 Source0: https://download.gnome.org/sources/%{name}/%{url_ver}/%{name}-%{version}.tar.xz
15 Source1: gnome-shell-session
16 Patch1: gnome-shell-3.6.3.1-fix-evolution-calendar.patch
17 Patch3: gnome-shell-3.10.0.1-allow-per-screen-backgrounds.patch
18 Patch4: gnome-shell-3.10.0.1-set-mageia-background.patch
19
20 License: GPLv2+ and LGPLv2+
21 Group: Graphical desktop/GNOME
22 Url: https://wiki.gnome.org/GnomeShell
23 BuildRequires: pkgconfig(clutter-1.0)
24 BuildRequires: pkgconfig(clutter-glx-1.0) >= 1.7.5
25 BuildRequires: pkgconfig(clutter-x11-1.0) >= 1.7.5
26 BuildRequires: pkgconfig(folks) >= 0.5.2
27 BuildRequires: pkgconfig(gcr-3) >= 3.8.0
28 BuildRequires: pkgconfig(gdk-pixbuf-2.0)
29 BuildRequires: pkgconfig(gdk-x11-3.0)
30 BuildRequires: pkgconfig(gio-unix-2.0) >= 2.31.6
31 BuildRequires: pkgconfig(gjs-internals-1.0) >= 1.29.18
32 BuildRequires: pkgconfig(gl)
33 BuildRequires: pkgconfig(gnome-bluetooth-1.0) >= 3.1.0
34 BuildRequires: pkgconfig(gnome-desktop-3.0) >= 2.90.0
35 BuildRequires: pkgconfig(gnome-keyring-1)
36 BuildRequires: pkgconfig(gnome-keybindings)
37 BuildRequires: pkgconfig(gobject-2.0)
38 BuildRequires: pkgconfig(gobject-introspection-1.0) >= 0.10.1
39 BuildRequires: pkgconfig(gsettings-desktop-schemas) >= 0.1.7
40 BuildRequires: pkgconfig(gstreamer-1.0) >= 0.11.92
41 BuildRequires: pkgconfig(gstreamer-base-1.0)
42 BuildRequires: pkgconfig(gtk+-3.0) >= 3.3.9
43 BuildRequires: pkgconfig(gtk-doc)
44 BuildRequires: pkgconfig(libcanberra)
45 BuildRequires: pkgconfig(libcroco-0.6) >= 0.6.2
46 BuildRequires: pkgconfig(libecal-1.2) >= 2.32.0
47 BuildRequires: pkgconfig(libedataserver-1.2) >= 1.2.0
48 BuildRequires: pkgconfig(libgnome-menu-3.0)
49 BuildRequires: pkgconfig(libmutter) >= %{mutter_ver}
50 # ovitters: experimental Wayland
51 BuildRequires: pkgconfig(libnm-glib)
52 BuildRequires: pkgconfig(libnm-util)
53 BuildRequires: pkgconfig(libnm-gtk)
54 BuildRequires: pkgconfig(libpulse)
55 BuildRequires: pkgconfig(libpulse-mainloop-glib)
56 BuildRequires: pkgconfig(libsoup-2.4)
57 BuildRequires: pkgconfig(libstartup-notification-1.0) >= 0.11
58 BuildRequires: pkgconfig(libxml-2.0)
59 BuildRequires: pkgconfig(polkit-agent-1) >= 0.100
60 BuildRequires: pkgconfig(libsystemd-login)
61 BuildRequires: pkgconfig(libsystemd-daemon)
62 BuildRequires: pkgconfig(telepathy-glib) >= 0.17.5
63 BuildRequires: pkgconfig(telepathy-logger-0.2) >= 0.2.4
64 BuildRequires: pkgconfig(x11)
65 BuildRequires: pkgconfig(xfixes)
66 BuildRequires: pkgconfig(caribou-1.0)
67 BuildRequires: intltool >= 0.40.0
68 BuildRequires: gnome-common
69 BuildRequires: gettext-devel
70 Requires: mutter >= %{mutter_ver}
71 Requires: gjs
72 Requires: glxinfo
73 Requires: gnome-session
74 Requires: adwaita-icon-theme
75 # For a GSettings schema
76 Requires: gnome-settings-daemon
77 Requires: gsettings-desktop-schemas >= 3.9.2
78 Requires: packagekit-gtk3-module
79 Requires: telepathy-mission-control
80 Requires: gnome-control-center
81 # mga#11640 when there are multiple keyboard layouts, "Show Keyboard Layouts" option
82 Requires: libgnomekbd-common
83 # fix "(gnome-shell:13455): Gjs-WARNING **: JS ERROR: Error: Requiring GjsPrivate, version none: Typelib file for namespace 'GjsPrivate' (any version) not found":
84 Requires: typelib(GjsPrivate)
85 # fix "Gjs-Message: JS LOG: Error: Requiring IBus, version none: Typelib file for namespace 'IBus' (any version) not found":
86 Requires: typelib(IBus)
87 # fix "gnome-session[13807]: (gnome-shell:14017): Gjs-WARNING **: JS ERROR: Error: Requiring Gdm, version none: Typelib file for namespace 'Gdm' (any version) not found":
88 Requires: typelib(Gdm) = 1.0
89 # fix "(gnome-shell:15160): Gjs-WARNING **: JS ERROR: Error: Requiring GnomeBluetooth, version none: Typelib file for namespace 'GnomeBluetooth' (any version) not found":
90 Requires: typelib(GnomeBluetooth)
91 # fix "(gnome-shell:15958): Gjs-WARNING **: JS ERROR: Error: Requiring UPowerGlib, version none: Typelib file for namespace 'UPowerGlib' (any version) not found":
92 Requires: typelib(UPowerGlib)
93 # fix "gnome-session[16312]: (gnome-shell:16555): Gjs-WARNING **: JS ERROR: Error: Requiring Polkit, version none: Typelib file for namespace 'Polkit' (any version) not found":
94 Requires: typelib(Polkit)
95 # fix "(gnome-shell:22189): Gjs-WARNING **: JS ERROR: Error: Requiring TelepathyLogger, version none: Typelib file for namespace 'TelepathyLogger' (any version) not fou":
96 Requires: typelib(TelepathyLogger)
97 # fix "gnome-session[22359]: (gnome-shell:22636): Gjs-WARNING **: JS ERROR: Error: Requiring Gcr, version none: Typelib file for namespace 'Gcr' (any version) not found":
98 Requires: typelib(Gcr)
99 #fix "gnome-session[7744]: (gnome-shell:7775): Gjs-WARNING **: JS ERROR: Error: Requiring AccountsService, version none: Typelib file for namespace 'AccountsService' (any version) not found"
100 Requires: typelib(AccountsService)
101 Requires: typelib(GSystem)
102 Requires: typelib(Caribou)
103
104 # gnome-shell handles notifications natively, no notification-daemon needed
105 Provides: virtual-notification-daemon
106 # and ditto for polkit authorisation dialogs
107 Provides: polkit-agent
108
109 #Requires for login
110 Requires: %{_lib}mutter-gir3.0
111
112 Obsoletes: gnome-applet-netspeed < 3.0.2
113
114 %description
115 GNOME Shell provides core user interface functions for the GNOME 3
116 desktop, like switching to windows and launching applications. GNOME
117 Shell takes advantage of the capabilities of modern graphics hardware
118 and introduces innovative user interface concepts to provide a
119 visually attractive and easy to use experience.
120
121 %package docs
122 Summary: Documentation for %{name}
123 Group: Documentation
124 BuildArch: noarch
125
126 %description docs
127 This package contains the documentation for %{name}.
128
129 %prep
130 %setup -q
131 %apply_patches
132
133 %build
134 %configure2_5x \
135 --enable-compile-warnings=no \
136 --disable-static --disable-schemas-compile
137 %make V=1
138
139 %install
140 GCONF_DISABLE_MAKEFILE_SCHEMA_INSTALL=1 %makeinstall_std
141
142 %find_lang %name
143
144 mkdir -p %{buildroot}/%{_datadir}/gnome-shell/xdg-override/autostart
145 cp -f %{buildroot}/%{_datadir}/applications/gnome-shell.desktop %{buildroot}/%{_datadir}/gnome-shell/xdg-override/autostart
146
147 find %{buildroot} -name '*.la' -delete
148
149 install -m 755 %{SOURCE1} %{buildroot}/%{_datadir}/gnome-shell/
150
151 %files -f %name.lang
152 %doc README
153 %{_bindir}/*
154 %{_libdir}/%{name}
155 %{_libexecdir}/gnome-shell-calendar-server
156 %{_libexecdir}/gnome-shell-perf-helper
157 %{_libexecdir}/gnome-shell-hotplug-sniffer
158 %{_libexecdir}/gnome-shell-portal-helper
159 %{_libdir}/mozilla/plugins/*.so
160 %{_datadir}/dbus-1/services/org.gnome.Shell.CalendarServer.service
161 %{_datadir}/dbus-1/services/org.gnome.Shell.HotplugSniffer.service
162 %{_datadir}/dbus-1/services/org.gnome.Shell.PortalHelper.service
163 %{_datadir}/dbus-1/interfaces/org.gnome.ShellSearchProvider.xml
164 %{_datadir}/dbus-1/interfaces/org.gnome.Shell.Screencast.xml
165 %{_datadir}/dbus-1/interfaces/org.gnome.Shell.Screenshot.xml
166 %{_datadir}/dbus-1/interfaces/org.gnome.ShellSearchProvider2.xml
167 %{_datadir}/glib-2.0/schemas/org.gnome.shell.gschema.xml
168 %{_datadir}/GConf/gsettings/gnome-shell-overrides.convert
169 %{_datadir}/applications/%{name}.desktop
170 # ovitters: Experimental Wayland support
171 %{_datadir}/applications/%{name}-wayland.desktop
172 %{_datadir}/applications/evolution-calendar.desktop
173 %{_datadir}/applications/gnome-shell-extension-prefs.desktop
174 %{_datadir}/applications/org.gnome.Shell.PortalHelper.desktop
175 %{_datadir}/gnome-control-center/keybindings/*%{name}*.xml
176 %{_datadir}/%{name}
177 %{_mandir}/man1/%{name}.1*
178
179 %files docs
180 %{_datadir}/gtk-doc/html/shell
181 %{_datadir}/gtk-doc/html/st

  ViewVC Help
Powered by ViewVC 1.1.30