Name: kcollectd Version: 0.9 Release: 1%{?dist} Summary: Viewer for rrd datacollections that have been created by collectd Group: Applications/System License: GPLv3+ URL: http://www.forwiss.uni-passau.de/~berberic/Linux/kcollectd.html Source0: http://www.forwiss.uni-passau.de/~berberic/Linux/kcollectd/kcollectd-0.9.tar.gz Patch0: kcollectd-0.9-dtd.patch Patch1: kcollectd-0.9-rrdbasedir.patch BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) BuildRequires: cmake BuildRequires: qt4-devel >= 4.0.0 BuildRequires: kdelibs-devel >= 4.0.0 BuildRequires: boost-devel, rrdtool-devel #Requires: %description Kcollectd is a small application that allows you to view rrd datacollections that have been created by collectd. It is quite limited as it only displays one datasource at a time, but allows you to zoom and scroll around. It also has a status-monitor mode, where it automatically updates every 10 seconds. %prep %setup -q %patch0 -p1 -b .dtd %patch1 -p1 -b .rrdbasedir %build mkdir -p %{_target_platform} pushd %{_target_platform} %{cmake_kde4} -DCMAKE_SKIP_RPATH=true -DRRD_BASEDIR=/var/lib/collectd .. popd make %{?_smp_mflags} -C %{_target_platform} %install rm -rf $RPM_BUILD_ROOT make install/fast DESTDIR=$RPM_BUILD_ROOT -C %{_target_platform} %find_lang %{name} %clean rm -rf $RPM_BUILD_ROOT %files -f %{name}.lang %defattr(-,root,root,-) %doc COPYING %{_kde4_bindir}/* %{_kde4_datadir}/applications/kde4/* %{_kde4_docdir}/HTML/en/kcollectd %{_kde4_iconsdir}/oxygen/*/*/* %{_kde4_datadir}/mime/packages/kcollectd.xml %changelog * Sat Jan 29 2011 Charles R. Anderson - 0.9-1 - Initial Fedora package