2012-02-13 11:08:50 +01:00
|
|
|
#
|
|
|
|
# spec file for package libxkbfile
|
|
|
|
#
|
2024-02-05 12:59:10 +01:00
|
|
|
# Copyright (c) 2024 SUSE LLC
|
2012-02-13 11:08:50 +01:00
|
|
|
#
|
|
|
|
# All modifications and additions to the file contributed by third parties
|
|
|
|
# remain the property of their copyright owners, unless otherwise agreed
|
|
|
|
# upon. The license for this file, and modifications and additions to the
|
|
|
|
# file, is the same license as for the pristine package itself (unless the
|
|
|
|
# license for the pristine package is not an Open Source License, in which
|
|
|
|
# case the license is the MIT License). An "Open Source License" is a
|
|
|
|
# license that conforms to the Open Source Definition (Version 1.9)
|
|
|
|
# published by the Open Source Initiative.
|
|
|
|
|
2022-10-18 13:11:55 +02:00
|
|
|
# Please submit bugfixes or comments via https://bugs.opensuse.org/
|
2012-02-13 11:08:50 +01:00
|
|
|
#
|
2012-02-17 10:42:21 +01:00
|
|
|
|
|
|
|
|
2012-02-13 11:08:50 +01:00
|
|
|
%define lname libxkbfile1
|
2022-12-31 14:22:31 +01:00
|
|
|
Name: libxkbfile
|
2024-02-05 12:59:10 +01:00
|
|
|
Version: 1.1.3
|
2012-02-13 11:08:50 +01:00
|
|
|
Release: 0
|
|
|
|
Summary: X11 keyboard file manipulation library
|
|
|
|
License: MIT
|
|
|
|
Group: Development/Libraries/C and C++
|
2022-12-31 14:22:31 +01:00
|
|
|
URL: https://xorg.freedesktop.org/
|
2012-02-13 11:08:50 +01:00
|
|
|
#Git-Clone: git://anongit.freedesktop.org/xorg/lib/libxkbfile
|
|
|
|
#Git-Web: http://cgit.freedesktop.org/xorg/lib/libxkbfile/
|
2022-10-18 13:11:55 +02:00
|
|
|
Source: http://xorg.freedesktop.org/releases/individual/lib/%{name}-%{version}.tar.xz
|
2015-05-04 16:17:42 +02:00
|
|
|
Source1: baselibs.conf
|
2024-02-05 12:59:10 +01:00
|
|
|
BuildRequires: meson
|
2012-02-17 10:42:21 +01:00
|
|
|
BuildRequires: pkgconfig
|
|
|
|
BuildRequires: pkgconfig(kbproto)
|
|
|
|
BuildRequires: pkgconfig(x11)
|
2012-04-12 12:45:10 +02:00
|
|
|
BuildRequires: pkgconfig(xorg-macros) >= 1.8
|
2012-02-13 11:08:50 +01:00
|
|
|
|
|
|
|
%description
|
|
|
|
libxkbfile is used by the X servers and utilities to parse the XKB
|
|
|
|
configuration data files.
|
|
|
|
|
2022-12-31 14:22:31 +01:00
|
|
|
%package -n %{lname}
|
2012-02-13 11:08:50 +01:00
|
|
|
Summary: X11 keyboard file manipulation library
|
2012-02-14 19:22:27 +01:00
|
|
|
# O/P added for 12.2
|
2019-03-21 16:23:23 +01:00
|
|
|
Group: System/Libraries
|
2015-11-02 16:31:40 +01:00
|
|
|
Requires: xkeyboard-config
|
2022-12-31 14:22:31 +01:00
|
|
|
Provides: xorg-x11-libxkbfile = 7.6_%{version}-%{release}
|
|
|
|
Obsoletes: xorg-x11-libxkbfile < 7.6_%{version}-%{release}
|
2012-02-13 11:08:50 +01:00
|
|
|
|
2022-12-31 14:22:31 +01:00
|
|
|
%description -n %{lname}
|
2012-02-13 11:08:50 +01:00
|
|
|
libxkbfile is used by the X servers and utilities to parse the XKB
|
|
|
|
configuration data files.
|
|
|
|
|
|
|
|
%package devel
|
|
|
|
Summary: Development files for the X11 keyboard file manipulation library
|
|
|
|
Group: Development/Libraries/C and C++
|
2022-12-31 14:22:31 +01:00
|
|
|
Requires: %{lname} = %{version}
|
2012-02-14 19:22:27 +01:00
|
|
|
# O/P added for 12.2
|
2022-12-31 14:22:31 +01:00
|
|
|
Provides: xorg-x11-libxkbfile-devel = 7.6_%{version}-%{release}
|
|
|
|
Obsoletes: xorg-x11-libxkbfile-devel < 7.6_%{version}-%{release}
|
2012-02-13 11:08:50 +01:00
|
|
|
|
|
|
|
%description devel
|
|
|
|
libxkbfile is used by the X servers and utilities to parse the XKB
|
|
|
|
configuration data files.
|
|
|
|
|
|
|
|
This package contains the development headers for the library found
|
2022-12-31 14:22:31 +01:00
|
|
|
in %{lname}.
|
2012-02-13 11:08:50 +01:00
|
|
|
|
|
|
|
%prep
|
|
|
|
%setup -q
|
|
|
|
|
|
|
|
%build
|
2024-02-05 12:59:10 +01:00
|
|
|
%meson
|
|
|
|
%meson_build
|
2012-02-13 11:08:50 +01:00
|
|
|
|
|
|
|
%install
|
2024-02-05 12:59:10 +01:00
|
|
|
%meson_install
|
2012-02-13 11:08:50 +01:00
|
|
|
|
2022-12-31 14:22:31 +01:00
|
|
|
%post -n %{lname} -p /sbin/ldconfig
|
|
|
|
%postun -n %{lname} -p /sbin/ldconfig
|
2012-02-13 11:08:50 +01:00
|
|
|
|
2022-12-31 14:22:31 +01:00
|
|
|
%files -n %{lname}
|
|
|
|
%license COPYING
|
|
|
|
%{_libdir}/libxkbfile.so.1*
|
2012-02-13 11:08:50 +01:00
|
|
|
|
|
|
|
%files devel
|
2022-12-31 14:22:31 +01:00
|
|
|
%{_includedir}/X11/*
|
|
|
|
%{_libdir}/libxkbfile.so
|
|
|
|
%{_libdir}/pkgconfig/xkbfile.pc
|
2012-02-13 11:08:50 +01:00
|
|
|
|
|
|
|
%changelog
|