]>
Commit | Line | Data |
---|---|---|
b1a834ff | 1 | Summary: Input device library |
66c98b1b | 2 | Summary(pl.UTF-8): Biblioteka urządzeń wejściowych |
b1a834ff AM |
3 | Name: libinput |
4 | Version: 0.1.0 | |
5 | Release: 1 | |
6 | License: MIT | |
66c98b1b | 7 | Group: Libraries |
b1a834ff AM |
8 | Source0: http://www.freedesktop.org/software/libinput/%{name}-%{version}.tar.xz |
9 | # Source0-md5: f5d794beb5228353f480d15a058e1885 | |
66c98b1b JB |
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 | |
b1a834ff | 16 | BuildRequires: udev-devel |
66c98b1b | 17 | BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n) |
b1a834ff AM |
18 | |
19 | %description | |
20 | libinput is a library that handles input devices for display servers | |
21 | and other applications that need to directly deal with input devices. | |
22 | ||
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 | |
26 | that users expect. | |
27 | ||
66c98b1b JB |
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ń | |
31 | wejściowych. | |
32 | ||
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ść. | |
37 | ||
38 | %package devel | |
39 | Summary: Development files for libinput | |
40 | Summary(pl.UTF-8): Pliki programistyczne biblioteki libinput | |
41 | Group: Development/Libraries | |
b1a834ff | 42 | Requires: %{name} = %{version}-%{release} |
66c98b1b JB |
43 | Requires: udev-devel |
44 | ||
45 | %description devel | |
46 | This package contains the header files for developing applications | |
47 | that use libinput. | |
48 | ||
49 | %description devel -l pl.UTF-8 | |
50 | Ten pakiet zawiera pliki nagłówkowe niezbędne do tworzenia aplikacji | |
51 | wykorzystujących bibliotekę libinput. | |
52 | ||
53 | %package static | |
54 | Summary: Static libinput library | |
55 | Summary(pl.UTF-8): Statyczna biblioteka libinput | |
56 | Group: Development/Libraries | |
57 | Requires: %{name}-devel = %{version}-%{release} | |
58 | ||
59 | %description static | |
60 | Static libinput library. | |
b1a834ff | 61 | |
66c98b1b JB |
62 | %description static -l pl.UTF-8 |
63 | Statyczna biblioteka libinput. | |
64 | ||
65 | %package apidocs | |
66 | Summary: API documentation for libinput library | |
67 | Summary(pl.UTF-8): Dokumentacja API biblioteki libinput | |
68 | Group: Documentation | |
69 | ||
70 | %description apidocs | |
71 | API documentation for libinput library. | |
72 | ||
73 | %description apidocs -l pl.UTF-8 | |
74 | Dokumentacja API biblioteki libinput. | |
b1a834ff AM |
75 | |
76 | %prep | |
77 | %setup -q | |
78 | ||
79 | %build | |
80 | %configure \ | |
b1a834ff AM |
81 | --disable-silent-rules |
82 | ||
83 | %{__make} | |
84 | ||
85 | %install | |
86 | rm -rf $RPM_BUILD_ROOT | |
87 | ||
88 | %{__make} install \ | |
89 | DESTDIR=$RPM_BUILD_ROOT | |
90 | ||
66c98b1b JB |
91 | # obsoleted by pkg-config |
92 | %{__rm} $RPM_BUILD_ROOT%{_libdir}/lib*.la | |
93 | ||
b1a834ff AM |
94 | %clean |
95 | rm -rf $RPM_BUILD_ROOT | |
96 | ||
66c98b1b JB |
97 | %post -p /sbin/ldconfig |
98 | %postun -p /sbin/ldconfig | |
b1a834ff AM |
99 | |
100 | %files | |
101 | %defattr(644,root,root,755) | |
66c98b1b JB |
102 | %doc COPYING README |
103 | %attr(755,root,root) %{_libdir}/libinput.so.*.*.* | |
b1a834ff | 104 | %attr(755,root,root) %ghost %{_libdir}/libinput.so.0 |
b1a834ff AM |
105 | |
106 | %files devel | |
107 | %defattr(644,root,root,755) | |
b1a834ff | 108 | %attr(755,root,root) %{_libdir}/libinput.so |
66c98b1b | 109 | %{_includedir}/libinput.h |
b1a834ff | 110 | %{_pkgconfigdir}/libinput.pc |
66c98b1b JB |
111 | |
112 | %files static | |
113 | %defattr(644,root,root,755) | |
114 | %{_libdir}/libinput.a | |
115 | ||
116 | %files apidocs | |
117 | %defattr(644,root,root,755) | |
118 | %doc doc/html/* |