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