Sophie

Sophie

distrib > Mandriva > 9.1 > ppc > by-pkgid > 6334fdaae8485e90a59ae80bebcec4de > files > 3

hdparm-5.3-2mdk.src.rpm

Summary: A utility for displaying and/or setting hard disk parameters.
Name: hdparm
Version: 5.3
Release: 2mdk
License: BSD
Group: System/Kernel and hardware
Url:	http://www.ibiblio.org/pub/Linux/system/hardware
Source: ftp://sunsite.unc.edu/pub/Linux/system/hardware/%name-%version.tar.bz2
Source1: hdparm-sysconfig
Buildroot: %_tmppath/%name-%version-root

%description
Hdparm is a useful system utility for setting (E)IDE hard drive
parameters.  For example, hdparm can be used to tweak hard drive
performance and to spin down hard drives for power conservation.

%prep
%setup -q

%build
perl -pi -e "s/-O2/$RPM_OPT_FLAGS/" Makefile
make clean
make

%install
rm -fr $RPM_BUILD_ROOT
mkdir -p $RPM_BUILD_ROOT/{sbin,%_sbindir,%_mandir/man8}
install -s -m 755 hdparm $RPM_BUILD_ROOT/sbin/hdparm
install -m 644 hdparm.8 $RPM_BUILD_ROOT%_mandir/man8
install -m755 contrib/{idectl,ultrabayd} $RPM_BUILD_ROOT%_sbindir
install -D -m 644 %SOURCE1 $RPM_BUILD_ROOT/etc/sysconfig/harddisks

%clean
rm -rf $RPM_BUILD_ROOT

%files
%defattr(-,root,root)
%doc hdparm.lsm Changelog contrib/README README.acoustic
/sbin/hdparm
%_sbindir/idectl
%_sbindir/ultrabayd
%_mandir/man8/hdparm.8*
%config(noreplace) /etc/sysconfig/harddisks

%changelog
* Thu Jan 02 2003 Thierry Vignaud <tvignaud@mandrakesoft.com> 5.3-2mdk
- build release

* Wed Nov 27 2002 Thierry Vignaud <tvignaud@mandrakesoft.com> 5.3-1mdk
- new release
- fix build

* Sat Jul 06 2002 Thierry Vignaud <tvignaud@mandrakesoft.com> 5.2-1mdk
- new release

* Tue May 28 2002 Thierry Vignaud <tvignaud@mandrakesoft.com> 5.1-1mdk
- new release

* Tue May 07 2002 Thierry Vignaud <tvignaud@mandrakesoft.com> 4.9-1mdk
- new release

* Mon Apr 29 2002 Thierry Vignaud <tvignaud@mandrakesoft.com> 4.8-1mdk
- new release

* Sun Jan 06 2002 Thierry Vignaud <tvignaud@mandrakesoft.com> 4.6-1mdk
- new release

* Tue Oct 30 2001 Thierry Vignaud <tvignaud@mandrakesoft.com> 4.3-1mdk
- new release

* Tue Oct 16 2001 Thierry Vignaud <tvignaud@mandrakesoft.com> 4.2-1mdk
- new release

* Tue Oct 09 2001 Thierry Vignaud <tvignaud@mandrakesoft.com> 4.1-5mdk
- qa-ize()

* Mon Jul 23 2001 Thierry Vignaud <tvignaud@mandrakesoft.com> 4.1-4mdk
- fix build whith glibc-2.2 which macroize printf when using gcc-2.97 or
  more so that gcc can optimize special cases

* Mon Jul 23 2001 Thierry Vignaud <tvignaud@mandrakesoft.com> 4.1-3mdk
- fi

* Tue Jun 19 2001 Thierry Vignaud <tvignaud@mandrakesoft.com> 4.1-3mdk
- spec cleaning : macros, s!copyright!license, config files,
 license is bsd, ...

* Sun Apr  1 2001 Chmouel Boudjnah <chmouel@mandrakesoft.com> 4.1-2mdk
- Add /etc/sysconfig/harddisks file example.

* Mon Mar 05 2001 Geoffrey Lee <snailtalk@mandrakesoft.com> 4.1-1mdk
- Version 4.1 bumped into cooker.
- Remove the kernel-2.4 patch as it is no longer needed.
- Add stuff from the contrib directory as well.

* Wed Dec 06 2000 Thierry Vignaud <tvignaud@mandrakesoft.com> 3.9-6mdk
- fix build on PPC
- fix build with kernel-2.4


* Wed Jul 19 2000 Thierry Vignaud <tvignaud@mandrakesoft.com> 3.9-5mdk
- use new macrso
- BM

* Tue May 16 2000 Chmouel Boudjnah <chmouel@mandrakesoft.com> 3.9-4mdk
- Make clean before running make (or we get an x86 hdparm for all arch)

* Tue Apr 18 2000 Warly <warly@mandrakesoft.com> 3.9-3mdk 
- new group: System/Kernel and hardware

* Thu Mar 23 2000 Thierry Vignaud <tvignaud@mandrakesoft.com>
- use spechelp & converted to the NNSS (New Naming Scheme Standard)
- remove old comented patches

* Sun Feb 06 2000 Geoffrey Lee <snailtalk@linux-mandrake.com> 3.9-1mdk
- 3.9

* Wed Oct 20 1999 Chmouel Boudjnah <chmouel@mandrakesoft.com>
- Fix building as non-root.
- Fix wrong patch.

* Mon May 10 1999 Bernhard Rosenkraenzer <bero@linux-mandrake.com>
- 3.5 (UltraDMA at last...)

* Sat Apr 10 1999 Bernhard Rosenkraenzer <bero@linux-mandrake.com>
- Mandrake adaptions
- bzip2 man/info pages
- add de locale
- handle RPM_OPT_FLAGS

* Tue Dec 29 1998 Cristian Gafton <gafton@redhat.com>
- build for 6.0

* Fri Apr 24 1998 Prospector System <bugs@redhat.com>
- translations modified for de, fr, tr

* Wed Apr 08 1998 Erik Troan <ewt@redhat.com>
- updated to 3.3
- build rooted

* Fri Oct 31 1997 Donnie Barnes <djb@redhat.com>
- fixed spelling error in summary

* Mon Jun 02 1997 Erik Troan <ewt@redhat.com>
- built against glibc