summaryrefslogtreecommitdiff
path: root/packaging/libxkbcommon.spec
blob: 59b657d363158d8fd6132cc7c6ccb7e6fa744b85 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
Name:           libxkbcommon
Version:        0.0.800
Release:        0
License:        MIT
Summary:        Wayland libxkbcommon library
Url:            http://wayland.freedesktop.org/
Group:          Development/Libraries/C and C++

#Git-Clone:	git://anongit.freedesktop.org/xorg/lib/libxkbcommon
#Git-Web:	http://cgit.freedesktop.org/xorg/lib/libxkbcommon/
Source:         %{name}-%{version}.tar.xz
BuildRequires:  autoconf >= 2.60
BuildRequires:  automake
BuildRequires:  bison
BuildRequires:  flex
BuildRequires:  libtool >= 2
BuildRequires:  pkgconfig
BuildRequires:  xz
BuildRequires:  pkgconfig(kbproto) >= 1.0.4
BuildRequires:  pkgconfig(xorg-macros) >= 1.8
BuildRequires:  pkgconfig(xproto)
BuildRoot:      %{_tmppath}/%{name}-%{version}-build

%description
(Upstream has not provided a description)

%package devel
Summary:        Development files for the Wayland libxkbcommon library
Group:          Development/Libraries/C and C++
Requires:       %{name} = %{version}

%description devel
(Upstream has not provided a description)

This package contains the development headers for the library found
in %{name}.

%prep
%setup -qn %{name}

%build
autoreconf -fi;
%configure --disable-static
make %{?_smp_mflags} V=1;

%install
%make_install

%post  -p /sbin/ldconfig

%postun  -p /sbin/ldconfig

%files
%defattr(-,root,root)
%{_libdir}/libxkbcommon.so.0*

%files devel
%defattr(-,root,root)
%{_includedir}/xkbcommon
%{_libdir}/libxkbcommon.so
%{_libdir}/pkgconfig/xkbcommon.pc

%changelog