Группа :: Система/X11
Пакет: xorg-drv-ati
Главная Изменения Спек Патчи Sources Загрузить Gear Bugs and FR Repocop
%define _hwdatadir %_datadir/hwdatabase/videoaliases
%define _fdidir %_datadir/hal/fdi/policy/20thirdparty
Name: xorg-drv-ati
Version: 6.9.0
Release: alt0.M41.1
Serial: 4
Summary: ATI video driver
License: MIT/X11
Group: System/X11
Url: http://xorg.freedesktop.org
Packager: Valery Inozemtsev <shrek at altlinux.ru>
Requires: XORG_ABI_VIDEODRV = %get_xorg_abi_videodrv
Requires: xorg-drv-radeon xorg-drv-r128 xorg-drv-mach64
Provides: xorg-x11-drv-ati = %serial:%version-%release
Obsoletes: xorg-x11-drv-ati
Source0: %name-%version.tar
Patch: %name-%version-%release.patch
BuildRequires: libmesa-devel libpci-devel libpciaccess-devel xorg-proto-devel xorg-util-macros xorg-sdk
%description
ati is an Xorg wrapper driver for ATI video cards. It autodetects whether your hardware has a Radeon,
Rage 128, or Mach64 or earlier class of chipset, and loads the radeon(4), r128(4) driver as appropriate.
The ati driver supports Radeon, Rage 128, and Mach64 and earlier chipsets by loading those drivers.
See those manpages for specific cards supported.
%package -n xorg-drv-radeon
Summary: ATI RADION video driver
Group: System/X11
Requires: XORG_ABI_VIDEODRV = %get_xorg_abi_videodrv
Requires: xorg-x11-dri-radeon xorg-x11-drv-multimedia xorg-x11-extensions-glx
Obsoletes: xorg-x11-drv-avivo <= 0.0.999 xorg-x11-drv-radeon
Provides: xorg-x11-drv-avivo = %version xorg-x11-drv-radeon = %serial:%version-%release
Conflicts: xorg-x11-drv-ati <= 6.6.3
%description -n xorg-drv-radeon
radeon is an Xorg driver for ATI RADEON based video cards. It contains full support for 8, 15, 16 and 24 bit pixel
depths, dual-head setup, flat panel, hardware 2D acceleration, hardware 3D acceleration, hardware cursor, XV extension,
and the Xinerama extension.
%prep
%setup -q
%patch -p1
%build
%autoreconf
%configure \
--with-xorg-module-dir=%_x11modulesdir \
--enable-dri \
--disable-static
%make_build
%install
%make DESTDIR=%buildroot install
mkdir -p %buildroot%_hwdatadir
sed -ne 's,^\(#define\)[[:space:]]*\(PCI_CHIP_\)\(.*\)[[:space:]]*0x\([0-9A-Fa-f]*\),alias pcivideo:v00001002d0000\4sv*sd*bc*sc*i* ati # \3,p' src/ati_pciids_gen.h \
> ati.xinf
awk '!/MACH|RAGE/ {print($1,$2,"radeon",$4,$5)}' ati.xinf > %buildroot%_hwdatadir/radeon.xinf
mkdir -p %buildroot%_fdidir
sh xinf2fdi -x %buildroot%_hwdatadir/radeon.xinf -f %buildroot%_fdidir/20-x11-video-radeon.fdi -d radeon
%triggerin -n xorg-drv-radeon -- xorg-x11-drv-avivo
subst 's|Driver\(.*\)\"\(avivo\)\"|Driver\1"radeon"|' %_sysconfdir/X11/xorg.conf
%files
%_x11modulesdir/drivers/ati_drv.so
%_man4dir/ati.4*
%files -n xorg-drv-radeon
%_x11modulesdir/drivers/radeon_drv.so
%dir %_x11modulesdir/multimedia
%_x11modulesdir/multimedia/*.so
%_man4dir/radeon.4*
%dir %_hwdatadir
%_hwdatadir/radeon.xinf
%_fdidir/20-x11-video-radeon.fdi
%changelog
…
Полный changelog можно просмотреть здесь
%define _fdidir %_datadir/hal/fdi/policy/20thirdparty
Name: xorg-drv-ati
Version: 6.9.0
Release: alt0.M41.1
Serial: 4
Summary: ATI video driver
License: MIT/X11
Group: System/X11
Url: http://xorg.freedesktop.org
Packager: Valery Inozemtsev <shrek at altlinux.ru>
Requires: XORG_ABI_VIDEODRV = %get_xorg_abi_videodrv
Requires: xorg-drv-radeon xorg-drv-r128 xorg-drv-mach64
Provides: xorg-x11-drv-ati = %serial:%version-%release
Obsoletes: xorg-x11-drv-ati
Source0: %name-%version.tar
Patch: %name-%version-%release.patch
BuildRequires: libmesa-devel libpci-devel libpciaccess-devel xorg-proto-devel xorg-util-macros xorg-sdk
%description
ati is an Xorg wrapper driver for ATI video cards. It autodetects whether your hardware has a Radeon,
Rage 128, or Mach64 or earlier class of chipset, and loads the radeon(4), r128(4) driver as appropriate.
The ati driver supports Radeon, Rage 128, and Mach64 and earlier chipsets by loading those drivers.
See those manpages for specific cards supported.
%package -n xorg-drv-radeon
Summary: ATI RADION video driver
Group: System/X11
Requires: XORG_ABI_VIDEODRV = %get_xorg_abi_videodrv
Requires: xorg-x11-dri-radeon xorg-x11-drv-multimedia xorg-x11-extensions-glx
Obsoletes: xorg-x11-drv-avivo <= 0.0.999 xorg-x11-drv-radeon
Provides: xorg-x11-drv-avivo = %version xorg-x11-drv-radeon = %serial:%version-%release
Conflicts: xorg-x11-drv-ati <= 6.6.3
%description -n xorg-drv-radeon
radeon is an Xorg driver for ATI RADEON based video cards. It contains full support for 8, 15, 16 and 24 bit pixel
depths, dual-head setup, flat panel, hardware 2D acceleration, hardware 3D acceleration, hardware cursor, XV extension,
and the Xinerama extension.
%prep
%setup -q
%patch -p1
%build
%autoreconf
%configure \
--with-xorg-module-dir=%_x11modulesdir \
--enable-dri \
--disable-static
%make_build
%install
%make DESTDIR=%buildroot install
mkdir -p %buildroot%_hwdatadir
sed -ne 's,^\(#define\)[[:space:]]*\(PCI_CHIP_\)\(.*\)[[:space:]]*0x\([0-9A-Fa-f]*\),alias pcivideo:v00001002d0000\4sv*sd*bc*sc*i* ati # \3,p' src/ati_pciids_gen.h \
> ati.xinf
awk '!/MACH|RAGE/ {print($1,$2,"radeon",$4,$5)}' ati.xinf > %buildroot%_hwdatadir/radeon.xinf
mkdir -p %buildroot%_fdidir
sh xinf2fdi -x %buildroot%_hwdatadir/radeon.xinf -f %buildroot%_fdidir/20-x11-video-radeon.fdi -d radeon
%triggerin -n xorg-drv-radeon -- xorg-x11-drv-avivo
subst 's|Driver\(.*\)\"\(avivo\)\"|Driver\1"radeon"|' %_sysconfdir/X11/xorg.conf
%files
%_x11modulesdir/drivers/ati_drv.so
%_man4dir/ati.4*
%files -n xorg-drv-radeon
%_x11modulesdir/drivers/radeon_drv.so
%dir %_x11modulesdir/multimedia
%_x11modulesdir/multimedia/*.so
%_man4dir/radeon.4*
%dir %_hwdatadir
%_hwdatadir/radeon.xinf
%_fdidir/20-x11-video-radeon.fdi
%changelog
…
Полный changelog можно просмотреть здесь