Группа :: Система/X11
Пакет: xorg-drv-joystick
Главная Изменения Спек Патчи Sources Загрузить Gear Bugs and FR Repocop
%define _modulesdir %_libdir/X11/modules
%define _fdidir %_datadir/hal/fdi/policy/20thirdparty
Name: xorg-drv-joystick
Version: 1.4.0
Release: alt2
Serial: 1
Summary: joystick input driver
License: MIT/X11
Group: System/X11
Url: http://xorg.freedesktop.org
Packager: Valery Inozemtsev <shrek at altlinux.ru>
Requires: XORG_ABI_XINPUT = %get_xorg_abi_xinput
Provides: xorg-x11-drv-joystick = %serial:%version-%release
Obsoletes: xorg-x11-drv-joystick
Source: %name-%version.tar
Patch: %name-%version-%release.patch
BuildRequires(Pre): xorg-sdk xorg-util-macros
BuildRequires: xorg-inputproto-devel xorg-kbproto-devel xorg-randrproto-devel xorg-xproto-devel
%description
joystick is an Xorg input driver.
%prep
%setup -q
%patch -p1
%build
%autoreconf
%configure \
--with-xorg-module-dir=%_modulesdir \
--disable-static
%make_build
%install
%make DESTDIR=%buildroot install
install -pD -m644 config/50-x11-input-joystick.fdi %buildroot%_fdidir/50-x11-input-joystick.fdi
%files
%_modulesdir/input/*.so
%_fdidir/50-x11-input-joystick.fdi
%_man4dir/*.4*
%changelog
…
Полный changelog можно просмотреть здесь
%define _fdidir %_datadir/hal/fdi/policy/20thirdparty
Name: xorg-drv-joystick
Version: 1.4.0
Release: alt2
Serial: 1
Summary: joystick input driver
License: MIT/X11
Group: System/X11
Url: http://xorg.freedesktop.org
Packager: Valery Inozemtsev <shrek at altlinux.ru>
Requires: XORG_ABI_XINPUT = %get_xorg_abi_xinput
Provides: xorg-x11-drv-joystick = %serial:%version-%release
Obsoletes: xorg-x11-drv-joystick
Source: %name-%version.tar
Patch: %name-%version-%release.patch
BuildRequires(Pre): xorg-sdk xorg-util-macros
BuildRequires: xorg-inputproto-devel xorg-kbproto-devel xorg-randrproto-devel xorg-xproto-devel
%description
joystick is an Xorg input driver.
%prep
%setup -q
%patch -p1
%build
%autoreconf
%configure \
--with-xorg-module-dir=%_modulesdir \
--disable-static
%make_build
%install
%make DESTDIR=%buildroot install
install -pD -m644 config/50-x11-input-joystick.fdi %buildroot%_fdidir/50-x11-input-joystick.fdi
%files
%_modulesdir/input/*.so
%_fdidir/50-x11-input-joystick.fdi
%_man4dir/*.4*
%changelog
…
Полный changelog можно просмотреть здесь