2006-12-19 00:18:40 +01:00
|
|
|
#
|
2011-06-14 10:39:44 +02:00
|
|
|
# spec file for package xorg-x11-libs
|
2006-12-19 00:18:40 +01:00
|
|
|
#
|
2012-01-09 15:50:48 +01:00
|
|
|
# Copyright (c) 2012 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
|
2011-11-21 11:29:10 +01:00
|
|
|
BuildRequires: fdupes fontconfig-devel freetype2-devel gperf libXi6-devel libexpat-devel libtool 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-12-21 04:20:41 +01:00
|
|
|
Version: 7.6
|
2011-11-21 11:29:10 +01:00
|
|
|
Release: 23
|
2011-12-06 19:17:08 +01:00
|
|
|
License: GPL-2.0+ ; MIT
|
2006-12-19 00:18:40 +01:00
|
|
|
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
|
|
|
Group: System/Libraries
|
|
|
|
Summary: Remaining X.Org libraries
|
2010-10-27 04:29:50 +02:00
|
|
|
Source1: libFS-1.0.3.tar.bz2
|
2010-04-07 13:18:29 +02:00
|
|
|
Source2: libWindowsWM-1.0.1.tar.bz2
|
2010-10-30 17:01:21 +02:00
|
|
|
Source3: libXScrnSaver-1.2.1.tar.bz2
|
2006-12-19 00:18:40 +01:00
|
|
|
Source4: libXTrap-X11R7.0-1.0.0.tar.bz2
|
2010-10-25 20:42:24 +02:00
|
|
|
Source5: libXaw-1.0.8.tar.bz2
|
2010-10-28 16:20:32 +02:00
|
|
|
Source6: libXcomposite-0.4.3.tar.bz2
|
|
|
|
Source7: libXcursor-1.1.11.tar.bz2
|
2010-09-09 15:53:35 +02:00
|
|
|
Source8: libXdamage-1.1.3.tar.bz2
|
2010-11-02 00:45:12 +01:00
|
|
|
Source9: libXevie-1.0.3.tar.bz2
|
2010-10-29 10:40:30 +02:00
|
|
|
Source10: libXfont-1.4.3.tar.bz2
|
2010-09-09 15:53:35 +02:00
|
|
|
Source11: libXfontcache-1.0.5.tar.bz2
|
2010-10-30 17:01:21 +02:00
|
|
|
Source12: libXft-2.2.0.tar.bz2
|
2010-10-28 16:20:32 +02:00
|
|
|
Source14: libXinerama-1.1.1.tar.bz2
|
2006-12-19 00:18:40 +01:00
|
|
|
Source15: libXprintAppUtil-X11R7.0-1.0.1.tar.bz2
|
2010-10-29 10:40:30 +02:00
|
|
|
Source16: libXrandr-1.3.1.tar.bz2
|
2010-10-30 17:01:21 +02:00
|
|
|
Source17: libXtst-1.2.0.tar.bz2
|
2010-09-09 15:53:35 +02:00
|
|
|
Source18: libXvMC-1.0.6.tar.bz2
|
2010-10-30 17:01:21 +02:00
|
|
|
Source19: libXxf86dga-1.1.2.tar.bz2
|
2010-11-22 00:43:15 +01:00
|
|
|
Source20: libXxf86misc-1.0.3.tar.bz2
|
2010-10-30 17:01:21 +02:00
|
|
|
Source21: libXxf86vm-1.1.1.tar.bz2
|
2010-10-29 10:40:30 +02:00
|
|
|
Source22: libdmx-1.1.1.tar.bz2
|
2010-01-21 10:11:28 +01:00
|
|
|
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-12-09 13:01:46 +01:00
|
|
|
Source26: xbitmaps-1.1.1.tar.bz2
|
2010-10-29 10:40:30 +02:00
|
|
|
Source27: libXres-1.0.5.tar.bz2
|
2007-05-04 00:34:23 +02:00
|
|
|
Source29: libvnc-20070501.tar.bz2
|
|
|
|
Source30: libXcliplist-20070501.tar.bz2
|
2012-01-09 15:50:48 +01:00
|
|
|
Source31: xcb-util-0.3.8.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
|
2011-09-02 15:53:13 +02:00
|
|
|
Patch11: U_libXfont_LZW-decompress-fix-for-CVE-2011-2895.patch
|
2010-12-01 00:43:41 +01:00
|
|
|
|
2006-12-19 00:18:40 +01:00
|
|
|
%description
|
|
|
|
This package contains the remaining X.Org libraries.
|
|
|
|
|
|
|
|
%package -n xorg-x11-devel
|
2011-12-06 19:17:08 +01:00
|
|
|
License: GPL-2.0+ ; MIT
|
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.
|
|
|
|
|
|
|
|
%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
|
2011-09-02 15:53:13 +02:00
|
|
|
pushd libXfont-*
|
|
|
|
%patch11 -p1
|
|
|
|
popd
|
2006-12-19 00:18:40 +01:00
|
|
|
|
|
|
|
%build
|
2010-04-13 21:15:00 +02:00
|
|
|
for dir in $(ls); do
|
2006-12-19 00:18:40 +01:00
|
|
|
pushd $dir
|
2010-04-13 21:15:00 +02:00
|
|
|
case $dir in
|
|
|
|
libXvMC-*) option="--sysconfdir=/etc" ;;
|
|
|
|
libvnc*|libXcliplist*) autoreconf -fi ;;
|
|
|
|
*) ;;
|
2006-12-19 00:18:40 +01:00
|
|
|
esac
|
2010-11-30 20:31:19 +01:00
|
|
|
autoreconf -fiv
|
2010-04-13 21:15:00 +02:00
|
|
|
export CFLAGS="$RPM_OPT_FLAGS -fno-strict-aliasing"
|
2010-11-30 20:31:19 +01:00
|
|
|
%configure --disable-silent-rules \
|
2010-04-13 21:15:00 +02:00
|
|
|
--disable-static \
|
|
|
|
--with-pic --enable-type1 ${option}
|
2012-01-09 15:50:48 +01:00
|
|
|
%{__make} %{?_smp_mflags}
|
2006-12-19 00:18:40 +01:00
|
|
|
popd
|
|
|
|
done
|
|
|
|
|
|
|
|
%install
|
2010-04-13 21:15:00 +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/
|
2011-06-20 18:30:06 +02:00
|
|
|
%if %suse_version > 1110
|
2009-06-12 16:54:02 +02:00
|
|
|
rm -f $RPM_BUILD_ROOT/%{_libdir}/*.la
|
2011-06-20 18:30:06 +02:00
|
|
|
%endif
|
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
|
2010-09-09 15:53:35 +02:00
|
|
|
%fdupes -s $RPM_BUILD_ROOT/%_mandir
|
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
|
|
|
|
|
2006-12-19 00:18:40 +01:00
|
|
|
%files
|
|
|
|
%defattr(-,root,root)
|
|
|
|
/usr/include/X11/bitmaps/
|
|
|
|
/usr/include/X11/pixmaps/
|
|
|
|
/usr/%{_lib}/*.so.*
|
|
|
|
|
|
|
|
%files -n xorg-x11-devel
|
|
|
|
%defattr(-,root,root)
|
2010-10-30 17:01:21 +02:00
|
|
|
%doc /usr/share/doc/*
|
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
|
2011-06-20 19:03:24 +02:00
|
|
|
%if %suse_version <= 1110
|
|
|
|
/usr/%{_lib}/*.la
|
|
|
|
%endif
|
2006-12-19 00:18:40 +01:00
|
|
|
/usr/%{_lib}/pkgconfig/*.pc
|
2010-12-09 13:01:46 +01:00
|
|
|
%{_datadir}/pkgconfig/*.pc
|
2006-12-19 00:18:40 +01:00
|
|
|
%{_mandir}/man3/*
|
2010-10-27 09:36:56 +02:00
|
|
|
%doc %{_datadir}/doc/libXvMC/
|
|
|
|
%doc %{_datadir}/doc/libXaw/
|
|
|
|
%doc %{_datadir}/doc/libFS/
|
2007-11-23 01:46:37 +01:00
|
|
|
|
2007-02-22 14:52:53 +01:00
|
|
|
%changelog
|