2024-01-06 06:10:33 +01:00
|
|
|
Name: libxcb
|
2024-01-06 06:10:33 +01:00
|
|
|
Version: 1.13.1
|
2024-01-06 06:10:33 +01:00
|
|
|
Release: 1mamba
|
2024-01-06 06:10:33 +01:00
|
|
|
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: http://xcb.freedesktop.org/wiki/
|
|
|
|
Source: http://xcb.freedesktop.org/dist/libxcb-%{version}.tar.bz2
|
|
|
|
Patch0: %{name}-1.0-no-assert-on-lock.patch
|
|
|
|
License: MIT
|
|
|
|
## AUTOBUILDREQ-BEGIN
|
|
|
|
BuildRequires: glibc-devel
|
|
|
|
BuildRequires: libXau-devel
|
|
|
|
BuildRequires: libXdmcp-devel
|
|
|
|
## AUTOBUILDREQ-END
|
|
|
|
%if "%{stage1}" != "1"
|
|
|
|
BuildRequires: doxygen
|
|
|
|
%endif
|
|
|
|
BuildRequires: diffutils
|
|
|
|
BuildRequires: /usr/bin/xsltproc
|
|
|
|
BuildRequires: xcb-proto-devel
|
2024-01-06 06:10:33 +01:00
|
|
|
#%ifarch x86_64
|
|
|
|
#BuildRequires: gcc-multilib
|
|
|
|
#BuildRequires: glibc-multilib-devel
|
|
|
|
#BuildRequires: libXau-devel.i586
|
|
|
|
#%endif
|
2024-01-06 06:10:33 +01:00
|
|
|
BuildRoot: %{_tmppath}/%{name}-%{version}-root
|
|
|
|
|
|
|
|
%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.
|
|
|
|
|
|
|
|
%package devel
|
|
|
|
Summary: Devel package for %{name}
|
|
|
|
Group: Development/Libraries
|
|
|
|
Requires: %{name} = %{?epoch:%epoch:}%{version}-%{release}
|
2024-01-06 06:10:33 +01:00
|
|
|
Requires: libpthread-stubs-devel
|
2024-01-06 06:10:33 +01:00
|
|
|
|
|
|
|
%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
|
|
|
|
|
|
|
|
%prep
|
|
|
|
%setup -q
|
|
|
|
#%patch0 -p0
|
|
|
|
|
|
|
|
%build
|
|
|
|
%configure
|
|
|
|
%make
|
|
|
|
|
|
|
|
%install
|
|
|
|
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
|
|
|
|
%makeinstall
|
|
|
|
|
2024-01-06 06:10:33 +01:00
|
|
|
%ifarch x86_64_disabled
|
2024-01-06 06:10:33 +01:00
|
|
|
# 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)
|
2024-01-06 06:10:33 +01:00
|
|
|
%{_libdir}/libxcb-*.so.*
|
2024-01-06 06:10:33 +01:00
|
|
|
%{_libdir}/libxcb.so.*
|
|
|
|
%doc COPYING
|
|
|
|
|
|
|
|
%files devel
|
|
|
|
%defattr(-,root,root)
|
|
|
|
%{_libdir}/libxcb*.a
|
|
|
|
%{_libdir}/libxcb*.la
|
|
|
|
%{_libdir}/libxcb*.so
|
|
|
|
%dir %{_includedir}/xcb
|
|
|
|
%{_includedir}/xcb/*.h
|
|
|
|
%{_libdir}/pkgconfig/xcb*.pc
|
|
|
|
%dir %{_docdir}/libxcb
|
|
|
|
%{_docdir}/libxcb/*
|
|
|
|
%{_mandir}/man3/xcb*.3*
|
2024-01-06 06:10:33 +01:00
|
|
|
#%doc COPYING NEWS README
|
2024-01-06 06:10:33 +01:00
|
|
|
|
2024-01-06 06:10:33 +01:00
|
|
|
%ifarch x86_64_disabled
|
2024-01-06 06:10:33 +01:00
|
|
|
%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
|
2024-01-06 06:10:33 +01:00
|
|
|
* Sun Oct 07 2018 Automatic Build System <autodist@mambasoft.it> 1.13.1-1mamba
|
|
|
|
- automatic version update by autodist
|
|
|
|
|
2024-01-06 06:10:33 +01:00
|
|
|
* Tue Sep 11 2018 Automatic Build System <autodist@mambasoft.it> 1.13-1mamba
|
|
|
|
- automatic version update by autodist
|
|
|
|
|
2024-01-06 06:10:33 +01:00
|
|
|
* Mon Sep 07 2015 Automatic Build System <autodist@mambasoft.it> 1.11.1-1mamba
|
|
|
|
- automatic version update by autodist
|
|
|
|
|
2024-01-06 06:10:33 +01:00
|
|
|
* Wed Apr 29 2015 Davide Madrisan <davide.madrisan@gmail.com> 1.11-2mamba
|
|
|
|
- the devel package requires libpthread-stubs-devel
|
|
|
|
|
2024-01-06 06:10:33 +01:00
|
|
|
* Sat Aug 30 2014 Automatic Build System <autodist@mambasoft.it> 1.11-1mamba
|
|
|
|
- automatic version update by autodist
|
|
|
|
|
2024-01-06 06:10:33 +01:00
|
|
|
* Wed Feb 12 2014 Silvan Calarco <silvan.calarco@mambasoft.it> 1.10-2mamba
|
|
|
|
- rebuilt without libpthread-stubs
|
|
|
|
|
|
|
|
* Thu Dec 26 2013 Automatic Build System <autodist@mambasoft.it> 1.10-1mamba
|
|
|
|
- automatic version update by autodist
|
|
|
|
|
|
|
|
* Sat Nov 30 2013 Automatic Build System <autodist@mambasoft.it> 1.9.3-1mamba
|
|
|
|
- automatic update by autodist
|
|
|
|
|
|
|
|
* Fri May 31 2013 Automatic Build System <autodist@mambasoft.it> 1.9.1-1mamba
|
|
|
|
- automatic version update by autodist
|
|
|
|
|
|
|
|
* Thu Oct 18 2012 Automatic Build System <autodist@mambasoft.it> 1.9-1mamba
|
|
|
|
- automatic version update by autodist
|
|
|
|
|
|
|
|
* Fri Aug 17 2012 Davide Madrisan <davide.madrisan@gmail.com> 1.8.1-2mamba
|
|
|
|
- fix %%post devel scriptlet
|
|
|
|
- own %{_includedir}/xcb
|
|
|
|
|
|
|
|
* Sat Aug 11 2012 Automatic Build System <autodist@mambasoft.it> 1.8.1-1mamba
|
|
|
|
- automatic version update by autodist
|
|
|
|
|
|
|
|
* Tue May 17 2011 Silvan Calarco <silvan.calarco@mambasoft.it> 1.7-2mamba
|
|
|
|
- rebuilt with debug package
|
|
|
|
|
|
|
|
* Tue Nov 09 2010 Automatic Build System <autodist@mambasoft.it> 1.7-1mamba
|
|
|
|
- automatic update by autodist
|
|
|
|
|
|
|
|
* Sat Jun 26 2010 Silvan Calarco <silvan.calarco@mambasoft.it> 1.6-3mamba
|
|
|
|
- rebuilt to add pkgconfig provides
|
|
|
|
|
|
|
|
* Sat Jun 26 2010 Automatic Build System <autodist@mambasoft.it> 1.6-2mamba
|
|
|
|
- automatic rebuild by autodist
|
|
|
|
|
|
|
|
* Sun Apr 18 2010 Automatic Build System <autodist@mambasoft.it> 1.6-1mamba
|
|
|
|
- automatic update by autodist
|
|
|
|
|
|
|
|
* Sun Jan 24 2010 Automatic Build System <autodist@mambasoft.it> 1.5-1mamba
|
|
|
|
- automatic update by autodist
|
|
|
|
|
|
|
|
* Sat Jul 18 2009 Automatic Build System <autodist@mambasoft.it> 1.4-1mamba
|
|
|
|
- automatic update by autodist
|
|
|
|
|
|
|
|
* Fri Jun 19 2009 Silvan Calarco <silvan.calarco@mambasoft.it> 1.3-2mamba
|
|
|
|
- readded post script to remove libxcb-xlib from *.la files
|
|
|
|
|
|
|
|
* Thu Jun 18 2009 Automatic Build System <autodist@mambasoft.it> 1.3-1mamba
|
|
|
|
- automatic update by autodist
|
|
|
|
|
|
|
|
* Sat Apr 04 2009 Silvan Calarco <silvan.calarco@mambasoft.it> 1.2-1mamba
|
|
|
|
- automatic update by autodist
|
|
|
|
|
|
|
|
* Tue Feb 17 2009 Silvan Calarco <silvan.calarco@mambasoft.it> 1.1-1mamba
|
|
|
|
- update to 1.1
|
|
|
|
|
|
|
|
* Tue May 15 2007 Silvan Calarco <silvan.calarco@mambasoft.it> 1.0-2mamba
|
|
|
|
- added no-assert-on-lock patch
|
|
|
|
|
|
|
|
* Wed Feb 07 2007 Silvan Calarco <silvan.calarco@mambasoft.it> 1.0-1qilnx
|
|
|
|
- package created by autospec
|