Files
packages/anda/elementary/switchboard-plug-pantheon-shell/switchboard-plug-pantheon-shell.spec
T
windowsboy111 8f909d1130 Add pantheon / elementary packages
NOTE: wingpanel-indicator-sound seems to have 2 useless patches?
2022-10-15 19:17:38 +08:00

84 lines
2.1 KiB
RPMSpec

%global __provides_exclude_from ^%{_libdir}/switchboard/.*\\.so$
%global srcname switchboard-plug-pantheon-shell
%global plug_type personal
%global plug_name pantheon-desktop
%global plug_rdnn io.elementary.switchboard.pantheon-shell
Name: switchboard-plug-pantheon-shell
Summary: Switchboard Pantheon Shell plug
Version: 6.3.0
Release: %autorelease
License: GPLv3
URL: https://github.com/elementary/switchboard-plug-pantheon-shell
Source0: %{url}/archive/%{version}/%{srcname}-%{version}.tar.gz
BuildRequires: gettext
BuildRequires: libappstream-glib
BuildRequires: meson
BuildRequires: vala >= 0.22.0
BuildRequires: pkgconfig(gexiv2)
BuildRequires: pkgconfig(gio-2.0)
BuildRequires: pkgconfig(glib-2.0) >= 2.32
BuildRequires: pkgconfig(gnome-desktop-3.0)
BuildRequires: pkgconfig(gobject-2.0)
BuildRequires: pkgconfig(granite) >= 6.0.0
BuildRequires: pkgconfig(gtk+-3.0) >= 3.22.0
BuildRequires: pkgconfig(libhandy-1)
BuildRequires: pkgconfig(plank) >= 0.10.9
BuildRequires: pkgconfig(switchboard-2.0)
Requires: contractor
Requires: gala
Requires: tumbler
Requires: wingpanel
Requires: switchboard%{?_isa}
Supplements: (switchboard%{?_isa} and gala and wingpanel)
%description
The desktop plug is a section in Switchboard, the elementary System
Settings app, where users can configure the wallpaper, dock, and
hotcorners. In the future the desktop plug might also handle other
desktop settings such as the panel, app launcher, and window manager.
%prep
%autosetup -n %{srcname}-%{version} -p1
%build
%meson
%meson_build
%install
%meson_install
%find_lang %{plug_name}-plug
%check
appstream-util validate-relax --nonet \
%{buildroot}/%{_datadir}/metainfo/%{plug_rdnn}.appdata.xml
%files -f %{plug_name}-plug.lang
%doc README.md
%license COPYING
%{_libdir}/switchboard/%{plug_type}/lib%{plug_name}.so
%{_libexecdir}/io.elementary.contract.set-wallpaper
%{_datadir}/contractor/set-wallpaper.contract
%{_datadir}/metainfo/%{plug_rdnn}.appdata.xml
%changelog
* Sat Oct 15 2022 windowsboy111 <windowsboy111@fyralabs.com>
- Repackaged for Terra