File xorg-x11-driver-video-intel-legacy.spec of Package xorg-x11-driver-video-intel-legacy
#
# spec file for package xorg-x11-driver-video-intel-legacy
#
# Copyright (c) 2011 SUSE LINUX Products GmbH, Nuernberg, Germany.
# Copyright (c) 2010 Guido Berhoerster.
#
# 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/
#
Name: xorg-x11-driver-video-intel-legacy
BuildRequires: Mesa-devel xorg-x11-devel xorg-x11-sdk
Url: http://intellinuxgraphics.org/
License: MIT
Group: System/X11/Servers/XF86_4
AutoReqProv: on
Version: 2.9.1
Release: 11
Summary: Legacy Version of the Intel X.Org Driver
Requires: xorg-x11-server
Supplements: xorg-x11-server
BuildRoot: %{_tmppath}/%{name}-%{version}-build
Source: xf86-video-intel-%{version}.tar.bz2
Source100: %{name}-rpmlintrc
Patch0: xf86-video-intel-G33-1mb.diff
Patch1: xf86-video-intel-NoFBC-945GME.diff
Patch2: xf86-video-intel-bfo17988.diff
Patch3: moblin-dump-tools.patch
Patch4: moblin-2009Q2-rc2-incremental.patch
Patch5: moblin-uxa-Fix-segfault-on-source-only-picture-usage.patch
Patch6: xf86-video-intel-buildfix.diff
Patch7: xf86-video-intel-2.9.1-xorg-server-1.7.3-fixes.patch
Patch8: xorg-server-1.9.diff
Patch100: xf86-video-intel-2.9.1-legacy.patch
Patch101: n_xf86-video-intel-2.9.1_fix-compilation-on-xserver-1.10.patch
%description
This package contains the legacy version of the Intel X.Org driver which does
not require KMS.
%prep
%setup -q -n xf86-video-intel-%version
%patch0 -p1
%patch1 -p1
%patch2 -p1
%patch3 -p1
%patch4 -p1
%patch5 -p1
%patch6 -p0
%patch7 -p0
%patch8 -p1
%patch100 -p1
%patch101 -p1
%build
autoreconf -fi
%configure CFLAGS="%optflags -fno-strict-aliasing"
make %{?jobs:-j%jobs}
%install
%if 0%{suse_version} > 1110
%make_install
%else
make install DESTDIR=%{buildroot}
%endif
rm -f %{buildroot}%{_bindir}/*
%post -p /sbin/ldconfig
%postun -p /sbin/ldconfig
%clean
rm -rf %{buildroot}
%files
%defattr(-,root,root)
%doc %{_mandir}/man4/intellegacy.4*
%{_libdir}/libI810XvMClegacy.la
%{_libdir}/libI810XvMClegacy.so
%{_libdir}/libI810XvMClegacy.so.1
%{_libdir}/libI810XvMClegacy.so.1.0.0
%{_libdir}/libIntelXvMClegacy.la
%{_libdir}/libIntelXvMClegacy.so
%{_libdir}/libIntelXvMClegacy.so.1
%{_libdir}/libIntelXvMClegacy.so.1.0.0
%dir %{_libdir}/xorg/modules/drivers
%{_libdir}/xorg/modules/drivers/ch7017legacy.la
%{_libdir}/xorg/modules/drivers/ch7017legacy.so
%{_libdir}/xorg/modules/drivers/ch7xxxlegacy.la
%{_libdir}/xorg/modules/drivers/ch7xxxlegacy.so
%{_libdir}/xorg/modules/drivers/intellegacy_drv.la
%{_libdir}/xorg/modules/drivers/intellegacy_drv.so
%{_libdir}/xorg/modules/drivers/ivchlegacy.la
%{_libdir}/xorg/modules/drivers/ivchlegacy.so
%{_libdir}/xorg/modules/drivers/sil164legacy.la
%{_libdir}/xorg/modules/drivers/sil164legacy.so
%{_libdir}/xorg/modules/drivers/tfp410legacy.la
%{_libdir}/xorg/modules/drivers/tfp410legacy.so
%changelog