]> git.pld-linux.org Git - packages/i8kutils.git/blame - i8kutils.spec
- tools need to be in bindir
[packages/i8kutils.git] / i8kutils.spec
CommitLineData
40db6017 1Summary: User-space programs for Dell Inspiron and Latitude laptops
5a37aa0b 2Summary(pl.UTF-8): Programy przestrzeni użytkownika dla laptopów Dell Inspiron i Latitude
ebf6d934 3Name: i8kutils
cc13fba7 4Version: 1.42
e34f700a 5Release: 1
ebf6d934 6License: GPL
40db6017 7Group: Applications/System
cc13fba7
AM
8Source0: https://launchpad.net/i8kutils/trunk/%{version}/+download/%{name}_%{version}.tar.xz
9# Source0-md5: 7470b2908b39a41e3f26b8b3398e189d
10Patch0: %{name}-build.patch
c2860241 11Source1: %{name}.init
94170c8a 12Source2: i8kbuttons.aumix
13Source3: i8kbuttons.conf
cc13fba7 14URL: https://launchpad.net/i8kutils
40db6017 15Requires: aumix
cc13fba7
AM
16Requires: tcl
17Requires: tk
18ExclusiveArch: %{ix86} %{x8664}
ebf6d934 19BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
ebf6d934
MC
20
21%description
40db6017
JB
22This package contains a user-space programs for accessing the SMM BIOS
23of Dell Inspiron and Latitude laptops. The SMM BIOS is used on many
ebf6d934
MC
24recent laptops to implement APM functionalities and to access custom
25hardware, for example the cooling fans and volume buttons.
26
c83694c9
JR
27%description -l pl.UTF-8
28Ten pakiet zawiera programy działające w przestrzeni użytkownika
29służące do dostępu do SMM BIOS-u laptopów Dell Inspiron i Latitude.
30SMM BIOS w nowych laptopach służy do implementowania funkcjonalności
31APM i dostępu do specyficznego sprzętu, na przykład wiatraczków
32chłodzących i przycisków głośności.
40db6017 33
ebf6d934 34%prep
cc13fba7
AM
35%setup -q -n %{name}
36%patch0 -p1
ebf6d934
MC
37
38%build
89b0c65f
JB
39%{__make} \
40 CC="%{__cc}" \
cc13fba7 41 CFLAGS="%{rpmcppflags} %{rpmcflags} -Wall"
ebf6d934
MC
42
43%install
44rm -rf $RPM_BUILD_ROOT
4ab196c2 45install -d $RPM_BUILD_ROOT%{_bindir}
2b9c6666 46install -d $RPM_BUILD_ROOT/etc/rc.d/init.d
ebf6d934 47install -d $RPM_BUILD_ROOT%{_mandir}/man1
40db6017 48
cc13fba7
AM
49cp -p i8kmon.conf $RPM_BUILD_ROOT%{_sysconfdir}
50cp -p %{SOURCE1} $RPM_BUILD_ROOT/etc/rc.d/init.d/%{name}
51cp -p %{SOURCE2} $RPM_BUILD_ROOT%{_bindir}
52cp -p %{SOURCE3} $RPM_BUILD_ROOT%{_sysconfdir}
53cp -p i8kctl.1 i8kmon.1 $RPM_BUILD_ROOT%{_mandir}/man1
40db6017 54
cc13fba7 55cp -p i8kctl i8kfan i8kmon probe_i8k_calls_time \
4ab196c2 56 $RPM_BUILD_ROOT%{_bindir}
40db6017
JB
57
58%clean
59rm -rf $RPM_BUILD_ROOT
ebf6d934
MC
60
61%post
62echo
63echo "Now modprobe i8k module."
64echo
65echo "Since than you'll be able to control fans and buttons."
66echo
67
ebf6d934
MC
68%files
69%defattr(644,root,root,755)
cc13fba7
AM
70%doc README.i8kutils TODO
71%config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/i8kbuttons.conf
72%config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/i8kmon.conf
2b9c6666 73%attr(754,root,root) /etc/rc.d/init.d/i8kutils
cc13fba7 74%attr(755,root,root) %{_bindir}/i8kbuttons.aumix
4ab196c2
AM
75%attr(755,root,root) %{_bindir}/i8kctl
76%attr(755,root,root) %{_bindir}/i8kfan
77%attr(755,root,root) %{_bindir}/i8kmon
78%attr(755,root,root) %{_bindir}/probe_i8k_calls_time
cc13fba7
AM
79%{_mandir}/man1/i8kctl.1*
80%{_mandir}/man1/i8kmon.1*
81
This page took 0.117116 seconds and 4 git commands to generate.