Summary: linux LCD display driver Name: lcdproc Version: 0.5.0 Release: 1 #Epoch: 1 License: GPL Group: System Environment/Daemons Source0: %{name}-%{version}.tar.gz Patch0: Xecuter.diff URL: http://www.lcdproc.org/ BuildRoot: %{_tmppath}/%{name}-root %description LCDproc is a piece of software that displays real-time system information from your Linux/*BSD box on a LCD. This includes the patch for the Xecuter LCD %prep %setup -q %patch0 -p1 %build sh autogen.sh %configure --enable-drivers=hd44780 make %install rm -rf %{buildroot} %makeinstall mkdir -p %{buildroot}/%{_sysconfdir}/rc.d/init.d cp scripts/init-LCDd.rpm %{buildroot}/%{_sysconfdir}/rc.d/init.d/LCDd chmod +x %{buildroot}/%{_sysconfdir}/rc.d/init.d/LCDd cp scripts/init-lcdproc.rpm %{buildroot}/%{_sysconfdir}/rc.d/init.d/lcdproc chmod +x %{buildroot}/%{_sysconfdir}/rc.d/init.d/lcdproc # mkdir -p %{buildroot}/%{_sysconfdir}/%{name} cp LCDd.conf %{buildroot}/%{_sysconfdir}/ # cp scripts/lcdproc.conf %{buildroot}/%{_sysconfdir}/%{name}/ rm -f %{buildroot}/%{_bindir}/lcdmetar.pl %clean rm -rf %{buildroot} %post if [ $1 = 1 ]; then /sbin/chkconfig --add LCDd /sbin/chkconfig --add lcdproc fi %files %defattr(-, root, root) %doc COPYING ChangeLog INSTALL README README.IRman TODO %config(noreplace) %{_sysconfdir}/* %{_sysconfdir}/rc.d/init.d/* %{_bindir}/* %{_sbindir}/* %{_mandir}/man1/* %{_mandir}/man8/* %{_libdir}/lcdproc/* %changelog * Mon Sep 25 2006 Raymond Munian - Initial RPM release.