]>
Commit | Line | Data |
---|---|---|
3c06e5aa JB |
1 | Summary: xkbcommon library - keymap compiler and support library |
2 | Summary(pl.UTF-8): Biblioteka xkbcommon - kompilatora i obsługi map klawiszy | |
3 | Name: xorg-lib-libxkbcommon | |
078cae60 AM |
4 | Version: 0.2.0 |
5 | Release: 1 | |
3c06e5aa JB |
6 | License: MIT |
7 | Group: X11/Libraries | |
078cae60 AM |
8 | Source0: http://xkbcommon.org/download/libxkbcommon-%{version}.tar.bz2 |
9 | # Source0-md5: 2be3d4a255d02c7d46fc6a9486f21f6a | |
10 | URL: http://xkbcommon.org/ | |
2f7b0749 | 11 | BuildRequires: autoconf >= 2.62 |
3c06e5aa JB |
12 | BuildRequires: automake |
13 | BuildRequires: bison | |
2f7b0749 | 14 | BuildRequires: doxygen |
3c06e5aa JB |
15 | BuildRequires: flex |
16 | BuildRequires: libtool >= 2:2.0 | |
17 | BuildRequires: pkgconfig >= 1:0.19 | |
18 | BuildRequires: xorg-proto-kbproto-devel >= 1.0.4 | |
19 | BuildRequires: xorg-proto-xproto-devel | |
20 | BuildRequires: xorg-util-util-macros >= 1.8 | |
3c06e5aa JB |
21 | BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n) |
22 | ||
23 | %description | |
24 | libxkbcommon is a keymap compiler and support library which processes | |
25 | a reduced subset of keymaps as defined by the XKB specification. | |
26 | ||
27 | %description -l pl.UTF-8 | |
28 | libxkbcommon to biblioteka kompilatora i obsługi map klawiszy, | |
29 | przetwarzająca ograniczony podzbiór map klawiszy zdefiniowanych w | |
30 | specyfikacji XKB. | |
31 | ||
32 | %package devel | |
33 | Summary: Header files for libxkbcommon library | |
34 | Summary(pl.UTF-8): Pliki nagłówkowe biblioteki libxkbcommon | |
35 | Group: X11/Development/Libraries | |
36 | Requires: %{name} = %{version}-%{release} | |
37 | ||
38 | %description devel | |
39 | xkbcommon library. | |
40 | ||
41 | This package contains the header files needed to develop programs that | |
42 | use libxkbcommon. | |
43 | ||
44 | %description devel -l pl.UTF-8 | |
45 | Biblioteka xkbcommon. | |
46 | ||
47 | Pakiet zawiera pliki nagłówkowe niezbędne do kompilowania programów | |
48 | używających biblioteki libxkbcommon. | |
49 | ||
50 | %package static | |
51 | Summary: Static libxkbcommon library | |
52 | Summary(pl.UTF-8): Biblioteka statyczna libxkbcommon | |
53 | Group: X11/Development/Libraries | |
54 | Requires: %{name}-devel = %{version}-%{release} | |
55 | ||
56 | %description static | |
57 | xkbcommon library. | |
58 | ||
59 | This package contains the static libxkbcommon library. | |
60 | ||
61 | %description static -l pl.UTF-8 | |
62 | Biblioteka xkbcommon. | |
63 | ||
64 | Pakiet zawiera statyczną bibliotekę libxkbcommon. | |
65 | ||
66 | %prep | |
078cae60 | 67 | %setup -q -n libxkbcommon-%{version} |
3c06e5aa JB |
68 | |
69 | %build | |
70 | %{__libtoolize} | |
71 | %{__aclocal} | |
72 | %{__autoconf} | |
73 | %{__autoheader} | |
74 | %{__automake} | |
75 | %configure | |
76 | ||
77 | %{__make} | |
78 | ||
79 | %install | |
80 | rm -rf $RPM_BUILD_ROOT | |
81 | ||
82 | %{__make} install \ | |
83 | DESTDIR=$RPM_BUILD_ROOT | |
84 | ||
85 | # obsoleted by pkg-config | |
86 | %{__rm} $RPM_BUILD_ROOT%{_libdir}/libxkbcommon.la | |
2f7b0749 JB |
87 | # packaged as %doc |
88 | %{__rm} -r $RPM_BUILD_ROOT%{_docdir}/libxkbcommon | |
3c06e5aa JB |
89 | |
90 | %clean | |
91 | rm -rf $RPM_BUILD_ROOT | |
92 | ||
93 | %post -p /sbin/ldconfig | |
94 | %postun -p /sbin/ldconfig | |
95 | ||
96 | %files | |
97 | %defattr(644,root,root,755) | |
2f7b0749 | 98 | %doc COPYING ChangeLog README TODO |
3c06e5aa JB |
99 | %attr(755,root,root) %{_libdir}/libxkbcommon.so.*.*.* |
100 | %attr(755,root,root) %ghost %{_libdir}/libxkbcommon.so.0 | |
101 | ||
102 | %files devel | |
103 | %defattr(644,root,root,755) | |
078cae60 | 104 | %doc doc/html/* |
3c06e5aa JB |
105 | %attr(755,root,root) %{_libdir}/libxkbcommon.so |
106 | %{_includedir}/xkbcommon | |
107 | %{_pkgconfigdir}/xkbcommon.pc | |
108 | ||
109 | %files static | |
110 | %defattr(644,root,root,755) | |
111 | %{_libdir}/libxkbcommon.a |