## START: Set by rpmautospec ## (rpmautospec version 0.7.3) ## RPMAUTOSPEC: autorelease, autochangelog %define autorelease(e:s:pb:n) %{?-p:0.}%{lua: release_number = 2; base_release_number = tonumber(rpm.expand("%{?-b*}%{!?-b:1}")); print(release_number + base_release_number - 1); }%{?-e:.%{-e*}}%{?-s:.%{-s*}}%{!?-n:%{?dist}} ## END: Set by rpmautospec %global srcname Projecteur Name: projecteur Version: 0.10 Release: %autorelease Summary: Virtual pointer for the Logitech Spotlight presentation remote License: MIT URL: https://github.com/jahnf/Projecteur Source: %{url}/archive/v%{version}/%{srcname}-%{version}.tar.gz BuildRequires: desktop-file-utils BuildRequires: cmake BuildRequires: gcc-c++ BuildRequires: libappstream-glib BuildRequires: qt5-qttools-devel BuildRequires: qt5-qtquickcontrols2-devel BuildRequires: qt5-qtx11extras-devel BuildRequires: systemd-devel Requires: hicolor-icon-theme Requires: systemd-udev Recommends: bash-completion Suggests: gnome-shell-extension-appindicator %description Projecteur is a virtual laser pointer for use with inertial pointers such as the Logitech Spotlight. Projecteur can show a colored dot, a highlighted circle or a zoom effect to act as a pointer. The location of the pointer moves in response to moving the handheld pointer device. The effect is much like that of a traditional laser pointer, except that it is captured by recording software and works across multiple screens. %prep %autosetup -n %{srcname}-%{version} -p1 %build %cmake -D CMAKE_INSTALL_UDEVRULESDIR="%{_udevrulesdir}" %cmake_build %install %cmake_install %check appstream-util validate-relax --nonet \ %{buildroot}%{_metainfodir}/%{name}.metainfo.xml desktop-file-validate \ %{buildroot}/%{_datadir}/applications/%{name}.desktop %files %license LICENSE.md %doc README.md doc %{_bindir}/%{name} %{_datadir}/applications/%{name}.desktop %dir %{_datadir}/bash-completion %dir %{_datadir}/bash-completion/completions %{_datadir}/bash-completion/completions/%{name} %{_datadir}/icons/hicolor/*/apps/%{name}.svg %{_mandir}/man1/%{name}.1* %{_metainfodir}/%{name}.metainfo.xml %{_udevrulesdir}/55-projecteur.rules %changelog ## START: Generated by rpmautospec * Fri Jul 19 2024 Fedora Release Engineering - 0.10-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_41_Mass_Rebuild * Tue Apr 02 2024 Davide Cavalca - 0.10-1 - Initial import; Fixes: RHBZ#2262372 ## END: Generated by rpmautospec