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