File budgie-desktop.spec of Package budgie-desktop

# spec file for package budgie-desktop
# Copyright (c) 2017 SUSE LINUX GmbH, Nuernberg, Germany.
# Copyright (c) 2013-2016 Ikey Doherty <>
# 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

Name:           budgie-desktop
Version:        10.4
Release:        0
Summary:        GTK3 Desktop Environment
License:        GPL-2.0+ AND LGPL-2.1
Group:          System/GUI/Other
# PATCH-FIX-UPSTREAM: temp patch for sandbox changes in Meson 0.43.0.
# Proper fix is in upstream master (gh#budgie-desktop/budgie-desktop#1194).
Patch0:         fix-meson-build.patch
BuildRequires:  gtk-doc
BuildRequires:  intltool
BuildRequires:  meson >= 0.41.2
BuildRequires:  pkg-config
BuildRequires:  vala >= 0.28
BuildRequires:  pkgconfig(accountsservice)
BuildRequires:  pkgconfig(gio-2.0)
BuildRequires:  pkgconfig(gio-unix-2.0)
BuildRequires:  pkgconfig(gnome-bluetooth-1.0)
BuildRequires:  pkgconfig(gnome-desktop-3.0)
BuildRequires:  pkgconfig(gobject-2.0)
BuildRequires:  pkgconfig(gobject-introspection-1.0)
BuildRequires:  pkgconfig(gtk+-3.0)
BuildRequires:  pkgconfig(ibus-1.0)
BuildRequires:  pkgconfig(libgnome-menu-3.0)
BuildRequires:  pkgconfig(libpeas-gtk-1.0)
BuildRequires:  pkgconfig(libpulse)
BuildRequires:  pkgconfig(libwnck-3.0)
%if 0%{?suse_version} > 1320
BuildRequires:  pkgconfig(libmutter-1)
BuildRequires:  pkgconfig(libmutter)
BuildRequires:  sassc
BuildRequires:  pkgconfig(polkit-agent-1)
BuildRequires:  pkgconfig(polkit-gobject-1)
BuildRequires:  pkgconfig(upower-glib)
BuildRequires:  pkgconfig(uuid)

BuildRoot:      %{_tmppath}/%{name}-%{version}-build
Requires:       gnome-session
Requires:       gnome-settings-daemon

#Recommends:     gnome-screensaver
Recommends:     NetworkManager-applet
Recommends:     gnome-backgrounds
Recommends:     gnome-control-center

Budgie Desktop is the flagship desktop for the Solus Operating System.

%package -n typelib_1_0-Budgie-0_1
Summary:        Introspection bindings for the Budgie Desktop
Group:          System/Libraries
Requires:       %{name} = %{version}-%{release}

%description -n typelib_1_0-Budgie-0_1
This package provides GObject Introspection files required for
developing Budgie Applets using interpreted languages, such as Python
GObject Introspection bindings.

%package devel
Summary:        Development files for the Budgie Desktop
Group:          Development/Libraries/GNOME
Requires:       %{name} = %{version}-%{release}
Requires:       typelib_1_0-Budgie-0_1 = %{version}-%{release}

%description devel
This package provides development files required for software to be
able to use and link against the Budgie APIs, to create their own
applets for the Budgie Panel.

%package docs
Summary:        Documentation files for the Budgie Desktop
Group:          Documentation/HTML

%description docs
This package provides API Documentation for the Budgie Plugin API, in the
GTK-Doc HTML format.

%package -n libraven0
Summary:        Shared library for Raven
Group:          System/Libraries

%description -n libraven0
Budgie Desktop Notification Center.

%package -n libbudgietheme0
Summary:        Shared library for Budgie theming
Group:          System/Libraries

%description -n libbudgietheme0
Budgie theming engine shared library package.

%package -n libbudgie-plugin0
Summary:        Shared library for Budgie plugins
Group:          System/Libraries

%description -n libbudgie-plugin0
Shared library for budgie plugins to link against.

%setup -q
%patch0 -p1
cp -r src/gvc subprojects


export LANG=en_US.UTF-8

# GNOME Screensaver missing in openSUSE
rm %{buildroot}/%{_sysconfdir}/xdg/autostart/budgie-desktop-screensaver.desktop

%find_lang %{name}



%post   -n libraven0 -p /sbin/ldconfig
%postun -n libraven0 -p /sbin/ldconfig

%post   -n libbudgietheme0 -p /sbin/ldconfig
%postun -n libbudgietheme0 -p /sbin/ldconfig

%post   -n libbudgie-plugin0 -p /sbin/ldconfig
%postun -n libbudgie-plugin0 -p /sbin/ldconfig

%files -f %{name}.lang
%dir %{_datadir}/gnome-session
%dir %{_datadir}/gnome-session/sessions

%files -n libraven0

%files -n libbudgietheme0

%files -n libbudgie-plugin0

%files devel
%dir %{_includedir}/budgie-desktop

%files -n typelib_1_0-Budgie-0_1

%files docs

openSUSE Build Service is sponsored by