shadow.spec 892 Bytes
Newer Older
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50
#
# Emulab clientside src rpm for Protogeni install.
#
%define debug_package %{nil}
%define _prefix       /usr/local

Summary:	Emulab Client Side for Protogeni Install.
Name:		emulab-protogeni
Version:	0.90
Release:	1
License:	LGPL
Group:		Applications/System
Source:		emulab-client-src.tar.gz

BuildRoot:	%{_tmppath}/%{name}-%{version}-%{release}-root
URL:		http://www.emulab.net
BuildRequires:  libtool
BuildRequires:	make
Provides:	emulab-protogeni
Prefix:		/usr

%description
Emulab Client side support for Emulab as Protogeni.

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

%build
%configure
make client

%install
rm -rf %{buildroot}
mkdir -p %{buildroot}
make DESTDIR=%{buildroot} shadow-install

%clean
rm -rf %{buildroot}

%files
%defattr(-,root,root)
%{_libexecdir}/*
%{_libdir}/*
%{_includedir}/pubsub/*
/etc/init.d/*
/etc/rc*.d/*
%if "%{_prefix}" == "/usr/local"
/etc/ld.so.conf.d/*
%endif