Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
home:jproseve:cloud
suse-ec2-tools
suse-ec2-tools.spec
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File suse-ec2-tools.spec of Package suse-ec2-tools
# # spec file for package suse-ec2-tools (Version 1.0) # # Copyright (c) 2008 Novell Canada Ltd, Ottawa, Ontario, Canada. # This file and all modifications and additions to the pristine # package are under the same license as the package itself. # # Please submit bugfixes or comments via http://bugs.opensuse.org/ # # norootforbuild %define service amazon %define svnrev "$Rev: 836 $" %define rev %(echo "%svnrev" | sed -e 's/.*://;s/\$//') Name: suse-ec2-tools License: GPLv2 Group: Productivity/Networking/System Version: 1.4.2 Release: %rev Summary: Tools for running openSUSE on Amazon EC2 BuildRoot: %{_tmppath}/%{name}-%{version}-build Source: %{name}-%{version}.tar.gz BuildArch: noarch # We want a highly compatible package, so gzip the payload %define _binary_payload w9.gzdio Requires: coreutils sed bash grep util-linux Recommends: zypper rpm curl ruby tar unzip bzip2 gzip module-init-tools Recommends: file %if 0%{suse_version} Prereq: %insserv_prereq %fillup_prereq %endif %description These tools allow openSUSE to run on Amazon EC2 Authors: -------- Peter Bowen <pzb@novell.com> Marcus Schaefer <ms@novell.com> Amazon EC2 Team %prep %setup %build %install %makeinstall %if 0%{suse_version} mkdir -p "$RPM_BUILD_ROOT%{_sbindir}" ln -sf /etc/init.d/%{service} $RPM_BUILD_ROOT%{_sbindir}/rc%{service} mkdir -p "$RPM_BUILD_ROOT/var/adm/fillup-templates" mv "$RPM_BUILD_ROOT/etc/sysconfig/%{service}" "$RPM_BUILD_ROOT/var/adm/fillup-templates/sysconfig.%{service}" %endif %clean rm -rf $RPM_BUILD_ROOT %post if [ -x /sbin/mkinitrd_setup ]; then /sbin/mkinitrd_setup fi %if 0%{suse_version} %fillup_and_insserv %{service} %else /sbin/chkconfig --add %{service} %endif %preun %if 0%{suse_version} %stop_on_removal %endif %postun %if 0%{suse_version} %insserv_cleanup %endif if [ -x /sbin/mkinitrd_setup ]; then /sbin/mkinitrd_setup fi %files %defattr(-,root,root) %{_sysconfdir}/ec2 %{_initrddir}/* /lib/mkinitrd/*.sh /lib/mkinitrd/scripts/* %{_sbindir}/* %{_datadir}/suse-ec2 %if 0%{suse_version} /var/adm/fillup-templates/sysconfig.%{service} %else %config(noreplace) %{_sysconfdir}/sysconfig/%{service} %endif %changelog * Sat Oct 4 2008 pzb@novell.com - Use svn export to create the release tarball - Add requirements, various bugfixes * Sat Sep 27 2008 pzb@novell.com - 1.4.1, adds support for SLES10 * Wed Sep 10 2008 pzb@novell.com - 1.4, including many fixes and enhancements - New sysconfig script included with some configuration options - Lots of if suse_version checks to make a compliant openSUSE package * Fri Aug 29 2008 pzb@novell.com - New package
Locations
Projects
Search
Status Monitor
Help
OpenBuildService.org
Documentation
API Documentation
Code of Conduct
Contact
Support
@OBShq
Terms
openSUSE Build Service is sponsored by
The Open Build Service is an
openSUSE project
.
Sign Up
Log In
Places
Places
All Projects
Status Monitor