diff --git a/.cvsignore b/.cvsignore deleted file mode 100644 index e69de29..0000000 diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..342aad3 --- /dev/null +++ b/.gitignore @@ -0,0 +1 @@ +crun-0.1.1.tar.gz diff --git a/Makefile b/Makefile deleted file mode 100644 index 6f0e9e3..0000000 --- a/Makefile +++ /dev/null @@ -1,21 +0,0 @@ -# Makefile for source rpm: crun -# $Id$ -NAME := crun -SPECFILE = $(firstword $(wildcard *.spec)) - -define find-makefile-common -for d in common ../common ../../common ; do if [ -f $$d/Makefile.common ] ; then if [ -f $$d/CVS/Root -a -w $$d/Makefile.common ] ; then cd $$d ; cvs -Q update ; fi ; echo "$$d/Makefile.common" ; break ; fi ; done -endef - -MAKEFILE_COMMON := $(shell $(find-makefile-common)) - -ifeq ($(MAKEFILE_COMMON),) -# attept a checkout -define checkout-makefile-common -test -f CVS/Root && { cvs -Q -d $$(cat CVS/Root) checkout common && echo "common/Makefile.common" ; } || { echo "ERROR: I can't figure out how to checkout the 'common' module." ; exit -1 ; } >&2 -endef - -MAKEFILE_COMMON := $(shell $(checkout-makefile-common)) -endif - -include $(MAKEFILE_COMMON) diff --git a/crun.spec b/crun.spec new file mode 100644 index 0000000..d3d5ab2 --- /dev/null +++ b/crun.spec @@ -0,0 +1,38 @@ +Name: crun +Version: 0.1.1 +Release: 1%{?dist} +Summary: Lightweight, easy to use, simpler cron-like tool + +Group: Applications/System +License: GPLv2+ +URL: http://code.google.com/p/koolkit/wiki/crun +Source0: http://koolkit.googlecode.com/files/%{name}-%{version}.tar.gz +BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) + +%description +crun is a light weight, easy to use, simpler cron like tool. +It Executes a given program, a specified number of times, after a specified +time interval. + +%prep +%setup -q + +%build +%configure +make %{?_smp_mflags} + +%install +rm -rf $RPM_BUILD_ROOT +make install DESTDIR=$RPM_BUILD_ROOT + +%clean +rm -rf $RPM_BUILD_ROOT + +%files +%defattr(-,root,root,-) +%doc AUTHORS ChangeLog COPYING NEWS README +%{_bindir}/crun + +%changelog +* Fri Dec 11 2009 Damien Durand 0.1.1-1 +- Initial release diff --git a/sources b/sources index e69de29..dfe7623 100644 --- a/sources +++ b/sources @@ -0,0 +1 @@ +0865cb80e85afc598cab2ec5b4820c15 crun-0.1.1.tar.gz