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

Revision 521, 5.3 KB checked in by daisuke, 14 years ago (diff)

import VineSeed package specs

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