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