| Line | |
|---|
| 1 | Summary: Software Suspend userspace utility (aka swsuspctl) |
|---|
| 2 | Summary(ja): ソフトウエアサスペンド用ユーティリティ (swsuspctl) |
|---|
| 3 | Name: swsuspctl |
|---|
| 4 | Version: 0.93 |
|---|
| 5 | Release: 1%{?_dist_release} |
|---|
| 6 | License: GPL |
|---|
| 7 | Group: System Environment/Base |
|---|
| 8 | Source: http://dagobah.ucc.asn.au/swsusp/swsuspctl5.c |
|---|
| 9 | URL: http://dagobah.ucc.asn.au/swsusp/swsuspctl.html |
|---|
| 10 | BuildRoot: %{_tmppath}/%{name}-root |
|---|
| 11 | |
|---|
| 12 | %description |
|---|
| 13 | Swsuspctl makes it easier to understand the numbers in |
|---|
| 14 | /proc/sys/kernel/swsusp. It also substitutes for the shutdown+z program to |
|---|
| 15 | call software suspend. Be sure to get the version corresponding to your kernel |
|---|
| 16 | swsusp version. |
|---|
| 17 | |
|---|
| 18 | %prep |
|---|
| 19 | |
|---|
| 20 | %build |
|---|
| 21 | rm -rf %{name}-%{version} |
|---|
| 22 | mkdir -p %{name}-%{version} |
|---|
| 23 | cd %{name}-%{version} |
|---|
| 24 | gcc -O2 -o swsuspctl %{SOURCE0} |
|---|
| 25 | |
|---|
| 26 | %install |
|---|
| 27 | rm -rf %{buildroot} |
|---|
| 28 | mkdir -p %{buildroot}%{_sbindir} |
|---|
| 29 | cd %{name}-%{version} |
|---|
| 30 | cp -a swsuspctl %{buildroot}%{_sbindir} |
|---|
| 31 | |
|---|
| 32 | %clean |
|---|
| 33 | rm -rf %{buildroot} |
|---|
| 34 | |
|---|
| 35 | %files |
|---|
| 36 | %defattr(-,root,root) |
|---|
| 37 | %{_sbindir}/swsuspctl |
|---|
| 38 | |
|---|
| 39 | %changelog |
|---|
| 40 | * Sat Oct 11 2008 Shu KONNO <owa@bg.wakwak.com> 0.93-1vl5 |
|---|
| 41 | - applied new versioning policy, spec in utf-8 |
|---|
| 42 | |
|---|
| 43 | * Wed Jul 16 2003 Daisuke SUZUKI <daisuke@linux.or.jp> 0.93-0vl1 |
|---|
| 44 | - new upstream release for swsusp-1.0 |
|---|
| 45 | |
|---|
| 46 | * Mon Jul 14 2003 Daisuke SUZUKI <daisuke@linux.or.jp> 0.91-0vl1 |
|---|
| 47 | - initial build. |
|---|
Note: See
TracBrowser
for help on using the repository browser.