waynergy/waynergy.spec

60 lines
1.6 KiB
RPMSpec
Raw Permalink Normal View History

Name: waynergy
Version: 0.0.16
Release: 3mamba
Summary: A synergy client for Wayland compositors
Group: Graphical Desktop/Applications/Utilities
Vendor: openmamba
Distribution: openmamba
Packager: Silvan Calarco <silvan.calarco@mambasoft.it>
URL: https://github.com/r-c-f/waynergy
Source: https://github.com/r-c-f/waynergy.git/v%{version}/waynergy-%{version}.tar.bz2
Patch0: waynergy-0.0.16-upstream-support-ext-idle-notify-v1-protocol.patch
License: MIT
## AUTOBUILDREQ-BEGIN
BuildRequires: glibc-devel
BuildRequires: libretls-devel
BuildRequires: libwayland-devel
BuildRequires: libxkbcommon-devel
## AUTOBUILDREQ-END
BuildRequires: meson
%description
A synergy client for Wayland compositors.
%debug_package
%prep
%setup -q
%patch 0 -p1 -b .upstream-support-ext-idle-notify-v1-protocol
%build
%meson
%meson_build
%install
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
%meson_install
# Uncategorized in KDE menu and seemps not useful
rm -f %{buildroot}%{_datadir}/applications/waynergy.desktop
%clean
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
%files
%defattr(-,root,root)
%{_bindir}/waynergy
%{_bindir}/waynergy-clip-update
%{_bindir}/waynergy-mapper
%doc LICENSE
%changelog
* Mon Apr 22 2024 Silvan Calarco <silvan.calarco@mambasoft.it> 0.0.16-3mamba
- don't install broken waynergy.desktop; apply upstream improvment
* Wed Apr 03 2024 Silvan Calarco <silvan.calarco@mambasoft.it> 0.0.16-2mamba
- fix group
* Sat Feb 24 2024 Silvan Calarco <silvan.calarco@mambasoft.it> 0.0.16-1mamba
- package created using the webbuild interface