Parent Directory | Revision Log
- SILENT remove defattr - SILENT remove cleaning buildroot in install - SILENT remove clean section - SILENT remove buildroot definition - SILENT remove variable definitions name, version, release
1 | Summary: A Linux ACPI client |
2 | Name: acpitool |
3 | Version: 0.5.1 |
4 | Release: %mkrel 5 |
5 | Source0: http://freeunix.dyndns.org:8088/ftp_site/pub/unix/acpitool/%name-%version.tar.bz2 |
6 | License: GPLv2+ |
7 | Group: System/Kernel and hardware |
8 | Url: http://freeunix.dyndns.org:8088/site2/acpitool.shtml |
9 | |
10 | |
11 | %description |
12 | It's a small command-line application, |
13 | intended to be a replacement for the apm tool. |
14 | |
15 | %prep |
16 | %setup -q -n %name-%{version} |
17 | |
18 | %build |
19 | %configure2_5x |
20 | |
21 | perl -pi -e "s|/usr/local|$RPM_BUILD_ROOT/usr|g" Makefile |
22 | perl -pi -e "s|man/man1|share/man/man1|g" Makefile |
23 | |
24 | make |
25 | |
26 | %install |
27 | mkdir -p $RPM_BUILD_ROOT/%{_bindir} |
28 | mkdir -p $RPM_BUILD_ROOT/%{_mandir}/man1 |
29 | %makeinstall |
30 | |
31 | %files |
32 | %{_bindir}/acpitool |
33 | %{_mandir}/man1/acpitool* |
34 | |
35 | |
36 | |
37 |
ViewVC Help | |
Powered by ViewVC 1.1.30 |