Blame libevdevPlus.spec

1df2519
Name:     libevdevPlus
1df2519
Version:  0.1.1
839f9ab
Release:  7%{?dist}
54e8f0c
Summary:  A C++ wrapper around libevdev
1df2519
License:  MIT
1df2519
URL:      https://github.com/YukiWorkshop/libevdevPlus
1df2519
Source0:  %{url}/archive/v%{version}/%{name}-%{version}.tar.gz
f48ecb7
Patch0:   libevdevPlus-patch0-fix-version
1df2519
1df2519
BuildRequires: cmake
1df2519
BuildRequires: gcc-c++
1df2519
BuildRequires: make
1df2519
1df2519
%description
54e8f0c
A c++ wrapper around libevdev (required for ydotool).
1df2519
1df2519
%package devel
1df2519
Summary: Development files for %{name}
1df2519
Requires: %{name}%{?_isa} = %{version}-%{release}
1df2519
%description devel
54e8f0c
This package contains header files for %{name}.
1df2519
1df2519
%prep
1df2519
%autosetup
1df2519
1df2519
%build
1df2519
mkdir -p %{_target_platform}
1df2519
pushd %{_target_platform}
1df2519
%cmake -DCMAKE_INSTALL_PREFIX=%{_prefix} ..
1df2519
%make_build
1df2519
1df2519
%install
1df2519
%make_install -C %{_target_platform}
1df2519
rm -f %{buildroot}%{_libdir}/%{name}.a
1df2519
1df2519
%files
1df2519
%{_libdir}/%{name}.so.0*
1df2519
1df2519
%doc README.md
1df2519
1df2519
%license LICENSE
1df2519
1df2519
%files devel
1df2519
%{_libdir}/%{name}.so
1df2519
%{_includedir}/evdevPlus/
1df2519
%{_libdir}/pkgconfig/*
1df2519
1df2519
%changelog
839f9ab
* Sat Aug 01 2020 Fedora Release Engineering <releng@fedoraproject.org> - 0.1.1-7
839f9ab
- Second attempt - Rebuilt for
839f9ab
  https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild
839f9ab
1352481
* Tue Jul 28 2020 Fedora Release Engineering <releng@fedoraproject.org> - 0.1.1-6
1352481
- Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild
1352481
f48ecb7
* Sun Mar 29 2020 Bob Hepple <bob.hepple@gmail.com> - 0.1.1-5
f48ecb7
- fix version in pkgconfig
f48ecb7
54e8f0c
* Sat Mar 28 2020 Bob Hepple <bob.hepple@gmail.com> - 0.1.1-4
54e8f0c
- Changes per RHBZ#1808278 and 1808276
54e8f0c
1df2519
* Thu Mar 26 2020 Bob Hepple <bob.hepple@gmail.com> - 0.1.1-3
1df2519
- fix globbing of shared library name
1df2519
- move pkgconfig files to devel package
1df2519
1df2519
* Sun Mar 22 2020 Bob Hepple <bob.hepple@gmail.com> - 0.1.1-2
54e8f0c
- Changes per RHBZ#1808278
1df2519
1df2519
* Sat Feb 29 2020 Bob Hepple <bob.hepple@gmail.com> - 0.1.1-1
1df2519
- Initial version of the package