]> git.pld-linux.org Git - packages/xorg-lib-libxkbcommon.git/blame - xorg-lib-libxkbcommon.spec
- cleanup
[packages/xorg-lib-libxkbcommon.git] / xorg-lib-libxkbcommon.spec
CommitLineData
3c06e5aa
JB
1Summary: xkbcommon library - keymap compiler and support library
2Summary(pl.UTF-8): Biblioteka xkbcommon - kompilatora i obsługi map klawiszy
3Name: xorg-lib-libxkbcommon
4Version: 0.1.0
5%define snap 20120408
6Release: 0.%{snap}.1
7License: MIT
8Group: X11/Libraries
9# git clone git://people.freedesktop.org/xorg/lib/libxkbcommon.git
10Source0: libxkbcommon.tar.xz
11# Source0-md5: 3474ac974f655ab23b87acac520c02b7
12URL: http://xorg.freedesktop.org/
13BuildRequires: autoconf >= 2.60
14BuildRequires: automake
15BuildRequires: bison
16BuildRequires: flex
17BuildRequires: libtool >= 2:2.0
18BuildRequires: pkgconfig >= 1:0.19
19BuildRequires: xorg-proto-kbproto-devel >= 1.0.4
20BuildRequires: xorg-proto-xproto-devel
21BuildRequires: xorg-util-util-macros >= 1.8
22BuildRequires: tar >= 1:1.22
23BuildRequires: xz
24BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
25
26%description
27libxkbcommon is a keymap compiler and support library which processes
28a reduced subset of keymaps as defined by the XKB specification.
29
30%description -l pl.UTF-8
31libxkbcommon to biblioteka kompilatora i obsługi map klawiszy,
32przetwarzająca ograniczony podzbiór map klawiszy zdefiniowanych w
33specyfikacji XKB.
34
35%package devel
36Summary: Header files for libxkbcommon library
37Summary(pl.UTF-8): Pliki nagłówkowe biblioteki libxkbcommon
38Group: X11/Development/Libraries
39Requires: %{name} = %{version}-%{release}
40
41%description devel
42xkbcommon library.
43
44This package contains the header files needed to develop programs that
45use libxkbcommon.
46
47%description devel -l pl.UTF-8
48Biblioteka xkbcommon.
49
50Pakiet zawiera pliki nagłówkowe niezbędne do kompilowania programów
51używających biblioteki libxkbcommon.
52
53%package static
54Summary: Static libxkbcommon library
55Summary(pl.UTF-8): Biblioteka statyczna libxkbcommon
56Group: X11/Development/Libraries
57Requires: %{name}-devel = %{version}-%{release}
58
59%description static
60xkbcommon library.
61
62This package contains the static libxkbcommon library.
63
64%description static -l pl.UTF-8
65Biblioteka xkbcommon.
66
67Pakiet zawiera statyczną bibliotekę libxkbcommon.
68
69%prep
70%setup -q -n libxkbcommon
71
72%build
73%{__libtoolize}
74%{__aclocal}
75%{__autoconf}
76%{__autoheader}
77%{__automake}
78%configure
79
80%{__make}
81
82%install
83rm -rf $RPM_BUILD_ROOT
84
85%{__make} install \
86 DESTDIR=$RPM_BUILD_ROOT
87
88# obsoleted by pkg-config
89%{__rm} $RPM_BUILD_ROOT%{_libdir}/libxkbcommon.la
90
91%clean
92rm -rf $RPM_BUILD_ROOT
93
94%post -p /sbin/ldconfig
95%postun -p /sbin/ldconfig
96
97%files
98%defattr(644,root,root,755)
99%doc COPYING README
100%attr(755,root,root) %{_libdir}/libxkbcommon.so.*.*.*
101%attr(755,root,root) %ghost %{_libdir}/libxkbcommon.so.0
102
103%files devel
104%defattr(644,root,root,755)
105%attr(755,root,root) %{_libdir}/libxkbcommon.so
106%{_includedir}/xkbcommon
107%{_pkgconfigdir}/xkbcommon.pc
108
109%files static
110%defattr(644,root,root,755)
111%{_libdir}/libxkbcommon.a
This page took 0.105154 seconds and 4 git commands to generate.