File testgart.spec of Package testgart

# spec file for package testgart (Version 0.1)
# Copyright (c) 2009 SUSE LINUX Products GmbH, Nuernberg, Germany.
# 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

# norootforbuild

Name:           testgart
License:        GPL-2.0+
Group:          System/Kernel
Provides:       agpgart
Obsoletes:      agpgart
AutoReqProv:    on
Summary:        Program for Testing AGPGART Support
Version:        0.1
Release:        326
BuildRoot:      %{_tmppath}/%{name}-%{version}-build
Source:         testgart.tar.bz2
Patch:          testgart.diff
Patch1:         testgart-offset.diff
Patch2:         testgart-buildfix.diff

With 'testgart', you can check if your machine has agpgart support.

    Dave Jones <>

%setup -n testgart
%patch1 -p1

gcc -o testgart $RPM_OPT_FLAGS testgart.c

mkdir -p $RPM_BUILD_ROOT/usr/sbin 
install -m 755 testgart $RPM_BUILD_ROOT/usr/sbin

%files -n testgart

* Wed Jan 25 2006
- converted neededforbuild to BuildRequires
* Fri Aug 06 2004
- testgart-buildfix.diff:
  * fixes build on AMD64 now (Bug #43531)
* Fri Aug 06 2004
- testgart-buildfix.diff:
  * fixed implicit declaration warnings
* Tue May 11 2004
- 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
- fixed build (serious compiler warnings)
* Sun Jan 11 2004
- add %%defattr
* Mon Sep 29 2003
- fixed build for ppc/ia64
* Wed Oct 30 2002
- renamed agpgart --> testgart
- latest sources of Dave Jones
* Tue Jun 06 2000
- removed subpackage km_agp, as there is a new patch against 2.2.X
* Mon May 15 2000
- created subpackage km_agp for building a kernel specific agpgart
* Fri May 05 2000
- created package
openSUSE Build Service is sponsored by