Summary: Utility for setting (E)IDE performance parameters Summary(de): Dienstprogramm zum Einstellen von (E)IDE-Parametern Summary(fr): Utilitaire pour ajuster les paramétres de performances des unités (E)IDE Summary(pl): Narzędzie do ustawiania parametrow (E)IDE Summary(tr): (E)IDE sabit disklerle ilgili bazý parametreleri deđiţtirir Name: hdparm Version: 3.9 Release: 2 LIcense: distributable Group: Utilities/System Group(pl): Narzędzia/System Source0: ftp://sunsite.unc.edu/pub/Linux/system/hardware/%{name}-%{version}.tar.gz Source1: hdparm.init Source2: hdparm.sysconfig Patch0: hdparm-optflags.patch Patch1: hdparm-sparc.patch Patch2: http://www.kernel.org/pub/linux/kernel/people/hedrick/utility-patches/%{name}-%{version}a.patch.gz BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n) %description This is a utility for setting Hard Drive parameters. It is useful for tweaking performance and for doing things like spinning down hard drives to conserve power. %description -l de Dies ist ein Utility zum Einstellen der Festplatten-Parameter, nützlich zum Feintunen der Leistung und zum Verlangsamen der Drehgeschwindigkeit, wenn Strom gespart werden soll. %description -l fr Utilitaire pour configurer les paramętres du disque dur. Utile pour améliorer les performances et pour ralentir les disques durs afin d'économiser l'énergie. %description -l pl Pakiet ten zawiera program pozwalający manipulować różnymi parametrami dysków (E)IDE i SCSI. Przydaje się, gdy chcemy polepszyć wydajność naszego dysku (E)IDE (na przyklad opcje -u, -d), zatrzymać aby nie zużywał prądu na laptopie, itd. Proszę zapoznać się ze stroną manuala przed użyciem hdparma. %description -l tr Bu program ile sabit disk parametrelerini deđiţtirebilirsiniz. Sistemin performansýný arttýrmak ya da örneđin disk hýzýný azaltarak daha az güç harcamak için kullanabilirsiniz. %prep %setup -q %patch0 -p1 %patch1 -p1 %patch2 -p0 %build make OPTFLAGS="$RPM_OPT_FLAGS" %install rm -rf $RPM_BUILD_ROOT install -d $RPM_BUILD_ROOT{{/sbin,%{_mandir}/man8},/etc/{sysconfig,rc.d/init.d}} install -s hdparm $RPM_BUILD_ROOT/sbin install hdparm.8 $RPM_BUILD_ROOT%{_mandir}/man8 install %{SOURCE1} $RPM_BUILD_ROOT/etc/rc.d/rc.hdparm install %{SOURCE2} $RPM_BUILD_ROOT/etc/sysconfig/hdparm gzip -9nf $RPM_BUILD_ROOT%{_mandir}/man*/* \ Changelog %clean rm -rf $RPM_BUILD_ROOT %files %defattr(644,root,root,755) %doc *.gz %attr(755,root,root) /sbin/hdparm %attr(754,root,root) /etc/rc.d/rc.hdparm %config(noreplace) %verify(not size mtime md5) /etc/sysconfig/hdparm %{_mandir}/man8/*