Sophie

Sophie

distrib > Mandriva > 2010.1 > x86_64 > by-pkgid > fd6bd7d7550349dc1babb32f995dbb13 > files > 4

lphdisk-0.9.1-5mdv2010.0.src.rpm

Name:		lphdisk
Version:	0.9.1
Release:	%mkrel 5
Summary:	Format Phoenix NoteBIOS hibernation partitions under Linux
License:	Artistic
Group:		System/Kernel and hardware
URL:		http://www.procyon.com/~pda/lphdisk
Source0:	http://www.procyon.com/~pda/lphdisk/%{name}-%{version}.tar.bz2
Patch0:		lphdisk-0.9.1-debian.patch
Patch1:		lphdisk-0.9.1-lrmi.patch
ExclusiveArch:	%ix86
BuildRoot:	%{_tmppath}/%{name}-%{version}

%description
lphdisk is a linux reimplementation of the PHDISK.EXE (DOS) utility provided
with most Phoenix NoteBIOS-equipped laptop models.  It will properly format a
NoteBIOS hibernation partition (type A0) to make it usable by the BIOS for
suspending to disk, avoiding the need to use buggy and outdated DOS utilities 
to perform this configuration step.

PLEASE NOTE: this is a very old tool for very old laptops. Unless you're very
sure you need it...you probably don't. Move along, nothing to see here.

%prep
%setup -q
%patch0 -p1 -b .debian
%patch1 -p1 -b .lrmi

%build
%make

%install
rm -rf %{buildroot}
mkdir -p %{buildroot}%{_mandir}/man8
mkdir -p %{buildroot}%{_sbindir}

install -m 755 lphdisk %{buildroot}%{_sbindir}
install -m 644 lphdisk.8 %{buildroot}%{_mandir}/man8

%clean
rm -rf %{buildroot}

%files
%defattr(-,root,root)
%doc ChangeLog CREDITS LICENSE NEWS README TODO
%{_sbindir}/lphdisk
%{_mandir}/man8/lphdisk.8.*



%changelog
* Thu Mar 19 2009 Guillaume Rousse <guillomovitch@mandriva.org> 0.9.1-5mdv2009.1
+ Revision: 358004
- rebuild for missing source package

* Fri Sep 05 2008 Adam Williamson <awilliamson@mandriva.org> 0.9.1-4mdv2009.0
+ Revision: 281036
- s,$RPM_BUILD_ROOT,%%{buildroot}
- add note in description that this is likely useless for most people...
- add lrmi.patch, fixed build of lrmi (via Gentoo bug #235599)
- replace source.patch with debian.patch, contains further fixes from Debian
- shorten summary
- remove unnecessary defines

  + Thierry Vignaud <tvignaud@mandriva.com>
    - rebuild
    - kill re-definition of %%buildroot on Pixel's request
    - use %%mkrel
    - import lphdisk

  + Olivier Blin <oblin@mandriva.com>
    - restore BuildRoot


* Thu Dec 02 2004 Abel Cheung <deaddog@mandrake.org> 0.9.1-2mdk
- exclusivearch x86, I guess there are not many non-x86 laptops

* Thu Nov 04 2004 Guillaume Rousse <guillomovitch@mandrake.org> 0.9.1-1mdk 
- first mdk package

* Tue Feb 12 2002 Alex Stewart <alex@foogod.com>
- Updated to version 0.9.1

* Thu Aug 23 2001 Patrick D. Ashmore <pda@procyon.com>
- Updated version information in spec file (0.4as1 to 0.9)

* Sun Jul 15 2001 Alex Stewart <alex@foogod.com>
- Initial RPM packaging of lphdisk 0.4as1