Blame libuInputPlus.spec

4507d79
Name:     libuInputPlus
4507d79
Version:  0.1.4
36ab397
Release:  5%{?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} ..
4507d79
%make_build
4507d79
4507d79
%install
4507d79
%make_install -C %{_target_platform}
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
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