SPECS: suspend.spec - up to 20071028
arekm
arekm at pld-linux.org
Sun Oct 28 11:57:23 CET 2007
Author: arekm Date: Sun Oct 28 10:57:23 2007 GMT
Module: SPECS Tag: HEAD
---- Log message:
- up to 20071028
---- Files affected:
SPECS:
suspend.spec (1.49 -> 1.50)
---- Diffs:
================================================================
Index: SPECS/suspend.spec
diff -u SPECS/suspend.spec:1.49 SPECS/suspend.spec:1.50
--- SPECS/suspend.spec:1.49 Thu Sep 13 13:18:29 2007
+++ SPECS/suspend.spec Sun Oct 28 11:57:17 2007
@@ -1,9 +1,8 @@
# $Revision$, $Date$
-%define suspend_cpu %(echo %{_target_cpu} | sed -e s/i.86/x86/ -e s/ppc.*/ppc/ -e s/x86_64/x86/ -e s/amd64/x86/ -e s/athlon/x86/)
#
%bcond_with splashy
#
-%define snap 20070913
+%define snap 20071028
Summary: Suspend to RAM/Disk/Both
Summary(de.UTF-8): Einfrieren in den Systemspeicher
Summary(pl.UTF-8): Zamrażanie w RAM/Dysku/Jedno i drugie
@@ -12,10 +11,13 @@
Release: 0.%{snap}.1
License: GPL v2
Group: Applications/System
-Source0: %{name}-%{snap}.tar.gz
-# Source0-md5: 3ea2ee54b597dd6f1feb5bd0fe4263b3
+Source0: %{name}-%{snap}.tar.bz2
+# Source0-md5: 7ab0f6db95e3fe0b0e52213fa415623a
Patch0: %{name}-sys-file-range-write.patch
URL: http://sourceforge.net/projects/suspend
+BuildRequires: automake
+BuildRequires: autoconf
+BuildRequires: libtool
BuildRequires: glibc-static
BuildRequires: libgcrypt-static
BuildRequires: libgpg-error-static
@@ -33,6 +35,7 @@
BuildRequires: splashy-static
%endif
BuildRequires: zlib-devel
+Conflicts: geninitrd < 8880
ExclusiveArch: %{ix86} %{x8664} ppc ppc64
BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
@@ -52,21 +55,20 @@
%patch0 -p1
%build
-%{__make} \
- CONFIG_COMPRESS=yes \
- CONFIG_ENCRYPT=yes \
- %{?with_splashy:CONFIG_SPLASHY=yes} \
- CC="%{__cc}" \
- ARCH="%{suspend_cpu}" \
- CFLAGS="%{rpmcflags}" \
- LD_FLAGS="%{rpmldflags}"
+%{__libtoolize}
+%{__aclocal}
+%{__autoheader}
+%{__autoconf}
+%{__automake}
+
+%configure
+%{__make}
%install
rm -rf $RPM_BUILD_ROOT
-install -d $RPM_BUILD_ROOT{%{_sbindir},%{_sysconfdir}}
-install resume s2both s2disk s2ram suspend-keygen swap-offset $RPM_BUILD_ROOT%{_sbindir}
-install conf/suspend.conf $RPM_BUILD_ROOT%{_sysconfdir}
+%{__make} install \
+ DESTDIR=$RPM_BUILD_ROOT
%clean
rm -rf $RPM_BUILD_ROOT
@@ -75,6 +77,8 @@
%defattr(644,root,root,755)
%doc HOWTO README* TODO
%attr(755,root,root) %{_sbindir}/*
+%dir %{_libdir}/suspend
+%attr(755,root,root) %{_libdir}/suspend/resume
%config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/suspend.conf
%define date %(echo `LC_ALL="C" date +"%a %b %d %Y"`)
@@ -83,6 +87,9 @@
All persons listed below can be reached at <cvs_login>@pld-linux.org
$Log$
+Revision 1.50 2007/10/28 10:57:17 arekm
+- up to 20071028
+
Revision 1.49 2007/09/13 11:18:29 arekm
- up to 0.7 20070913
================================================================
---- CVS-web:
http://cvs.pld-linux.org/cgi-bin/cvsweb.cgi/SPECS/suspend.spec?r1=1.49&r2=1.50&f=u
More information about the pld-cvs-commit
mailing list