File testgart.spec of Package testgart
#
# spec file for package testgart (Version 0.1)
#
# Copyright (c) 2004 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 bugfixes or comments via http://www.suse.de/feedback/
#
# norootforbuild
Name: testgart
License: GPL
Group: System/Kernel
Provides: agpgart
Obsoletes: agpgart
Autoreqprov: on
Summary: Program for Testing AGPGART Support
Version: 0.1
Release: 189
BuildRoot: %{_tmppath}/%{name}-%{version}-build
Source: testgart.tar.bz2
Patch: testgart.diff
Patch1: testgart-offset.diff
Patch2: testgart-buildfix.diff
%description
With 'testgart', you can check if your machine has agpgart support.
Authors:
--------
Dave Jones <davej@suse.de>
%prep
%setup -n testgart
%patch
%patch1 -p1
%patch2
%build
gcc -o testgart $RPM_OPT_FLAGS testgart.c
%install
rm -rf $RPM_BUILD_ROOT
mkdir -p $RPM_BUILD_ROOT/usr/sbin
install -m 755 testgart $RPM_BUILD_ROOT/usr/sbin
%files -n testgart
%defattr(-,root,root)
/usr/sbin/testgart
%changelog -n testgart
* Wed Jan 25 2006 - mls@suse.de
- converted neededforbuild to BuildRequires
* Fri Aug 06 2004 - sndirsch@suse.de
- testgart-buildfix.diff:
* fixes build on AMD64 now (Bug #43531)
* Fri Aug 06 2004 - sndirsch@suse.de
- testgart-buildfix.diff:
* fixed implicit declaration warnings
* Tue May 11 2004 - sndirsch@suse.de
- testgart-offset.diff:
* The first MB in the aperture is reserved for the builtin
graphic system. Changing it to do the tests on 2MB+.
(see also Bug #40150)
* Fri Apr 16 2004 - sndirsch@suse.de
- fixed build (serious compiler warnings)
* Sun Jan 11 2004 - adrian@suse.de
- add %%defattr
* Mon Sep 29 2003 - sndirsch@suse.de
- fixed build for ppc/ia64
* Wed Oct 30 2002 - sndirsch@suse.de
- renamed agpgart --> testgart
- latest sources of Dave Jones
* Tue Jun 06 2000 - sndirsch@suse.de
- removed subpackage km_agp, as there is a new patch against 2.2.X
available
* Mon May 15 2000 - sndirsch@suse.de
- created subpackage km_agp for building a kernel specific agpgart
module
* Fri May 05 2000 - sndirsch@suse.de
- created package