/[packages]/cauldron/acpitool/pristine/SPECS/acpitool.spec
ViewVC logotype

Contents of /cauldron/acpitool/pristine/SPECS/acpitool.spec

Parent Directory Parent Directory | Revision Log Revision Log


Revision 24809 - (show annotations) (download)
Wed Jan 19 21:43:10 2011 UTC (13 years, 3 months ago) by schedbot
File size: 925 byte(s)
Copying release 0.5.1-2.mga1 to pristine/ directory.
1 %define name acpitool
2 %define version 0.5.1
3 %define release %mkrel 2
4
5 Summary: A Linux ACPI client
6 Name: %{name}
7 Version: %{version}
8 Release: %{release}
9 Source0: http://freeunix.dyndns.org:8088/ftp_site/pub/unix/acpitool/%name-%version.tar.bz2
10 License: GPL
11 Group: System/Kernel and hardware
12 Url: http://freeunix.dyndns.org:8088/site2/acpitool.shtml
13 BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-buildroot
14
15
16 %description
17 It's a small command-line application,
18 intended to be a replacement for the apm tool.
19
20 %prep
21 %setup -q -n %name-%{version}
22
23 %build
24 %configure2_5x
25
26 perl -pi -e "s|/usr/local|$RPM_BUILD_ROOT/usr|g" Makefile
27 perl -pi -e "s|man/man1|share/man/man1|g" Makefile
28
29 make
30
31 %install
32 rm -rf $RPM_BUILD_ROOT
33 mkdir -p $RPM_BUILD_ROOT/%{_bindir}
34 mkdir -p $RPM_BUILD_ROOT/%{_mandir}/man1
35 %makeinstall
36
37 %clean
38 rm -rf $RPM_BUILD_ROOT
39
40 %files
41 %defattr(-,root,root)
42 %{_bindir}/acpitool
43 %{_mandir}/man1/acpitool*
44
45
46
47

  ViewVC Help
Powered by ViewVC 1.1.30