update to 1.2.4 [release 1.2.4-1mamba;Sat Oct 08 2022]

This commit is contained in:
Silvan Calarco 2024-01-06 03:43:02 +01:00
parent a1a3264d4d
commit dd16bc1e4e

View File

@ -1,37 +1,24 @@
Name: libXtst Name: libXtst
Version: 1.2.3 Version: 1.2.4
Release: 1mamba Release: 1mamba
Summary: X.Org Xtst library Summary: X.Org Xtst library
Group: System/Libraries Group: System/Libraries
Vendor: openmamba Vendor: openmamba
Distribution: openmamba Distribution: openmamba
Packager: Silvan Calarco <silvan.calarco@mambasoft.it> Packager: Silvan Calarco <silvan.calarco@mambasoft.it>
URL: http://x.org URL: https://x.org/wiki/
Source: http://ftp.x.org/pub/individual/lib/libXtst-%{version}.tar.bz2 Source: https://ftp.x.org/pub/individual/lib/libXtst-%{version}.tar.xz
License: MIT License: MIT
## AUTOBUILDREQ-BEGIN ## AUTOBUILDREQ-BEGIN
BuildRequires: glibc-devel BuildRequires: glibc-devel
BuildRequires: libX11-devel BuildRequires: libX11-devel
BuildRequires: libXau-devel
BuildRequires: libXdmcp-devel BuildRequires: libXdmcp-devel
BuildRequires: libXext-devel BuildRequires: libXext-devel
BuildRequires: libXi-devel BuildRequires: libXi-devel
BuildRequires: libpthread-stubs-devel
BuildRequires: libxcb-devel BuildRequires: libxcb-devel
BuildRequires: recordproto-devel BuildRequires: xorgproto-devel
## AUTOBUILDREQ-END ## AUTOBUILDREQ-END
BuildRequires: xmlto BuildRequires: xmlto
%ifarch x86_64_obsolete
BuildRequires: gcc-multilib
BuildRequires: glibc-multilib-devel
BuildRequires: lib32-libXau-devel
BuildRequires: lib32-libX11-devel
BuildRequires: lib32-libXext-devel
BuildRequires: lib32-libpthread-stubs-devel
BuildRequires: lib32-libxcb-devel
%endif
BuildRoot: %{_tmppath}/%{name}-%{version}-root
Obsoletes: libXorg
%description %description
X.Org Xtst library. X.Org Xtst library.
@ -40,28 +27,12 @@ X.Org Xtst 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}
Obsoletes: libXorg-devel
%description devel %description devel
X.Org Xtst library. X.Org Xtst 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-%{name} %debug_package
Summary: X.Org Xtst library
Group: System/Libraries
%description -n lib32-%{name}
X.Org Xtst library (32 bit).
%package -n lib32-%{name}-devel
Summary: Devel package for lib32-%{name}
Group: Development/Libraries
Requires: lib32-%{name} = %{?epoch:%epoch:}%{version}-%{release}
%description -n lib32-%{name}-devel
X.Org Xtst library (32 bit).
This package contains static libraries and header files needed for development.
%prep %prep
%setup -q %setup -q
@ -74,59 +45,33 @@ This package contains static libraries and header files needed for development.
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}" [ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
%makeinstall %makeinstall
%ifarch x86_64_obsolete
# x86_64 lib64 support
make clean
CC=%{_target_platform}-gcc \
CFLAGS="%{optflags} -m32 -DHAVE__XEATDATAWORDS" \
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)
%{_libdir}/libXtst.so.* %{_libdir}/libXtst.so.*
%doc COPYING ChangeLog %doc COPYING
%files devel %files devel
%defattr(-,root,root) %defattr(-,root,root)
%{_includedir}/X11/extensions/XTest.h %{_includedir}/X11/extensions/XTest.h
%{_includedir}/X11/extensions/record.h %{_includedir}/X11/extensions/record.h
%{_libdir}/libXtst.a %{_libdir}/libXtst.a
%{_libdir}/libXtst.la
%{_libdir}/libXtst.so %{_libdir}/libXtst.so
%{_libdir}/pkgconfig/*.pc %{_libdir}/pkgconfig/*.pc
%{_mandir}/man3/XTest*3.gz %{_mandir}/man3/XTest*3*
%dir %{_docdir}/libXtst %dir %{_docdir}/libXtst
%{_docdir}/libXtst/* %{_docdir}/libXtst/*
%doc ChangeLog
%ifarch x86_64_obsolete
%files -n lib32-%{name}
%defattr(-,root,root)
%{_prefix}/lib/libXtst.so.*
%doc COPYING
%files -n lib32-%{name}-devel
%defattr(-,root,root)
%{_prefix}/lib/libXtst.a
%{_prefix}/lib/libXtst.la
%{_prefix}/lib/libXtst.so
%{_prefix}/lib/pkgconfig/xtst.pc
%endif
%changelog %changelog
* Sat Oct 08 2022 Silvan Calarco <silvan.calarco@mambasoft.it> 1.2.4-1mamba
- update to 1.2.4
* Mon Oct 23 2017 Automatic Build System <autodist@mambasoft.it> 1.2.3-1mamba * Mon Oct 23 2017 Automatic Build System <autodist@mambasoft.it> 1.2.3-1mamba
- automatic update by autodist - automatic update by autodist