2006-12-19 00:18:40 +01:00
|
|
|
#
|
2010-04-07 13:18:29 +02:00
|
|
|
# spec file for package xorg-x11-libs (Version 7.5)
|
2006-12-19 00:18:40 +01:00
|
|
|
#
|
2010-01-21 10:11:28 +01:00
|
|
|
# Copyright (c) 2010 SUSE LINUX Products GmbH, Nuernberg, Germany.
|
2006-12-19 00:18:40 +01:00
|
|
|
#
|
2008-08-30 01:49:18 +02:00
|
|
|
# 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.
|
|
|
|
|
2006-12-19 00:18:40 +01:00
|
|
|
# Please submit bugfixes or comments via http://bugs.opensuse.org/
|
|
|
|
#
|
|
|
|
|
|
|
|
# norootforbuild
|
|
|
|
|
2008-02-29 22:21:02 +01:00
|
|
|
|
2006-12-19 00:18:40 +01:00
|
|
|
Name: xorg-x11-libs
|
2010-01-21 10:11:28 +01:00
|
|
|
BuildRequires: fontconfig-devel freetype2-devel gperf libXi6-devel libexpat-devel libxslt pkgconfig xorg-x11-libICE-devel xorg-x11-libSM-devel xorg-x11-libX11-devel xorg-x11-libXau-devel xorg-x11-libXdmcp-devel xorg-x11-libXext-devel xorg-x11-libXfixes-devel xorg-x11-libXmu-devel xorg-x11-libXp-devel xorg-x11-libXpm-devel xorg-x11-libXprintUtil-devel xorg-x11-libXrender-devel xorg-x11-libXt-devel xorg-x11-libXv-devel xorg-x11-libfontenc-devel xorg-x11-libxkbfile-devel xorg-x11-proto-devel xorg-x11-util-devel xorg-x11-xtrans-devel
|
2006-12-19 00:18:40 +01:00
|
|
|
%ifarch ppc64 s390x x86_64
|
|
|
|
Provides: libXaw.so.8()(64bit) libXaw.so.7()(64bit) libXaw.so.6()(64bit)
|
2010-04-07 13:18:29 +02:00
|
|
|
Provides: libXaw8.so.8()(64bit) libXaw7.so.7()(64bit) libXaw6.so.6()(64bit)
|
2006-12-19 00:18:40 +01:00
|
|
|
%else
|
|
|
|
Provides: libXaw.so.8 libXaw.so.7 libXaw.so.6
|
2010-04-07 13:18:29 +02:00
|
|
|
Provides: libXaw8.so.8 libXaw7.so.7 libXaw6.so.6
|
2006-12-19 00:18:40 +01:00
|
|
|
%endif
|
2008-11-02 15:45:13 +01:00
|
|
|
# bug437293
|
|
|
|
%ifarch ppc64
|
|
|
|
Obsoletes: xorg-x11-libs-64bit
|
|
|
|
%endif
|
|
|
|
#
|
2007-10-03 17:05:40 +02:00
|
|
|
Url: http://xorg.freedesktop.org/
|
2010-04-07 13:18:29 +02:00
|
|
|
Version: 7.5
|
|
|
|
Release: 1
|
2009-12-16 09:09:10 +01:00
|
|
|
License: GPLv2+ ; MIT License (or similar)
|
2006-12-19 00:18:40 +01:00
|
|
|
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
|
|
|
Group: System/Libraries
|
|
|
|
Summary: Remaining X.Org libraries
|
2009-07-08 19:22:42 +02:00
|
|
|
Source1: libFS-1.0.2.tar.bz2
|
2010-04-07 13:18:29 +02:00
|
|
|
Source2: libWindowsWM-1.0.1.tar.bz2
|
|
|
|
Source3: libXScrnSaver-1.2.0.tar.bz2
|
2006-12-19 00:18:40 +01:00
|
|
|
Source4: libXTrap-X11R7.0-1.0.0.tar.bz2
|
2010-04-07 13:18:29 +02:00
|
|
|
Source5: libXaw-1.0.7.tar.bz2
|
|
|
|
Source6: libXcomposite-0.4.1.tar.bz2
|
|
|
|
Source7: libXcursor-1.1.10.tar.bz2
|
|
|
|
Source8: libXdamage-1.1.2.tar.bz2
|
2006-12-19 00:18:40 +01:00
|
|
|
Source9: libXevie-1.0.2.tar.bz2
|
2010-04-07 13:18:29 +02:00
|
|
|
Source10: libXfont-1.4.1.tar.bz2
|
2006-12-19 17:28:17 +01:00
|
|
|
Source11: libXfontcache-1.0.4.tar.bz2
|
2010-04-07 13:18:29 +02:00
|
|
|
Source12: libXft-2.1.14.tar.bz2
|
|
|
|
Source14: libXinerama-1.1.tar.bz2
|
2006-12-19 00:18:40 +01:00
|
|
|
Source15: libXprintAppUtil-X11R7.0-1.0.1.tar.bz2
|
2009-03-11 16:35:01 +01:00
|
|
|
Source16: libXrandr-1.3.0.tar.bz2
|
2010-01-21 10:11:28 +01:00
|
|
|
Source17: libXtst-1.1.0.tar.bz2
|
2010-04-07 13:18:29 +02:00
|
|
|
Source18: libXvMC-1.0.5.tar.bz2
|
2010-01-21 10:11:28 +01:00
|
|
|
Source19: libXxf86dga-1.1.1.tar.bz2
|
2006-12-19 00:18:40 +01:00
|
|
|
Source20: libXxf86misc-X11R7.1-1.0.1.tar.bz2
|
2010-01-21 10:11:28 +01:00
|
|
|
Source21: libXxf86vm-1.1.0.tar.bz2
|
|
|
|
Source22: libdmx-1.1.0.tar.bz2
|
|
|
|
Source23: liblbxutil-1.1.0.tar.bz2
|
2006-12-19 00:18:40 +01:00
|
|
|
Source24: liboldX-X11R7.0-1.0.1.tar.bz2
|
|
|
|
Source25: libxkbui-X11R7.1-1.0.2.tar.bz2
|
2010-04-07 13:18:29 +02:00
|
|
|
Source26: xbitmaps-1.1.0.tar.bz2
|
|
|
|
Source27: libXres-1.0.4.tar.bz2
|
2007-05-04 00:34:23 +02:00
|
|
|
Source29: libvnc-20070501.tar.bz2
|
|
|
|
Source30: libXcliplist-20070501.tar.bz2
|
2009-08-28 17:51:59 +02:00
|
|
|
Source31: xcb-util-0.3.6.tar.bz2
|
2010-04-07 13:18:29 +02:00
|
|
|
Source33: libpciaccess-0.10.9.tar.bz2
|
2009-12-16 09:09:10 +01:00
|
|
|
Source90: baselibs.conf
|
2006-12-19 00:18:40 +01:00
|
|
|
Patch2: libXft-2.1.7-lcd-filter-2.patch
|
|
|
|
Patch5: libxkbui.diff
|
2007-03-03 14:38:53 +01:00
|
|
|
Patch10: libXxf86misc-xcb.diff
|
2010-04-11 16:57:39 +02:00
|
|
|
Patch21: libXTrap-pcfix.diff
|
2006-12-19 00:18:40 +01:00
|
|
|
|
|
|
|
%description
|
|
|
|
This package contains the remaining X.Org libraries.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Authors:
|
|
|
|
--------
|
|
|
|
|
|
|
|
Apple Computer Corporation
|
|
|
|
Dave Lemke
|
|
|
|
David Dawes
|
|
|
|
Derek Wang
|
|
|
|
Frank Giessler
|
|
|
|
Jim Gettys
|
|
|
|
Juliusz Chroboczek
|
|
|
|
Jungshik Shin
|
|
|
|
Keith Packard
|
|
|
|
Kensuke Matsuzaki
|
|
|
|
Marc La France
|
|
|
|
Mark Leisher
|
|
|
|
Noah Levitt
|
|
|
|
Phil Karlton
|
|
|
|
Ralf Habacker
|
|
|
|
Shunsuke Akiyama
|
|
|
|
Suhaib Siddiqi
|
|
|
|
Susan Angebrandt
|
|
|
|
|
|
|
|
%package -n xorg-x11-devel
|
2009-12-16 09:09:10 +01:00
|
|
|
License: GPLv2+ ; MIT License (or similar)
|
2007-11-19 10:27:54 +01:00
|
|
|
Summary: Include Files and Libraries mandatory for X11 Development
|
2006-12-19 00:18:40 +01:00
|
|
|
Group: Development/Libraries/X11
|
|
|
|
Provides: xorg-x11-compat70-devel xorg-x11-man XFree86-devel
|
|
|
|
Obsoletes: xorg-x11-compat70-devel xorg-x11-man
|
2010-01-21 10:11:28 +01:00
|
|
|
Requires: xorg-x11-proto-devel xorg-x11-xtrans-devel xorg-x11-libXau-devel xorg-x11-libXdmcp-devel xorg-x11-libX11-devel xorg-x11-libXext-devel xorg-x11-libXp-devel xorg-x11-libXpm-devel xorg-x11-libXrender-devel xorg-x11-libICE-devel xorg-x11-libSM-devel xorg-x11-libXt-devel xorg-x11-libXmu-devel xorg-x11-libXfixes-devel xorg-x11-libxkbfile-devel freetype2-devel fontconfig-devel %{name} = %{version} xorg-x11-util-devel xorg-x11-libfontenc-devel xorg-x11-libXv-devel xorg-x11-libXprintUtil-devel xorg-x11-fonts-devel pkgconfig libXi6-devel
|
2007-11-19 10:27:54 +01:00
|
|
|
Requires: xorg-x11-libxcb-devel
|
2009-02-09 02:33:02 +01:00
|
|
|
Requires: libpciaccess0-devel libpixman-1-0-devel
|
2007-10-03 17:05:40 +02:00
|
|
|
AutoReqProv: on
|
2008-11-02 15:45:13 +01:00
|
|
|
# bug437293
|
|
|
|
%ifarch ppc64
|
|
|
|
Obsoletes: xorg-x11-devel-64bit
|
|
|
|
%endif
|
|
|
|
#
|
2006-12-19 00:18:40 +01:00
|
|
|
|
|
|
|
%description -n xorg-x11-devel
|
|
|
|
This package contains all necessary include files and libraries needed
|
|
|
|
to develop X11 applications that require these.
|
|
|
|
|
|
|
|
|
|
|
|
|
2009-02-06 16:47:58 +01:00
|
|
|
Authors:
|
|
|
|
--------
|
|
|
|
|
|
|
|
Apple Computer Corporation
|
|
|
|
Dave Lemke
|
|
|
|
David Dawes
|
|
|
|
Derek Wang
|
|
|
|
Frank Giessler
|
|
|
|
Jim Gettys
|
|
|
|
Juliusz Chroboczek
|
|
|
|
Jungshik Shin
|
|
|
|
Keith Packard
|
|
|
|
Kensuke Matsuzaki
|
|
|
|
Marc La France
|
|
|
|
Mark Leisher
|
|
|
|
Noah Levitt
|
|
|
|
Phil Karlton
|
|
|
|
Ralf Habacker
|
|
|
|
Shunsuke Akiyama
|
|
|
|
Suhaib Siddiqi
|
|
|
|
Susan Angebrandt
|
|
|
|
|
|
|
|
%package -n libpciaccess0
|
2009-07-08 19:22:42 +02:00
|
|
|
License: MIT License (or similar)
|
2009-02-06 16:47:58 +01:00
|
|
|
Summary: pciaccess library
|
|
|
|
Group: System/Libraries
|
|
|
|
Provides: xorg-x11-libs:/usr/X11R6/%{_lib}/usr/lib64/libpciaccess.so.0
|
|
|
|
AutoReqProv: on
|
|
|
|
|
|
|
|
%description -n libpciaccess0
|
|
|
|
pciaccess library.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Authors:
|
|
|
|
--------
|
|
|
|
|
|
|
|
Apple Computer Corporation
|
|
|
|
Dave Lemke
|
|
|
|
David Dawes
|
|
|
|
Derek Wang
|
|
|
|
Frank Giessler
|
|
|
|
Jim Gettys
|
|
|
|
Juliusz Chroboczek
|
|
|
|
Jungshik Shin
|
|
|
|
Keith Packard
|
|
|
|
Kensuke Matsuzaki
|
|
|
|
Marc La France
|
|
|
|
Mark Leisher
|
|
|
|
Noah Levitt
|
|
|
|
Phil Karlton
|
|
|
|
Ralf Habacker
|
|
|
|
Shunsuke Akiyama
|
|
|
|
Suhaib Siddiqi
|
|
|
|
Susan Angebrandt
|
|
|
|
|
|
|
|
%package -n libpciaccess0-devel
|
2009-07-08 19:22:42 +02:00
|
|
|
License: MIT License (or similar)
|
2009-02-06 16:47:58 +01:00
|
|
|
Summary: Include Files and Libraries mandatory for X11 Development
|
|
|
|
Group: Development/Libraries/X11
|
|
|
|
Provides: xorg-x11-devel:/usr/X11R6/%{_lib}/usr/lib64/libpciaccess.so
|
|
|
|
Requires: libpciaccess0
|
|
|
|
|
|
|
|
%description -n libpciaccess0-devel
|
|
|
|
This package contains all necessary include files and libraries needed
|
|
|
|
to develop X11 applications that require these.
|
|
|
|
|
|
|
|
|
|
|
|
|
2006-12-19 00:18:40 +01:00
|
|
|
Authors:
|
|
|
|
--------
|
|
|
|
|
|
|
|
Apple Computer Corporation
|
|
|
|
Dave Lemke
|
|
|
|
David Dawes
|
|
|
|
Derek Wang
|
|
|
|
Frank Giessler
|
|
|
|
Jim Gettys
|
|
|
|
Juliusz Chroboczek
|
|
|
|
Jungshik Shin
|
|
|
|
Keith Packard
|
|
|
|
Kensuke Matsuzaki
|
|
|
|
Marc La France
|
|
|
|
Mark Leisher
|
|
|
|
Noah Levitt
|
|
|
|
Phil Karlton
|
|
|
|
Ralf Habacker
|
|
|
|
Shunsuke Akiyama
|
|
|
|
Suhaib Siddiqi
|
|
|
|
Susan Angebrandt
|
|
|
|
|
|
|
|
%prep
|
2009-04-23 20:18:34 +02:00
|
|
|
%setup -q -T -c %{name}
|
2006-12-19 00:18:40 +01:00
|
|
|
for i in $RPM_SOURCE_DIR/*.tar.bz2; do tar xjf $i; done
|
|
|
|
pushd libXft-*/src
|
|
|
|
%patch2 -p1
|
|
|
|
popd
|
|
|
|
pushd libxkbui-*
|
|
|
|
%patch5
|
|
|
|
popd
|
2007-03-03 14:38:53 +01:00
|
|
|
pushd libXxf86misc-*
|
|
|
|
%patch10 -p0
|
|
|
|
popd
|
2009-06-05 22:35:01 +02:00
|
|
|
pushd libXTrap-*
|
|
|
|
%patch21 -p1
|
|
|
|
popd
|
2006-12-19 00:18:40 +01:00
|
|
|
|
|
|
|
%build
|
2010-04-11 16:57:39 +02:00
|
|
|
for dir in $(ls); do
|
2006-12-19 00:18:40 +01:00
|
|
|
pushd $dir
|
2010-04-11 16:57:39 +02:00
|
|
|
case $dir in
|
|
|
|
libXvMC-*) option="--sysconfdir=/etc" ;;
|
|
|
|
libvnc*|libXcliplist*) autoreconf -fi ;;
|
|
|
|
*) ;;
|
2006-12-19 00:18:40 +01:00
|
|
|
esac
|
2010-04-11 16:57:39 +02:00
|
|
|
export CFLAGS="$RPM_OPT_FLAGS -fno-strict-aliasing"
|
|
|
|
%configure \
|
|
|
|
--disable-static \
|
|
|
|
--with-pic --enable-type1 ${option}
|
2009-04-23 20:18:34 +02:00
|
|
|
%{__make} %{?jobs:-j%jobs}
|
2006-12-19 00:18:40 +01:00
|
|
|
popd
|
|
|
|
done
|
|
|
|
|
|
|
|
%install
|
2010-04-11 16:57:39 +02:00
|
|
|
for dir in $(ls); do
|
2006-12-19 00:18:40 +01:00
|
|
|
pushd $dir
|
|
|
|
make install DESTDIR=$RPM_BUILD_ROOT
|
|
|
|
popd
|
|
|
|
done
|
|
|
|
/sbin/ldconfig -n $RPM_BUILD_ROOT/usr/%_lib
|
|
|
|
mkdir -p $RPM_BUILD_ROOT/usr/include/X11/pixmaps/
|
2009-06-12 16:54:02 +02:00
|
|
|
rm -f $RPM_BUILD_ROOT/%{_libdir}/*.la
|
2010-01-21 10:11:28 +01:00
|
|
|
# already in libXext now (same version)
|
|
|
|
rm $RPM_BUILD_ROOT/usr/include/X11/extensions/lbxbuf.h
|
|
|
|
rm $RPM_BUILD_ROOT/usr/include/X11/extensions/lbxbufstr.h
|
2010-04-07 13:18:29 +02:00
|
|
|
# for compatibility reasons
|
|
|
|
ln -s libXaw7.so.7 $RPM_BUILD_ROOT/%{_libdir}/libXaw8.so.8
|
|
|
|
ln -s libXaw.so.7 $RPM_BUILD_ROOT/%{_libdir}/libXaw.so.8
|
2006-12-19 00:18:40 +01:00
|
|
|
|
|
|
|
%clean
|
|
|
|
rm -rf "$RPM_BUILD_ROOT"
|
|
|
|
|
|
|
|
%post -p /sbin/ldconfig
|
|
|
|
|
2008-02-29 22:21:02 +01:00
|
|
|
%postun -p /sbin/ldconfig
|
|
|
|
|
2009-02-06 16:47:58 +01:00
|
|
|
%post -n libpciaccess0 -p /sbin/ldconfig
|
|
|
|
|
|
|
|
%postun -n libpciaccess0 -p /sbin/ldconfig
|
|
|
|
|
2006-12-19 00:18:40 +01:00
|
|
|
%files
|
|
|
|
%defattr(-,root,root)
|
|
|
|
/usr/include/X11/bitmaps/
|
|
|
|
/usr/include/X11/pixmaps/
|
|
|
|
/usr/%{_lib}/*.so.*
|
2009-02-06 16:47:58 +01:00
|
|
|
%exclude /usr/%{_lib}/libpciaccess.so.0*
|
2006-12-19 00:18:40 +01:00
|
|
|
|
|
|
|
%files -n xorg-x11-devel
|
|
|
|
%defattr(-,root,root)
|
|
|
|
/usr/bin/xft-config
|
2007-08-24 02:12:55 +02:00
|
|
|
/usr/include/*.h
|
2009-02-06 16:47:58 +01:00
|
|
|
%exclude /usr/include/pciaccess.h
|
2010-02-18 16:54:12 +01:00
|
|
|
%exclude /usr/include/X11/extensions/lbximage.h
|
2006-12-19 00:18:40 +01:00
|
|
|
/usr/include/X11/*.h
|
|
|
|
/usr/include/X11/Xaw/
|
|
|
|
/usr/include/X11/Xcursor/
|
|
|
|
/usr/include/X11/Xft/
|
|
|
|
/usr/include/X11/XprintAppUtil/
|
|
|
|
/usr/include/X11/extensions/*.h
|
|
|
|
/usr/include/X11/fonts/*.h
|
2007-03-03 14:38:53 +01:00
|
|
|
/usr/include/xcb/
|
2006-12-19 00:18:40 +01:00
|
|
|
/usr/%{_lib}/*.so
|
2010-02-18 16:54:12 +01:00
|
|
|
%exclude /usr/%{_lib}/libpciaccess.so
|
2006-12-19 00:18:40 +01:00
|
|
|
/usr/%{_lib}/pkgconfig/*.pc
|
2009-11-23 11:00:49 +01:00
|
|
|
%exclude /usr/%{_lib}/pkgconfig/pciaccess.pc
|
2006-12-19 00:18:40 +01:00
|
|
|
%{_mandir}/man1/*
|
|
|
|
%{_mandir}/man3/*
|
2010-04-07 13:18:29 +02:00
|
|
|
%dir %{_datadir}/doc/libXvMC
|
|
|
|
%{_datadir}/doc/libXvMC/XvMC_API.txt
|
|
|
|
%dir %{_datadir}/doc/libXaw
|
|
|
|
%{_datadir}/doc/libXaw/widgets.html
|
|
|
|
%{_datadir}/doc/libXaw/widgets.index.ps
|
|
|
|
%{_datadir}/doc/libXaw/widgets.ps
|
|
|
|
%{_datadir}/doc/libXaw/widgets.txt
|
2007-11-23 01:46:37 +01:00
|
|
|
|
2009-02-06 16:47:58 +01:00
|
|
|
%files -n libpciaccess0
|
|
|
|
%defattr(-,root,root)
|
|
|
|
/usr/%{_lib}/libpciaccess.so.0*
|
|
|
|
|
|
|
|
%files -n libpciaccess0-devel
|
|
|
|
%defattr(-,root,root)
|
|
|
|
/usr/include/pciaccess.h
|
|
|
|
/usr/%{_lib}/libpciaccess.so
|
2009-11-23 11:00:49 +01:00
|
|
|
/usr/%{_lib}/pkgconfig/pciaccess.pc
|
2009-02-06 16:47:58 +01:00
|
|
|
|
2007-02-22 14:52:53 +01:00
|
|
|
%changelog
|