59b657d363158d8fd6132cc7c6ccb7e6fa744b85
[platform/upstream/libxkbcommon.git] / packaging / libxkbcommon.spec
1 Name:           libxkbcommon
2 Version:        0.0.800
3 Release:        0
4 License:        MIT
5 Summary:        Wayland libxkbcommon library
6 Url:            http://wayland.freedesktop.org/
7 Group:          Development/Libraries/C and C++
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 BuildRequires:  autoconf >= 2.60
13 BuildRequires:  automake
14 BuildRequires:  bison
15 BuildRequires:  flex
16 BuildRequires:  libtool >= 2
17 BuildRequires:  pkgconfig
18 BuildRequires:  xz
19 BuildRequires:  pkgconfig(kbproto) >= 1.0.4
20 BuildRequires:  pkgconfig(xorg-macros) >= 1.8
21 BuildRequires:  pkgconfig(xproto)
22 BuildRoot:      %{_tmppath}/%{name}-%{version}-build
23
24 %description
25 (Upstream has not provided a description)
26
27 %package devel
28 Summary:        Development files for the Wayland libxkbcommon library
29 Group:          Development/Libraries/C and C++
30 Requires:       %{name} = %{version}
31
32 %description devel
33 (Upstream has not provided a description)
34
35 This package contains the development headers for the library found
36 in %{name}.
37
38 %prep
39 %setup -qn %{name}
40
41 %build
42 autoreconf -fi;
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 %defattr(-,root,root)
55 %{_libdir}/libxkbcommon.so.0*
56
57 %files devel
58 %defattr(-,root,root)
59 %{_includedir}/xkbcommon
60 %{_libdir}/libxkbcommon.so
61 %{_libdir}/pkgconfig/xkbcommon.pc
62
63 %changelog