1 Summary: Linux kernel evdev device emulation
2 Summary(pl.UTF-8): Emulacja linuksowych urządzeń evdev
8 #Source0Download: https://launchpad.net/evemu/+download
9 Source0: https://launchpad.net/evemu/trunk/evemu-%{version}/+download/%{name}-%{version}.tar.xz
10 # Source0-md5: 34595e1f7872b8440945e8c563e06932
11 URL: https://launchpad.net/evemu
12 BuildRequires: asciidoc
13 BuildRequires: python-devel >= 1:2.6
14 BuildRequires: rpmbuild(macros) >= 1.219
15 BuildRequires: tar >= 1:1.22
18 BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
21 The evemu library and tools are used to describe devices, record data,
22 create devices and replay data from Linux kernel evdev devices.
24 %description -l pl.UTF-8
25 Biblioteka i narzędzia evemu służą do opisywania urządzeń, zapisu
26 danych, tworzenia urządzeń i odtwarzania danych z urządzeń evdev jądra
30 Summary: Header files for evemu library
31 Summary(pl.UTF-8): Pliki nagłówkowe biblioteki evemu
32 Group: Development/Libraries
33 Requires: %{name} = %{version}-%{release}
36 Header files for evemu library.
38 %description devel -l pl.UTF-8
39 Pliki nagłówkowe biblioteki evemu.
42 Summary: Static evemu library
43 Summary(pl.UTF-8): Statyczna biblioteka evemu
44 Group: Development/Libraries
45 Requires: %{name}-devel = %{version}-%{release}
50 %description static -l pl.UTF-8
51 Statyczna biblioteka evemu.
53 %package -n python-evemu
54 Summary: Python interface to evemu library
55 Summary(pl.UTF-8): Pythonowy interfejs do biblioteki evemu
56 Group: Development/Languages/Python
57 Requires: %{name} = %{version}-%{release}
59 %description -n python-evemu
60 Python interface to evemu library.
62 %description -n python-evemu -l pl.UTF-8
63 Pythonowy interfejs do biblioteki evemu.
70 --disable-silent-rules
74 rm -rf $RPM_BUILD_ROOT
77 DESTDIR=$RPM_BUILD_ROOT
79 # obsoleted by pkg-config
80 %{__rm} $RPM_BUILD_ROOT%{_libdir}/*.la
85 rm -rf $RPM_BUILD_ROOT
87 %post -p /sbin/ldconfig
88 %postun -p /sbin/ldconfig
91 %defattr(644,root,root,755)
93 %attr(755,root,root) %{_bindir}/evemu-*
94 %attr(755,root,root) %{_libdir}/libevemu.so.*.*.*
95 %attr(755,root,root) %ghost %{_libdir}/libevemu.so.1
96 %{_mandir}/man1/evemu-*.1*
99 %defattr(644,root,root,755)
100 %attr(755,root,root) %{_libdir}/libevemu.so
101 %{_includedir}/evemu.h
102 %{_pkgconfigdir}/evemu.pc
105 %defattr(644,root,root,755)
106 %{_libdir}/libevemu.a
108 %files -n python-evemu
109 %defattr(644,root,root,755)
110 %dir %{py_sitescriptdir}/evemu
111 %{py_sitescriptdir}/evemu/*.py[co]