From 3ee4ab053945bd4157f31a6958b29bc655961a5c5965a2796314e0e7206127ee Mon Sep 17 00:00:00 2001 From: Stefan Dirsch Date: Sat, 31 Dec 2022 13:21:54 +0000 Subject: [PATCH] Accepting request 1041726 from home:dirkmueller:Factory - update to 1.0.11: configure: Use AC_SYS_LARGEFILE to enable large file support - modernize spec file, install license into licensedir OBS-URL: https://build.opensuse.org/request/show/1041726 OBS-URL: https://build.opensuse.org/package/show/X11:XOrg/libXau?expand=0&rev=18 --- libXau-1.0.10.tar.xz | 3 --- libXau-1.0.11.tar.xz | 3 +++ libXau.changes | 7 ++++++ libXau.spec | 52 ++++++++++++++++++++------------------------ 4 files changed, 34 insertions(+), 31 deletions(-) delete mode 100644 libXau-1.0.10.tar.xz create mode 100644 libXau-1.0.11.tar.xz diff --git a/libXau-1.0.10.tar.xz b/libXau-1.0.10.tar.xz deleted file mode 100644 index ba9d50b..0000000 --- a/libXau-1.0.10.tar.xz +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:8be6f292334d2f87e5b919c001e149a9fdc27005d6b3e053862ac6ebbf1a0c0a -size 271724 diff --git a/libXau-1.0.11.tar.xz b/libXau-1.0.11.tar.xz new file mode 100644 index 0000000..1600a01 --- /dev/null +++ b/libXau-1.0.11.tar.xz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:f3fa3282f5570c3f6bd620244438dbfbdd580fc80f02f549587a0f8ab329bbeb +size 274108 diff --git a/libXau.changes b/libXau.changes index 94e0d06..5c9385d 100644 --- a/libXau.changes +++ b/libXau.changes @@ -1,3 +1,10 @@ +------------------------------------------------------------------- +Thu Dec 8 20:35:06 UTC 2022 - Dirk Müller + +- update to 1.0.11: + configure: Use AC_SYS_LARGEFILE to enable large file support +- modernize spec file, install license into licensedir + ------------------------------------------------------------------- Sat Aug 27 08:55:26 UTC 2022 - Stefan Dirsch diff --git a/libXau.spec b/libXau.spec index e3699cd..25f607c 100644 --- a/libXau.spec +++ b/libXau.spec @@ -16,20 +16,18 @@ # -Name: libXau %define lname libXau6 -Version: 1.0.10 +Name: libXau +Version: 1.0.11 Release: 0 Summary: X11 authorization protocol library License: MIT Group: Development/Libraries/C and C++ -URL: http://xorg.freedesktop.org/ - +URL: https://xorg.freedesktop.org/ #Git-Clone: git://anongit.freedesktop.org/xorg/lib/libXau #Git-Web: http://cgit.freedesktop.org/xorg/lib/libXau/ Source: http://xorg.freedesktop.org/releases/individual/lib/%{name}-%{version}.tar.xz Source1: baselibs.conf -BuildRoot: %{_tmppath}/%{name}-%{version}-build #git#BuildRequires: autoconf >= 2.60, automake BuildRequires: fdupes BuildRequires: libtool @@ -44,14 +42,14 @@ specifying authorization data in the connection setup block to restrict use of the display to only those clients that show that they know a server-specific key called a "magic cookie". -%package -n %lname +%package -n %{lname} Summary: X11 authorization protocol library # O/P added for 12.2 Group: System/Libraries -Provides: xorg-x11-libXau = 7.6_%version-%release -Obsoletes: xorg-x11-libXau < 7.6_%version-%release +Provides: xorg-x11-libXau = 7.6_%{version}-%{release} +Obsoletes: xorg-x11-libXau < 7.6_%{version}-%{release} -%description -n %lname +%description -n %{lname} libXau provides mechanisms for individual access to an X Window System display. It uses existing core protocol and library hooks for specifying authorization data in the connection setup block to @@ -61,10 +59,10 @@ know a server-specific key called a "magic cookie". %package devel Summary: Development files for the X11 authorization protocol library Group: Development/Libraries/C and C++ -Requires: %lname = %version +Requires: %{lname} = %{version} # O/P added for 12.2 -Provides: xorg-x11-libXau-devel = 7.6_%version-%release -Obsoletes: xorg-x11-libXau-devel < 7.6_%version-%release +Provides: xorg-x11-libXau-devel = 7.6_%{version}-%{release} +Obsoletes: xorg-x11-libXau-devel < 7.6_%{version}-%{release} %description devel libXau provides mechanisms for individual access to an X Window @@ -74,33 +72,31 @@ restrict use of the display to only those clients that show that they know a server-specific key called a "magic cookie". This package contains the development headers for the library found -in %lname. +in %{lname}. %prep %setup -q %build %configure --disable-static -make %{?_smp_mflags} +%make_build %install -make install DESTDIR="%buildroot" -rm -f "%buildroot/%_libdir"/*.la -%fdupes %buildroot/%_prefix +%make_install +find %{buildroot} -type f -name "*.la" -delete -print +%fdupes %{buildroot}/%{_prefix} -%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 -%defattr(-,root,root) -%_libdir/libXau.so.6* +%files -n %{lname} +%license COPYING +%{_libdir}/libXau.so.6* %files devel -%defattr(-,root,root) -%_includedir/X11/* -%_libdir/libXau.so -%_libdir/pkgconfig/xau.pc -%_mandir/man3/* +%{_includedir}/X11/* +%{_libdir}/libXau.so +%{_libdir}/pkgconfig/xau.pc +%{_mandir}/man3/* %changelog