4507d79
Name:     libuInputPlus
4507d79
Version:  0.1.4
eaec9a0
Release:  9%{?dist}
4507d79
Summary:  A C++ wrapper around libuinput
4507d79
License:  MIT
4507d79
URL:      https://github.com/YukiWorkshop/libuInputPlus
4507d79
Source0:  %{url}/archive/v%{version}/%{name}-%{version}.tar.gz
36ab397
Patch0:   libuInputPlus-patch0-fix-version
4507d79
4507d79
BuildRequires: cmake
4507d79
BuildRequires: gcc-c++
4507d79
BuildRequires: make
4507d79
4507d79
%description
4507d79
A c++ wrapper around libuinput (required for ydotool).
4507d79
4507d79
%package devel
4507d79
Summary: Development files for %{name}
4507d79
Requires: %{name}%{?_isa} = %{version}-%{release}
4507d79
%description devel
4507d79
This package contains header files for %{name}.
4507d79
4507d79
%prep
4507d79
%autosetup
4507d79
4507d79
%build
4507d79
mkdir -p %{_target_platform}
4507d79
pushd %{_target_platform}
4507d79
%cmake -DCMAKE_INSTALL_PREFIX=%{_prefix} ..
fe878ba
%cmake_build
4507d79
4507d79
%install
fe04b08
cd %{_target_platform}; %cmake_install
4507d79
rm -f %{buildroot}%{_libdir}/%{name}.a
4507d79
4507d79
%files
4507d79
%{_libdir}/%{name}.so.0*
4507d79
4507d79
%doc README.md
4507d79
4507d79
%license LICENSE
4507d79
4507d79
%files devel
4507d79
%{_libdir}/%{name}.so
4507d79
%{_includedir}/uInputPlus/
4507d79
%{_libdir}/pkgconfig/*
4507d79
4507d79
%changelog
eaec9a0
* Tue Jan 26 2021 Fedora Release Engineering <releng@fedoraproject.org> - 0.1.4-9
eaec9a0
- Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild
eaec9a0
883e528
* Tue Aug 04 2020 Bob Hepple <bob.hepple@gmail.com> - 0.1.4-8
883e528
- rebuilt for f33 mass rebuild
883e528
90ed381
* Sat Aug 01 2020 Fedora Release Engineering <releng@fedoraproject.org> - 0.1.4-7
90ed381
- Second attempt - Rebuilt for
90ed381
  https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild
90ed381
cdc4c31
* Tue Jul 28 2020 Fedora Release Engineering <releng@fedoraproject.org> - 0.1.4-6
cdc4c31
- Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild
cdc4c31
36ab397
* Sun Mar 29 2020 Bob Hepple <bob.hepple@gmail.com> - 0.1.4-5
36ab397
- fix version in pkgconfig
36ab397
4507d79
* Sat Mar 28 2020 Bob Hepple <bob.hepple@gmail.com> - 0.1.4-4
4507d79
- Changes per RHBZ#1808278
4507d79
4507d79
* Thu Mar 26 2020 Bob Hepple <bob.hepple@gmail.com> - 0.1.4-3
4507d79
- fix globbing of shared library name
4507d79
- move pkgconfig files to devel package
4507d79
4507d79
* Sun Mar 22 2020 Bob Hepple <bob.hepple@gmail.com> - 0.1.4-2
4507d79
- changes per RHBZ#1808278
4507d79
4507d79
* Sat Feb 29 2020 Bob Hepple <bob.hepple@gmail.com> - 0.1.4-1
4507d79
- Initial version of the package