Compare commits
3 commits
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
0dcf06eba8 | ||
|
|
5937a55e19 | ||
|
|
8c5ff58571 |
5 changed files with 40 additions and 21 deletions
1
.gitignore
vendored
Normal file
1
.gitignore
vendored
Normal file
|
|
@ -0,0 +1 @@
|
|||
crun-0.1.1.tar.gz
|
||||
21
Makefile
21
Makefile
|
|
@ -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)
|
||||
38
crun.spec
Normal file
38
crun.spec
Normal file
|
|
@ -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 <splinux@fedoraproject.org> 0.1.1-1
|
||||
- Initial release
|
||||
1
sources
1
sources
|
|
@ -0,0 +1 @@
|
|||
0865cb80e85afc598cab2ec5b4820c15 crun-0.1.1.tar.gz
|
||||
Loading…
Add table
Add a link
Reference in a new issue