File: hibernate.spec

package info (click to toggle)
hibernate 2.0+15+g88d54a8-1
  • links: PTS, VCS
  • area: main
  • in suites: bullseye, buster, jessie, jessie-kfreebsd, sid, stretch, wheezy
  • size: 740 kB
  • ctags: 114
  • sloc: sh: 1,223; makefile: 17
file content (115 lines) | stat: -rw-r--r-- 4,155 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
Name: hibernate
Version: 1.93
Release: 1
License: GPL
Group: Applications/System
URL: http://dagobah.ucc.asn.au/swsusp/script2/hibernate-script-1.93.tar.gz
Source0: hibernate-script-%{version}.tar.gz
BuildRoot: %{_tmppath}/%{name}-%{version}-root
Summary: activates your computer's suspend functionality

%description

This package provides a way to activate the suspend functionality in
the kernel.  Currently it supports anything using the /sys/power/state
interface (including ACPI suspend and the in-kernel software
suspend), as well as TuxOnIce (which is available as a
separate kernel patch from www.tuxonice.net).

Hibernate can take care of loading and unloading modules, various
hacks needed to get some video cards to resume properly under X,
restarting networking and system services.  It can be extended by
writing new "scriplets" which run at different parts of the suspend
process.

After installing you will want to run 'hibernate -h' to see available
options and modify your /etc/hibernate/hibernate.conf to set them. 

%prep
mkdir -p ${RPM_BUILD_ROOT}/usr/share/doc/hibernate-%version-%release

%setup -n hibernate-script-%version

%install
export BASE_DIR=${RPM_BUILD_ROOT}
export PREFIX=/usr
sh install.sh

%clean
unset BASE_DIR
unset PREFIX
rm -rf $RPM_BUILD_ROOT

%files
%defattr(-,root,root,-)

# Directories owned by this package
%dir /usr/share/hibernate

# Files owned by this package (taken from %{buildroot}
/usr/sbin/hibernate
/usr/share/hibernate/*
/usr/man/*
%config /etc/hibernate/*

# Documentation for this package (taken from $RPM_BUILD_DIR)
%doc CHANGELOG
%doc COPYING
%doc README
%doc SCRIPTLET-API

%changelog
* Mon Jul 12 2006 Bernard Blackham <bernard@blackham.com.au> -
- Updated to 1.93 final version
* Mon Jul 12 2006 Bernard Blackham <bernard@blackham.com.au> -
- Updated to 1.92 final version
* Mon Jun  5 2006 Bernard Blackham <bernard@blackham.com.au> -
- Updated to 1.91 final version
* Mon Jun  5 2006 Bernard Blackham <bernard@blackham.com.au> -
- Updated to 1.90 final version
* Sun Oct  2 2005 Bernard Blackham <bernard@blackham.com.au> -
- Updated to 1.12 final version
* Sun Oct  2 2005 Bernard Blackham <bernard@blackham.com.au> -
- Updated to 1.11 final version
* Wed Jul 13 2005 Bernard Blackham <bernard@blackham.com.au> -
- Updated to 1.10 final version
* Fri Jun 27 2005 Bernard Blackham <bernard@blackham.com.au> -
- Updated to 1.09 final version
* Fri May 13 2005 Bernard Blackham <bernard@blackham.com.au> -
- Updated to 1.08 final version
* Thu Apr 21 2005 Bernard Blackham <bernard@blackham.com.au> -
- Updated to 1.07 final version
* Thu Mar 31 2005 Bernard Blackham <bernard@blackham.com.au> -
- Updated to 1.06 final version
* Wed Feb  9 2005 Bernard Blackham <bernard@blackham.com.au> -
- Updated to 1.05 final version
* Tue Feb  8 2005 Bernard Blackham <bernard@blackham.com.au> -
- Updated to 1.04 final version
* Wed Jan  5 2005 Bernard Blackham <bernard@blackham.com.au> -
- Updated to 1.03 final version
* Wed Nov 24 2004 Bernard Blackham <bernard@blackham.com.au> -
- Updated to 1.02 final version
* Thu Nov 18 2004 Bernard Blackham <bernard@blackham.com.au> -
- Updated to 1.01 final version
* Sun Nov  7 2004 Bernard Blackham <bernard@blackham.com.au> -
- Updated to 1.00 final version
* Fri Aug 20 2004 Bernard Blackham <bernard@blackham.com.au> -
- Updated to 0.99 final version
* Fri Aug 20 2004 Bernard Blackham <bernard@blackham.com.au> -
- Updated to 0.98 final version
* Thu Jul 29 2004 Bernard Blackham <bernard@blackham.com.au> -
- Updated to 0.97 final version
* Sat Jul 24 2004 Bernard Blackham <bernard@blackham.com.au> -
- Updated to 0.96 final version
* Sat Jul 24 2004 Bernard Blackham <bernard@blackham.com.au> -
- Updated to 0.96-rc2 version
* Sat Jul 24 2004 Bernard Blackham <bernard@blackham.com.au> -
- Updated to 0.96-rc1 version
* Fri Jul 23 2004 Bernard Blackham <bernard@blackham.com.au> -
- Updated to 0.95.1 final version
* Wed Jul 21 2004 Kevin Fenzi <kevin@tummy.com> -
- Updated to 0.95 final version
* Fri Jul 16 2004 Kevin Fenzi <kevin@tummy.com> -
- Updated to 0.95-rc1 version
* Mon Jul 12 2004 Kevin Fenzi <kevin@tummy.com> - 
- Initial build.