diff --git a/anda/desktops/elementary/switchboard-plug-wacom/anda.hcl b/anda/desktops/elementary/switchboard-plug-wacom/anda.hcl new file mode 100644 index 0000000000..5c342ad769 --- /dev/null +++ b/anda/desktops/elementary/switchboard-plug-wacom/anda.hcl @@ -0,0 +1,5 @@ +project pkg { + rpm { + spec = "switchboard-plug-wacom.spec" + } +} diff --git a/anda/desktops/elementary/switchboard-plug-wacom/switchboard-plug-wacom.spec b/anda/desktops/elementary/switchboard-plug-wacom/switchboard-plug-wacom.spec new file mode 100644 index 0000000000..50d1bebff6 --- /dev/null +++ b/anda/desktops/elementary/switchboard-plug-wacom/switchboard-plug-wacom.spec @@ -0,0 +1,66 @@ +%global __provides_exclude_from ^%{_libdir}/switchboard/.*\\.so$ + +%global srcname switchboard-plug-wacom + +%global plug_type hardware +%global plug_name wacom +%global plug_rdnn io.elementary.switchboard.wacom + +Name: switchboard-plug-wacom +Summary: Switchboard Wacom Plug +Version: 1.0.1 +Release: 1%?dist +License: GPL-3.0-or-later + +URL: https://github.com/elementary/%name +Source0: %url/archive/%version/%srcname-%version.tar.gz + +BuildRequires: gettext +BuildRequires: libappstream-glib +BuildRequires: meson >= 0.46.1 +BuildRequires: vala + +BuildRequires: pkgconfig(granite) +BuildRequires: pkgconfig(libwacom) +BuildRequires: pkgconfig(gudev-1.0) +BuildRequires: pkgconfig(x11) +BuildRequires: pkgconfig(xi) +BuildRequires: switchboard-devel + +Requires: switchboard%{?_isa} +Supplements: switchboard%{?_isa} + +%description +%summary. + +%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 + +%{_datadir}/metainfo/%{plug_rdnn}.appdata.xml + +%changelog +* Tue Jun 13 2023 windowsboy111 - 1.0.1-1 +- Initial package. diff --git a/anda/desktops/elementary/switchboard-plug-wacom/update.rhai b/anda/desktops/elementary/switchboard-plug-wacom/update.rhai new file mode 100644 index 0000000000..8811ce68e8 --- /dev/null +++ b/anda/desktops/elementary/switchboard-plug-wacom/update.rhai @@ -0,0 +1 @@ +rpm.version(gh("elementary/switchboard-plug-wacom"));