Dominique Leuenberger 2023-01-01 08:38:24 +00:00 committed by Git OBS Bridge
commit f2ed15d206
4 changed files with 34 additions and 31 deletions

View File

@ -1,3 +0,0 @@
version https://git-lfs.github.com/spec/v1
oid sha256:8be6f292334d2f87e5b919c001e149a9fdc27005d6b3e053862ac6ebbf1a0c0a
size 271724

BIN
libXau-1.0.11.tar.xz (Stored with Git LFS) Normal file

Binary file not shown.

View File

@ -1,3 +1,10 @@
-------------------------------------------------------------------
Thu Dec 8 20:35:06 UTC 2022 - Dirk Müller <dmueller@suse.com>
- 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 <sndirsch@suse.com> Sat Aug 27 08:55:26 UTC 2022 - Stefan Dirsch <sndirsch@suse.com>

View File

@ -16,20 +16,18 @@
# #
Name: libXau
%define lname libXau6 %define lname libXau6
Version: 1.0.10 Name: libXau
Version: 1.0.11
Release: 0 Release: 0
Summary: X11 authorization protocol library Summary: X11 authorization protocol 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/libXau #Git-Clone: git://anongit.freedesktop.org/xorg/lib/libXau
#Git-Web: http://cgit.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 Source: http://xorg.freedesktop.org/releases/individual/lib/%{name}-%{version}.tar.xz
Source1: baselibs.conf Source1: baselibs.conf
BuildRoot: %{_tmppath}/%{name}-%{version}-build
#git#BuildRequires: autoconf >= 2.60, automake #git#BuildRequires: autoconf >= 2.60, automake
BuildRequires: fdupes BuildRequires: fdupes
BuildRequires: libtool 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 restrict use of the display to only those clients that show that they
know a server-specific key called a "magic cookie". know a server-specific key called a "magic cookie".
%package -n %lname %package -n %{lname}
Summary: X11 authorization protocol library Summary: X11 authorization protocol library
# O/P added for 12.2 # O/P added for 12.2
Group: System/Libraries Group: System/Libraries
Provides: xorg-x11-libXau = 7.6_%version-%release Provides: xorg-x11-libXau = 7.6_%{version}-%{release}
Obsoletes: 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 libXau provides mechanisms for individual access to an X Window
System display. It uses existing core protocol and library hooks for System display. It uses existing core protocol and library hooks for
specifying authorization data in the connection setup block to specifying authorization data in the connection setup block to
@ -61,10 +59,10 @@ know a server-specific key called a "magic cookie".
%package devel %package devel
Summary: Development files for the X11 authorization protocol library Summary: Development files for the X11 authorization protocol 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-libXau-devel = 7.6_%version-%release Provides: xorg-x11-libXau-devel = 7.6_%{version}-%{release}
Obsoletes: xorg-x11-libXau-devel < 7.6_%version-%release Obsoletes: xorg-x11-libXau-devel < 7.6_%{version}-%{release}
%description devel %description devel
libXau provides mechanisms for individual access to an X Window 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". know a server-specific key called a "magic cookie".
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
%fdupes %buildroot/%_prefix %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}
%license COPYING
%files -n %lname %{_libdir}/libXau.so.6*
%defattr(-,root,root)
%_libdir/libXau.so.6*
%files devel %files devel
%defattr(-,root,root) %{_includedir}/X11/*
%_includedir/X11/* %{_libdir}/libXau.so
%_libdir/libXau.so %{_libdir}/pkgconfig/xau.pc
%_libdir/pkgconfig/xau.pc %{_mandir}/man3/*
%_mandir/man3/*
%changelog %changelog