SPECS: ttyctrl.spec - pl fixes/unification, cleanups
qboosh
qboosh at pld-linux.org
Tue Jul 26 00:11:31 CEST 2005
Author: qboosh Date: Mon Jul 25 22:11:31 2005 GMT
Module: SPECS Tag: HEAD
---- Log message:
- pl fixes/unification, cleanups
---- Files affected:
SPECS:
ttyctrl.spec (1.2 -> 1.3)
---- Diffs:
================================================================
Index: SPECS/ttyctrl.spec
diff -u SPECS/ttyctrl.spec:1.2 SPECS/ttyctrl.spec:1.3
--- SPECS/ttyctrl.spec:1.2 Mon Jul 25 01:42:54 2005
+++ SPECS/ttyctrl.spec Tue Jul 26 00:11:26 2005
@@ -1,9 +1,7 @@
# $Revision$, $Date$
-#
-#
%define name_dash tty_ctrl
-Summary: -
-Summary(pl): -
+Summary: Executing commands through special serial line device
+Summary(pl): Wykonywanie poleceń poprzez specjalne urządzenie podłączone do portu szeregowego
Name: ttyctrl
Version: 2_00
Release: 0.1
@@ -12,27 +10,27 @@
Source0: http://dl.sourceforge.net/ttyctrl/tty_ctrl_%{version}.tgz
# Source0-md5: 7ba345323d89833b18a4fbb47f6086ff
Patch0: %{name}-makefile.patch
-URL: http://ttyctrl.sourceforge.net
+URL: http://ttyctrl.sourceforge.net/
#Obsoletes: cpanel
#from http://www.linux-magazin.de/ausgabe/2000/09/Seriell/seriell.html
BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
%description
-When running a server on linux without keyboard, mouse and monitor, it
+When running a server on Linux without keyboard, mouse and monitor, it
is sometimes necessary to excute administrative commands. Tty_ctrl
-offer's the opportunity to execute 7 sommands on such a computer.
+offers the opportunity to execute 7 sommands on such a computer.
Success or Errors while execution of the commands will be displayed
-via status led's. You'll need a free serial line, three resistors, 7
-buttons, three led's 6 diodes and of course a soldering pen to get
+via status LEDs. You'll need a free serial line, three resistors, 7
+buttons, three LEDs, 6 diodes and of course a soldering pen to get
this stuff together.
%description -l pl
-Gdy używasz serwera linuksowego bez klawiatury, myszki i monitora,
+Gdy używamy serwera linuksowego bez klawiatury, myszki i monitora,
czasem zachodzi potrzeba wydania poleceń administracyjnych. Tty_ctrl
-oferuje możliwość wykonania 7 komend na takim komputerze. Wyniki
-wykonania poleceń są sygnalizowane diodami LED. Będziesz potrzebował
-nie zajętego portu szeregowego, trzech oporników, siedmiu przycisków,
-3 LED, 6 diód i lutownicy aby to połączyć.
+oferuje możliwość wykonania 7 poleceń na takim komputerze. Wyniki
+wykonania poleceń są sygnalizowane diodami LED. Potrzebne są do tego:
+nie zajęty port szeregowy, trzy oporniki, siedem przycisków, 3 LED-y,
+6 diod i oczywiście lutownica, aby to wszystko połączyć.
%prep
%setup -q -n %{name_dash}_%{version}
@@ -43,41 +41,31 @@
%install
rm -rf $RPM_BUILD_ROOT
-install -d $RPM_BUILD_ROOT{/etc/{ttyctrl,rc.d/init.d},/sbin,%{_examplesdir}/%{name}}
+install -d $RPM_BUILD_ROOT{/etc/{ttyctrl,rc.d/init.d},/sbin,%{_examplesdir}/%{name}-%{version}}
-install tty_control $RPM_BUILD_ROOT/sbin
+install tty_control $RPM_BUILD_ROOT/sbin
install %{name_dash} $RPM_BUILD_ROOT%{_sysconfdir}/rc.d/init.d
-install etc_tty_ctrl/* $RPM_BUILD_ROOT%{_examplesdir}/%{name}
+install etc_tty_ctrl/* $RPM_BUILD_ROOT%{_examplesdir}/%{name}-%{version}
%clean
rm -rf $RPM_BUILD_ROOT
%post
-# XXX don't touch my hardware by default unitl I SAY SO:
-# /etc/rc.d/init.d/%{name_dash} start
-# XXX
+/sbin/chkconfig --add %{name}
%preun
if [ "$1" = "0" ]; then
- /etc/rc.d/init.d/%{name_dash} stop
- /sbin/chkconfig --del %{name}
+ /etc/rc.d/init.d/%{name_dash} stop
+ /sbin/chkconfig --del %{name}
fi
-
%files
%defattr(644,root,root,755)
-%doc info.txt readme
-
+%doc info.txt readme
%attr(755,root,root) /sbin/*
-
-%{_examplesdir}/%{name}
-
-# if _sysconfdir != /etc:
-#%%dir %{_sysconfdir}
+%{_examplesdir}/%{name}-%{version}
%config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/*
%config(noreplace) %verify(not md5 mtime size) /etc/ttyctrl
-
-# initscript and its config
%attr(754,root,root) /etc/rc.d/init.d/%{name_dash}
#%config(noreplace) %verify(not md5 mtime size) /etc/sysconfig/%{name_dash}
@@ -87,6 +75,9 @@
All persons listed below can be reached at <cvs_login>@pld-linux.org
$Log$
+Revision 1.3 2005/07/25 22:11:26 qboosh
+- pl fixes/unification, cleanups
+
Revision 1.2 2005/07/24 23:42:54 hunter
- licence
================================================================
---- CVS-web:
http://cvs.pld-linux.org/SPECS/ttyctrl.spec?r1=1.2&r2=1.3&f=u
More information about the pld-cvs-commit
mailing list