Group :: System/Kernel and hardware
RPM: lcdproc
Main Changelog Spec Patches Sources Download Gear Bugs and FR Repocop
Name: lcdproc
Summary: Daemon capable of showing info on LCD displays
Group: System/Kernel and hardware
Version: 0.5.2
Release: alt1
License: GPL
Url: http://lcdproc.omnipotent.net
Source: %name-%version.tar
Source1: lcdd.init
Patch: snprintf-GPL.diff
Patch1: lcdproc-0.5.2-alt1.patch
Patch2: lcdproc-add-serdisplib.diff
BuildRequires: liblirc-devel libncurses-devel
%description
LCDproc is a piece of software that displays real-time system
information from your Linux/*BSD box on a LCD.
%prep
%setup -q
%patch -p1
%patch1 -p1
%patch2 -p1
subst "s#\(DriverPath\)=.*#\1=%_libdir/lcdproc/#" LCDd.conf
%build
autoreconf
%configure --enable-libusb --enable-stat-nfs --enable-lcdproc-menus --enable-stat-smbfs --enable-drivers=all
%make_build
%install
%makeinstall
# init script
mkdir -p %buildroot%_initdir
install -c -m 0755 %SOURCE1 %buildroot%_initdir/%name
%post
%post_service %name
%preun
%preun_service %name
%files
%doc %_mandir/man?/*.*
%_bindir/*
%exclude %_bindir/lcdmetar.pl
%_sbindir/*
%_libdir/lcdproc
%config %_sysconfdir/*.conf
%_initdir/*
%changelog
…
Full changelog you can see here
Summary: Daemon capable of showing info on LCD displays
Group: System/Kernel and hardware
Version: 0.5.2
Release: alt1
License: GPL
Url: http://lcdproc.omnipotent.net
Source: %name-%version.tar
Source1: lcdd.init
Patch: snprintf-GPL.diff
Patch1: lcdproc-0.5.2-alt1.patch
Patch2: lcdproc-add-serdisplib.diff
BuildRequires: liblirc-devel libncurses-devel
%description
LCDproc is a piece of software that displays real-time system
information from your Linux/*BSD box on a LCD.
%prep
%setup -q
%patch -p1
%patch1 -p1
%patch2 -p1
subst "s#\(DriverPath\)=.*#\1=%_libdir/lcdproc/#" LCDd.conf
%build
autoreconf
%configure --enable-libusb --enable-stat-nfs --enable-lcdproc-menus --enable-stat-smbfs --enable-drivers=all
%make_build
%install
%makeinstall
# init script
mkdir -p %buildroot%_initdir
install -c -m 0755 %SOURCE1 %buildroot%_initdir/%name
%post
%post_service %name
%preun
%preun_service %name
%files
%doc %_mandir/man?/*.*
%_bindir/*
%exclude %_bindir/lcdmetar.pl
%_sbindir/*
%_libdir/lcdproc
%config %_sysconfdir/*.conf
%_initdir/*
%changelog
…
Full changelog you can see here