SPECS: tclkeymon.spec (NEW) - init, NFY, TODO init rc-script

wolvverine wolvverine at pld-linux.org
Sun Aug 13 23:49:18 CEST 2006


Author: wolvverine                   Date: Sun Aug 13 21:49:18 2006 GMT
Module: SPECS                         Tag: HEAD
---- Log message:
- init, NFY, TODO init rc-script

---- Files affected:
SPECS:
   tclkeymon.spec (NONE -> 1.1)  (NEW)

---- Diffs:

================================================================
Index: SPECS/tclkeymon.spec
diff -u /dev/null SPECS/tclkeymon.spec:1.1
--- /dev/null	Sun Aug 13 23:49:18 2006
+++ SPECS/tclkeymon.spec	Sun Aug 13 23:49:13 2006
@@ -0,0 +1,69 @@
+# $Revision$, $Date$
+Summary:	Tclkeymon - Monitor the Toshiba keys, and respond appropriately.
+Name:		tclkeymon
+Version:	0.51
+Release:	0.1
+License:	GPL
+Group:		Applications
+Source0:	http://dl.sourceforge.net/sourceforge/%{name}/%{name}-%{version}.tar.gz
+# Source0-md5:	ce72637faa6084bdaf8a8aef5701b675
+URL:		-
+BuildRequires:	rpmbuild(macros) >= 1.228
+Requires(post,preun):	/sbin/chkconfig
+BuildArch:	noarch
+BuildRoot:	%{tmpdir}/%{name}-%{version}-root-%(id -u -n)
+
+%description
+Tclkeymon is a demon, writen in TCL, for Toshiba laptops that use ACPI
+and the Toshiba-ACPI extensions. It monitors function keys and Toshiba
+specific buttons (including the CD-player buttons, and the state of
+the laptop lid), and responds appropriately.
+
+%description -l pl
+
+%prep
+%setup -q 
+#%patch0 -p1
+
+%install
+rm -rf $RPM_BUILD_ROOT
+install -d $RPM_BUILD_ROOT
+install -d $RPM_BUILD_ROOT{%{_sysconfdir},%{_bindir}}
+
+install etc/*  $RPM_BUILD_ROOT%{_sysconfdir}
+install *tclkeymon*	$RPM_BUILD_ROOT%{_bindir}
+
+%clean
+rm -rf $RPM_BUILD_ROOT
+
+%post 
+/sbin/chkconfig --add %{name}
+%service %{name} restart
+
+%preun 
+if [ "$1" = "0" ]; then
+	%service -q %{name} stop
+	/sbin/chkconfig --del %{name}
+fi
+
+
+%files
+%defattr(644,root,root,755)
+%doc HISTORY Changelog README TODO
+
+%config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/*
+%attr(755,root,root) %{_bindir}/*
+%attr(754,root,root) /etc/rc.d/init.d/%{name}
+
+%config(noreplace) %verify(not md5 mtime size) /etc/sysconfig/%{name}
+
+%define date	%(echo `LC_ALL="C" date +"%a %b %d %Y"`)
+%changelog
+* %{date} PLD Team <feedback at pld-linux.org>
+All persons listed below can be reached at <cvs_login>@pld-linux.org
+
+$Log$
+Revision 1.1  2006/08/13 21:49:13  wolvverine
+- init, NFY, TODO init rc-script
+
+
================================================================


More information about the pld-cvs-commit mailing list