]> git.pld-linux.org Git - packages/pmtools.git/blob - pmtools.spec
- updated to 20110323
[packages/pmtools.git] / pmtools.spec
1 Summary:        Retrieve the DSDT from your BIOS
2 Summary(pl.UTF-8):      Narzędzie do odczytu DSDT z BIOS-u
3 Name:           pmtools
4 Version:        20110323
5 Release:        1
6 License:        GPL
7 Group:          Applications/System
8 Source0:        http://ftp.kernel.org/pub/linux/kernel/people/lenb/acpi/utils/%{name}-%{version}.tar.bz2
9 # Source0-md5:  9ed64a1c04bb9597257786de034a77a9
10 URL:            http://acpi.sourceforge.net/
11 BuildRoot:      %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
12
13 %description
14 DSDT is an acronym for Differentiated System Description Table. This
15 table contains the Differentiated Definition Block, which supplies the
16 information and configuration information about the base system. It is
17 always inserted into the ACPI Namespace by the OS at boot time.
18 Unfortunately, many hardware vendors and OEMs are not capable of
19 supplying fully functional tables (not even the members of the ACPI
20 SIG)
21
22 %description -l pl.UTF-8
23 DSDT to skrót od Differentiated System Description Table (różnicowa
24 tabela opisu systemu). Jest to tabela zawierająca różnicowy blok
25 definicji, dostarczający informacji o systemie bazowym i jego
26 konfiguracji. Jest zawsze umieszczany w przestrzeni nazw ACPI przez
27 system operacyjny w czasie startu. Niestety wielu producentów sprzętu
28 i OEM-ów nie ma możliwości dostarczania w pełni funkcjonalnych tabel
29 (nawet członkowie ACPI SIG).
30
31 %prep
32 %setup -q -n %{name}
33
34 mv -f madt/README README.madt
35
36 %build
37 %{__make} -C acpidump \
38         CC="%{__cc}" \
39         CFLAGS="%{rpmcflags} -Wall -Wstrict-prototypes -Wdeclaration-after-statement -D_LINUX -DDEFINE_ALTERNATE_TYPES -I../include"
40
41 %{__make} -C acpixtract \
42         CC="%{__cc}" \
43         CFLAGS="%{rpmcflags} -Wall -Wstrict-prototypes -D_LINUX -DACPI_APPLICATION -I../include"
44
45 %{__cc} %{rpmldflags} %{rpmcflags} -o madt/madt madt/madt.c
46 %{__cc} %{rpmldflags} %{rpmcflags} -o turbostat/turbostat turbostat/turbostat.c
47
48 %install
49 rm -rf $RPM_BUILD_ROOT
50 install -d $RPM_BUILD_ROOT{%{_sbindir},%{_mandir}/man8}
51
52 install acpidump/acpidump acpixtract/acpixtract madt/madt turbostat/turbostat \
53         $RPM_BUILD_ROOT%{_sbindir}
54 install turbostat/turbostat.8 $RPM_BUILD_ROOT%{_mandir}/man8
55
56 %clean
57 rm -rf $RPM_BUILD_ROOT
58
59 %files
60 %defattr(644,root,root,755)
61 %doc README README.madt
62 %attr(755,root,root) %{_sbindir}/acpidump
63 %attr(755,root,root) %{_sbindir}/acpixtract
64 %attr(755,root,root) %{_sbindir}/madt
65 %attr(755,root,root) %{_sbindir}/turbostat
66 %{_mandir}/man8/turbostat.8*
This page took 0.054111 seconds and 3 git commands to generate.