2b558536098c376404134fa82c4b7015151cbc31
[platform/upstream/libxkbcommon.git] / packaging / libxkbcommon.spec
1 Name:           libxkbcommon
2 Version:        0.4.1
3 Release:        0
4 License:        MIT
5 Summary:        Wayland libxkbcommon library
6 Url:            http://wayland.freedesktop.org/
7 Group:          Development/Libraries
8
9 #Git-Clone:     git://anongit.freedesktop.org/xorg/lib/libxkbcommon
10 #Git-Web:       http://cgit.freedesktop.org/xorg/lib/libxkbcommon/
11 Source:         %{name}-%{version}.tar.xz
12 Source1001:     libxkbcommon.manifest
13 BuildRequires:  autoconf >= 2.60
14 BuildRequires:  automake
15 BuildRequires:  bison
16 BuildRequires:  flex
17 BuildRequires:  libtool >= 2
18 BuildRequires:  pkgconfig
19 #BuildRequires:  pkgconfig(kbproto) >= 1.0.4
20 BuildRequires:  pkgconfig(xorg-macros) >= 1.8
21 #BuildRequires:  pkgconfig(xproto)
22
23 %description
24 Keyboard handling library using XKB data.
25
26 %package devel
27 Summary:        Development files for the Wayland libxkbcommon library
28 Group:          Development/Libraries
29 Requires:       %{name} = %{version}
30
31 %description devel
32 Keyboard handling library using XKB data.
33
34 This package contains the development headers for the library found
35 in %{name}.
36
37 %prep
38 %setup -qn %{name}
39 cp %{SOURCE1001} .
40
41 %build
42 %autogen --disable-static --disable-x11
43 make %{?_smp_mflags} V=1;
44
45 %install
46 %make_install
47
48 %post  -p /sbin/ldconfig
49
50 %postun  -p /sbin/ldconfig
51
52 %files
53 %manifest %{name}.manifest
54 %defattr(-,root,root)
55 %license COPYING
56 %{_libdir}/libxkbcommon.so.0*
57
58 %files devel
59 %manifest %{name}.manifest
60 %defattr(-,root,root)
61 %{_includedir}/xkbcommon
62 %{_libdir}/libxkbcommon.so
63 %{_libdir}/pkgconfig/xkbcommon.pc
64
65 %changelog