]> git.pld-linux.org Git - packages/pmtools.git/blob - pmtools.spec
- updated to 20070714
[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:        20070714
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:  7df1d339a65078b9c2e209979c3aed00
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
33
34 mv -f madt/README README.madt
35
36 %build
37 %{__make} -C acpidump \
38         CC="%{__cc}" \
39         CFLAGS="%{rpmcflags} -Wall -W -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 $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.070378 seconds and 3 git commands to generate.