SPECS: s2ram.spec (NEW) - new, userspace tools for in-kernel suspe...

arekm arekm at pld-linux.org
Wed Feb 22 22:57:13 CET 2006


Author: arekm                        Date: Wed Feb 22 21:57:13 2006 GMT
Module: SPECS                         Tag: HEAD
---- Log message:
- new, userspace tools for in-kernel suspend to ram and suspend to disk.

---- Files affected:
SPECS:
   s2ram.spec (NONE -> 1.1)  (NEW)

---- Diffs:

================================================================
Index: SPECS/s2ram.spec
diff -u /dev/null SPECS/s2ram.spec:1.1
--- /dev/null	Wed Feb 22 22:57:13 2006
+++ SPECS/s2ram.spec	Wed Feb 22 22:57:06 2006
@@ -0,0 +1,51 @@
+# $Revision$, $Date$
+%define	snap	20060222
+Summary:	Suspend to RAM
+Name:		s2ram
+Version:	0.1
+Release:	0.%{snap}.1
+License:	GPL v2
+Group:		Applications/System
+Source0:	%{name}-%{snap}.tar.gz
+# Source0-md5:	02356c96a511493e4baa6ac1949ce016
+URL:		http://sourceforge.net/projects/suspend
+BuildRequires:	liblzf-static
+BuildRequires:	pciutils-devel
+BuildRoot:	%{tmpdir}/%{name}-%{version}-root-%(id -u -n)
+
+%description
+Userland parts needed for suspend-to-disk and suspend-to-RAM on Linux.
+
+%prep
+%setup -q -n suspend
+
+%build
+sed -i -e 's#gcc#%{__cc}#g' Makefile
+%{__make} \
+	CC_FLAGS="%{rpmcflags} -DCONFIG_COMPRESS" \
+	LD_FLAGS="%{rpmldflags} -llzf"
+
+%install
+rm -rf $RPM_BUILD_ROOT
+install -d $RPM_BUILD_ROOT%{_sbindir}
+
+install resume s2ram suspend $RPM_BUILD_ROOT%{_sbindir}
+
+%clean
+rm -rf $RPM_BUILD_ROOT
+
+%files
+%defattr(644,root,root,755)
+%doc HOWTO README TODO
+%attr(755,root,root) %{_sbindir}/*
+
+%define date	%(echo `LC_ALL="C" date +"%a %b %d %Y"`)
+%changelog
+* %{date} PLD Team <feedback at pld-linux.org>
+All persons listed below can be reached at <cvs_login>@pld-linux.org
+
+$Log$
+Revision 1.1  2006/02/22 21:57:06  arekm
+- new, userspace tools for in-kernel suspend to ram and suspend to disk.
+
+
================================================================


More information about the pld-cvs-commit mailing list