]>
Commit | Line | Data |
---|---|---|
ae993a25 JB |
1 | Summary: Linux kernel evdev device emulation |
2 | Summary(pl.UTF-8): Emulacja linuksowych urządzeń evdev | |
3 | Name: evemu | |
19b24545 | 4 | Version: 1.1.0 |
ae993a25 JB |
5 | Release: 1 |
6 | License: LGPL v3 | |
7 | Group: Libraries | |
19b24545 JB |
8 | #Source0Download: http://cgit.freedesktop.org/evemu/ |
9 | Source0: http://cgit.freedesktop.org/evemu/snapshot/%{name}-%{version}.tar.gz | |
3c4938d0 | 10 | # Source0-md5: 2fd79afe0a21968f643972e0037798a8 |
19b24545 | 11 | URL: http://www.freedesktop.org/wiki/Evemu/ |
ae993a25 | 12 | BuildRequires: asciidoc |
19b24545 JB |
13 | BuildRequires: autoconf >= 2.60 |
14 | BuildRequires: automake >= 1:1.11 | |
15 | BuildRequires: libtool | |
ae993a25 JB |
16 | BuildRequires: python-devel >= 1:2.6 |
17 | BuildRequires: rpmbuild(macros) >= 1.219 | |
18 | BuildRequires: tar >= 1:1.22 | |
19 | BuildRequires: xmlto | |
20 | BuildRequires: xz | |
21 | BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n) | |
22 | ||
23 | %description | |
24 | The evemu library and tools are used to describe devices, record data, | |
25 | create devices and replay data from Linux kernel evdev devices. | |
26 | ||
27 | %description -l pl.UTF-8 | |
28 | Biblioteka i narzędzia evemu służą do opisywania urządzeń, zapisu | |
29 | danych, tworzenia urządzeń i odtwarzania danych z urządzeń evdev jądra | |
30 | Linuksa. | |
31 | ||
32 | %package devel | |
33 | Summary: Header files for evemu library | |
34 | Summary(pl.UTF-8): Pliki nagłówkowe biblioteki evemu | |
35 | Group: Development/Libraries | |
36 | Requires: %{name} = %{version}-%{release} | |
37 | ||
38 | %description devel | |
39 | Header files for evemu library. | |
40 | ||
41 | %description devel -l pl.UTF-8 | |
42 | Pliki nagłówkowe biblioteki evemu. | |
43 | ||
44 | %package static | |
45 | Summary: Static evemu library | |
46 | Summary(pl.UTF-8): Statyczna biblioteka evemu | |
47 | Group: Development/Libraries | |
48 | Requires: %{name}-devel = %{version}-%{release} | |
49 | ||
50 | %description static | |
51 | Static evemu library. | |
52 | ||
53 | %description static -l pl.UTF-8 | |
54 | Statyczna biblioteka evemu. | |
55 | ||
56 | %package -n python-evemu | |
57 | Summary: Python interface to evemu library | |
58 | Summary(pl.UTF-8): Pythonowy interfejs do biblioteki evemu | |
59 | Group: Development/Languages/Python | |
60 | Requires: %{name} = %{version}-%{release} | |
61 | ||
62 | %description -n python-evemu | |
63 | Python interface to evemu library. | |
64 | ||
65 | %description -n python-evemu -l pl.UTF-8 | |
66 | Pythonowy interfejs do biblioteki evemu. | |
67 | ||
68 | %prep | |
69 | %setup -q | |
70 | ||
71 | %build | |
19b24545 JB |
72 | %{__libtoolize} |
73 | %{__aclocal} | |
74 | %{__autoconf} | |
75 | %{__autoheader} | |
76 | %{__automake} | |
ae993a25 JB |
77 | %configure \ |
78 | --disable-silent-rules | |
79 | %{__make} | |
80 | ||
81 | %install | |
82 | rm -rf $RPM_BUILD_ROOT | |
83 | ||
84 | %{__make} install \ | |
85 | DESTDIR=$RPM_BUILD_ROOT | |
86 | ||
87 | # obsoleted by pkg-config | |
88 | %{__rm} $RPM_BUILD_ROOT%{_libdir}/*.la | |
89 | ||
90 | %py_postclean | |
91 | ||
92 | %clean | |
93 | rm -rf $RPM_BUILD_ROOT | |
94 | ||
95 | %post -p /sbin/ldconfig | |
96 | %postun -p /sbin/ldconfig | |
97 | ||
98 | %files | |
99 | %defattr(644,root,root,755) | |
19b24545 | 100 | %doc README.md |
ae993a25 JB |
101 | %attr(755,root,root) %{_bindir}/evemu-* |
102 | %attr(755,root,root) %{_libdir}/libevemu.so.*.*.* | |
103 | %attr(755,root,root) %ghost %{_libdir}/libevemu.so.1 | |
104 | %{_mandir}/man1/evemu-*.1* | |
105 | ||
106 | %files devel | |
107 | %defattr(644,root,root,755) | |
108 | %attr(755,root,root) %{_libdir}/libevemu.so | |
109 | %{_includedir}/evemu.h | |
110 | %{_pkgconfigdir}/evemu.pc | |
111 | ||
112 | %files static | |
113 | %defattr(644,root,root,755) | |
114 | %{_libdir}/libevemu.a | |
115 | ||
116 | %files -n python-evemu | |
117 | %defattr(644,root,root,755) | |
118 | %dir %{py_sitescriptdir}/evemu | |
119 | %{py_sitescriptdir}/evemu/*.py[co] |