Summary: A utility for displaying and/or setting hard disk parameters. Name: hdparm Version: 3.9 Release: 5mdk Copyright: distributable Group: System/Kernel and hardware Source: ftp://sunsite.unc.edu/pub/Linux/system/hardware/hdparm-%{version}.tar.bz2 Buildroot: %{_tmppath}/%{name}-root %description Hdparm is a useful system utility for setting (E)IDE hard drive parameters. For example, hdparm can be used to tweak hard drive performance and to spin down hard drives for power conservation. %prep %setup %build perl -pi -e "s/-O2/$RPM_OPT_FLAGS/" Makefile # sucks make clean make %install mkdir -p $RPM_BUILD_ROOT/sbin mkdir -p $RPM_BUILD_ROOT/usr/doc mkdir -p $RPM_BUILD_ROOT%{_mandir}/man8 install -s -m 755 hdparm $RPM_BUILD_ROOT/sbin/hdparm install -m 644 hdparm.8 $RPM_BUILD_ROOT%{_mandir}/man8 %clean rm -rf $RPM_BUILD_ROOT %files %defattr(-,root,root) %doc hdparm-%{version}.lsm Changelog /sbin/hdparm %{_mandir}/man8/hdparm.8* %changelog * Wed Jul 19 2000 Thierry Vignaud <tvignaud@mandrakesoft.com> 3.9-5mdk - use new macrso - BM * Tue May 16 2000 Chmouel Boudjnah <chmouel@mandrakesoft.com> 3.9-4mdk - Make clean before running make (or we get an x86 hdparm for all arch) * Tue Apr 18 2000 Warly <warly@mandrakesoft.com> 3.9-3mdk - new group: System/Kernel and hardware * Thu Mar 23 2000 Thierry Vignaud <tvignaud@mandrakesoft.com> - use spechelp & converted to the NNSS (New Naming Scheme Standard) - remove old comented patches * Sun Feb 06 2000 Geoffrey Lee <snailtalk@linux-mandrake.com> 3.9-1mdk - 3.9 * Wed Oct 20 1999 Chmouel Boudjnah <chmouel@mandrakesoft.com> - Fix building as non-root. - Fix wrong patch. * Mon May 10 1999 Bernhard Rosenkraenzer <bero@linux-mandrake.com> - 3.5 (UltraDMA at last...) * Sat Apr 10 1999 Bernhard Rosenkraenzer <bero@linux-mandrake.com> - Mandrake adaptions - bzip2 man/info pages - add de locale - handle RPM_OPT_FLAGS * Tue Dec 29 1998 Cristian Gafton <gafton@redhat.com> - build for 6.0 * Fri Apr 24 1998 Prospector System <bugs@redhat.com> - translations modified for de, fr, tr * Wed Apr 08 1998 Erik Troan <ewt@redhat.com> - updated to 3.3 - build rooted * Fri Oct 31 1997 Donnie Barnes <djb@redhat.com> - fixed spelling error in summary * Mon Jun 02 1997 Erik Troan <ewt@redhat.com> - built against glibc