David Huff 239278
%{!?python_sitelib: %define python_sitelib %(%{__python} -c "import distutils.sysconfig as d; print d.get_python_lib()")}
David Huff 239278
David Huff 239278
%define debug_package %{nil}
David Huff 239278
David Huff 239278
Summary: Tools for building Appliances
David Huff 239278
Name: appliance-tools
David Huff 7ddc49
Version: 004
David Huff 7ddc49
Release: 1%{?dist}
David Huff 239278
License: GPLv2
David Huff 239278
Group: System Environment/Base
David Huff 832ff4
URL: http://git.et.redhat.com/?p=act.git
David Huff 7ddc49
# The source for this package was pulled from upstream's vcs.  Use the
David Huff 7ddc49
# following commands to generate the tarball:
David Huff 7ddc49
#  git clone git://git.et.redhat.com/act.git; cd act 
David Huff 7ddc49
#  git archive --format=tar --prefix=appliance-tools-%{version} appliance-tools-%{version} | bzip2 > appliance-tools-%{version}.tar.bz2
David Huff 239278
Source0: %{name}-%{version}.tar.bz2
David Huff 239278
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root
David Huff fff17a
Requires: livecd-tools >= 018 curl rsync kpartx
David Huff fff17a
Requires: zlib
David Huff 7ddc49
Requires: qemu-img
David Huff 239278
BuildRequires: python
David Huff 239278
BuildArch: noarch
David Huff 7ddc49
ExclusiveArch: %{ix86} x86_64 ppc alpha sparc armv4l noarch
David Huff 239278
David Huff 239278
David Huff 239278
%description
David Huff 239278
Tools for generating appliance images on Fedora based systems including
David Huff 239278
derived distributions such as RHEL, CentOS and others. See
David Huff 239278
http://thincrust.net for more details.
David Huff 239278
David Huff 239278
%prep
David Huff 832ff4
%setup -q
David Huff 239278
David Huff 239278
%build
David Huff 239278
make
David Huff 239278
David Huff 239278
%install
David Huff 239278
rm -rf $RPM_BUILD_ROOT
David Huff 239278
make install DESTDIR=$RPM_BUILD_ROOT
David Huff 239278
David Huff 239278
%clean
David Huff 239278
rm -rf $RPM_BUILD_ROOT
David Huff 239278
David Huff 239278
%files
David Huff 239278
%defattr(-,root,root,-)
David Huff fff17a
%doc README COPYING
David Huff fff17a
%doc config/fedora-aos.ks
David Huff fff17a
%{_mandir}/man*/*
David Huff 239278
%{_bindir}/appliance-creator
David Huff fff17a
%{_bindir}/image-minimizer
David Huff fff17a
%{_bindir}/ec2-converter
David Huff 239278
%dir %{python_sitelib}/appcreate
David Huff fff17a
%dir %{python_sitelib}/ec2convert
David Huff 239278
%{python_sitelib}/appcreate/*.py
David Huff 239278
%{python_sitelib}/appcreate/*.pyo
David Huff 239278
%{python_sitelib}/appcreate/*.pyc
David Huff fff17a
%{python_sitelib}/ec2convert/*.py
David Huff fff17a
%{python_sitelib}/ec2convert/*.pyo
David Huff fff17a
%{python_sitelib}/ec2convert/*.pyc
David Huff 239278
David Huff 239278
%changelog
David Huff 7ddc49
*Mon Dec 01 2008 David Huff <dhuff@redhat.com> - 004
David Huff 7ddc49
- bumped version for rebuild for Python 2.6
David Huff 7ddc49
- Allow the user to pass in --version and --release command line paramneters (bkearney)
David Huff 7ddc49
- Patches to integrate ec2 conversion into the adk (bkeareny)
David Huff 7ddc49
- Allow the appliance-creator to use remote urls with the new image tools (bkearney)
David Huff 7ddc49
David Huff 7ddc49
*Fri Nov 14 2008 David Huff <dhuff@redhat.com> - 003.9
David Huff 7ddc49
- Fixed bug in globbing files under a directory (pmyers)
David Huff 7ddc49
David Huff 7ddc49
*Fri Nov 14 2008 David Huff <dhuff@redhat.com> - 003.8
David Huff 7ddc49
- Fixed bug that causes appliance-creator to stacktrace when -i is omitted (pmyers)
David Huff 7ddc49
David Huff 7ddc49
*Wed Nov 12 2008 David Huff <dhuff@redhat.com> - 003.7
David Huff 7ddc49
- Fixed problem with -i only taking one file, now can include a dir
David Huff 7ddc49
- Fixed versioning of source file, ie. 003.7
David Huff 7ddc49
David Huff 7ddc49
*Mon Nov 10 2008 David Huff <dhuff@redhat.com> - 003-6
David Huff 7ddc49
- Fixed broken dependencies for specific archs where qemu is not available
David Huff 7ddc49
David Huff 7ddc49
*Fri Nov 07 2008 David Huff <dhuff@redhat.com> - 003-5
David Huff 7ddc49
- Added error for Incomplete partition info (#465988)
David Huff 7ddc49
- Fixed problem with long move operations (#466278)
David Huff 7ddc49
- Fixed error converting disk formats (#464798)
David Huff 7ddc49
- Added support for tar archives (#470292)
David Huff 7ddc49
- Added md5/sha256 disk signature support (jboggs)
David Huff 7ddc49
- Modified zip functionality can now do with or with out 64bit ext.
David Huff 7ddc49
- Added support for including extra file in the package (#470337)
David Huff 7ddc49
- Added option for -o outdir, no longer uses name
David Huff 7ddc49
- OutPut is now in a seprate dir under appliance name
Ignacio Vazquez-Abrams a0cdc5
David Huff fff17a
*Wed Sep 17 2008 David Huff <dhuff@redhat.com> - 003-4
David Huff fff17a
- Removed all the kickstart files in the config dir to mirror livecd-tools
David Huff fff17a
- Added the image minimization to the refactored code (BKearney)
David Huff fff17a
- multiple interface issue (#460922)
David Huff fff17a
- added --format option to specity disk image format
David Huff fff17a
- added --package option to specify output, currently only .zip supported
David Huff fff17a
- added --vmem and --vcpu options
David Huff fff17a
- Merged ec2-converter code (jboggs)
David Huff fff17a
David Huff bb4f38
*Tue Aug 26 2008 David Huff <dhuff@redhat.com> - 003-3
David Huff bb4f38
- release 3 fixes minor build errors 
David Huff bb4f38
David Huff 239278
* Wed Jul 09 2008 David Huff <dhuff@redhat.com> - 003-1
David Huff 832ff4
- version 003 is build for latest version of livecd-tools with patches
David Huff 832ff4
David Huff 832ff4
* Wed Jul 09 2008 Alan Pevec <apevec@redhat.com> 002-1
David Huff 832ff4
- import imgcreate.fs refactoring and other changes
David Huff 832ff4
  to make it work with Fedora-9 livecd-tools-0.17.1 w/o Thincrust patches
David Huff 832ff4
- version 002 is for f9 branch to work with stock f9 livecd-tools
David Huff 239278
David Huff 239278
* Wed Jun 11 2008 David Huff <dhuff@redhat.com> - 001-3
David Huff 239278
- fixed dependancys
David Huff 239278
David Huff 239278
* Tue Jun 10 2008 David Huff <dhuff@redhat.com> - 001-2
David Huff 239278
- Undated opt parser
David Huff 239278
- fixed grub issue
David Huff 239278
- build aginsted newer livecd-tools for selinux issues
David Huff 239278
David Huff 239278
* Wed May 14 2008 David Huff <dhuff@redhat.com> - 001
David Huff 239278
- Initial build.
David Huff 239278
David Huff 239278