]> git.pld-linux.org Git - packages/libinput.git/blame - libinput.spec
- updated to 0.3.0 (note: new soname)
[packages/libinput.git] / libinput.spec
CommitLineData
b1a834ff 1Summary: Input device library
66c98b1b 2Summary(pl.UTF-8): Biblioteka urządzeń wejściowych
b1a834ff 3Name: libinput
ca73702c 4Version: 0.3.0
b1a834ff
AM
5Release: 1
6License: MIT
66c98b1b 7Group: Libraries
b1a834ff 8Source0: http://www.freedesktop.org/software/libinput/%{name}-%{version}.tar.xz
ca73702c 9# Source0-md5: 1ab74403a69538c35ed99c55b796a9dd
66c98b1b
JB
10URL: http://www.freedesktop.org/wiki/Software/libinput/
11BuildRequires: check-devel >= 0.9.9
12BuildRequires: doxygen
13BuildRequires: libevdev-devel >= 0.4
14BuildRequires: mtdev-devel >= 1.1.0
15BuildRequires: pkgconfig
b1a834ff 16BuildRequires: udev-devel
66c98b1b 17BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
b1a834ff
AM
18
19%description
20libinput is a library that handles input devices for display servers
21and other applications that need to directly deal with input devices.
22
23It provides device detection, device handling, input device event
24processing and abstraction so minimize the amount of custom input code
25the user of libinput need to provide the common set of functionality
26that users expect.
27
66c98b1b
JB
28%description -l pl.UTF-8
29libinput to biblioteka obsługująca urządzenia wejściowe dla serwerów
30grafiki i innych aplikacji wymagających bezpośredniej obsługi urządzeń
31wejściowych.
32
33Biblioteka zapewnia wykrywanie urządzeń, obsługę urządzeń,
34przetwarzanie zdarzeń urządzeń wejściowych oraz abstrakcję,
35minimalizując ilość własnego kodu, który musi napisać użytkownik
36biblioteki, aby zapewnić oczekiwaną funkcjonalność.
37
38%package devel
39Summary: Development files for libinput
40Summary(pl.UTF-8): Pliki programistyczne biblioteki libinput
41Group: Development/Libraries
b1a834ff 42Requires: %{name} = %{version}-%{release}
66c98b1b
JB
43Requires: udev-devel
44
45%description devel
46This package contains the header files for developing applications
47that use libinput.
48
49%description devel -l pl.UTF-8
50Ten pakiet zawiera pliki nagłówkowe niezbędne do tworzenia aplikacji
51wykorzystujących bibliotekę libinput.
52
53%package static
54Summary: Static libinput library
55Summary(pl.UTF-8): Statyczna biblioteka libinput
56Group: Development/Libraries
57Requires: %{name}-devel = %{version}-%{release}
58
59%description static
60Static libinput library.
b1a834ff 61
66c98b1b
JB
62%description static -l pl.UTF-8
63Statyczna biblioteka libinput.
64
65%package apidocs
66Summary: API documentation for libinput library
67Summary(pl.UTF-8): Dokumentacja API biblioteki libinput
68Group: Documentation
69
70%description apidocs
71API documentation for libinput library.
72
73%description apidocs -l pl.UTF-8
74Dokumentacja 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
86rm -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
95rm -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.*.*.*
ca73702c 104%attr(755,root,root) %ghost %{_libdir}/libinput.so.2
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/*
This page took 0.162341 seconds and 4 git commands to generate.