Sophie

Sophie

distrib > Mandriva > current > i586 > media > contrib-release-src > by-pkgid > b9d367af52e0e685d4db54efd6b3aa41 > files > 3

fnfx-0.3-5mdv2010.0.src.rpm

%define name	fnfx
%define ver 	0.3
%define rel	%mkrel 5

Name:		%{name}
Version:	%{ver}
Release:	%{rel}
Summary:	Toshiba laptop function key utility
License:	GPL
URL:		http://fnfx.sf.net
Group:		System/Configuration/Hardware
Source:		%{name}-%{version}.tar.bz2
Source1:	%{name}.init
BuildRoot:	%{_tmppath}/%{name}-%{version}-root
Requires(pre):	rpm-helper
Requires(post):	rpm-helper

%description
FnFX enables owners of Toshiba laptops to change the LCD brightness,
control, the internal fan and use the special keys on their keyboard
(Fn-x combinations, hot-keys). The internal functions will give the
possibility to map the Fn-Keys to functions like volume up/down, mute,
suspend to disk, suspend to ram and switch LCD/CRT/TV-out. These
functions heavily depend on the system and/or kernel configuration.
You will need at least a kernel (v2.4.x, v2.5.x, v2.6.x) with ACPI and
Toshiba support (CONFIG_ACPI and CONFIG_ACPI_TOSHIBA).

%prep
%setup -q

%build
%configure
%make

%install
rm -Rf %{buildroot}
%makeinstall_std

mkdir -p %{buildroot}/%{_initrddir}
install %{SOURCE1} %{buildroot}/%{_initrddir}/%{name}

%clean
rm -Rf %{buildroot}

%post
%_post_service %{name}

%preun
%_preun_service %{name}

%files
%defattr(-,root,root)
%{_bindir}/%{name}
%{_sbindir}/*
%dir %{_sysconfdir}/%{name}
%config(noreplace) %{_sysconfdir}/%{name}/*
%config(noreplace) %{_initrddir}/%{name}

%doc ChangeLog INSTALL AUTHORS README



%changelog
* Thu Sep 03 2009 Thierry Vignaud <tvignaud@mandriva.com> 0.3-5mdv2010.0
+ Revision: 428824
- rebuild

* Thu Jul 24 2008 Thierry Vignaud <tvignaud@mandriva.com> 0.3-4mdv2009.0
+ Revision: 245245
- rebuild

* Wed Jan 02 2008 Olivier Blin <oblin@mandriva.com> 0.3-2mdv2008.1
+ Revision: 140730
- restore BuildRoot

  + Thierry Vignaud <tvignaud@mandriva.com>
    - kill re-definition of %%buildroot on Pixel's request

* Thu Aug 23 2007 Thierry Vignaud <tvignaud@mandriva.com> 0.3-2mdv2008.0
+ Revision: 70235
- use %%mkrel


* Thu Nov 25 2004 Buchan Milne <bgmilne@linux-mandrake.com> 0.3-1mdk
- 0.3

* Mon Mar 01 2004 Buchan Milne <bgmilne@linux-mandrake.com> 0.2-2mdk
- fix typo in init script

* Tue Jan 13 2004 Buchan Milne <bgmilne@linux-mandrake.com> 0.2-1mdk
- First Mandrake package