Skip to content

Commit

Permalink
get source from github (#372)
Browse files Browse the repository at this point in the history
  • Loading branch information
crbaird committed Feb 23, 2017
1 parent dabcffc commit 743eb79
Show file tree
Hide file tree
Showing 5 changed files with 26 additions and 18 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -14,16 +14,16 @@
%{!?PROJ_DELIM: %global PROJ_DELIM -ohpc}

%define pname warewulf-cluster
%define dname cluster

Name: %{pname}%{PROJ_DELIM}
Summary: Tools used for clustering with Warewulf
Version: 3.7
Version: 3.7pre
Release: %{_rel}
License: US Dept. of Energy (BSD-like)
Group: %{PROJ_NAME}/provisioning
URL: http://warewulf.lbl.gov/
#Source0: http://warewulf.lbl.gov/downloads/releases/warewulf-cluster/warewulf-cluster-%{version}.tar.gz
Source0: http://build.openhpc.community/badge/warewulf-cluster-%{version}.tar.gz
Source0: https://github.com/crbaird/warewulf3/archive/v3.7pre.tar.gz#/warewulf3-3.7pre.tar.gz
Source1: OHPC_macros
ExclusiveOS: linux
Requires: warewulf-common%{PROJ_DELIM} warewulf-provision%{PROJ_DELIM} ntp
Expand Down Expand Up @@ -78,11 +78,12 @@ provisioned nodes.
%endif

%prep
%setup -n %{pname}-%{version}

%setup -n warewulf3-3.7pre
cd %{dname}
%patch1 -p1

%build
cd %{dname}
./autogen.sh
%configure
%{__make} %{?mflags}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,7 @@
%{!?PROJ_DELIM: %global PROJ_DELIM -ohpc}

%define pname warewulf-common
%define dname common

Name: %{pname}%{PROJ_DELIM}
Summary: A suite of tools for clustering
Expand All @@ -24,8 +25,7 @@ Release: %{_rel}%{?dist}
License: US Dept. of Energy (BSD-like)
Group: %{PROJ_NAME}/provisioning
URL: http://warewulf.lbl.gov/
#Source0: http://warewulf.lbl.gov/downloads/releases/warewulf-common/warewulf-common-%{version}.tar.gz
Source0: http://build.openhpc.community/badge/warewulf-common-%{version}.tar.gz
Source0: https://github.com/crbaird/warewulf3/archive/v3.7pre.tar.gz#/warewulf3-3.7pre.tar.gz
Source1: OHPC_macros
ExclusiveOS: linux
DocDir: %{OHPC_PUB}/doc/contrib
Expand Down Expand Up @@ -64,12 +64,14 @@ supporting libs.


%prep
%setup -q -n %{pname}-%{version}
%setup -q -n warewulf3-3.7pre
cd %{dname}
%patch1 -p1
%patch2 -p1


%build
cd %{dname}
./autogen.sh
%configure --localstatedir=%{wwpkgdir}
%{__make} %{?mflags}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,7 @@
%{!?PROJ_DELIM: %global PROJ_DELIM -ohpc}

%define pname warewulf-ipmi
%define dname ipmi
%define debug_package %{nil}
%define wwpkgdir /srv/warewulf

Expand All @@ -30,8 +31,7 @@ Release: %{_rel}%{?dist}
License: US Dept. of Energy (BSD-like)
Group: %{PROJ_NAME}/provisioning
URL: http://warewulf.lbl.gov/
#Source0: http://warewulf.lbl.gov/downloads/releases/warewulf-ipmi/warewulf-ipmi-%{version}.tar.gz
Source0: http://build.openhpc.community/badge/warewulf-ipmi-%{version}.tar.gz
Source0: https://github.com/crbaird/warewulf3/archive/v3.7pre.tar.gz#/warewulf3-3.7pre.tar.gz
Source1: OHPC_macros
Patch0: warewulf-ipmi-3.6-config_guess.patch
ExclusiveOS: linux
Expand All @@ -51,12 +51,14 @@ adding IPMI functionality.


%prep
%setup -n %{pname}-%{version}
%setup -n warewulf3-3.7pre
%ifarch aarch64
cd %{dname}
%patch0 -p1
%endif

%build
cd %{dname}
./autogen.sh
%configure --localstatedir=%{wwpkgdir}
%{__make} %{?mflags}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,7 @@
%define wwpkgdir /srv/warewulf

%define pname warewulf-provision
%define dname provision

Name: %{pname}%{PROJ_DELIM}
Summary: Warewulf - Provisioning Module
Expand All @@ -25,8 +26,7 @@ Release: %{_rel}%{?dist}
License: US Dept. of Energy (BSD-like)
Group: %{PROJ_NAME}/provisioning
URL: http://warewulf.lbl.gov/
#Source0: http://warewulf.lbl.gov/downloads/releases/warewulf-provision/warewulf-provision-%{version}.tar.gz
Source0: http://build.openhpc.community/badge/warewulf-provision-%{version}.tar.gz
Source0: https://github.com/crbaird/warewulf3/archive/v3.7pre.tar.gz#/warewulf3-3.7pre.tar.gz
Source1: OHPC_macros
ExclusiveOS: linux
Requires: warewulf-common%{PROJ_DELIM}
Expand Down Expand Up @@ -100,11 +100,13 @@ available the included GPL software.


%prep
%setup -q -n %{pname}-%{version}
%setup -q -n warewulf3-3.7pre
cd %{dname}
%patch1 -p1
%patch2 -p1

%build
cd %{dname}
./autogen.sh
%configure --localstatedir=%{wwpkgdir}
%{__make} %{?mflags}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,7 @@
%define debug_package %{nil}

%define pname warewulf-vnfs
%define dname vnfs

Summary: Warewulf VNFS Module
Name: %{pname}%{PROJ_DELIM}
Expand All @@ -24,8 +25,7 @@ Release: %{_rel}%{?dist}
License: US Dept. of Energy (BSD-like)
Group: %{PROJ_NAME}/provisioning
URL: http://warewulf.lbl.gov/
#Source: http://warewulf.lbl.gov/downloads/releases/warewulf-vnfs/warewulf-vnfs-%{version}.tar.gz
Source: http://build.openhpc.community/badge/warewulf-vnfs-%{version}.tar.gz
Source0: https://github.com/crbaird/warewulf3/archive/v3.7pre.tar.gz#/warewulf3-3.7pre.tar.gz
ExclusiveOS: linux
Requires: warewulf-common%{PROJ_DELIM}
Requires: pigz
Expand Down Expand Up @@ -53,15 +53,16 @@ Virtual Node FileSystem objects.


%prep
%setup -n %{pname}-%{version}
%setup -n warewulf3-3.7pre

# OpenHPC patches

cd %{dname}
%patch1 -p1
%patch2 -p1


%build
cd %{dname}
./autogen.sh
%configure
%{__make} %{?mflags}
Expand Down

0 comments on commit 743eb79

Please sign in to comment.