From 77889bf3754724f2b749f6a1ebbd5aa664f26a6e Mon Sep 17 00:00:00 2001 From: Silvan Calarco Date: Sat, 6 Jan 2024 04:12:07 +0100 Subject: [PATCH] package created using the webbuild interface [release 1.2.1-1mamba;Wed May 28 2014] --- README.md | 3 ++ libevdev.spec | 79 +++++++++++++++++++++++++++++++++++++++++++++++++++ 2 files changed, 82 insertions(+) create mode 100644 libevdev.spec diff --git a/README.md b/README.md index 5554d82..5088274 100644 --- a/README.md +++ b/README.md @@ -1,2 +1,5 @@ # libevdev +libevdev is a wrapper library for evdev devices. it moves the common tasks when dealing with evdev devices into a library and provides a library interface to the callers, thus avoiding erroneous ioctls, etc. +The eventual goal is that libevdev wraps all ioctls available to evdev devices, thus making direct access unnecessary. + diff --git a/libevdev.spec b/libevdev.spec new file mode 100644 index 0000000..f1b1564 --- /dev/null +++ b/libevdev.spec @@ -0,0 +1,79 @@ +Name: libevdev +Version: 1.2.1 +Release: 1mamba +Summary: A wrapper library for evdev devices +Group: System/Libraries +Vendor: openmamba +Distribution: openmamba +Packager: Silvan Calarco +URL: http://www.freedesktop.org/wiki/Software/libevdev/ +Source: http://www.freedesktop.org/software/libevdev/libevdev-%{version}.tar.xz +License: GPL +## AUTOBUILDREQ-BEGIN +BuildRequires: glibc-devel +## AUTOBUILDREQ-END +BuildRoot: %{_tmppath}/%{name}-%{version}-root + +%description +libevdev is a wrapper library for evdev devices. it moves the common tasks when dealing with evdev devices into a library and provides a library interface to the callers, thus avoiding erroneous ioctls, etc. +The eventual goal is that libevdev wraps all ioctls available to evdev devices, thus making direct access unnecessary. + +%package devel +Group: Development/Libraries +Summary: Development files for %{name} +Requires: %{name} = %{?epoch:%epoch:}%{version}-%{release} +Requires: pkg-config + +%description devel +This package contains libraries and header files for developing applications that use %{name}. + +%package tools +Group: System/Kernel and Hardware +Summary: Utility applications for %{name} +Requires: %{name} = %{?epoch:%epoch:}%{version}-%{release} + +%description tools +This package contains utility applications for %{name}. + +%debug_package + +%prep +%setup -q + +%build +%configure +%make + +%install +[ "%{buildroot}" != / ] && rm -rf "%{buildroot}" +%makeinstall + +%clean +[ "%{buildroot}" != / ] && rm -rf "%{buildroot}" + +%post -p /sbin/ldconfig +%postun -p /sbin/ldconfig + +%files +%defattr(-,root,root) +%{_libdir}/libevdev.so.* +%doc COPYING + +%files devel +%defattr(-,root,root) +%dir %{_includedir}/libevdev-1.0 +%dir %{_includedir}/libevdev-1.0/libevdev +%{_includedir}/libevdev-1.0/libevdev/libevdev*.h +%{_libdir}/libevdev.a +%{_libdir}/libevdev.la +%{_libdir}/libevdev.so +%{_libdir}/pkgconfig/libevdev.pc +%{_mandir}/man3/libevdev.3* + +%files tools +%defattr(-,root,root) +%{_bindir}/touchpad-edge-detector + +%changelog +* Wed May 28 2014 Silvan Calarco 1.2.1-1mamba +- package created using the webbuild interface