Sophie

Sophie

distrib > Mandriva > 10.2 > x86_64 > by-pkgid > 08d6130f2907094d545367e9c4825e16 > files > 2

hibernate-1.05-1mdk.src.rpm

%define name	hibernate
%define version 1.05
%define release 1mdk

Name:		%{name}
Version:	%{version}
Release:	%{release}
License:	GPL
Summary:	Software suspend 2 hibernate script
Group:		System/Base
URL:		http://softwaresuspend.berlios.de/
Source:		http://download.berlios.de/softwaresuspend/%{name}-script-%{version}.tar.gz
BuildArch:	noarch
BuildRoot:	%{_tmppath}/%{name}-%{version}

%description
hibernate is a shell script that handles the process of getting ready
to suspend to disk and to resume from disk. It requires the Software
Suspend 2 patches available at http://softwaresuspend.berlios.de/
After installing you will want to run 'hibernate -h' to see available
options and modify your /etc/hibernate/hibernate.conf to set them. 

%prep
%setup -n %{name}-script-%{version}

%install
rm -rf %{buildroot}
export BASE_DIR=%{buildroot}
export PREFIX=%{_prefix}
export MAN_DIR=$BASE_DIR/%{_mandir}
sh install.sh

%clean
rm -rf %{buildroot}

%files
%defattr(-,root,root)
%doc CHANGELOG COPYING README SCRIPTLET-API TODO
%{_datadir}/%{name}
%{_mandir}/*/*
%{_sbindir}/*
%config(noreplace) %{_sysconfdir}/%{name}

%changelog
* Sat Feb 19 2005 Guillaume Rousse <guillomovitch@mandrake.org> 1.05-1mdk 
- first mdk release, based on package from Bernard Blackham (<bernard@blackham.com.au>)