Compare commits

...
Sign in to create a new pull request.

4 commits

Author SHA1 Message Date
Fedora Release Engineering
d2b0e07151 dist-git conversion 2010-07-29 14:54:31 +00:00
Bill Nottingham
64a7e948d8 Fix typo that causes a failure to update the common directory. (releng
#2781)
2009-11-26 01:12:11 +00:00
Patrick Laughton
e20570220b - Add missing /var/run/vblade/
- License clarification
2007-08-22 19:09:38 +00:00
Bill Nottingham
72db697c63 Initialize branch F-7 for vblade 2007-05-18 10:53:59 +00:00
3 changed files with 8 additions and 23 deletions

View file

View file

@ -1,21 +0,0 @@
# Makefile for source rpm: vblade
# $Id$
NAME := vblade
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 $$/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)

View file

@ -1,10 +1,10 @@
Name: vblade
Version: 14
Release: 2%{?dist}
Release: 3%{?dist}
Summary: Virtual EtherDrive (R) blade daemon
Group: System Environment/Base
License: GPL
License: GPLv2
URL: http://sourceforge.net/projects/aoetools/
Source0: http://dl.sf.net/aoetools/%{name}-%{version}.tgz
Source1: %{name}.init
@ -41,6 +41,7 @@ make %{?_smp_mflags} CFLAGS="$RPM_OPT_FLAGS"
%install
rm -rf $RPM_BUILD_ROOT
make install DESTDIR=$RPM_BUILD_ROOT
mkdir -p $RPM_BUILD_ROOT/var/run/%{name}
install -D -m 755 %{SOURCE1} $RPM_BUILD_ROOT%{_initrddir}/%{name}
install -D -m 644 %{SOURCE2} $RPM_BUILD_ROOT%{_sysconfdir}/%{name}.conf
@ -67,6 +68,7 @@ fi
%defattr(-,root,root,-)
%doc COPYING HACKING NEWS README
%config(noreplace) %{_sysconfdir}/%{name}.conf
%dir /var/run/%{name}
%{_initrddir}/%{name}
%{_sbindir}/vblade
%{_sbindir}/vbladed
@ -74,6 +76,10 @@ fi
%changelog
* Wed Aug 22 2007 Patrick "Jima" Laughton <jima@beer.tclug.org> 14-3
- Add missing /var/run/vblade/
- License clarification
* Sat Apr 07 2007 Patrick "Jima" Laughton <jima@beer.tclug.org> 14-2
- Forced CFLAGS on build