Sisyphus repository
Last update: 2 december 2020 | SRPMs: 17760 | Visits: 19744605
en ru br
ALT Linux repos
S:2.1.2-alt3
5.0: 1.0.0-alt1
4.1: 1.0.0-alt1
4.0: 0.0.1-alt1

Group :: System/Configuration/Hardware
RPM: x11presetdrv

 Main   Changelog   Spec   Patches   Sources   Download   Gear   Bugs and FR  Repocop 


%define drvpre_dir /usr/libexec/X11/drvpre.d

Name: x11presetdrv
Version: 2.0.0
Release: alt1

Group: System/Configuration/Hardware
Summary: X Window System drivers preparing utility
License: GPL
URL: http://www.altlinux.ru

BuildArch: noarch

Source: %name-%version.tar.bz2

%description
Utility for initial X Window System drivers preparing

%prep
%setup -q


%build


%install
mkdir -p -m 0755 %buildroot/%drvpre_dir

mkdir -p -m 0755 %buildroot/%_sbindir
install -m 0755 %name %buildroot/%_sbindir/%name
sed -i "s| at PRESET_DIR at |%drvpre_dir|g" %buildroot/%_sbindir/%name

mkdir -p -m 0755 %buildroot/%_sysconfdir/rc.d/init.d
install -m 0755 %name.init %buildroot/%_sysconfdir/rc.d/init.d/%name

mkdir -p -m 0755 %buildroot/%_sysconfdir/rc.d/init.d

mkdir -p -m 0755 %buildroot/%_unitdir
install -m 0644 %name.service %buildroot/%_unitdir/

%post
%post_service %name
%preun
%preun_service %name


%files
%doc AUTHORS
%dir %drvpre_dir
%_sbindir/%name
%_sysconfdir/rc.d/init.d/%name
%_unitdir/%name.service

%changelog

Full changelog you can see here

 
design & coding: Vladimir Lettiev aka crux © 2004-2005, Andrew Avramenko aka liks © 2007-2008
current maintainer: Michael Shigorin