2024-01-06 04:40:13 +01:00
|
|
|
Name: libinput
|
2024-01-06 04:40:13 +01:00
|
|
|
Version: 0.14.1
|
2024-01-06 04:40:13 +01:00
|
|
|
Release: 1mamba
|
|
|
|
Summary: A library that handles input devices for display servers and other applications
|
|
|
|
Group: System/Libraries
|
|
|
|
Vendor: openmamba
|
|
|
|
Distribution: openmamba
|
|
|
|
Packager: Silvan Calarco <silvan.calarco@mambasoft.it>
|
|
|
|
URL: http://www.freedesktop.org/wiki/Software/libinput/
|
|
|
|
Source: http://www.freedesktop.org/software/libinput/libinput-%{version}.tar.xz
|
|
|
|
License: MIT
|
|
|
|
## AUTOBUILDREQ-BEGIN
|
|
|
|
BuildRequires: glibc-devel
|
|
|
|
BuildRequires: libcap-devel
|
|
|
|
BuildRequires: libdw-devel
|
|
|
|
BuildRequires: libevdev-devel
|
|
|
|
BuildRequires: libmtdev-devel
|
|
|
|
BuildRequires: libudev-devel
|
|
|
|
## AUTOBUILDREQ-END
|
|
|
|
BuildRoot: %{_tmppath}/%{name}-%{version}-root
|
|
|
|
|
|
|
|
%description
|
|
|
|
libinput is a library that handles input devices for display servers and other applications that need to directly deal with input devices.
|
|
|
|
It provides device detection, device handling, input device event processing and abstraction so minimize the amount of custom input code the user of libinput need to provide the common set of functionality that users expect.
|
|
|
|
Input event processing includes scaling touch coordinates, generating pointer events from touchpads, pointer acceleration, etc.
|
|
|
|
libinput originates from weston, the Wayland reference compositor.
|
|
|
|
|
|
|
|
%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}.
|
|
|
|
|
2024-01-06 04:40:13 +01:00
|
|
|
%package tools
|
|
|
|
Group: Applications/Utilities
|
|
|
|
Summary: Utility applications for %{name}
|
|
|
|
Requires: %{name} = %{?epoch:%epoch:}%{version}-%{release}
|
|
|
|
|
|
|
|
%description tools
|
|
|
|
This package contains utility applications for %{name}.
|
|
|
|
|
2024-01-06 04:40:13 +01:00
|
|
|
%debug_package
|
|
|
|
|
|
|
|
%prep
|
|
|
|
%setup -q
|
|
|
|
|
|
|
|
%build
|
|
|
|
%configure \
|
|
|
|
--with-udev-dir=`pkg-config udev --variable=udevdir`
|
|
|
|
|
|
|
|
%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}/libinput.so.*
|
|
|
|
/lib/udev/libinput-device-group
|
|
|
|
/lib/udev/rules.d/80-libinput-device-groups.rules
|
|
|
|
%doc COPYING
|
|
|
|
|
|
|
|
%files devel
|
|
|
|
%defattr(-,root,root)
|
|
|
|
%{_includedir}/libinput.h
|
|
|
|
%{_libdir}/libinput.la
|
|
|
|
%{_libdir}/libinput.so
|
|
|
|
%{_libdir}/pkgconfig/libinput.pc
|
|
|
|
%doc README.txt
|
|
|
|
|
2024-01-06 04:40:13 +01:00
|
|
|
%files tools
|
|
|
|
%defattr(-,root,root)
|
|
|
|
%{_bindir}/libinput-list-devices
|
|
|
|
%{_mandir}/man1/libinput-list-devices.1.gz
|
|
|
|
|
2024-01-06 04:40:13 +01:00
|
|
|
%changelog
|
2024-01-06 04:40:13 +01:00
|
|
|
* Sun Apr 26 2015 Automatic Build System <autodist@mambasoft.it> 0.14.1-1mamba
|
|
|
|
- automatic version update by autodist
|
|
|
|
|
2024-01-06 04:40:13 +01:00
|
|
|
* Wed Apr 15 2015 Silvan Calarco <silvan.calarco@mambasoft.it> 0.13.0-1mamba
|
|
|
|
- package created using the webbuild interface
|