Group :: Sistema/X11
RPM: xorg-drv-evdev
Main Changelog Spec Patches Sources Download Gear Bugs e FR Repocop
%define _modulesdir %_libdir/X11/modules
%define _fdidir %_datadir/hal/fdi/policy/20thirdparty
Name: xorg-drv-evdev
Version: 2.2.1
Release: alt1
Serial: 2
Summary: Generic Linux input driver
License: MIT/X11
Group: System/X11
Url: http://xorg.freedesktop.org
Packager: Valery Inozemtsev <shrek at altlinux.ru>
PreReq: XORG_ABI_XINPUT = %get_xorg_abi_xinput
Provides: xorg-x11-drv-evdev = %serial:%version-%release
Obsoletes: xorg-x11-drv-evdev
Conflicts: xorg-drv-mouse <= 1.3.0-alt5
Source: %name-%version.tar
Patch: %name-%version-%release.patch
BuildRequires(Pre): xorg-sdk
BuildRequires: libxkbfile-devel xorg-xextproto-devel xorg-inputproto-devel xorg-randrproto-devel xorg-xproto-devel
%description
evdev is an Xorg input driver for Linux generic event devices.
It therefore supports all input devices that the kernel knows
about, including most mice and keyboards.
%prep
%setup -q
%patch -p1
%build
%autoreconf
%configure \
--with-xorg-module-dir=%_modulesdir \
--disable-static
%make_build
%install
%make DESTDIR=%buildroot install
mkdir -p %buildroot%_fdidir
install -m644 *.fdi %buildroot%_fdidir/
%files
%_modulesdir/input/*.so
%_fdidir/*.fdi
%_man4dir/*
%changelog
…
Todas as alterações você pod ver aqui
%define _fdidir %_datadir/hal/fdi/policy/20thirdparty
Name: xorg-drv-evdev
Version: 2.2.1
Release: alt1
Serial: 2
Summary: Generic Linux input driver
License: MIT/X11
Group: System/X11
Url: http://xorg.freedesktop.org
Packager: Valery Inozemtsev <shrek at altlinux.ru>
PreReq: XORG_ABI_XINPUT = %get_xorg_abi_xinput
Provides: xorg-x11-drv-evdev = %serial:%version-%release
Obsoletes: xorg-x11-drv-evdev
Conflicts: xorg-drv-mouse <= 1.3.0-alt5
Source: %name-%version.tar
Patch: %name-%version-%release.patch
BuildRequires(Pre): xorg-sdk
BuildRequires: libxkbfile-devel xorg-xextproto-devel xorg-inputproto-devel xorg-randrproto-devel xorg-xproto-devel
%description
evdev is an Xorg input driver for Linux generic event devices.
It therefore supports all input devices that the kernel knows
about, including most mice and keyboards.
%prep
%setup -q
%patch -p1
%build
%autoreconf
%configure \
--with-xorg-module-dir=%_modulesdir \
--disable-static
%make_build
%install
%make DESTDIR=%buildroot install
mkdir -p %buildroot%_fdidir
install -m644 *.fdi %buildroot%_fdidir/
%files
%_modulesdir/input/*.so
%_fdidir/*.fdi
%_man4dir/*
%changelog
…
Todas as alterações você pod ver aqui