2f5dea90857f88f44b50d144e0d1263c8de59777
[platform/upstream/libxkbcommon.git] / packaging / libxkbcommon.spec
1 Name:           libxkbcommon
2 Version:        0.3.0
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
43 %configure --disable-static
44 make %{?_smp_mflags} V=1;
45
46 %install
47 %make_install
48
49 %post  -p /sbin/ldconfig
50
51 %postun  -p /sbin/ldconfig
52
53 %files
54 %manifest %{name}.manifest
55 %defattr(-,root,root)
56 %license COPYING
57 %{_libdir}/libxkbcommon.so.0*
58
59 %files devel
60 %manifest %{name}.manifest
61 %defattr(-,root,root)
62 %{_includedir}/xkbcommon
63 %{_libdir}/libxkbcommon.so
64 %{_libdir}/pkgconfig/xkbcommon.pc
65
66 %changelog