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
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
20 Obsoletes: xkbfile < 1
21 BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
24 libxkbfile library is used by the X servers and utilities to parse the
25 XKB configuration data files.
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.
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
41 This package contains the header files needed to develop programs that
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.
49 Summary: Static libxkbfile library
50 Summary(pl.UTF-8): Biblioteka statyczna libxkbfile
51 Group: X11/Development/Libraries
52 Requires: %{name}-devel = %{version}-%{release}
55 This package contains the static libxkbfile library.
57 %description static -l pl.UTF-8
58 Pakiet zawiera statyczną bibliotekę libxkbfile.
61 %setup -q -n libxkbfile-%{version}
74 rm -rf $RPM_BUILD_ROOT
77 DESTDIR=$RPM_BUILD_ROOT
79 %{__rm} $RPM_BUILD_ROOT%{_libdir}/libxkbfile.la
82 rm -rf $RPM_BUILD_ROOT
84 %post -p /sbin/ldconfig
85 %postun -p /sbin/ldconfig
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
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
101 %defattr(644,root,root,755)
102 %{_libdir}/libxkbfile.a