]>
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 | |
f9117c9a | 4 | Version: 1.6.3 |
40f0f877 JB |
5 | Release: 1 |
6 | License: LGPL v2+ | |
7 | Group: Libraries | |
8 | Source0: http://www.directfb.org/downloads/Extras/%{name}-%{version}.tar.gz | |
f9117c9a JB |
9 | # Source0-md5: a5a08ef9197bf32c8bc6b030f96f2103 |
10 | Patch0: %{name}-missing.patch | |
40f0f877 | 11 | URL: http://www.directfb.org/ |
f9117c9a | 12 | BuildRequires: DirectFB-devel >= 1:1.6.0 |
40f0f877 | 13 | BuildRequires: pkgconfig >= 1:0.9 |
f9117c9a | 14 | Requires: DirectFB >= 1:1.6.0 |
40f0f877 JB |
15 | BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n) |
16 | ||
17 | %description | |
18 | DiVine consists of: | |
19 | - an input driver that reads raw input events from a pipe and | |
20 | dispatches them via a virtual input device. | |
21 | - a library that handles the connection to the input driver including | |
22 | helper functions for generating events. | |
23 | - a tool called "spooky" to generate input events using a simple | |
24 | script featuring button or motion events, linear or circular | |
25 | automated motion and delays. | |
26 | ||
40f0f877 JB |
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} | |
f9117c9a | 42 | Requires: DirectFB-devel >= 1:1.6.0 |
40f0f877 JB |
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 | |
f9117c9a | 64 | %patch0 -p1 |
40f0f877 JB |
65 | |
66 | %build | |
67 | %configure \ | |
68 | --enable-static | |
69 | %{__make} | |
70 | ||
71 | %install | |
72 | rm -rf $RPM_BUILD_ROOT | |
73 | ||
74 | %{__make} install \ | |
75 | DESTDIR=$RPM_BUILD_ROOT | |
76 | ||
77 | %clean | |
78 | rm -rf $RPM_BUILD_ROOT | |
79 | ||
80 | %post -p /sbin/ldconfig | |
81 | %postun -p /sbin/ldconfig | |
82 | ||
83 | %files | |
84 | %defattr(644,root,root,755) | |
85 | %doc AUTHORS ChangeLog README | |
86 | %attr(755,root,root) %{_bindir}/spooky | |
f9117c9a JB |
87 | %attr(755,root,root) %{_libdir}/libdivine-1.6.so.*.*.* |
88 | %attr(755,root,root) %ghost %{_libdir}/libdivine-1.6.so.0 | |
89 | %attr(755,root,root) %{_libdir}/directfb-1.6-0/inputdrivers/libdirectfb_divine.so | |
90 | %dir %{_libdir}/directfb-1.6-0/interfaces/IDiVine | |
91 | %attr(755,root,root) %{_libdir}/directfb-1.6-0/interfaces/IDiVine/libidivine_dispatcher.so | |
92 | %attr(755,root,root) %{_libdir}/directfb-1.6-0/interfaces/IDiVine/libidivine_requestor.so | |
40f0f877 JB |
93 | |
94 | %files devel | |
95 | %defattr(644,root,root,755) | |
96 | %attr(755,root,root) %{_bindir}/divine-config | |
97 | %attr(755,root,root) %{_libdir}/libdivine.so | |
98 | %{_libdir}/libdivine.la | |
99 | %{_includedir}/divine | |
100 | %{_pkgconfigdir}/divine.pc | |
101 | ||
102 | %files static | |
103 | %defattr(644,root,root,755) | |
104 | %{_libdir}/libdivine.a | |
f9117c9a JB |
105 | %{_libdir}/directfb-1.6-0/inputdrivers/libdirectfb_divine.[aol]* |
106 | %{_libdir}/directfb-1.6-0/interfaces/IDiVine/libidivine_dispatcher.[aol]* | |
107 | %{_libdir}/directfb-1.6-0/interfaces/IDiVine/libidivine_requestor.[aol]* |