- fnfx should be in /usr/bin, not in /usr/sbin
- rel 1

--- SPECS/fnfx.spec	2005-12-14 13:59:23.636645800 +0100
+++ SPECS/fnfx-shad.spec	2005-12-14 13:56:25.225768376 +0100
@@ -3,7 +3,7 @@
 Summary(pl):	Narzędzie do obsługi klawisza funkcyjnego w laptopach firmy Toshiba
 Name:		fnfx
 Version:	0.3
-Release:	0.1
+Release:	1
 License:	GPL v2
 Group:		Applications/System
 Source0:	http://dl.sourceforge.net/fnfx/%{name}-%{version}.tar.gz
@@ -43,9 +43,10 @@
 
 %install
 rm -rf $RPM_BUILD_ROOT
-install -d $RPM_BUILD_ROOT{%{_sbindir},/etc/rc.d/init.d,%{_sysconfdir}/fnfx}
+install -d $RPM_BUILD_ROOT{%{_sbindir},/etc/rc.d/init.d,%{_sysconfdir}/fnfx,%{_bindir}}
 
-install src/{fnfx,fnfxd} $RPM_BUILD_ROOT%{_sbindir}
+install src/fnfxd $RPM_BUILD_ROOT%{_sbindir}
+install src/fnfx $RPM_BUILD_ROOT%{_bindir}
 install etc/{fnfxd.conf,keymap} $RPM_BUILD_ROOT/etc/fnfx
 install %{SOURCE1} $RPM_BUILD_ROOT/etc/rc.d/init.d/fnfx
 
@@ -71,7 +72,8 @@
 %files
 %defattr(644,root,root,755)
 %doc AUTHORS ChangeLog README
-%attr(755,root,root) %{_sbindir}/*
+%attr(755,root,root) %{_sbindir}/fnfxd
+%attr(755,root,root) %{_bindir}/fnfx
 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/%{name}
 %attr(754,root,root)  /etc/rc.d/init.d/%{name}
 
_______________________________________________
pld-devel-pl mailing list
pld-devel-pl@lists.pld-linux.org
http://lists.pld-linux.org/mailman/listinfo/pld-devel-pl

Odpowiedź listem elektroniczym