]>
Commit | Line | Data |
---|---|---|
40f0f877 JB |
1 | Summary: DirectFB Virtual Input extension |
2 | Summary(pl.UTF-8): Rozszerzenie DirectFB o wirtualne wejście | |
3 | Name: DiVine | |
4 | Version: 0.4.0 | |
5 | Release: 1 | |
6 | License: LGPL v2+ | |
7 | Group: Libraries | |
8 | Source0: http://www.directfb.org/downloads/Extras/%{name}-%{version}.tar.gz | |
9 | # Source0-md5: 6c1147d186e421f707afd48403749364 | |
10 | URL: http://www.directfb.org/ | |
11 | BuildRequires: DirectFB-devel >= 1:1.2.0 | |
12 | BuildRequires: pkgconfig >= 1:0.9 | |
13 | %requires_eq DirectFB | |
14 | BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n) | |
15 | ||
16 | %description | |
17 | DiVine consists of: | |
18 | - an input driver that reads raw input events from a pipe and | |
19 | dispatches them via a virtual input device. | |
20 | - a library that handles the connection to the input driver including | |
21 | helper functions for generating events. | |
22 | - a tool called "spooky" to generate input events using a simple | |
23 | script featuring button or motion events, linear or circular | |
24 | automated motion and delays. | |
25 | ||
26 | ||
27 | %description -l pl.UTF-8 | |
28 | DiVine składa się z: | |
29 | - sterownika wejścia czytającego surowe zdarzenia wejściowe z potoku | |
30 | i przekazującego je poprzez wirtualne urządzenie wejściowe, | |
31 | - biblioteki obsługującej połączenie ze sterownikiem wejściowym oraz | |
32 | zawierającej funkcje pomocnicze do generowania zdarzeń, | |
33 | - narzędzia "spooky" generującego zdarzenia wejściowe przy użyciu | |
34 | prostego skryptu oferującego zdarzenia związane z przyciskami i | |
35 | ruchem, automatycznym ruchem liniowym lub cyklicznym i opóźnieniami. | |
36 | ||
37 | %package devel | |
38 | Summary: Header files for divine library | |
39 | Summary(pl.UTF-8): Pliki nagłówkowe biblioteki divine | |
40 | Group: Development/Libraries | |
41 | Requires: %{name} = %{version}-%{release} | |
42 | Requires: DirectFB-devel >= 1:1.0.0 | |
43 | ||
44 | %description devel | |
45 | Header files for divine library. | |
46 | ||
47 | %description devel -l pl.UTF-8 | |
48 | Pliki nagłówkowe biblioteki divine. | |
49 | ||
50 | %package static | |
51 | Summary: Static divine library | |
52 | Summary(pl.UTF-8): Statyczna biblioteka divine | |
53 | Group: Development/Libraries | |
54 | Requires: %{name}-devel = %{version}-%{release} | |
55 | ||
56 | %description static | |
57 | Static divine library. | |
58 | ||
59 | %description static -l pl.UTF-8 | |
60 | Statyczna biblioteka divine. | |
61 | ||
62 | %prep | |
63 | %setup -q | |
64 | ||
65 | %build | |
66 | %configure \ | |
67 | --enable-static | |
68 | %{__make} | |
69 | ||
70 | %install | |
71 | rm -rf $RPM_BUILD_ROOT | |
72 | ||
73 | %{__make} install \ | |
74 | DESTDIR=$RPM_BUILD_ROOT | |
75 | ||
76 | %clean | |
77 | rm -rf $RPM_BUILD_ROOT | |
78 | ||
79 | %post -p /sbin/ldconfig | |
80 | %postun -p /sbin/ldconfig | |
81 | ||
82 | %files | |
83 | %defattr(644,root,root,755) | |
84 | %doc AUTHORS ChangeLog README | |
85 | %attr(755,root,root) %{_bindir}/spooky | |
86 | %attr(755,root,root) %{_libdir}/libdivine-0.4.so.*.*.* | |
87 | %attr(755,root,root) %ghost %{_libdir}/libdivine-0.4.so.0 | |
88 | %attr(755,root,root) %{_libdir}/directfb-1.2-0/inputdrivers/libdirectfb_divine.so | |
89 | ||
90 | %files devel | |
91 | %defattr(644,root,root,755) | |
92 | %attr(755,root,root) %{_bindir}/divine-config | |
93 | %attr(755,root,root) %{_libdir}/libdivine.so | |
94 | %{_libdir}/libdivine.la | |
95 | %{_includedir}/divine | |
96 | %{_pkgconfigdir}/divine.pc | |
97 | ||
98 | %files static | |
99 | %defattr(644,root,root,755) | |
100 | %{_libdir}/libdivine.a | |
101 | %{_libdir}/directfb-1.2-0/inputdrivers/libdirectfb_divine.[aol]* |