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