]> git.pld-linux.org Git - packages/pmtools.git/blob - pmtools.spec
- updated to 20061026, package madt
[packages/pmtools.git] / pmtools.spec
1 Summary:        Retrieve the DSDT from your BIOS
2 Summary(pl):    Narzêdzie do odczytu DSDT z BIOS-u
3 Name:           pmtools
4 Version:        20061026
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:  a64834987d23e35c90a80c1ca0c3e2ae
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
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
33
34 mv -f madt/README README.madt
35
36 %build
37 %{__make} -C acpidump \
38         CC="%{__cc}" \
39         CFLAGS="%{rpmcflags} -Wall -W -pedantic -D_LINUX -DDEFINE_ALTERNATE_TYPES  -I../include"
40
41 %{__cc} %{rpmldflags} %{rpmcflags} -o madt/madt madt/madt.c
42
43 %install
44 rm -rf $RPM_BUILD_ROOT
45 install -d $RPM_BUILD_ROOT%{_sbindir}
46
47 install acpidump/{acpidump,acpitbl,acpixtract} $RPM_BUILD_ROOT%{_sbindir}
48 install madt/madt $RPM_BUILD_ROOT%{_sbindir}
49
50 %clean
51 rm -rf $RPM_BUILD_ROOT
52
53 %files
54 %defattr(644,root,root,755)
55 %doc README README.madt
56 %attr(755,root,root) %{_sbindir}/*
This page took 0.060841 seconds and 3 git commands to generate.