]> git.pld-linux.org Git - packages/acpitool.git/blob - acpitool.spec
95b7ce45b0b6ea3a61ed0ecd6e761455d3fd37e6
[packages/acpitool.git] / acpitool.spec
1 Summary:        AcpiTool - Linux ACPI client
2 Summary(pl.UTF-8):      AcpiTool - linuksowy klient ACPI
3 Name:           acpitool
4 Version:        0.5
5 Release:        1
6 License:        GPL v2
7 Group:          Applications
8 Source0:        http://freeunix.dyndns.org:8088/ftp_site/pub/unix/acpitool/%{name}-%{version}.tar.bz2
9 # Source0-md5:  c4acc19eb002d6871d12abb490593202
10 Patch0:         %{name}-gcc43.patch
11 URL:            http://freeunix.dyndns.org:8088/site2/acpitool.shtml
12 BuildRequires:  autoconf
13 BuildRequires:  automake
14 BuildRoot:      %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
15
16 %description
17 AcpiTool is (yet another) Linux ACPI client. It's a small command-line
18 application. Besides "basic" ACPI information like battery status, AC
19 presence, etc... Acpitool also supports various extensions for
20 Toshiba, Asus and IBM Thinkpad laptops, allowing you to change the LCD
21 brightness level, toggle fan on/off, and more.
22
23 %description -l pl.UTF-8
24 AcpiTool to (jeszcze jeden) linuksowy klient ACPI. Jest to mała
25 aplikacja działająca z linii poleceń. Oprócz "podstawowych" informacji
26 ACPI, takich jak stan baterii, obecność zasilania AC itp. obsługuje
27 także różne rozszerzenia dla laptopów Toshiby, Asusa i IBM Thinkpad,
28 pozwalające zmieniać poziom jasności LCD, włączać i wyłączać
29 wiatraczki itp.
30
31 %prep
32 %setup -q
33 %patch0 -p1
34
35 %build
36 %{__aclocal}
37 %{__autoconf}
38 %{__automake}
39 %configure
40 %{__make}
41
42 %install
43 rm -rf $RPM_BUILD_ROOT
44
45 %{__make} install \
46         DESTDIR=$RPM_BUILD_ROOT
47
48 %clean
49 rm -rf $RPM_BUILD_ROOT
50
51 %files
52 %defattr(644,root,root,755)
53 %doc AUTHORS ChangeLog NEWS README TODO
54 %attr(755,root,root) %{_bindir}/*
55 %{_mandir}/*/*
This page took 0.080149 seconds and 3 git commands to generate.