Group :: Sistema/Kernel e hardware
RPM: ataidle
Main Changelog Spec Patches Sources Download Gear Bugs e FR Repocop
Summary: Utility to sets the idle timer on ATA hard drives
Name: ataidle
Version: 0.9
Release: alt2
Source0: http://www.cran.org.uk/bruce/software/%name-%version.tar.gz
Patch0: ataidle-0.9-makefile.patch
License: BSD
Group: System/Kernel and hardware
Url: http://www.cran.org.uk/bruce/software/ataidle.php
%description
ATAidle is a utility to set the power management features of ATA hard drives
in FreeBSD and Linux, including idle and standby timeouts, APM, and
acoustic level settings.
%prep
%setup -q
%patch0 -p1
%build
%make -f Makefile.altLinux
%install
mkdir -p $RPM_BUILD_ROOT/%_sbindir
mkdir -p $RPM_BUILD_ROOT/%_mandir/man8/
install $RPM_BUILD_DIR/%name-%version/ataidle $RPM_BUILD_ROOT/%_sbindir
install $RPM_BUILD_DIR/%name-%version/ataidle.8 $RPM_BUILD_ROOT/%_mandir/man8
%files
%_sbindir/ataidle
%_mandir/man8/*
%changelog
…
Todas as alterações você pod ver aqui
Name: ataidle
Version: 0.9
Release: alt2
Source0: http://www.cran.org.uk/bruce/software/%name-%version.tar.gz
Patch0: ataidle-0.9-makefile.patch
License: BSD
Group: System/Kernel and hardware
Url: http://www.cran.org.uk/bruce/software/ataidle.php
%description
ATAidle is a utility to set the power management features of ATA hard drives
in FreeBSD and Linux, including idle and standby timeouts, APM, and
acoustic level settings.
%prep
%setup -q
%patch0 -p1
%build
%make -f Makefile.altLinux
%install
mkdir -p $RPM_BUILD_ROOT/%_sbindir
mkdir -p $RPM_BUILD_ROOT/%_mandir/man8/
install $RPM_BUILD_DIR/%name-%version/ataidle $RPM_BUILD_ROOT/%_sbindir
install $RPM_BUILD_DIR/%name-%version/ataidle.8 $RPM_BUILD_ROOT/%_mandir/man8
%files
%_sbindir/ataidle
%_mandir/man8/*
%changelog
…
Todas as alterações você pod ver aqui