]> git.pld-linux.org Git - packages/xorg-lib-libxkbcommon.git/blob - xorg-lib-libxkbcommon.spec
- updated to 0.3.0
[packages/xorg-lib-libxkbcommon.git] / xorg-lib-libxkbcommon.spec
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
4 Version:        0.3.0
5 Release:        1
6 License:        MIT
7 Group:          X11/Libraries
8 Source0:        http://xkbcommon.org/download/libxkbcommon-%{version}.tar.xz
9 # Source0-md5:  22a046100738f99b4cc0297aa210f4e4
10 URL:            http://xkbcommon.org/
11 BuildRequires:  autoconf >= 2.62
12 BuildRequires:  automake
13 BuildRequires:  bison
14 BuildRequires:  doxygen
15 BuildRequires:  flex
16 BuildRequires:  libtool >= 2:2.0
17 BuildRequires:  pkgconfig >= 1:0.19
18 BuildRequires:  tar >= 1:1.22
19 BuildRequires:  xorg-proto-kbproto-devel >= 1.0.4
20 BuildRequires:  xorg-proto-xproto-devel
21 BuildRequires:  xorg-util-util-macros >= 1.16
22 BuildRequires:  xz
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
69 %setup -q -n libxkbcommon-%{version}
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
89 # packaged as %doc
90 %{__rm} -r $RPM_BUILD_ROOT%{_docdir}/libxkbcommon
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)
100 %doc COPYING ChangeLog README TODO
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)
106 %doc doc/html/*
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
This page took 0.062282 seconds and 4 git commands to generate.