wcm/wcm.spec

63 lines
1.8 KiB
RPMSpec
Raw Normal View History

#
# spec file for package wcm
#
# Copyright (c) 2020 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/
#
Name: wcm
Version: 0.7.0
Release: 0
Summary: Wayfire Config Manager
License: MIT
Url: https://wayfire.org/
Source: https://github.com/WayfireWM/%{name}/archive/v%{version}.tar.gz
BuildRequires: meson
BuildRequires: gcc-c++
BuildRequires: update-desktop-files
BuildRequires: pkgconfig(wayfire)
BuildRequires: pkgconfig(gtk+-3.0)
BuildRequires: pkgconfig(libxml-2.0)
BuildRequires: pkgconfig(libevdev)
BuildRequires: pkgconfig(wf-config)
BuildRequires: pkgconfig(wf-shell)
BuildRequires: pkgconfig(wlroots) < 0.16.0
BuildRequires: pkgconfig(wayland-client)
BuildRequires: pkgconfig(wayland-protocols)
Requires: wayfire
%description
Wayfire Config Manager https://wayfire.org/.
%prep
%autosetup -p1
%build
%meson
%meson_build
%install
%meson_install
%suse_update_desktop_file -G -r wayfire-config-manager "Wayfire Config Manager" "Settings;DesktopSettings"
%files
%license LICENSE
%{_bindir}/%{name}
%{_datadir}/wayfire/icons
%{_datadir}/icons/hicolor/*
%{_datadir}/applications/wayfire-config-manager.desktop
%changelog