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