1 Summary: Input device library
2 Summary(pl.UTF-8): Biblioteka urządzeń wejściowych
8 Source0: http://www.freedesktop.org/software/libinput/%{name}-%{version}.tar.xz
9 # Source0-md5: 1ab74403a69538c35ed99c55b796a9dd
10 URL: http://www.freedesktop.org/wiki/Software/libinput/
11 BuildRequires: check-devel >= 0.9.9
12 BuildRequires: doxygen
13 BuildRequires: libevdev-devel >= 0.4
14 BuildRequires: mtdev-devel >= 1.1.0
15 BuildRequires: pkgconfig
16 BuildRequires: udev-devel
17 BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
20 libinput is a library that handles input devices for display servers
21 and other applications that need to directly deal with input devices.
23 It provides device detection, device handling, input device event
24 processing and abstraction so minimize the amount of custom input code
25 the user of libinput need to provide the common set of functionality
28 %description -l pl.UTF-8
29 libinput to biblioteka obsługująca urządzenia wejściowe dla serwerów
30 grafiki i innych aplikacji wymagających bezpośredniej obsługi urządzeń
33 Biblioteka zapewnia wykrywanie urządzeń, obsługę urządzeń,
34 przetwarzanie zdarzeń urządzeń wejściowych oraz abstrakcję,
35 minimalizując ilość własnego kodu, który musi napisać użytkownik
36 biblioteki, aby zapewnić oczekiwaną funkcjonalność.
39 Summary: Development files for libinput
40 Summary(pl.UTF-8): Pliki programistyczne biblioteki libinput
41 Group: Development/Libraries
42 Requires: %{name} = %{version}-%{release}
46 This package contains the header files for developing applications
49 %description devel -l pl.UTF-8
50 Ten pakiet zawiera pliki nagłówkowe niezbędne do tworzenia aplikacji
51 wykorzystujących bibliotekę libinput.
54 Summary: Static libinput library
55 Summary(pl.UTF-8): Statyczna biblioteka libinput
56 Group: Development/Libraries
57 Requires: %{name}-devel = %{version}-%{release}
60 Static libinput library.
62 %description static -l pl.UTF-8
63 Statyczna biblioteka libinput.
66 Summary: API documentation for libinput library
67 Summary(pl.UTF-8): Dokumentacja API biblioteki libinput
71 API documentation for libinput library.
73 %description apidocs -l pl.UTF-8
74 Dokumentacja API biblioteki libinput.
81 --disable-silent-rules
86 rm -rf $RPM_BUILD_ROOT
89 DESTDIR=$RPM_BUILD_ROOT
91 # obsoleted by pkg-config
92 %{__rm} $RPM_BUILD_ROOT%{_libdir}/lib*.la
95 rm -rf $RPM_BUILD_ROOT
97 %post -p /sbin/ldconfig
98 %postun -p /sbin/ldconfig
101 %defattr(644,root,root,755)
103 %attr(755,root,root) %{_libdir}/libinput.so.*.*.*
104 %attr(755,root,root) %ghost %{_libdir}/libinput.so.2
107 %defattr(644,root,root,755)
108 %attr(755,root,root) %{_libdir}/libinput.so
109 %{_includedir}/libinput.h
110 %{_pkgconfigdir}/libinput.pc
113 %defattr(644,root,root,755)
114 %{_libdir}/libinput.a
117 %defattr(644,root,root,755)