ac7874b
Name:           libinput
ac7874b
Version:        0.1.0
ac7874b
Release:        1%{?dist}
ac7874b
Summary:        Input device library
ac7874b
ac7874b
License:        MIT
ac7874b
URL:            http://www.freedesktop.org/wiki/Software/libinput/
ac7874b
Source0:        http://www.freedesktop.org/software/libinput/libinput-%{version}.tar.xz
ac7874b
ac7874b
BuildRequires:  libevdev-devel
ac7874b
BuildRequires:  libudev-devel
ac7874b
BuildRequires:  mtdev-devel
ac7874b
ac7874b
%description
ac7874b
libinput is a library that handles input devices for display servers and other
ac7874b
applications that need to directly deal with input devices.
ac7874b
ac7874b
It provides device detection, device handling, input device event processing
ac7874b
and abstraction so minimize the amount of custom input code the user of
ac7874b
libinput need to provide the common set of functionality that users expect.
ac7874b
ac7874b
ac7874b
%package        devel
ac7874b
Summary:        Development files for %{name}
ac7874b
Requires:       %{name}%{?_isa} = %{version}-%{release}
ac7874b
ac7874b
%description    devel
ac7874b
The %{name}-devel package contains libraries and header files for
ac7874b
developing applications that use %{name}.
ac7874b
ac7874b
ac7874b
%prep
ac7874b
%setup -q
ac7874b
ac7874b
ac7874b
%build
ac7874b
%configure --disable-static
ac7874b
make %{?_smp_mflags}
ac7874b
ac7874b
ac7874b
%install
ac7874b
%make_install
ac7874b
find $RPM_BUILD_ROOT -name '*.la' -delete
ac7874b
ac7874b
ac7874b
%post -p /sbin/ldconfig
ac7874b
ac7874b
%postun -p /sbin/ldconfig
ac7874b
ac7874b
ac7874b
%files
ac7874b
%doc COPYING
ac7874b
%{_libdir}/libinput.so.*
ac7874b
ac7874b
%files devel
ac7874b
%{_includedir}/libinput.h
ac7874b
%{_libdir}/libinput.so
ac7874b
%{_libdir}/pkgconfig/libinput.pc
ac7874b
ac7874b
ac7874b
%changelog
ac7874b
* Fri Feb 28 2014 Kalev Lember <kalevlember@gmail.com> - 0.1.0-1
ac7874b
- Initial Fedora packaging