Accepting request 1041728 from home:dirkmueller:Factory

- update to 1.1.2:
  * configure: Use AC_SYS_LARGEFILE to enable large file support
- modernize spec file, install license to licensedir

OBS-URL: https://build.opensuse.org/request/show/1041728
OBS-URL: https://build.opensuse.org/package/show/X11:XOrg/libxkbfile?expand=0&rev=22
This commit is contained in:
Stefan Dirsch 2022-12-31 13:22:31 +00:00 committed by Git OBS Bridge
parent 34c244762f
commit f4c9ffc381
4 changed files with 32 additions and 30 deletions

View File

@ -1,3 +0,0 @@
version https://git-lfs.github.com/spec/v1
oid sha256:8623dc26e7aac3c5ad8a25e57b566f4324f5619e5db38457f0804ee4ed953443
size 308832

BIN
libxkbfile-1.1.2.tar.xz (Stored with Git LFS) Normal file

Binary file not shown.

View File

@ -1,3 +1,10 @@
-------------------------------------------------------------------
Thu Dec 8 20:55:13 UTC 2022 - Dirk Müller <dmueller@suse.com>
- update to 1.1.2:
* configure: Use AC_SYS_LARGEFILE to enable large file support
- modernize spec file, install license to licensedir
------------------------------------------------------------------- -------------------------------------------------------------------
Tue Oct 18 11:09:38 UTC 2022 - Stefan Dirsch <sndirsch@suse.com> Tue Oct 18 11:09:38 UTC 2022 - Stefan Dirsch <sndirsch@suse.com>

View File

@ -16,21 +16,18 @@
# #
Name: libxkbfile
%define lname libxkbfile1 %define lname libxkbfile1
Version: 1.1.1 Name: libxkbfile
Version: 1.1.2
Release: 0 Release: 0
Summary: X11 keyboard file manipulation library Summary: X11 keyboard file manipulation library
License: MIT License: MIT
Group: Development/Libraries/C and C++ Group: Development/Libraries/C and C++
URL: http://xorg.freedesktop.org/ URL: https://xorg.freedesktop.org/
#Git-Clone: git://anongit.freedesktop.org/xorg/lib/libxkbfile #Git-Clone: git://anongit.freedesktop.org/xorg/lib/libxkbfile
#Git-Web: http://cgit.freedesktop.org/xorg/lib/libxkbfile/ #Git-Web: http://cgit.freedesktop.org/xorg/lib/libxkbfile/
Source: http://xorg.freedesktop.org/releases/individual/lib/%{name}-%{version}.tar.xz Source: http://xorg.freedesktop.org/releases/individual/lib/%{name}-%{version}.tar.xz
Source1: baselibs.conf Source1: baselibs.conf
BuildRoot: %{_tmppath}/%{name}-%{version}-build
BuildRequires: autoconf >= 2.60 BuildRequires: autoconf >= 2.60
BuildRequires: automake BuildRequires: automake
BuildRequires: libtool BuildRequires: libtool
@ -43,56 +40,54 @@ BuildRequires: pkgconfig(xorg-macros) >= 1.8
libxkbfile is used by the X servers and utilities to parse the XKB libxkbfile is used by the X servers and utilities to parse the XKB
configuration data files. configuration data files.
%package -n %lname %package -n %{lname}
Summary: X11 keyboard file manipulation library Summary: X11 keyboard file manipulation library
# O/P added for 12.2 # O/P added for 12.2
Group: System/Libraries Group: System/Libraries
Provides: xorg-x11-libxkbfile = 7.6_%version-%release
Obsoletes: xorg-x11-libxkbfile < 7.6_%version-%release
Requires: xkeyboard-config Requires: xkeyboard-config
Provides: xorg-x11-libxkbfile = 7.6_%{version}-%{release}
Obsoletes: xorg-x11-libxkbfile < 7.6_%{version}-%{release}
%description -n %lname %description -n %{lname}
libxkbfile is used by the X servers and utilities to parse the XKB libxkbfile is used by the X servers and utilities to parse the XKB
configuration data files. configuration data files.
%package devel %package devel
Summary: Development files for the X11 keyboard file manipulation library Summary: Development files for the X11 keyboard file manipulation library
Group: Development/Libraries/C and C++ Group: Development/Libraries/C and C++
Requires: %lname = %version Requires: %{lname} = %{version}
# O/P added for 12.2 # O/P added for 12.2
Provides: xorg-x11-libxkbfile-devel = 7.6_%version-%release Provides: xorg-x11-libxkbfile-devel = 7.6_%{version}-%{release}
Obsoletes: xorg-x11-libxkbfile-devel < 7.6_%version-%release Obsoletes: xorg-x11-libxkbfile-devel < 7.6_%{version}-%{release}
%description devel %description devel
libxkbfile is used by the X servers and utilities to parse the XKB libxkbfile is used by the X servers and utilities to parse the XKB
configuration data files. configuration data files.
This package contains the development headers for the library found This package contains the development headers for the library found
in %lname. in %{lname}.
%prep %prep
%setup -q %setup -q
%build %build
%configure --disable-static %configure --disable-static
make %{?_smp_mflags} %make_build
%install %install
make install DESTDIR="%buildroot" %make_install
rm -f "%buildroot/%_libdir"/*.la find %{buildroot} -type f -name "*.la" -delete -print
%post -n %lname -p /sbin/ldconfig %post -n %{lname} -p /sbin/ldconfig
%postun -n %{lname} -p /sbin/ldconfig
%postun -n %lname -p /sbin/ldconfig %files -n %{lname}
%license COPYING
%files -n %lname %{_libdir}/libxkbfile.so.1*
%defattr(-,root,root)
%_libdir/libxkbfile.so.1*
%files devel %files devel
%defattr(-,root,root) %{_includedir}/X11/*
%_includedir/X11/* %{_libdir}/libxkbfile.so
%_libdir/libxkbfile.so %{_libdir}/pkgconfig/xkbfile.pc
%_libdir/pkgconfig/xkbfile.pc
%changelog %changelog