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

Revision 8073, 5.6 KB checked in by Takemikaduchi, 10 years ago (diff)

new upstream release or rebuild

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