]> git.pld-linux.org Git - packages/libinput.git/blob - libinput.spec
- updated to 0.3.0 (note: new soname)
[packages/libinput.git] / libinput.spec
1 Summary:        Input device library
2 Summary(pl.UTF-8):      Biblioteka urządzeń wejściowych
3 Name:           libinput
4 Version:        0.3.0
5 Release:        1
6 License:        MIT
7 Group:          Libraries
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)
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
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
42 Requires:       %{name} = %{version}-%{release}
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.
61
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.
75
76 %prep
77 %setup -q
78
79 %build
80 %configure \
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
91 # obsoleted by pkg-config
92 %{__rm} $RPM_BUILD_ROOT%{_libdir}/lib*.la
93
94 %clean
95 rm -rf $RPM_BUILD_ROOT
96
97 %post   -p /sbin/ldconfig
98 %postun -p /sbin/ldconfig
99
100 %files
101 %defattr(644,root,root,755)
102 %doc COPYING README
103 %attr(755,root,root) %{_libdir}/libinput.so.*.*.*
104 %attr(755,root,root) %ghost %{_libdir}/libinput.so.2
105
106 %files devel
107 %defattr(644,root,root,755)
108 %attr(755,root,root) %{_libdir}/libinput.so
109 %{_includedir}/libinput.h
110 %{_pkgconfigdir}/libinput.pc
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/*
This page took 0.097389 seconds and 4 git commands to generate.