Search
j0ke.net Open Build Service
>
Projects
>
home:netmax
>
uptimed
> uptimed.spec
Sign Up
|
Log In
Username
Password
Cancel
Overview
Repositories
Revisions
Requests
Users
Advanced
Attributes
Meta
File uptimed.spec of Package uptimed (Revision 8)
Currently displaying revision
8
,
show latest
Summary: A daemon to record and keep track of system uptimes Name: uptimed Version: 0.3.16 Release: 1 License: GPL Group: System Environment/Daemons Source: %{name}-%{version}.tar.bz2 URL: http://podgorny.cz/moin/Uptimed Patch0: %{name}.diff BuildRoot: %{_tmppath}/%{name}-buildroot Packager: Carsten Schoene <cs@linux-administrator.com> Vendor: linux-administrator.com Provides: libuptimed.0 BuildRequires: glibc-devel libgcc gcc gcc-c++ %description Uptimed is an uptime record daemon keeping track of the highest uptimes the system ever had. Instead of using a pid file to keep sessions apart from each other, it uses the system boot time. Uptimed has the ability to inform you of records and milestones though syslog and e-mail, and comes with a console front end to parse the records, which can also easily be used to show your records on your Web page %prep %setup -q %patch0 %build ##autoconf %configure %__make RPM_OPT_FLAGS="$RPM_OPT_FLAGS" %install rm -rf "$RPM_BUILD_ROOT" %__make DESTDIR="$RPM_BUILD_ROOT" install install -m 755 -d $RPM_BUILD_ROOT/%_docdir/%{name}/sample-cgi install -m 644 sample-cgi/uprecords.* $RPM_BUILD_ROOT/%_docdir/%{name}/sample-cgi install -m 755 -d $RPM_BUILD_ROOT/etc/init.d install -m 755 etc/rc.uptimed $RPM_BUILD_ROOT/etc/init.d/uptimed install -m 755 boot.uptimed $RPM_BUILD_ROOT/etc/init.d/boot.uptimed install -m 755 -d $RPM_BUILD_ROOT/var/spool/uptimed mv $RPM_BUILD_ROOT/etc/uptimed.conf-dist $RPM_BUILD_ROOT/etc/uptimed.conf rm -rf $RPM_BUILD_ROOT/usr/share/doc/packages/uptimed-%{version} %post /sbin/ldconfig /sbin/chkconfig --add boot.uptimed /sbin/chkconfig --add uptimed %postun /sbin/ldconfig %preun /sbin/chkconfig --del uptimed /sbin/chkconfig --del boot.uptimed %clean rm -rf "$RPM_BUILD_ROOT" %files %defattr(-,root,root) %{_defaultdocdir}/%{name}/* %{_defaultdocdir}/%{name}/sample-cgi/* %config(noreplace) /etc/uptimed.conf %config /etc/init.d/uptimed %config /etc/init.d/boot.uptimed %{_sbindir}/uptimed %{_bindir}/uprecords %{_mandir}/*/* %{_libdir}/libuptimed.* %dir /var/spool/uptimed %changelog * Fri Jan 02 2009 Carsten Schoene <cs@linux-administrator.com> - update to release 0.3.16 * Thu Dec 18 2008 Carsten Schoene <cs@linux-administrator.com> - update to release 0.3.13 * Thu Nov 01 2007 Carsten Schoene <cs@linux-administrator.com> - version bump to 0.3.12 * Sun Jan 07 2007 Carsten Schoene <cs@linux-administrator.com> - version bump to 0.3.9 * Sun Mar 05 2006 Carsten Schoene <cs@linux-administrator.com> - version bump to 0.3.7 * Mon Oct 17 2005 Carsten Schoene <cs@linux-administrator.com> - rebuild for SuSE 10.0 * Sat Apr 09 2005 Carsten Schoene <cs@linux-administrator.com> - rebuild for SuSE9.3 * Wed Oct 27 2004 Carsten Schoene <cs@linux-administrator.com> - rebuild for SuSE 9.2, fixed uptimed init script - added INFO header without it segfaults insserv * Sun Jun 20 2004 Carsten Schoene <cs@linux-administrator.com> - version bump to 0.3.3 for SuSE 9.1 * Fri May 04 2004 Carsten Schoene <cs@linux-administrator.com> - version bump to 0.3.2 for SuSE 9.1 * Mon May 04 2004 Carsten Schoene <cs@linux-administrator.com> - Changed .spec for SuSE 9.1 RPM * Fri Jan 30 2004 Carsten Schoene <cs@linux-administrator.com> - Changed .spec for SuSE 9.0 RPM - Added patch which creates init script for boot id creation * Tue May 14 2002 Brett Pemberton <generica@email.com> - Reset release to 0 for uptimed-2.0 - Change source location * Sat Mar 16 2002 Brett Pemberton <generica@email.com> - Add /etc/rc.d/init.d/uptimed - Use chkconfig * Wed Mar 13 2002 Brett Pemberton <generica@email.com> - Automate rc.{sysinit,local} add/remove - Warn if rc.{sysinit,local} not found * Fri Dec 21 2001 Brett Pemberton <generica@email.com> - Handle sample-cgi dir properly - Install uptimed.conf properly - Install /var/spool/uptimed - Warn user to finish configuring * Thu Dec 20 2001 Brett Pemberton <generica@email.com> - Initial spec-file