SPECS/google-startup-scripts/google-startup-scripts.spec
f4d17450
 Summary:	Google Startup Scripts
 Name:		google-startup-scripts
 Version:	1.2.2
1e510285
 Release:	1%{?dist}
f4d17450
 License:	Apache License
 Group:		System Environment/Base
 URL:		https://github.com/GoogleCloudPlatform/compute-image-packages/
 Source0:	google-startup-scripts-%{version}.tar.gz
 Vendor:		VMware, Inc.
 Distribution:	Photon
 Provides:	google-startup-scripts
 BuildArch:	noarch
 Requires:  	python2
 
 %description
 Google provides a set of startup scripts that interact with the virtual machine environment.
 On boot, the startup script /usr/share/google/onboot queries the instance metadata
 for a user-provided startup script to run. User-provided startup scripts can be specified
 in the instance metadata under startup-script or, if the metadata is in a small script
 or a downloadable file, it can be specified via startup-script-url.
 
 %prep
 %setup -q
 
 %build
 
 %install
 rm -rf $RPM_BUILD_ROOT
 install -d $RPM_BUILD_ROOT
 cp -rpf * $RPM_BUILD_ROOT
 
 %clean
 rm -rf $RPM_BUILD_ROOT
 
 %files
 %defattr(-,root,root)
 /usr/*
 /lib/*
 /etc/*
 %exclude /README.md
 %exclude /LICENSE