]> git.pld-linux.org Git - packages/pmtools.git/blob - pmtools.spec
- updated to 20061130
[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:        20061130
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:  e34ac3af8792d675319a36b4b0cb847f
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 %{__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
47 %install
48 rm -rf $RPM_BUILD_ROOT
49 install -d $RPM_BUILD_ROOT%{_sbindir}
50
51 install acpidump/{acpidump,acpitbl} $RPM_BUILD_ROOT%{_sbindir}
52 install acpixtract/acpixtract $RPM_BUILD_ROOT%{_sbindir}
53 install madt/madt $RPM_BUILD_ROOT%{_sbindir}
54
55 %clean
56 rm -rf $RPM_BUILD_ROOT
57
58 %files
59 %defattr(644,root,root,755)
60 %doc README README.madt
61 %attr(755,root,root) %{_sbindir}/*
This page took 0.069989 seconds and 4 git commands to generate.