80 lines
2.2 KiB
RPMSpec
80 lines
2.2 KiB
RPMSpec
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 <silvan.calarco@mambasoft.it>
|
|
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 <silvan.calarco@mambasoft.it> 1.2.1-1mamba
|
|
- package created using the webbuild interface
|