]> git.pld-linux.org Git - packages/i8kutils.git/blob - i8kutils.spec
- rel 0.3
[packages/i8kutils.git] / i8kutils.spec
1 Summary:        User-space programs for Dell Inspiron and Latitude laptops
2 Summary(pl):    Programy przestrzeni u¿ytkownika dla laptopów Dell Inspiron i Latitude
3 Name:           i8kutils
4 Version:        1.25
5 Release:        0.3
6 License:        GPL
7 Group:          Applications/System
8 Source0:        http://people.debian.org/~dz/i8k/%{name}_%{version}.tar.gz
9 # Source0-md5:  50c03dde689c5709406118a7c6c120db
10 Source1:        %{name}.init
11 Source2:        i8kbuttons.aumix
12 Source3:        i8kbuttons.conf
13 URL:            http://people.debian.org/~dz/i8k/
14 Requires:       aumix
15 Requires:       tcl 
16 Requires:       tk 
17 BuildRoot:      %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
18
19 %description
20 This package contains a user-space programs for accessing the SMM BIOS
21 of Dell Inspiron and Latitude laptops. The SMM BIOS is used on many
22 recent laptops to implement APM functionalities and to access custom
23 hardware, for example the cooling fans and volume buttons.
24
25 %description -l pl
26 Ten pakiet zawiera programy dzia³aj±ce w przestrzeni u¿ytkownika
27 s³u¿±ce do dostêpu do SMM BIOS-u laptopów Dell Inspiron i Latitude.
28 SMM BIOS w nowych laptopach s³u¿y do implementowania funkcjonalno¶ci
29 APM i dostêpu do specyficznego sprzêtu, na przyk³ad wiatraczków
30 ch³odz±cych i przycisków g³o¶no¶ci.
31
32 %prep
33 %setup -q
34
35 %build
36 %{__make} \
37         CC="%{__cc}" \
38         CFLAGS="%{rpmcflags} -Wall"
39
40 %install
41 rm -rf $RPM_BUILD_ROOT
42 install -d $RPM_BUILD_ROOT%{_bindir}
43 install -d $RPM_BUILD_ROOT/etc/rc.d/init.d
44 install -d $RPM_BUILD_ROOT%{_mandir}/man1
45
46 install i8kmon.conf $RPM_BUILD_ROOT%{_sysconfdir}
47 install %{SOURCE1} $RPM_BUILD_ROOT/etc/rc.d/init.d/%{name}
48 install %{SOURCE2} $RPM_BUILD_ROOT%{_bindir}
49 install %{SOURCE3} $RPM_BUILD_ROOT%{_sysconfdir}
50 install i8kbuttons.1 i8kctl.1 i8kmon.1 $RPM_BUILD_ROOT%{_mandir}/man1
51
52 %{__make} install \
53         DESTDIR=$RPM_BUILD_ROOT 
54
55 %clean
56 rm -rf $RPM_BUILD_ROOT
57
58 %post
59 echo
60 echo "Now modprobe i8k module."
61 echo
62 echo "Since than you'll be able to control fans and buttons."
63 echo
64
65 %files
66 %defattr(644,root,root,755)
67 %doc README.i8kutils examples
68 %config(noreplace) %verify(not size mtime md5) %{_sysconfdir}/*.conf
69 %attr(754,root,root) /etc/rc.d/init.d/i8kutils
70 %attr(755,root,root) %{_bindir}/*
71 %{_mandir}/man*/*
This page took 0.0489039999999999 seconds and 3 git commands to generate.