File: lphdisk.spec

package info (click to toggle)
lphdisk 0.9-1
  • links: PTS
  • area: main
  • in suites: woody
  • size: 168 kB
  • ctags: 238
  • sloc: ansic: 1,805; makefile: 88
file content (52 lines) | stat: -rw-r--r-- 1,416 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
Summary: Utility for formatting Phoenix NoteBIOS hibernation partitions under Linux
Name: lphdisk
Version: 0.9
Release: 1
Vendor: Patrick D. Ashmore <pda@procyon.com>
Packager: Alex Stewart <alex@foogod.com>
Copyright: Artistic License
Group: System Environment/Base
Source: http://www.procyon.com/~pda/lphdisk/lphdisk-0.9.tar.gz

BuildRoot: %{_tmppath}/%{name}-root

%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.

%prep
%setup -q

%build
make

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

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

%clean
[ "${RPM_BUILD_ROOT}" != "/" ] && rm -rf ${RPM_BUILD_ROOT}

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

%changelog
* 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