Name: libevdevPlus Version: 0.1.1 Release: 12%{?dist} Summary: A C++ wrapper around libevdev License: MIT URL: https://github.com/YukiWorkshop/libevdevPlus Source0: %{url}/archive/v%{version}/%{name}-%{version}.tar.gz Patch0: libevdevPlus-patch0-fix-version BuildRequires: cmake BuildRequires: gcc-c++ BuildRequires: make %description A c++ wrapper around libevdev (required for ydotool). %package devel Summary: Development files for %{name} Requires: %{name}%{?_isa} = %{version}-%{release} %description devel This package contains header files for %{name}. %prep %autosetup %build mkdir -p %{_target_platform} pushd %{_target_platform} %cmake -DCMAKE_INSTALL_PREFIX=%{_prefix} .. %cmake_build %install cd %{_target_platform}; %cmake_install rm -f %{buildroot}%{_libdir}/%{name}.a %files %{_libdir}/%{name}.so.0* %doc README.md %license LICENSE %files devel %{_libdir}/%{name}.so %{_includedir}/evdevPlus/ %{_libdir}/pkgconfig/* %changelog * Thu Jul 21 2022 Fedora Release Engineering - 0.1.1-12 - Rebuilt for https://fedoraproject.org/wiki/Fedora_37_Mass_Rebuild * Thu Jan 20 2022 Fedora Release Engineering - 0.1.1-11 - Rebuilt for https://fedoraproject.org/wiki/Fedora_36_Mass_Rebuild * Thu Jul 22 2021 Fedora Release Engineering - 0.1.1-10 - Rebuilt for https://fedoraproject.org/wiki/Fedora_35_Mass_Rebuild * Tue Jan 26 2021 Fedora Release Engineering - 0.1.1-9 - Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild * Tue Aug 04 2020 Bob Hepple - 0.1.1-8 - rebuilt for f33 (RHBZ#1863996) * Sat Aug 01 2020 Fedora Release Engineering - 0.1.1-7 - Second attempt - Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild * Tue Jul 28 2020 Fedora Release Engineering - 0.1.1-6 - Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild * Sun Mar 29 2020 Bob Hepple - 0.1.1-5 - fix version in pkgconfig * Sat Mar 28 2020 Bob Hepple - 0.1.1-4 - Changes per RHBZ#1808278 and 1808276 * Thu Mar 26 2020 Bob Hepple - 0.1.1-3 - fix globbing of shared library name - move pkgconfig files to devel package * Sun Mar 22 2020 Bob Hepple - 0.1.1-2 - Changes per RHBZ#1808278 * Sat Feb 29 2020 Bob Hepple - 0.1.1-1 - Initial version of the package