File i855crt.spec of Package i855crt

#
# spec file for package i855crt (Version 1.0)
#
# Copyright (c) 2005 SUSE Linux AG, Nuernberg, Germany.
# This file and all modifications and additions to the pristine
# package are under the same license as the package itself.
#
# Please submit bug fixes or comments via http://www.suse.de/feedback/
#

# norootforbuild

Name: i855crt
Summary: Intel 855GM CRT video-out driver
Version: 0.4
Release: 1
License: GPL
Group: X11/Utilities
URL: http://i855crt.sourceforge.net/
Source: %{name}-%{version}.tar.gz
Patch0: suse.diff
Patch1: no_xv_segfault.diff
Patch2: i855-crt-i915support.diff
Buildroot: %{_tmppath}/%{name}-root
BuildRequires: xorg-x11-devel
Autoreqprov: on

# description take from the website (see URL)
%description
i855crt is an userspace driver for Linux that can enable the CRT video-out
(port for external monitor) on i855GM based laptop. Please note that this
driver is still very experimental.

%prep
%setup
%patch0 -p1
%patch1 -p1
%patch2 -p1

%build
make clean
make CFLAGS="$RPM_OPT_FLAGS -fstack-protector-all" LDFLAGS="-L/usr/X11R6/%{_lib} -s" %{?jobs:-j %jobs}

%install
%makeinstall

%clean
rm -rf $RPM_BUILD_ROOT

%files
%defattr(-,root,root)
%doc AUTHORS COPYING CHANGELOG README TODO
%{_sbindir}/i855crt
%config %{_sysconfdir}/i855crt.conf

%changelog

openSUSE Build Service is sponsored by