source: projects/specs/trunk/h/hdparm/hdparm-vl.spec @ 891

Revision 891, 5.4 KB checked in by inagaki, 14 years ago (diff)

upload: cpufrequtils, hdparm, sdparm

Line 
1Summary: A utility for displaying and/or setting hard disk parameters.
2Summary(ja): ハードディスクのパラメータの表示・設定ユーティリティ
3Name: hdparm
4Version: 9.28
5Release: 1%{?_dist_release}
6License: BSD
7Group: Applications/System
8Source: http://www.ibiblio.org/pub/Linux/system/hardware/hdparm-%{version}.tar.gz
9Source1: hdparm-sysconfig
10Buildroot: %{_tmppath}/%{name}-%{version}-root
11ExcludeArch: s390 s390x
12
13%description
14Hdparm is a useful system utility for setting (E)IDE and SATA/
15PATA/SAS hard driveparameters.
16For example, hdparm can be used to tweak hard drive performance
17and to spin down hard drives for power conservation.
18
19%description -l ja
20hdparm は (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
35rm -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
46rm -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
58* Sun Apr 25 2010 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 9.28-1
59- new upstream release
60- built with new toolchain
61
62* Mon Apr 13 2009 Daisuke SUZUKI <daisuke@linux.or.jp> 9.12-1
63- new upstream release
64- spec in utf-8
65
66* Tue May 13 2008 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 8.6-1
67- new upstream release
68
69* Fri Jul 06 2007 Kazutaka HARADA <kazutaka@dc4.so-net.ne.jp> 7.6-0vl1
70- new upstream release
71- build with new toolchains.
72- update description.
73- use rpm macros to specify directories.
74- add some documents.
75
76* Sun Sep 05 2004 Daisuke SUZUKI <daisuke@linux.or.jp> 5.7-0vl1
77- new upstream release
78
79* Tue Apr  8 2003 Hiroaki Irokawa <irorin@terra.dti.ne.jp> 5.2-1vl2
80- rebuild
81
82* Fri Dec 06 2002 MATSUBAYASHI Kohji <shaolin@vinelinux.org> 5.2-1vl1
83- based on 5.2-1 from Rawhide and built for Vine Linux
84- added Japanese summary and description
85- previous Vine version was 4.6-0vl1 with no vine-specific patches
86
87* Wed Jun 26 2002 Karsten Hopp <karsten@redhat.de>
88- update to 5.2 with the following fixes:
89 - v5.2 compile fixes for 2.5.xx
90 - v5.1 fixed segfault in "-i" on older drives
91 - v5.0 lots of updates and new features
92 - v4.9 fixed compile error with 2.5.xx kernels
93 - v4.8 changed -Q to allow specifying queue depth
94 - v4.7 added -z, -Q, -M flags; expanded parm range for -p
95
96* Fri Jun 21 2002 Tim Powers <timp@redhat.com>
97- automated rebuild
98
99* Thu May 23 2002 Tim Powers <timp@redhat.com>
100- automated rebuild
101
102* Fri Feb 22 2002 Karsten Hopp <karsten@redhat.de>
103- bump version for 8.0
104
105* Fri Feb 22 2002 Karsten Hopp <karsten@redhat.de>
106- rebuild in new environment
107
108* Wed Jan 23 2002 Karsten Hopp <karsten@redhat.de> (4.6-1)
109- Update to 4.6
110
111* Mon Oct 01 2001 Karsten Hopp <karsten@redhat.de>
112- fix name of doc file  (#54137)
113
114* Fri Jul 20 2001 Florian La Roche <Florian.LaRoche@redhat.de>
115- exclude s390,s390x
116
117* Mon Jun 25 2001 Karsten Hopp <karsten@redhat.de>
118- update to version 4.1
119- update URL
120
121* Wed Jul 19 2000 Bernhard Rosenkr舅zer <bero@redhat.com>
122- disable readahead (#14268)
123- add comment in /etc/sysconfig/harddisks about possible extra parameters
124
125* Thu Jul 13 2000 Prospector <bugzilla@redhat.com>
126- automatic rebuild
127
128* Wed Jul 12 2000 Trond Eivind Glomsr <teg@redhat.com>
129- disable 32 bit interfacing (#13730)
130
131* Tue Jun 27 2000 Trond Eivind Glomsr <teg@redhat.com>
132- use %%{_tmppath}
133- add /etc/sysconfig/harddisks, a new file for hardisk
134  optimization parameters
135
136* Mon Jun 18 2000 Bernhard Rosenkr舅zer <bero@redhat.com>
137- FHSify
138
139* Sun Apr  9 2000 Bernhard Rosenkr舅zer <bero@redhat.com>
140- Fix compilation with kernel 2.3.*
141
142* Thu Feb 17 2000 Bernhard Rosenkr舅zer <bero@redhat.com>
143- 3.9
144- handle RPM_OPT_FLAGS
145
146* Thu Feb 17 2000 Bernhard Rosenkr舅zer <bero@redhat.com>
147- Use O_NONBLOCK when opening devices so we can manipulate CD-ROM drives
148  with no media inserted, even when running a current kernel (Bug #6457)
149
150* Sat Feb  5 2000 Bill Nottingham <notting@redhat.com>
151- build as non-root user (#6458)
152
153* Fri Feb  4 2000 Bernhard Rosenkr舅zer <bero@redhat.com>
154- deal with RPM compressing man pages
155
156* Fri Nov 19 1999 Bernhard Rosenkraenzer <bero@redhat.com>
157- 3.6
158
159* Thu Aug 12 1999 Cristian Gafton <gafton@redhat.com>
160- version 3.5
161
162* Wed Mar 24 1999 Cristian Gafton <gafton@redhat.com>
163- added patches from UP
164
165* Sun Mar 21 1999 Cristian Gafton <gafton@redhat.com>
166- auto rebuild in the new build environment (release 4)
167
168* Tue Dec 29 1998 Cristian Gafton <gafton@redhat.com>
169- build for 6.0
170
171* Fri Apr 24 1998 Prospector System <bugs@redhat.com>
172- translations modified for de, fr, tr
173
174* Wed Apr 08 1998 Erik Troan <ewt@redhat.com>
175- updated to 3.3
176- build rooted
177
178* Fri Oct 31 1997 Donnie Barnes <djb@redhat.com>
179- fixed spelling error in summary
180
181* Mon Jun 02 1997 Erik Troan <ewt@redhat.com>
182- built against glibc
183
Note: See TracBrowser for help on using the repository browser.