Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
openSUSE:12.1:Update
xorg-x11-libxcb
xorg-x11-libxcb.spec
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File xorg-x11-libxcb.spec of Package xorg-x11-libxcb
# # spec file for package xorg-x11-libxcb (Version 7.6_1.7) # # Copyright (c) 2010 SUSE LINUX Products GmbH, Nuernberg, Germany. # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed # upon. The license for this file, and modifications and additions to the # file, is the same license as for the pristine package itself (unless the # license for the pristine package is not an Open Source License, in which # case the license is the MIT License). An "Open Source License" is a # license that conforms to the Open Source Definition (Version 1.9) # published by the Open Source Initiative. # Please submit bugfixes or comments via http://bugs.opensuse.org/ # # norootforbuild Name: xorg-x11-libxcb %define dirsuffix 1.7 BuildRequires: libxslt pkgconfig python-base python-xml xorg-x11-libXau-devel xorg-x11-proto-devel #%ifarch ppc64 s390x x86_64 #Provides: libxcb-xlib.so.0()(64bit) #%else #Provides: libxcb-xlib.so.0 #%endif Url: http://xorg.freedesktop.org/ Version: 7.6_%{dirsuffix} Release: 1 License: MIT License (or similar) BuildRoot: %{_tmppath}/%{name}-%{version}-build Group: System/Libraries Summary: X.Org xcb library Source: libxcb-%{dirsuffix}.tar.bz2 Source1: libxcb-xlib.la Source2: baselibs.conf Patch1: bug-262309_xcb-xauthlocalhostname.diff %description This package contains the X.Org xcb library. Authors: -------- Bart Massey Jamey Sharp Josh Triplett %package devel License: MIT License (or similar) Summary: Include Files and Libraries mandatory for Development Group: Development/Libraries/X11 Requires: xorg-x11-proto-devel xorg-x11-libXau-devel %{name} = %{version} AutoReqProv: on %description devel This package contains all necessary include files and libraries needed to develop applications that require these. Authors: -------- Bart Massey Jamey Sharp Josh Triplett %prep %setup -q -n libxcb-%{dirsuffix} %patch1 -p0 %build export CFLAGS="$RPM_OPT_FLAGS -fno-strict-aliasing" autoreconf -fi %configure \ %if %suse_version > 1110 --disable-static \ %endif --with-pic --docdir=%{_docdir}/%{name} make %{?jobs:-j %jobs} %install make install DESTDIR=$RPM_BUILD_ROOT # create fake libxcb-xlib.so.0 > xcb-xlib.c gcc -Wall -ansi -pedantic -c xcb-xlib.c -fPIC gcc -shared -Wl,-soname,libxcb-xlib.so.0 \ -o $RPM_BUILD_ROOT%{_libdir}/libxcb-xlib.so.0 xcb-xlib.o %if %suse_version <= 1110 ar cru $RPM_BUILD_ROOT%{_libdir}/libxcb-xlib.a xcb-xlib.o ranlib $RPM_BUILD_ROOT%{_libdir}/libxcb-xlib.a sed 's/LIB/%{_lib}/g' $RPM_SOURCE_DIR/libxcb-xlib.la \ > $RPM_BUILD_ROOT%{_libdir}/libxcb-xlib.la %else %{__rm} -f %{buildroot}%{_libdir}/*.la %endif %clean rm -rf "$RPM_BUILD_ROOT" %post -p /sbin/ldconfig %postun -p /sbin/ldconfig %files %defattr(-,root,root) %{_libdir}/*.so.* %files devel %defattr(-,root,root) %doc %{_docdir}/%{name} /usr/include/xcb/ %if %suse_version <= 1110 %{_libdir}/*.a %{_libdir}/*.la %endif %{_libdir}/*.so %{_libdir}/pkgconfig/*.pc %changelog
Locations
Projects
Search
Status Monitor
Help
OpenBuildService.org
Documentation
API Documentation
Code of Conduct
Contact
Support
@OBShq
Terms
openSUSE Build Service is sponsored by
The Open Build Service is an
openSUSE project
.
Sign Up
Log In
Places
Places
All Projects
Status Monitor