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