%define name hibernate %define version 1.10 %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://www.suspend2.net/downloads/all/%{name}-script-%{version}.tar.bz2 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 -q -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 * Thu Jul 28 2005 Guillaume Rousse <guillomovitch@mandriva.org> 1.10-1mdk - New release 1.10 * 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>)