]> git.pld-linux.org Git - SPECS.git/blob - xorg-lib-libxkbfile.spec
SPECS updated Wed 28 Jul 14:48:01 CEST 2021
[SPECS.git] / xorg-lib-libxkbfile.spec
1 Summary:        xkbfile library - XKB file handling routines
2 Summary(pl.UTF-8):      Biblioteka xkbfile - funkcje do obsługi plików XKB
3 Name:           xorg-lib-libxkbfile
4 Version:        1.1.0
5 Release:        1
6 License:        MIT
7 Group:          X11/Libraries
8 Source0:        https://xorg.freedesktop.org/releases/individual/lib/libxkbfile-%{version}.tar.bz2
9 # Source0-md5:  dd7e1e946def674e78c0efbc5c7d5b3b
10 URL:            https://xorg.freedesktop.org/
11 BuildRequires:  autoconf >= 2.60
12 BuildRequires:  automake
13 BuildRequires:  libtool
14 BuildRequires:  pkgconfig >= 1:0.19
15 BuildRequires:  xorg-lib-libX11-devel
16 BuildRequires:  xorg-proto-kbproto-devel
17 BuildRequires:  xorg-util-util-macros >= 1.8
18 Obsoletes:      xkbfile
19 BuildRoot:      %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
20
21 %description
22 libxkbfile library is used by the X servers and utilities to parse the
23 XKB configuration data files.
24
25 %description -l pl.UTF-8
26 Biblioteka libxkbfile jest wykorzystywana przez serwery i narzędzia X
27 do analizy plików danych konfiguracyjnych XKB.
28
29 %package devel
30 Summary:        Header files for libxkbfile library
31 Summary(pl.UTF-8):      Pliki nagłówkowe biblioteki libxkbfile
32 Group:          X11/Development/Libraries
33 Requires:       %{name} = %{version}-%{release}
34 Requires:       xorg-lib-libX11-devel
35 Obsoletes:      xkbfile-devel
36
37 %description devel
38 This package contains the header files needed to develop programs that
39 use libxkbfile.
40
41 %description devel -l pl.UTF-8
42 Pakiet zawiera pliki nagłówkowe niezbędne do kompilowania programów
43 używających biblioteki libxkbfile.
44
45 %package static
46 Summary:        Static libxkbfile library
47 Summary(pl.UTF-8):      Biblioteka statyczna libxkbfile
48 Group:          X11/Development/Libraries
49 Requires:       %{name}-devel = %{version}-%{release}
50
51 %description static
52 This package contains the static libxkbfile library.
53
54 %description static -l pl.UTF-8
55 Pakiet zawiera statyczną bibliotekę libxkbfile.
56
57 %prep
58 %setup -q -n libxkbfile-%{version}
59
60 %build
61 %{__libtoolize}
62 %{__aclocal}
63 %{__autoconf}
64 %{__autoheader}
65 %{__automake}
66 %configure
67
68 %{__make}
69
70 %install
71 rm -rf $RPM_BUILD_ROOT
72
73 %{__make} install \
74         DESTDIR=$RPM_BUILD_ROOT
75
76 %{__rm} $RPM_BUILD_ROOT%{_libdir}/libxkbfile.la
77
78 %clean
79 rm -rf $RPM_BUILD_ROOT
80
81 %post   -p /sbin/ldconfig
82 %postun -p /sbin/ldconfig
83
84 %files
85 %defattr(644,root,root,755)
86 %doc COPYING ChangeLog README.md
87 %attr(755,root,root) %{_libdir}/libxkbfile.so.*.*.*
88 %attr(755,root,root) %ghost %{_libdir}/libxkbfile.so.1
89
90 %files devel
91 %defattr(644,root,root,755)
92 %attr(755,root,root) %{_libdir}/libxkbfile.so
93 %{_includedir}/X11/extensions/XKB*.h
94 %{_includedir}/X11/extensions/XKM*.h
95 %{_pkgconfigdir}/xkbfile.pc
96
97 %files static
98 %defattr(644,root,root,755)
99 %{_libdir}/libxkbfile.a
This page took 0.850773 seconds and 3 git commands to generate.