update to 1.6.12 [release 1.6.12-1mamba;Mon Oct 12 2020]

This commit is contained in:
Silvan Calarco 2024-01-06 03:39:28 +01:00
parent 49a35af88b
commit 24bff352da

View File

@ -1,5 +1,5 @@
Name: libX11 Name: libX11
Version: 1.6.9 Version: 1.6.12
Release: 1mamba Release: 1mamba
Summary: X.Org X11 library Summary: X.Org X11 library
Group: System/Libraries Group: System/Libraries
@ -11,21 +11,11 @@ Source: ftp://ftp.x.org/pub/individual/lib/libX11-%{version}.tar.bz2
License: MIT License: MIT
## AUTOBUILDREQ-BEGIN ## AUTOBUILDREQ-BEGIN
BuildRequires: glibc-devel BuildRequires: glibc-devel
BuildRequires: kbproto-devel BuildRequires: ldconfig
BuildRequires: libXau-devel
BuildRequires: libXdmcp-devel
BuildRequires: libpthread-stubs-devel
BuildRequires: libxcb-devel BuildRequires: libxcb-devel
BuildRequires: xproto-devel BuildRequires: xorgproto-devel
## AUTOBUILDREQ-END ## AUTOBUILDREQ-END
BuildRequires: xorg-proto-devel >= 7.1
BuildRequires: xtrans-devel BuildRequires: xtrans-devel
#%ifarch x86_64
#BuildRequires: gcc-multilib
#BuildRequires: glibc-multilib-devel
#BuildRequires: lib32-libxcb-devel
#%endif
Obsoletes: libXorg
BuildRoot: %{_tmppath}/%{name}-%{version}-root BuildRoot: %{_tmppath}/%{name}-%{version}-root
%description %description
@ -35,31 +25,13 @@ X.Org X11 library.
Summary: Devel package for %{name} Summary: Devel package for %{name}
Group: Development/Libraries Group: Development/Libraries
Requires: %{name} = %{?epoch:%epoch:}%{version}-%{release} Requires: %{name} = %{?epoch:%epoch:}%{version}-%{release}
Requires: xorg-proto-devel >= 7.2 Requires: xorgproto-devel
Requires: libXau-devel >= 1.0.3 Requires: libxcb-devel
Requires: libXdmcp-devel >= 1.0.2
%description devel %description devel
X.Org X11 library. X.Org X11 library.
This package contains static libraries and header files needed for development. This package contains static libraries and header files needed for development.
%package -n lib32-libX11
Summary: X.Org X11 library
Group: System/Libraries
%description -n lib32-libX11
X.Org X11 library.
%package -n lib32-libX11-devel
Summary: Devel package for lib32-libX11
Group: Development/Libraries
Requires: lib32-libX11 = %{?epoch:%epoch:}%{version}-%{release}
Requires: libX11-devel = %{?epoch:%epoch:}%{version}-%{release}
%description -n lib32-libX11-devel
X.Org X11 library.
This package contains static libraries and header files needed for development.
%debug_package %debug_package
%prep %prep
@ -73,25 +45,11 @@ This package contains static libraries and header files needed for development.
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}" [ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
%makeinstall %makeinstall
%ifarch x86_64.disabled
# x86_64 lib64 support
make clean
CC=%{_target_platform}-gcc \
CFLAGS="%{optflags} -m32" \
CXXLAGS="%{optflags} -m32" \
./configure --prefix=%{_prefix} --libdir=%{_prefix}/lib
make
make install DESTDIR=`pwd`/lib32
cp -a lib32/%{_prefix}/lib %{buildroot}%{_prefix}/
%endif
%clean %clean
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}" [ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
%post -p /sbin/ldconfig %post -p /sbin/ldconfig
%postun -p /sbin/ldconfig %postun -p /sbin/ldconfig
%post -n lib32-%{name} -p /sbin/ldconfig
%postun -n lib32-%{name} -p /sbin/ldconfig
%files %files
%defattr(-,root,root) %defattr(-,root,root)
@ -122,26 +80,10 @@ cp -a lib32/%{_prefix}/lib %{buildroot}%{_prefix}/
%{_mandir}/man5/* %{_mandir}/man5/*
%doc ChangeLog NEWS %doc ChangeLog NEWS
%ifarch x86_64.disabled
%files -n lib32-libX11
%defattr(-,root,root)
%{_prefix}/lib/libX11.so.*
%{_prefix}/lib/libX11-xcb.so.*
#%{_prefix}/lib/X11/Xcms.txt
%doc AUTHORS COPYING
%files -n lib32-libX11-devel
%defattr(-,root,root)
%{_prefix}/lib/libX11.a
%{_prefix}/lib/libX11.la
%{_prefix}/lib/libX11.so
%{_prefix}/lib/libX11-xcb.a
%{_prefix}/lib/libX11-xcb.la
%{_prefix}/lib/libX11-xcb.so
%{_prefix}/lib/pkgconfig/*.pc
%endif
%changelog %changelog
* Mon Oct 12 2020 Silvan Calarco <silvan.calarco@mambasoft.it> 1.6.12-1mamba
- update to 1.6.12
* Wed Apr 29 2020 Automatic Build System <autodist@mambasoft.it> 1.6.9-1mamba * Wed Apr 29 2020 Automatic Build System <autodist@mambasoft.it> 1.6.9-1mamba
- automatic update by autodist - automatic update by autodist