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