From 38056d356e1e82f76a43f44430643903d37487c8 Mon Sep 17 00:00:00 2001 From: Bob Hepple Date: Thu, 13 Feb 2020 08:13:43 +1000 Subject: [PATCH] Create libevdevPlus.spec --- libevdevPlus.spec | 36 ++++++++++++++++++++++++++++++++++++ 1 file changed, 36 insertions(+) create mode 100644 libevdevPlus.spec diff --git a/libevdevPlus.spec b/libevdevPlus.spec new file mode 100644 index 0000000..b4110be --- /dev/null +++ b/libevdevPlus.spec @@ -0,0 +1,36 @@ +Name: libevdevPlus +Version: 0.1.0 +Release: 1 +Summary: Library for ydotool +License: MIT +URL: https://github.com/YukiWorkshop/libevdevPlus +Source0: https://github.com/YukiWorkshop/libevdevPlus/archive/%{name}-%{version}.tar.gz + +BuildRequires: cmake make gcc-c++ + +%description +Library required for ydotool + +%prep +%autosetup + +%build +mkdir build +cd build +cmake -DCMAKE_INSTALL_PREFIX=/usr .. +make + +%make_install + +%files +%{_libdir}/libevdevPlus* +%{_libdir}/pkgconfig/* +%{_includedir}/* + +%doc README.md + +%license LICENSE + +%changelog +* Wed Feb 12 2020 Bob Hepple - 0.1.0-1 +- Initial version of the package