]> git.pld-linux.org Git - packages/fnfx.git/commitdiff
- pl, some cleanups, dropped 2.5.x info from desc
authorJakub Bogusz <qboosh@pld-linux.org>
Tue, 12 Oct 2004 21:21:07 +0000 (21:21 +0000)
committercvs2git <feedback@pld-linux.org>
Sun, 24 Jun 2012 12:13:13 +0000 (12:13 +0000)
Changed files:
    fnfx.spec -> 1.5

fnfx.spec

index 878df758ad9e6cc43b220e35f35d04764d8029fa..cbdf166748912f9883fc8796ae419b04b168ef3c 100644 (file)
--- a/fnfx.spec
+++ b/fnfx.spec
@@ -1,25 +1,37 @@
+Summary:       Toshiba laptop function key utility
+Summary(pl):   Narzêdzie do obs³ugi klawisza funkcyjnego w laptopach firmy Toshiba
 Name:          fnfx
 Version:       0.2
 Release:       0.1
-Summary:       Toshiba laptop function key utility
 License:       GPL
-URL:           http://fnfx.sf.net
-Group:         System/Configuration/Hardware
-Source0:       http://dl.sourceforge.net/%{name}/%{name}-%{version}.tar.gz
+Group:         Applications/System
+Source0:       http://dl.sourceforge.net/fnfx/%{name}-%{version}.tar.gz
 # Source0-md5: fb0b2a9d6c5446a4615d907a572fd541
 Source1:       %{name}.init
-BuildRoot:     %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
+URL:           http://fnfx.sf.net/
 Requires(post,preun):   /sbin/chkconfig
+BuildRoot:     %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
 
 %description
 FnFX enables owners of Toshiba laptops to change the LCD brightness,
-control, the internal fan and use the special keys on their keyboard
+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).
+You will need at least a kernel (v2.4.x, v2.6.x) with ACPI and Toshiba
+support (CONFIG_ACPI and CONFIG_ACPI_TOSHIBA).
+
+%description -l pl
+FnFx pozwala posiadaczom laptopów firmy Toshiba na zmianê jasno¶ci
+wy¶wietlacza LCD, sterowanie wewnêtrznym wiatraczkiem i korzystanie z
+klawiszy specjalnych na klawiaturze (kombinacji Fn-x, skrótów
+klawiszowych). Wewnêtrzne funkcje daj± mo¿liwo¶æ mapowania kombinacji
+Fn-klawisz na funkcje takie jak zmiana g³o¶no¶ci, wyciszenie,
+suspend-to-disk, suspend-to-ram oraz prze³±czanie LCD/CRT/TV-out. Te
+funkcje w du¿ym stopniu s± zale¿ne od konfiguracji systemu i/lub
+j±dra. Potrzebne jest co najmniej j±dro (2.4.x, 2.6.x) z obs³ug± ACPI
+i Toshiby (CONFIG_ACPI i CONFIG_ACPI_TOSHIBA).
 
 %prep
 %setup -q
@@ -30,12 +42,11 @@ Toshiba support (CONFIG_ACPI and CONFIG_ACPI_TOSHIBA).
 
 %install
 rm -rf $RPM_BUILD_ROOT
-install -d $RPM_BUILD_ROOT{%{_sbindir},%{_initrddir}}
+install -d $RPM_BUILD_ROOT{%{_sbindir},/etc/rc.d/init.d}
 install -d $RPM_BUILD_ROOT/etc/fnfx
 install src/{fnfx,fnfxd} $RPM_BUILD_ROOT%{_sbindir}
 install etc/{fnfxd.conf,keymap} $RPM_BUILD_ROOT/etc/fnfx
-install %{SOURCE1} $RPM_BUILD_ROOT%{_initrddir}/fnfx
-
+install %{SOURCE1} $RPM_BUILD_ROOT/etc/rc.d/init.d/fnfx
 
 %clean
 rm -rf $RPM_BUILD_ROOT
@@ -58,10 +69,9 @@ fi
 
 %files
 %defattr(644,root,root,755)
-%attr(755,root,root) %{_sbindir}/%{name}
 %attr(755,root,root) %{_sbindir}/*
 %dir %{_sysconfdir}/%{name}
 %config(noreplace) %{_sysconfdir}/%{name}/*
-%attr(754,root,root)  %{_initrddir}/%{name}
+%attr(754,root,root)  /etc/rc.d/init.d/%{name}
 
 #%doc ChangeLog INSTALL AUTHORS README
This page took 0.081291 seconds and 4 git commands to generate.