rpms/bottlerocket/devel bottlerocket-makefile.patch, NONE, 1.1 bottlerocket.spec, NONE, 1.1 .cvsignore, 1.1, 1.2 sources, 1.1, 1.2

Sindre Pedersen Bjørdal (sindrepb) fedora-extras-commits at redhat.com
Mon Jun 4 19:14:47 UTC 2007


Author: sindrepb

Update of /cvs/extras/rpms/bottlerocket/devel
In directory cvs-int.fedora.redhat.com:/tmp/cvs-serv5650/devel

Modified Files:
	.cvsignore sources 
Added Files:
	bottlerocket-makefile.patch bottlerocket.spec 
Log Message:
Add bottlerocket


bottlerocket-makefile.patch:

--- NEW FILE bottlerocket-makefile.patch ---
--- bottlerocket-0.04c/Makefile.in.orig	2007-05-27 01:56:19.000000000 +0200
+++ bottlerocket-0.04c/Makefile.in	2007-05-27 01:59:21.000000000 +0200
@@ -3,6 +3,7 @@
 #  kit)
 #
 
+DESTDIR=
 srcdir = @srcdir@
 VPATH = @srcdir@
 top_srcdir = @top_srcdir@
@@ -49,8 +50,8 @@ br_cmd.o: ${srcdir}/br_cmd.c ${srcdir}/b
 	${CC} ${CFLAGS} ${DEFS} -c ${srcdir}/br_cmd.c
 
 install: br
-	${INSTALL} -d -m 755 ${bindir}
-	${INSTALL} -m 555 br ${bindir}
+	${INSTALL} -d -m 755 $(DESTDIR)${bindir}
+	${INSTALL} -m 755 br $(DESTDIR)${bindir}
 
 clean:
 	-rm -f *.o br


--- NEW FILE bottlerocket.spec ---
Name:           bottlerocket
Version:        0.04c
Release:        1%{?dist}
Summary:        Utilities to use the FireCracker X10 kit

Group:          Applications/System
License:        LGPL
URL:            http://www.linuxha.com/bottlerocket
Source0:        http://www.linuxha.com/bottlerocket/%{name}-%{version}.tar.gz
Patch0:         bottlerocket-makefile.patch
BuildRoot:      %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)


%description
BottleRocket is a command-line interface for Unix systems to use the
FireCracker kit. It is easy to use, has all of the major (non-gui)
functionality of the Windows interface, is easy to call from scripts and the
backend code is made to be easily linked into other programs.

%prep
%setup -q
%patch0 -p1

%build
%configure --with-x10port=/dev/ttyS0
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 README
%{_bindir}/*


%changelog
* Sat May 26 2007 Sindre Pedersen Bjørdal <foolish[AT]guezz.net> - 0.04c-1
- Initial build


Index: .cvsignore
===================================================================
RCS file: /cvs/extras/rpms/bottlerocket/devel/.cvsignore,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -r1.1 -r1.2
--- .cvsignore	4 Jun 2007 18:59:03 -0000	1.1
+++ .cvsignore	4 Jun 2007 19:14:04 -0000	1.2
@@ -0,0 +1 @@
+bottlerocket-0.04c.tar.gz


Index: sources
===================================================================
RCS file: /cvs/extras/rpms/bottlerocket/devel/sources,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -r1.1 -r1.2
--- sources	4 Jun 2007 18:59:03 -0000	1.1
+++ sources	4 Jun 2007 19:14:04 -0000	1.2
@@ -0,0 +1 @@
+07e0c84456a826143d30ed8aa98c5499  bottlerocket-0.04c.tar.gz




More information about the fedora-extras-commits mailing list