Name: hibernate Version: 2.0 Release: 1mamba Summary: A script that activates the hibernate functionality provides by suspend2 Group: System/Tools Vendor: openmamba Distribution: openmamba Packager: Silvan Calarco URL: http://www.tuxonice.net Source: http://www.tuxonice.net/downloads/all/hibernate-script-%{version}.tar.gz Source1: hibernate-acpi.tar.bz2 License: GPL BuildRoot: %{_tmppath}/%{name}-%{version}-root Requires: acpid >= 1.0.4 %description A script that activates the hibernate functionality provided by suspend2. It saves the contents of memory to disk and powers down. When the computer is started up again, it reloads the contents and the user can continue from where they left off. No documents need to be reloaded or applications reopened and the process is much faster than a normal shutdown and start up. %prep %setup -q -n hibernate-script-%{version} -a1 %build %install [ "%{buildroot}" != / ] && rm -rf "%{buildroot}" PREFIX=%{_prefix} BASE_DIR=%{buildroot} MAN_DIR=%{buildroot}%{_mandir} ./install.sh install -D -m 0755 init.d/hibernate-cleanup.sh %{buildroot}%{_initrddir}/hibernate-cleanup install -d -m 0755 %{buildroot}%{_sysconfdir}/rcsysinit.d ln -s ../init.d/hibernate-cleanup %{buildroot}%{_sysconfdir}/rcsysinit.d/S39hibernate-cleanup cp -a acpi %{buildroot}%{_sysconfdir}/ %clean [ "%{buildroot}" != / ] && rm -rf "%{buildroot}" %files %defattr(-,root,root) %dir %{_sysconfdir}/hibernate %config(noreplace) %{_sysconfdir}/hibernate/* %attr(0755,root,root) %{_sysconfdir}/acpi/actions/*.sh %exclude %{_sysconfdir}/acpi/events/lid %exclude %{_sysconfdir}/acpi/events/pwrbtn %{_initrddir}/hibernate-cleanup %{_sysconfdir}/rcsysinit.d/S39hibernate-cleanup %{_sbindir}/hibernate %dir %{_datadir}/hibernate %{_datadir}/hibernate/scriptlets.d/* %{_datadir}/hibernate/tuxonice-binary-signature.bin %{_mandir}/man5/hibernate.conf.5* %{_mandir}/man8/hibernate.8* %doc COPYING README %changelog * Thu May 14 2009 Silvan Calarco 2.0-1mamba - update to 2.0 * Tue Jan 27 2009 Silvan Calarco 1.99-1mamba - automatic update by autodist * Mon Oct 09 2006 Silvan Calarco 1.93-1qilnx - package created by autospec