]> git.pld-linux.org Git - packages/pmtools.git/blob - pmtools.spec
31114fa6265663297c768b32b1e3f80b85a275f3
[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:        20070511
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:  92a2421ff3d2fb1983e455b12a99f296
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.068952 seconds and 2 git commands to generate.