rebuilt without .la files [release 1.15-2mamba;Mon Dec 12 2022]

This commit is contained in:
Silvan Calarco 2024-01-06 06:10:34 +01:00
parent 38e5825fd9
commit 86499c55f8

View File

@ -1,12 +1,12 @@
Name: libxcb Name: libxcb
Version: 1.15 Version: 1.15
Release: 1mamba Release: 2mamba
Summary: The X protocol C-language Binding (XCB) is a replacement for Xlib Summary: The X protocol C-language Binding (XCB) is a replacement for Xlib
Group: System/X11 Group: System/X11
Vendor: openmamba Vendor: openmamba
Distribution: openmamba Distribution: openmamba
Packager: Silvan Calarco <silvan.calarco@mambasoft.it> Packager: Silvan Calarco <silvan.calarco@mambasoft.it>
URL: https://xcb.freedesktop.org/wiki/ URL: https://x.org/wiki/
Source: http://xcb.freedesktop.org/dist/libxcb-%{version}.tar.gz Source: http://xcb.freedesktop.org/dist/libxcb-%{version}.tar.gz
Patch0: %{name}-1.0-no-assert-on-lock.patch Patch0: %{name}-1.0-no-assert-on-lock.patch
License: MIT License: MIT
@ -14,7 +14,6 @@ License: MIT
BuildRequires: glibc-devel BuildRequires: glibc-devel
BuildRequires: libXau-devel BuildRequires: libXau-devel
BuildRequires: libXdmcp-devel BuildRequires: libXdmcp-devel
BuildRequires: libbsd-devel
## AUTOBUILDREQ-END ## AUTOBUILDREQ-END
%if "%{stage1}" != "1" %if "%{stage1}" != "1"
BuildRequires: doxygen BuildRequires: doxygen
@ -22,11 +21,6 @@ BuildRequires: doxygen
BuildRequires: diffutils BuildRequires: diffutils
BuildRequires: /usr/bin/xsltproc BuildRequires: /usr/bin/xsltproc
BuildRequires: xcb-proto-devel BuildRequires: xcb-proto-devel
#%ifarch x86_64
#BuildRequires: gcc-multilib
#BuildRequires: glibc-multilib-devel
#BuildRequires: libXau-devel.i586
#%endif
%description %description
The X protocol C-language Binding (XCB) is a replacement for Xlib featuring a small footprint, latency hiding, direct access to the protocol, improved threading support, and extensibility. The X protocol C-language Binding (XCB) is a replacement for Xlib featuring a small footprint, latency hiding, direct access to the protocol, improved threading support, and extensibility.
@ -35,28 +29,10 @@ The X protocol C-language Binding (XCB) is a replacement for Xlib featuring a s
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: libpthread-stubs-devel #Requires: libpthread-stubs-devel
%description devel %description devel
The X protocol C-language Binding (XCB) is a replacement for Xlib featuring a small footprint, latency hiding, direct access to the protocol, improved threading support, and extensibility. The X protocol C-language Binding (XCB) is a replacement for Xlib featuring a small footprint, latency hiding, direct access to the protocol, improved threading support, and extensibility.
This package contains static libraries and header files need for development.
%package -n lib32-%{name}
Summary: The X protocol C-language Binding (XCB) is a replacement for Xlib
Group: System/Libraries
%description -n lib32-%{name}
The X protocol C-language Binding (XCB) is a replacement for Xlib featuring a small footprint, latency hiding, direct access to the protocol, improved threading support, and extensibility.
%package -n lib32-%{name}-devel
Summary: Devel package for lib32-%{name}
Group: Development/Libraries
Requires: lib32-%{name} = %{?epoch:%epoch:}%{version}-%{release}
Requires: %{name}-devel = %{?epoch:%epoch:}%{version}-%{release}
%description -n lib32-%{name}-devel
The X protocol C-language Binding (XCB) is a replacement for Xlib featuring a small footprint, latency hiding, direct access to the protocol, improved threading support, and extensibility.
This package contains static libraries and header files needed for development. This package contains static libraries and header files needed for development.
%debug_package %debug_package
@ -73,30 +49,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
%post devel
find /usr/lib /opt/kde3/lib -name "*.la" \
-exec sed -e "s|/usr/lib/libxcb-xlib.la||" -i \{\} \; >/dev/null 2>&1
exit 0
%files %files
%defattr(-,root,root) %defattr(-,root,root)
@ -107,7 +64,6 @@ exit 0
%files devel %files devel
%defattr(-,root,root) %defattr(-,root,root)
%{_libdir}/libxcb*.a %{_libdir}/libxcb*.a
%{_libdir}/libxcb*.la
%{_libdir}/libxcb*.so %{_libdir}/libxcb*.so
%dir %{_includedir}/xcb %dir %{_includedir}/xcb
%{_includedir}/xcb/*.h %{_includedir}/xcb/*.h
@ -117,21 +73,10 @@ exit 0
%{_mandir}/man3/xcb*.3* %{_mandir}/man3/xcb*.3*
#%doc COPYING NEWS README #%doc COPYING NEWS README
%ifarch x86_64_disabled
%files -n lib32-%{name}
%defattr(-,root,root)
%{_prefix}/lib/libxcb*.so.*
%doc COPYING
%files -n lib32-%{name}-devel
%defattr(-,root,root)
%{_prefix}/lib/libxcb*.a
%{_prefix}/lib/libxcb*.la
%{_prefix}/lib/libxcb*.so
%{_prefix}/lib/pkgconfig/*.pc
%endif
%changelog %changelog
* Mon Dec 12 2022 Silvan Calarco <silvan.calarco@mambasoft.it> 1.15-2mamba
- rebuilt without .la files
* Sat May 07 2022 Automatic Build System <autodist@mambasoft.it> 1.15-1mamba * Sat May 07 2022 Automatic Build System <autodist@mambasoft.it> 1.15-1mamba
- automatic version update by autodist - automatic version update by autodist