]> git.pld-linux.org Git - packages/gnome-shell.git/blob - gnome-shell.spec
- updated (at least some) dependendies
[packages/gnome-shell.git] / gnome-shell.spec
1 %define         clutter_ver                     1.21.5
2 %define         evolution_data_server_ver       3.18.0
3 %define         gcr_ver                         3.7.5
4 %define         gjs_ver                         1.54.0
5 %define         glib_ver                        1:2.56.0
6 %define         gnome_bluetooth_ver             3.9.0
7 %define         gnome_desktop_ver               3.7.90
8 %define         gsettings_desktop_schemas_ver   3.28.0
9 %define         gtk_ver                         3.15.0
10 %define         json_glib_ver                   0.13.90
11 %define         libcroco_ver                    0.6.8
12 %define         libsecret_ver                   0.18
13 %define         mutter_ver                      3.32.0
14 %define         NetworkManager_ver              1.10.4
15 %define         polkit_ver                      0.100
16 %define         pulseaudio_ver                  2.0
17 %define         startup_notification_ver        0.11
18
19 Summary:        Window manager and application launcher for GNOME
20 Name:           gnome-shell
21 Version:        3.32.2
22 Release:        1
23 License:        GPL v2+
24 Group:          X11/Window Managers
25 Source0:        http://ftp.gnome.org/pub/GNOME/sources/gnome-shell/3.32/%{name}-%{version}.tar.xz
26 # Source0-md5:  632b67075ebdc183f94461fa05a8505b
27 URL:            http://live.gnome.org/GnomeShell
28 BuildRequires:  NetworkManager-devel >= %{NetworkManager_ver}
29 BuildRequires:  at-spi2-atk-devel
30 BuildRequires:  clutter-devel >= %{clutter_ver}
31 BuildRequires:  evolution-data-server-devel >= %{evolution_data_server_ver}
32 BuildRequires:  gcr-devel >= %{gcr_ver}
33 BuildRequires:  gdk-pixbuf2-devel
34 BuildRequires:  gettext-tools >= 0.19.6
35 BuildRequires:  gjs-devel >= %{gjs_ver}
36 BuildRequires:  glib2-devel >= %{glib_ver}
37 BuildRequires:  gnome-bluetooth-devel >= %{gnome_bluetooth_ver}
38 BuildRequires:  gnome-control-center-devel
39 # for cldr2json.py (through pygobject->gi)
40 BuildRequires:  gnome-desktop >= %{gnome_desktop_ver}
41 BuildRequires:  gobject-introspection-devel >= 1.50.0
42 BuildRequires:  gsettings-desktop-schemas-devel >= %{gsettings_desktop_schemas_ver}
43 BuildRequires:  gstreamer-devel >= 1.0.0
44 BuildRequires:  gstreamer-plugins-base-devel >= 1.0.0
45 BuildRequires:  gtk+3-devel >= %{gtk_ver}
46 BuildRequires:  gtk-doc >= 1.15
47 BuildRequires:  ibus-devel >= 1.5.2
48 BuildRequires:  json-glib-devel >= %{json_glib_ver}
49 BuildRequires:  libcanberra-devel
50 BuildRequires:  libcanberra-gtk3-devel
51 BuildRequires:  libcroco-devel >= %{libcroco_ver}
52 BuildRequires:  libsecret-devel >= %{libsecret_ver}
53 BuildRequires:  libsoup-devel
54 BuildRequires:  libxml2-devel >= 2.0
55 BuildRequires:  libxslt-progs
56 BuildRequires:  meson >= 0.47.0
57 BuildRequires:  mutter-devel >= %{mutter_ver}
58 BuildRequires:  ninja >= 1.5
59 BuildRequires:  pkgconfig >= 1:0.22
60 BuildRequires:  polkit-devel >= %{polkit_ver}
61 BuildRequires:  pulseaudio-devel >= %{pulseaudio_ver}
62 BuildRequires:  python3
63 BuildRequires:  python3-pygobject3 >= 3
64 BuildRequires:  rpm-pythonprov
65 BuildRequires:  rpmbuild(macros) >= 1.601
66 BuildRequires:  sassc
67 BuildRequires:  startup-notification-devel >= %{startup_notification_ver}
68 BuildRequires:  systemd-devel
69 BuildRequires:  tar >= 1:1.22
70 BuildRequires:  xorg-lib-libX11-devel
71 BuildRequires:  xorg-lib-libXfixes-devel
72 BuildRequires:  xz
73 Requires(post,postun):  glib2 >= 1:2.26.0
74 # gjs->gi->NMA.gir
75 Requires:       NetworkManager-gtk-lib >= %{NetworkManager_ver}
76 Requires:       NetworkManager-libs >= %{NetworkManager_ver}
77 Requires:       at-spi2-atk >= 2.4.0
78 Requires:       clutter >= %{clutter_ver}
79 Requires:       evolution-data-server >= %{evolution_data_server_ver}
80 Requires:       gcr >= %{gcr_ver}
81 Requires:       gjs >= %{gjs_ver}
82 Requires:       glib2 >= %{glib_ver}
83 Requires:       gnome-bluetooth-libs >= %{gnome_bluetooth_ver}
84 Requires:       gnome-desktop >= %{gnome_desktop_ver}
85 Requires:       gnome-settings-daemon >= 3.8.0
86 Requires:       gnome-themes-standard
87 Requires:       gsettings-desktop-schemas >= %{gsettings_desktop_schemas_ver}
88 Requires:       gtk+3 >= %{gtk_ver}
89 Requires:       ibus >= 1.5.2
90 Requires:       json-glib >= %{json_glib_ver}
91 Requires:       libcroco >= %{libcroco_ver}
92 Requires:       libsecret >= %{libsecret_ver}
93 Requires:       mutter >= %{mutter_ver}
94 Requires:       nautilus >= 3.8.0
95 Requires:       polkit >= %{polkit_ver}
96 Requires:       pulseaudio-libs >= %{pulseaudio_ver}
97 Requires:       startup-notification >= %{startup_notification_ver}
98 # gjs->gir->TelepathyGLib
99 Requires:       telepathy-glib >= 0.17.5
100 # gjs->gir->TelepathyLogger
101 Requires:       telepathy-logger-libs >= 0.2
102 Requires:       telepathy-mission-control
103 Suggests:       gnome-contacts >= 3.2.0
104 Suggests:       gnome-icon-theme-symbolic >= 3.8.0
105 Provides:       gdm-wm = 3.8.0
106 Obsoletes:      browser-plugin-gnome-shell < 3.32.2-1
107 BuildRoot:      %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
108
109 %description
110 GNOME Shell is the defining technology of the GNOME 3 desktop user
111 experience. It provides core interface functions like switching to
112 windows and launching applications. GNOME Shell takes advantage of the
113 capabilities of modern graphics hardware and introduces innovative
114 user interface concepts to provide a delightful and easy to use
115 experience.
116
117 %package devel
118 Summary:        Development files for GNOME Shell
119 Summary(pl.UTF-8):      Pliki programistyczne dla GNOME Shell
120 Group:          Development/Libraries
121
122 %description devel
123 This package provides development files for GNOME Shell.
124
125 %description devel -l pl.UTF-8
126 Ten pakiet dostarcza pliki programistyczne dla GNOME Shell.
127
128 %package apidocs
129 Summary:        GNOME Shell API documentation
130 Summary(pl.UTF-8):      Dokumentacja API GNOME Shell
131 Group:          Documentation
132 Requires:       gtk-doc-common
133 %if "%{_rpmversion}" >= "5"
134 BuildArch:      noarch
135 %endif
136
137 %description apidocs
138 This package provides GNOME Shell API documentation.
139
140 %description apidocs -l pl.UTF-8
141 Ten pakiet dostarcza dokumentacjÄ™ API GNOME Shell.
142
143 %prep
144 %setup -q
145
146 %build
147 %meson build \
148         -Dgtk_doc=true
149 %meson_build -C build
150
151 %install
152 rm -rf $RPM_BUILD_ROOT
153 install -d $RPM_BUILD_ROOT%{_datadir}/gnome-shell/{extensions,search-providers}
154
155 %meson_install -C build
156
157 # evolution already ships this file
158 %{__rm} $RPM_BUILD_ROOT%{_desktopdir}/evolution-calendar.desktop
159
160 %{__rm} $RPM_BUILD_ROOT%{_libdir}/gnome-shell/libgnome-shell*.a
161
162 %find_lang %{name}
163
164 %clean
165 rm -rf $RPM_BUILD_ROOT
166
167 %post
168 %glib_compile_schemas
169
170 %postun
171 if [ "$1" = "0" ]; then
172         %glib_compile_schemas
173 fi
174
175 %files -f %{name}.lang
176 %defattr(644,root,root,755)
177 %doc NEWS README.md
178 %attr(755,root,root) %{_bindir}/gnome-shell
179 %attr(755,root,root) %{_bindir}/gnome-shell-extension-prefs
180 %attr(755,root,root) %{_bindir}/gnome-shell-extension-tool
181 %attr(755,root,root) %{_bindir}/gnome-shell-perf-tool
182 %attr(755,root,root) %{_libexecdir}/gnome-shell-calendar-server
183 %attr(755,root,root) %{_libexecdir}/gnome-shell-hotplug-sniffer
184 %attr(755,root,root) %{_libexecdir}/gnome-shell-overrides-migration.sh
185 %attr(755,root,root) %{_libexecdir}/gnome-shell-perf-helper
186 %attr(755,root,root) %{_libexecdir}/gnome-shell-portal-helper
187 %dir %{_libdir}/gnome-shell
188 %attr(755,root,root) %{_libdir}/gnome-shell/libgnome-shell.so
189 %attr(755,root,root) %{_libdir}/gnome-shell/libgnome-shell-menu.so
190 %attr(755,root,root) %{_libdir}/gnome-shell/libgvc.so
191 %attr(755,root,root) %{_libdir}/gnome-shell/libst-1.0.so
192 %{_libdir}/gnome-shell/Gvc-1.0.typelib
193 %{_libdir}/gnome-shell/Shell-0.1.typelib
194 %{_libdir}/gnome-shell/St-1.0.typelib
195 %{_datadir}/GConf/gsettings/gnome-shell-overrides.convert
196 %{_datadir}/dbus-1/interfaces/org.gnome.Shell.Introspect.xml
197 %{_datadir}/dbus-1/services/org.gnome.Shell.CalendarServer.service
198 %{_datadir}/dbus-1/services/org.gnome.Shell.HotplugSniffer.service
199 %{_datadir}/dbus-1/services/org.gnome.Shell.PortalHelper.service
200 %{_datadir}/glib-2.0/schemas/00_org.gnome.shell.gschema.override
201 %{_datadir}/glib-2.0/schemas/org.gnome.shell.gschema.xml
202 %{_datadir}/gnome-control-center/keybindings/*.xml
203 %{_datadir}/gnome-shell
204 %{_datadir}/xdg-desktop-portal/portals/gnome-shell.portal
205 %{_desktopdir}/gnome-shell-extension-prefs.desktop
206 %{_desktopdir}/org.gnome.Shell.desktop
207 %{_desktopdir}/org.gnome.Shell.PortalHelper.desktop
208 %{_mandir}/man1/gnome-shell.1*
209 %{_sysconfdir}/xdg/autostart/gnome-shell-overrides-migration.desktop
210 %{systemduserunitdir}/gnome-shell-wayland.target
211 %{systemduserunitdir}/gnome-shell-x11.target
212 %{systemduserunitdir}/gnome-shell.service
213
214 %files devel
215 %defattr(644,root,root,755)
216 %{_datadir}/dbus-1/interfaces/org.gnome.Shell.Extensions.xml
217 %{_datadir}/dbus-1/interfaces/org.gnome.Shell.PadOsd.xml
218 %{_datadir}/dbus-1/interfaces/org.gnome.Shell.Screencast.xml
219 %{_datadir}/dbus-1/interfaces/org.gnome.Shell.Screenshot.xml
220 %{_datadir}/dbus-1/interfaces/org.gnome.ShellSearchProvider.xml
221 %{_datadir}/dbus-1/interfaces/org.gnome.ShellSearchProvider2.xml
222
223 %files apidocs
224 %defattr(644,root,root,755)
225 %{_gtkdocdir}/shell
226 %{_gtkdocdir}/st
This page took 0.093956 seconds and 3 git commands to generate.