rebuilt without .la files [release 1.15-2mamba;Mon Dec 12 2022]
This commit is contained in:
parent
38e5825fd9
commit
86499c55f8
67
libxcb.spec
67
libxcb.spec
@ -1,12 +1,12 @@
|
||||
Name: libxcb
|
||||
Version: 1.15
|
||||
Release: 1mamba
|
||||
Release: 2mamba
|
||||
Summary: The X protocol C-language Binding (XCB) is a replacement for Xlib
|
||||
Group: System/X11
|
||||
Vendor: openmamba
|
||||
Distribution: openmamba
|
||||
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
|
||||
Patch0: %{name}-1.0-no-assert-on-lock.patch
|
||||
License: MIT
|
||||
@ -14,7 +14,6 @@ License: MIT
|
||||
BuildRequires: glibc-devel
|
||||
BuildRequires: libXau-devel
|
||||
BuildRequires: libXdmcp-devel
|
||||
BuildRequires: libbsd-devel
|
||||
## AUTOBUILDREQ-END
|
||||
%if "%{stage1}" != "1"
|
||||
BuildRequires: doxygen
|
||||
@ -22,11 +21,6 @@ BuildRequires: doxygen
|
||||
BuildRequires: diffutils
|
||||
BuildRequires: /usr/bin/xsltproc
|
||||
BuildRequires: xcb-proto-devel
|
||||
#%ifarch x86_64
|
||||
#BuildRequires: gcc-multilib
|
||||
#BuildRequires: glibc-multilib-devel
|
||||
#BuildRequires: libXau-devel.i586
|
||||
#%endif
|
||||
|
||||
%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.
|
||||
@ -35,28 +29,10 @@ The X protocol C-language Binding (XCB) is a replacement for Xlib featuring a s
|
||||
Summary: Devel package for %{name}
|
||||
Group: Development/Libraries
|
||||
Requires: %{name} = %{?epoch:%epoch:}%{version}-%{release}
|
||||
Requires: libpthread-stubs-devel
|
||||
#Requires: libpthread-stubs-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.
|
||||
|
||||
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.
|
||||
|
||||
%debug_package
|
||||
@ -73,30 +49,11 @@ This package contains static libraries and header files needed for development.
|
||||
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
|
||||
%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
|
||||
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
|
||||
|
||||
%post -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
|
||||
%defattr(-,root,root)
|
||||
@ -107,7 +64,6 @@ exit 0
|
||||
%files devel
|
||||
%defattr(-,root,root)
|
||||
%{_libdir}/libxcb*.a
|
||||
%{_libdir}/libxcb*.la
|
||||
%{_libdir}/libxcb*.so
|
||||
%dir %{_includedir}/xcb
|
||||
%{_includedir}/xcb/*.h
|
||||
@ -117,21 +73,10 @@ exit 0
|
||||
%{_mandir}/man3/xcb*.3*
|
||||
#%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
|
||||
* 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
|
||||
- automatic version update by autodist
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user