]>
Commit | Line | Data |
---|---|---|
1ea7c033 | 1 | Summary: X Virtual Keyboard library |
ad6f78ff | 2 | Summary(pl.UTF-8): Biblioteka wirtualnej klawiatury dla X |
1ea7c033 JB |
3 | Name: libfakekey |
4 | Version: 0.1 | |
40a6c0f5 | 5 | Release: 5 |
1ea7c033 JB |
6 | License: LGPL v2+ |
7 | Group: X11/Libraries | |
e6cdf0b9 | 8 | Source0: https://matchbox-project.org/sources/libfakekey/%{version}/%{name}-%{version}.tar.bz2 |
1ea7c033 | 9 | # Source0-md5: 83dbde4d77e8baf0176fe4291d8a2303 |
e6cdf0b9 JB |
10 | URL: http://matchbox-project.org/ |
11 | BuildRequires: autoconf >= 2.53 | |
eebad524 JR |
12 | BuildRequires: automake |
13 | BuildRequires: libtool | |
1ea7c033 JB |
14 | BuildRequires: pkgconfig |
15 | BuildRequires: xorg-lib-libX11-devel | |
16 | BuildRequires: xorg-lib-libXtst-devel | |
17 | BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n) | |
18 | ||
19 | %description | |
20 | X Virtual Keyboard library. | |
21 | ||
7f9ead38 | 22 | %description -l pl.UTF-8 |
1ea7c033 JB |
23 | Biblioteka wirtualnej klawiatury dla X. |
24 | ||
25 | %package devel | |
26 | Summary: Header files for libfakekey library | |
ad6f78ff | 27 | Summary(pl.UTF-8): Pliki nagłówkowe biblioteki libfakekey |
1ea7c033 JB |
28 | Group: X11/Development/Libraries |
29 | Requires: %{name} = %{version}-%{release} | |
30 | Requires: xorg-lib-libX11-devel | |
31 | Requires: xorg-lib-libXtst-devel | |
32 | ||
33 | %description devel | |
34 | Header files for libfakekey library. | |
35 | ||
7f9ead38 JR |
36 | %description devel -l pl.UTF-8 |
37 | Pliki nagłówkowe biblioteki libfakekey. | |
1ea7c033 JB |
38 | |
39 | %package static | |
40 | Summary: Static libfakekey library | |
ad6f78ff | 41 | Summary(pl.UTF-8): Statyczna biblioteka libfakekey |
1ea7c033 JB |
42 | Group: X11/Development/Libraries |
43 | Requires: %{name}-devel = %{version}-%{release} | |
44 | ||
45 | %description static | |
46 | Static libfakekey library. | |
47 | ||
7f9ead38 | 48 | %description static -l pl.UTF-8 |
1ea7c033 JB |
49 | Statyczna biblioteka libfakekey. |
50 | ||
51 | %prep | |
52 | %setup -q | |
53 | ||
54 | %build | |
55 | %configure | |
2e78d0bf | 56 | %{__make} AM_LDFLAGS=-lX11 |
1ea7c033 JB |
57 | |
58 | %install | |
59 | rm -rf $RPM_BUILD_ROOT | |
60 | ||
61 | %{__make} install \ | |
62 | DESTDIR=$RPM_BUILD_ROOT | |
63 | ||
fcfa4094 JR |
64 | %{__rm} $RPM_BUILD_ROOT%{_libdir}/*.la |
65 | ||
1ea7c033 JB |
66 | %clean |
67 | rm -rf $RPM_BUILD_ROOT | |
68 | ||
69 | %post -p /sbin/ldconfig | |
70 | %postun -p /sbin/ldconfig | |
71 | ||
72 | %files | |
73 | %defattr(644,root,root,755) | |
74 | %doc ChangeLog | |
75 | %attr(755,root,root) %{_libdir}/libfakekey.so.*.*.* | |
eebad524 | 76 | %attr(755,root,root) %ghost %{_libdir}/libfakekey.so.[0-9] |
1ea7c033 JB |
77 | |
78 | %files devel | |
79 | %defattr(644,root,root,755) | |
80 | %attr(755,root,root) %{_libdir}/libfakekey.so | |
1ea7c033 JB |
81 | %{_includedir}/fakekey |
82 | %{_pkgconfigdir}/libfakekey.pc | |
83 | ||
84 | %files static | |
85 | %defattr(644,root,root,755) | |
86 | %{_libdir}/libfakekey.a |