[521] | 1 | Summary: A utility for displaying and/or setting hard disk parameters. |
---|
| 2 | Summary(ja): ハードディスクのパラメータの表示・設定ユーティリティ |
---|
| 3 | Name: hdparm |
---|
[891] | 4 | Version: 9.28 |
---|
[3526] | 5 | Release: 2%{?_dist_release} |
---|
[521] | 6 | License: BSD |
---|
| 7 | Group: Applications/System |
---|
| 8 | Source: http://www.ibiblio.org/pub/Linux/system/hardware/hdparm-%{version}.tar.gz |
---|
| 9 | Source1: hdparm-sysconfig |
---|
| 10 | Buildroot: %{_tmppath}/%{name}-%{version}-root |
---|
| 11 | ExcludeArch: s390 s390x |
---|
| 12 | |
---|
| 13 | %description |
---|
| 14 | Hdparm is a useful system utility for setting (E)IDE and SATA/ |
---|
| 15 | PATA/SAS hard driveparameters. |
---|
| 16 | For example, hdparm can be used to tweak hard drive performance |
---|
| 17 | and to spin down hard drives for power conservation. |
---|
| 18 | |
---|
| 19 | %description -l ja |
---|
| 20 | hdparm は (E)IDE や SATA/PATA/SAS ハードディスクのパラメータを |
---|
| 21 | 設定する便利なシステムユーティリティです。 |
---|
| 22 | 例えばハードディスクのパフォーマンスを調整したり、電力消費を抑 |
---|
| 23 | える為にハードディスクをスピンダウンする設定を行ったりすること |
---|
| 24 | ができます。 |
---|
| 25 | |
---|
| 26 | |
---|
| 27 | %prep |
---|
| 28 | %setup -q |
---|
| 29 | |
---|
| 30 | %build |
---|
| 31 | %{__perl} -pi -e "s,-O2,$RPM_OPT_FLAGS,g" Makefile |
---|
| 32 | %{__make} %{?_smp_mflags} |
---|
| 33 | |
---|
| 34 | %install |
---|
| 35 | rm -rf $RPM_BUILD_ROOT |
---|
| 36 | |
---|
| 37 | %{__mkdir} -p $RPM_BUILD_ROOT%{_syssbindir} |
---|
| 38 | %{__mkdir} -p $RPM_BUILD_ROOT%{_mandir}/man8 |
---|
| 39 | %{__install} -c -s -m 755 hdparm $RPM_BUILD_ROOT%{_syssbindir}/hdparm |
---|
| 40 | %{__install} -c -m 644 hdparm.8 $RPM_BUILD_ROOT%{_mandir}/man8 |
---|
| 41 | %{__mkdir} -p $RPM_BUILD_ROOT%{_sysconfdir}/sysconfig |
---|
| 42 | %{__install} -m 644 %{SOURCE1} $RPM_BUILD_ROOT%{_sysconfdir}/sysconfig/harddisks |
---|
| 43 | |
---|
| 44 | |
---|
| 45 | %clean |
---|
| 46 | rm -rf $RPM_BUILD_ROOT |
---|
| 47 | |
---|
| 48 | |
---|
| 49 | %files |
---|
| 50 | %defattr(-,root,root) |
---|
| 51 | %doc Changelog LICENSE.TXT README.acoustic hdparm.lsm |
---|
| 52 | %config(noreplace) %{_sysconfdir}/sysconfig/harddisks |
---|
| 53 | %{_syssbindir}/hdparm |
---|
| 54 | %{_mandir}/man8/hdparm.8* |
---|
| 55 | |
---|
| 56 | |
---|
| 57 | %changelog |
---|
[3526] | 58 | * Sun Apr 17 2011 Shu KONNO <owa@bg.wakwak.com> 9.28-2 |
---|
| 59 | - rebuilt with rpm-4.8.1-3 |
---|
| 60 | |
---|
[891] | 61 | * Sun Apr 25 2010 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 9.28-1 |
---|
| 62 | - new upstream release |
---|
| 63 | - built with new toolchain |
---|
| 64 | |
---|
[521] | 65 | * Mon Apr 13 2009 Daisuke SUZUKI <daisuke@linux.or.jp> 9.12-1 |
---|
| 66 | - new upstream release |
---|
| 67 | - spec in utf-8 |
---|
| 68 | |
---|
| 69 | * Tue May 13 2008 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 8.6-1 |
---|
| 70 | - new upstream release |
---|
| 71 | |
---|
| 72 | * Fri Jul 06 2007 Kazutaka HARADA <kazutaka@dc4.so-net.ne.jp> 7.6-0vl1 |
---|
| 73 | - new upstream release |
---|
| 74 | - build with new toolchains. |
---|
| 75 | - update description. |
---|
| 76 | - use rpm macros to specify directories. |
---|
| 77 | - add some documents. |
---|
| 78 | |
---|
| 79 | * Sun Sep 05 2004 Daisuke SUZUKI <daisuke@linux.or.jp> 5.7-0vl1 |
---|
| 80 | - new upstream release |
---|
| 81 | |
---|
| 82 | * Tue Apr 8 2003 Hiroaki Irokawa <irorin@terra.dti.ne.jp> 5.2-1vl2 |
---|
| 83 | - rebuild |
---|
| 84 | |
---|
| 85 | * Fri Dec 06 2002 MATSUBAYASHI Kohji <shaolin@vinelinux.org> 5.2-1vl1 |
---|
| 86 | - based on 5.2-1 from Rawhide and built for Vine Linux |
---|
| 87 | - added Japanese summary and description |
---|
| 88 | - previous Vine version was 4.6-0vl1 with no vine-specific patches |
---|
| 89 | |
---|
| 90 | * Wed Jun 26 2002 Karsten Hopp <karsten@redhat.de> |
---|
| 91 | - update to 5.2 with the following fixes: |
---|
| 92 | - v5.2 compile fixes for 2.5.xx |
---|
| 93 | - v5.1 fixed segfault in "-i" on older drives |
---|
| 94 | - v5.0 lots of updates and new features |
---|
| 95 | - v4.9 fixed compile error with 2.5.xx kernels |
---|
| 96 | - v4.8 changed -Q to allow specifying queue depth |
---|
| 97 | - v4.7 added -z, -Q, -M flags; expanded parm range for -p |
---|
| 98 | |
---|
| 99 | * Fri Jun 21 2002 Tim Powers <timp@redhat.com> |
---|
| 100 | - automated rebuild |
---|
| 101 | |
---|
| 102 | * Thu May 23 2002 Tim Powers <timp@redhat.com> |
---|
| 103 | - automated rebuild |
---|
| 104 | |
---|
| 105 | * Fri Feb 22 2002 Karsten Hopp <karsten@redhat.de> |
---|
| 106 | - bump version for 8.0 |
---|
| 107 | |
---|
| 108 | * Fri Feb 22 2002 Karsten Hopp <karsten@redhat.de> |
---|
| 109 | - rebuild in new environment |
---|
| 110 | |
---|
| 111 | * Wed Jan 23 2002 Karsten Hopp <karsten@redhat.de> (4.6-1) |
---|
| 112 | - Update to 4.6 |
---|
| 113 | |
---|
| 114 | * Mon Oct 01 2001 Karsten Hopp <karsten@redhat.de> |
---|
| 115 | - fix name of doc file (#54137) |
---|
| 116 | |
---|
| 117 | * Fri Jul 20 2001 Florian La Roche <Florian.LaRoche@redhat.de> |
---|
| 118 | - exclude s390,s390x |
---|
| 119 | |
---|
| 120 | * Mon Jun 25 2001 Karsten Hopp <karsten@redhat.de> |
---|
| 121 | - update to version 4.1 |
---|
| 122 | - update URL |
---|
| 123 | |
---|
| 124 | * Wed Jul 19 2000 Bernhard Rosenkr舅zer <bero@redhat.com> |
---|
| 125 | - disable readahead (#14268) |
---|
| 126 | - add comment in /etc/sysconfig/harddisks about possible extra parameters |
---|
| 127 | |
---|
| 128 | * Thu Jul 13 2000 Prospector <bugzilla@redhat.com> |
---|
| 129 | - automatic rebuild |
---|
| 130 | |
---|
| 131 | * Wed Jul 12 2000 Trond Eivind Glomsr <teg@redhat.com> |
---|
| 132 | - disable 32 bit interfacing (#13730) |
---|
| 133 | |
---|
| 134 | * Tue Jun 27 2000 Trond Eivind Glomsr <teg@redhat.com> |
---|
| 135 | - use %%{_tmppath} |
---|
| 136 | - add /etc/sysconfig/harddisks, a new file for hardisk |
---|
| 137 | optimization parameters |
---|
| 138 | |
---|
| 139 | * Mon Jun 18 2000 Bernhard Rosenkr舅zer <bero@redhat.com> |
---|
| 140 | - FHSify |
---|
| 141 | |
---|
| 142 | * Sun Apr 9 2000 Bernhard Rosenkr舅zer <bero@redhat.com> |
---|
| 143 | - Fix compilation with kernel 2.3.* |
---|
| 144 | |
---|
| 145 | * Thu Feb 17 2000 Bernhard Rosenkr舅zer <bero@redhat.com> |
---|
| 146 | - 3.9 |
---|
| 147 | - handle RPM_OPT_FLAGS |
---|
| 148 | |
---|
| 149 | * Thu Feb 17 2000 Bernhard Rosenkr舅zer <bero@redhat.com> |
---|
| 150 | - Use O_NONBLOCK when opening devices so we can manipulate CD-ROM drives |
---|
| 151 | with no media inserted, even when running a current kernel (Bug #6457) |
---|
| 152 | |
---|
| 153 | * Sat Feb 5 2000 Bill Nottingham <notting@redhat.com> |
---|
| 154 | - build as non-root user (#6458) |
---|
| 155 | |
---|
| 156 | * Fri Feb 4 2000 Bernhard Rosenkr舅zer <bero@redhat.com> |
---|
| 157 | - deal with RPM compressing man pages |
---|
| 158 | |
---|
| 159 | * Fri Nov 19 1999 Bernhard Rosenkraenzer <bero@redhat.com> |
---|
| 160 | - 3.6 |
---|
| 161 | |
---|
| 162 | * Thu Aug 12 1999 Cristian Gafton <gafton@redhat.com> |
---|
| 163 | - version 3.5 |
---|
| 164 | |
---|
| 165 | * Wed Mar 24 1999 Cristian Gafton <gafton@redhat.com> |
---|
| 166 | - added patches from UP |
---|
| 167 | |
---|
| 168 | * Sun Mar 21 1999 Cristian Gafton <gafton@redhat.com> |
---|
| 169 | - auto rebuild in the new build environment (release 4) |
---|
| 170 | |
---|
| 171 | * Tue Dec 29 1998 Cristian Gafton <gafton@redhat.com> |
---|
| 172 | - build for 6.0 |
---|
| 173 | |
---|
| 174 | * Fri Apr 24 1998 Prospector System <bugs@redhat.com> |
---|
| 175 | - translations modified for de, fr, tr |
---|
| 176 | |
---|
| 177 | * Wed Apr 08 1998 Erik Troan <ewt@redhat.com> |
---|
| 178 | - updated to 3.3 |
---|
| 179 | - build rooted |
---|
| 180 | |
---|
| 181 | * Fri Oct 31 1997 Donnie Barnes <djb@redhat.com> |
---|
| 182 | - fixed spelling error in summary |
---|
| 183 | |
---|
| 184 | * Mon Jun 02 1997 Erik Troan <ewt@redhat.com> |
---|
| 185 | - built against glibc |
---|
| 186 | |
---|