libinput/libinput.spec

126 lines
4.0 KiB
RPMSpec

Name: libinput
Version: 1.0.1
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}.
%package tools
Group: System/Tools
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 \
--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/*.rules
/lib/udev/libinput-model-quirks
/lib/udev/hwdb.d/90-libinput-model-quirks.hwdb
%doc COPYING
%files devel
%defattr(-,root,root)
%{_includedir}/libinput.h
%{_libdir}/libinput.la
%{_libdir}/libinput.so
%{_libdir}/pkgconfig/libinput.pc
%doc README.txt
%files tools
%defattr(-,root,root)
%{_bindir}/libinput-debug-events
%{_bindir}/libinput-list-devices
%{_mandir}/man1/libinput-debug-events.1*
%{_mandir}/man1/libinput-list-devices.1.gz
%changelog
* Sat Sep 05 2015 Automatic Build System <autodist@mambasoft.it> 1.0.1-1mamba
- automatic version update by autodist
* Wed Aug 26 2015 Automatic Build System <autodist@mambasoft.it> 1.0.0-1mamba
- automatic version update by autodist
* Fri Aug 21 2015 Automatic Build System <autodist@mambasoft.it> 0.99.1-1mamba
- automatic version update by autodist
* Tue Aug 18 2015 Automatic Build System <autodist@mambasoft.it> 0.21.0-1mamba
- automatic version update by autodist
* Fri Aug 14 2015 Silvan Calarco <silvan.calarco@mambasoft.it> 0.20.0-2mamba
- don't install test udev rules
* Sun Aug 02 2015 Automatic Build System <autodist@mambasoft.it> 0.20.0-1mamba
- automatic version update by autodist
* Sat Jul 11 2015 Automatic Build System <autodist@mambasoft.it> 0.19.0-1mamba
- automatic version update by autodist
* Mon Jun 22 2015 Automatic Build System <autodist@mambasoft.it> 0.18.0-1mamba
- automatic version update by autodist
* Tue Jun 09 2015 Automatic Build System <autodist@mambasoft.it> 0.17.0-1mamba
- automatic version update by autodist
* Sun May 10 2015 Silvan Calarco <silvan.calarco@mambasoft.it> 0.15.0-1mamba
- update to 0.15.0
* Sun Apr 26 2015 Automatic Build System <autodist@mambasoft.it> 0.14.1-1mamba
- automatic version update by autodist
* Wed Apr 15 2015 Silvan Calarco <silvan.calarco@mambasoft.it> 0.13.0-1mamba
- package created using the webbuild interface