From ac7874bc49f3828d52cb70bb45ffd5d2b18b37ca Mon Sep 17 00:00:00 2001 From: Kalev Lember Date: Mar 07 2014 13:15:27 +0000 Subject: Initial import https://bugzilla.redhat.com/show_bug.cgi?id=1073559 --- diff --git a/.gitignore b/.gitignore index e69de29..b7013fa 100644 --- a/.gitignore +++ b/.gitignore @@ -0,0 +1 @@ +/libinput-0.1.0.tar.xz diff --git a/libinput.spec b/libinput.spec new file mode 100644 index 0000000..85c8067 --- /dev/null +++ b/libinput.spec @@ -0,0 +1,63 @@ +Name: libinput +Version: 0.1.0 +Release: 1%{?dist} +Summary: Input device library + +License: MIT +URL: http://www.freedesktop.org/wiki/Software/libinput/ +Source0: http://www.freedesktop.org/software/libinput/libinput-%{version}.tar.xz + +BuildRequires: libevdev-devel +BuildRequires: libudev-devel +BuildRequires: mtdev-devel + +%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. + + +%package devel +Summary: Development files for %{name} +Requires: %{name}%{?_isa} = %{version}-%{release} + +%description devel +The %{name}-devel package contains libraries and header files for +developing applications that use %{name}. + + +%prep +%setup -q + + +%build +%configure --disable-static +make %{?_smp_mflags} + + +%install +%make_install +find $RPM_BUILD_ROOT -name '*.la' -delete + + +%post -p /sbin/ldconfig + +%postun -p /sbin/ldconfig + + +%files +%doc COPYING +%{_libdir}/libinput.so.* + +%files devel +%{_includedir}/libinput.h +%{_libdir}/libinput.so +%{_libdir}/pkgconfig/libinput.pc + + +%changelog +* Fri Feb 28 2014 Kalev Lember - 0.1.0-1 +- Initial Fedora packaging diff --git a/sources b/sources index e69de29..57fb006 100644 --- a/sources +++ b/sources @@ -0,0 +1 @@ +f5d794beb5228353f480d15a058e1885 libinput-0.1.0.tar.xz