Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
X11:Pantheon
gala
gala.spec
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File gala.spec of Package gala
# # spec file for package gala # # Copyright (c) 2018 SUSE LINUX GmbH, Nuernberg, Germany. # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed # upon. The license for this file, and modifications and additions to the # file, is the same license as for the pristine package itself (unless the # license for the pristine package is not an Open Source License, in which # case the license is the MIT License). An "Open Source License" is a # license that conforms to the Open Source Definition (Version 1.9) # published by the Open Source Initiative. # Please submit bugfixes or comments via http://bugs.opensuse.org/ # %global __provides_exclude_from ^%{_libdir}/.*/plugins/.*\\.so$ %define version_number() %(\\ rpm -q --whatprovides %1 --qf '%%{VERSION}' \\ | awk 'match($0,/[0-9]+\.[.0-9]+?[0-9]/,a){print a[0]; exit}' \\ | awk 'BEGIN{FS="."}{print $1 * 1000000 + $2 * 1000 + $3}'\\ ) %define mutter_version %{version_number mutter-devel} %if 0%{?mutter_version} >= 3028004 %define has_mutter330 1 %endif %define sover 0 Name: gala Version: 0.3.1+git215.395670e Release: 0 Summary: The Pantheon window manager License: GPL-3.0-or-later Group: System/GUI/Other URL: https://elementary.io/ Source: %{name}-%{version}.tar.xz # PATCH-FIX-UPSTREAM 0001-port-to-mutter330.patch <lavjamanxd@gmail.com> -- Port to mutter >= 3.30 Patch0: 0001-port-to-mutter330.patch BuildRequires: fdupes BuildRequires: gnome-common BuildRequires: hicolor-icon-theme BuildRequires: meson >= 0.42.0 BuildRequires: mutter-devel < 3.28.4 BuildRequires: pkgconfig BuildRequires: update-desktop-files BuildRequires: pkgconfig(clutter-1.0) BuildRequires: pkgconfig(clutter-gtk-1.0) BuildRequires: pkgconfig(gdk-x11-3.0) >= 3.4.0 BuildRequires: pkgconfig(gee-0.8) BuildRequires: pkgconfig(gio-2.0) >= 2.32.0 BuildRequires: pkgconfig(gio-unix-2.0) >= 2.32.0 BuildRequires: pkgconfig(glib-2.0) >= 2.32.0 BuildRequires: pkgconfig(gmodule-2.0) BuildRequires: pkgconfig(gnome-desktop-3.0) BuildRequires: pkgconfig(gnome-settings-daemon) BuildRequires: pkgconfig(gobject-2.0) BuildRequires: pkgconfig(granite) BuildRequires: pkgconfig(gtk+-3.0) >= 3.4.0 BuildRequires: pkgconfig(libbamf3) BuildRequires: pkgconfig(libcanberra) BuildRequires: pkgconfig(libcanberra-gtk3) BuildRequires: pkgconfig(plank) >= 0.11.0 BuildRequires: pkgconfig(vapigen) >= 0.28.0 Requires: clutter-gtk Requires: dbus-1 Requires: gnome-themes Recommends: %{name}-plugins Recommends: %{name}-lang Provides: windowmanager %glib2_gsettings_schema_requires # SECTION Fix desktopfile-without-binary rpmlint warning BuildRequires: dbus-1 # /SECTION %description Gala is a window and compositing manager based on libmutter. It manages the various windows a user has open. It takes care of behaviors such as moving windows around, window switching, window overview, animating windows, maximization, multiple workspaces, providing accessibility features like zoom, and more. %package -n lib%{name}%{sover} Summary: Gala is a library for Elementary development Group: System/Libraries %description -n lib%{name}%{sover} Gala is a window and compositing manager based on libmutter. It manages the various windows a user has open. %package plugins Summary: A collection of plugins for %{name} Group: System/GUI/Other Requires: %{name} = %{version} %description plugins Gala is a window and compositing manager based on libmutter. It manages the various windows a user has open. This package contains a collection of plugins: zoom, notify, maskcorners etc. %package devel Summary: Gala development library -- Development files Group: Development/Libraries/GNOME Requires: lib%{name}%{sover} = %{version} %description devel Gala is a window and compositing manager based on libmutter. It manages the various windows a user has open. This package contains the development files for libgranite. %lang_package %prep %setup -q %{?has_mutter330:%patch0 -p1} sed -i 's/0\.19\.6/0.19.2/' $(grep -rl '0\.19\.6') %build %meson %meson_build %install %meson_install find %{buildroot} -type f -name "*.la" -delete -print # Fix ERROR: No sufficient Category definition %suse_update_desktop_file -r %{name}-multitaskingview GTK System Monitor %find_lang %{name} %{?no_lang_C} %fdupes -s %{buildroot}%{_datadir} # Fix "values extending the format should start with "X-"" rpmlint warning sed -i 's/OnlyShowIn=/X-GNOME-OnlyShowIn=/g' \ %{buildroot}%{_datadir}/applications/%{name}-multitaskingview.desktop # Fix: Icon will not found when changing the locale settings sed -e '/^Icon\[[a-zA-Z_]\+]/d' \ -i $(grep -rl '^Icon\[[a-zA-Z_]\+]' %{buildroot}%{_datadir}/applications) %if 0%{?suse_version} < 1500 %post %icon_theme_cache_post %desktop_database_post %glib2_gsettings_schema_post %postun %icon_theme_cache_postun %desktop_database_postun %glib2_gsettings_schema_postun %endif %post -n lib%{name}%{sover} -p /sbin/ldconfig %postun -n lib%{name}%{sover} -p /sbin/ldconfig %files %license COPYING %doc AUTHORS README.md %{_bindir}/%{name}* %{_datadir}/%{name}/ %{_datadir}/applications/%{name}*.desktop %{_datadir}/icons/hicolor/*/apps/multitasking-view.??g %{_datadir}/glib-2.0/schemas/org.pantheon.desktop.gala.gschema.xml %dir %{_libdir}/%{name} %files -n lib%{name}%{sover} %{_libdir}/lib%{name}.so.* %files plugins %{_libdir}/%{name}/plugins/ %files devel %{_includedir}/%{name}/ %{_libdir}/lib%{name}.so %{_libdir}/pkgconfig/%{name}.pc %{_datadir}/vala/vapi/%{name}.* %files lang -f %{name}.lang %changelog
Locations
Projects
Search
Status Monitor
Help
OpenBuildService.org
Documentation
API Documentation
Code of Conduct
Contact
Support
@OBShq
Terms
openSUSE Build Service is sponsored by
The Open Build Service is an
openSUSE project
.
Sign Up
Log In
Places
Places
All Projects
Status Monitor