]> git.pld-linux.org Git - packages/xorg-lib-libxkbcommon.git/blob - xorg-lib-libxkbcommon.spec
- cleanup
[packages/xorg-lib-libxkbcommon.git] / xorg-lib-libxkbcommon.spec
1 Summary:        xkbcommon library - keymap compiler and support library
2 Summary(pl.UTF-8):      Biblioteka xkbcommon - kompilatora i obsługi map klawiszy
3 Name:           xorg-lib-libxkbcommon
4 Version:        0.1.0
5 %define snap    20120408
6 Release:        0.%{snap}.1
7 License:        MIT
8 Group:          X11/Libraries
9 # git clone git://people.freedesktop.org/xorg/lib/libxkbcommon.git
10 Source0:        libxkbcommon.tar.xz
11 # Source0-md5:  3474ac974f655ab23b87acac520c02b7
12 URL:            http://xorg.freedesktop.org/
13 BuildRequires:  autoconf >= 2.60
14 BuildRequires:  automake
15 BuildRequires:  bison
16 BuildRequires:  flex
17 BuildRequires:  libtool >= 2:2.0
18 BuildRequires:  pkgconfig >= 1:0.19
19 BuildRequires:  xorg-proto-kbproto-devel >= 1.0.4
20 BuildRequires:  xorg-proto-xproto-devel
21 BuildRequires:  xorg-util-util-macros >= 1.8
22 BuildRequires:  tar >= 1:1.22
23 BuildRequires:  xz
24 BuildRoot:      %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
25
26 %description
27 libxkbcommon is a keymap compiler and support library which processes
28 a reduced subset of keymaps as defined by the XKB specification.
29
30 %description -l pl.UTF-8
31 libxkbcommon to biblioteka kompilatora i obsługi map klawiszy,
32 przetwarzająca ograniczony podzbiór map klawiszy zdefiniowanych w
33 specyfikacji XKB.
34
35 %package devel
36 Summary:        Header files for libxkbcommon library
37 Summary(pl.UTF-8):      Pliki nagłówkowe biblioteki libxkbcommon
38 Group:          X11/Development/Libraries
39 Requires:       %{name} = %{version}-%{release}
40
41 %description devel
42 xkbcommon library.
43
44 This package contains the header files needed to develop programs that
45 use libxkbcommon.
46
47 %description devel -l pl.UTF-8
48 Biblioteka xkbcommon.
49
50 Pakiet zawiera pliki nagłówkowe niezbędne do kompilowania programów
51 używających biblioteki libxkbcommon.
52
53 %package static
54 Summary:        Static libxkbcommon library
55 Summary(pl.UTF-8):      Biblioteka statyczna libxkbcommon
56 Group:          X11/Development/Libraries
57 Requires:       %{name}-devel = %{version}-%{release}
58
59 %description static
60 xkbcommon library.
61
62 This package contains the static libxkbcommon library.
63
64 %description static -l pl.UTF-8
65 Biblioteka xkbcommon.
66
67 Pakiet 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
83 rm -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
92 rm -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.093049 seconds and 4 git commands to generate.