David Huff 7f68ba
%{!?python_sitelib: %define python_sitelib %(%{__python} -c "import distutils.sysconfig as d; print d.get_python_lib()")}
David Huff 7f68ba
David Huff 7f68ba
%define debug_package %{nil}
David Huff 7f68ba
David Huff 7f68ba
Summary: Tools for building Appliances
David Huff 7f68ba
Name: appliance-tools
David Huff 9000cf
Version: 002.8
David Huff fbefa3
Release: 2%{?dist}
David Huff 7f68ba
License: GPLv2
David Huff 7f68ba
Group: System Environment/Base
David Huff 7f68ba
URL: http://thincrust.net
David Huff f3b56f
# The source for this package was pulled from upstream's vcs.  Use the
David Huff f3b56f
# following commands to generate the tarball:
David Huff f3b56f
#  git clone git://git.et.redhat.com/act.git; cd act 
David Huff f3b56f
#  git archive --format=tar --prefix=appliance-tools-%{version} appliance-tools-%{version} | bzip2 > appliance-tools-%{version}.tar.bz2
David Huff 7f68ba
Source0: %{name}-%{version}.tar.bz2
David Huff 7f68ba
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root
David Huff 0a2766
Requires: livecd-tools >= 017.1 curl rsync kpartx
David Huff 7f68ba
Requires: zlib
David Huff 7f68ba
Requires: qemu-img
David Huff 7f68ba
BuildRequires: python
David Huff 7f68ba
BuildArch: noarch
David Huff fbefa3
ExcludeArch: ppc64 s390 s390x
David Huff 7f68ba
David Huff 7f68ba
%description
David Huff 7f68ba
Tools for generating appliance images on Fedora based systems including
David Huff 7f68ba
derived distributions such as RHEL, CentOS and others. See
David Huff 7f68ba
http://thincrust.net for more details.
David Huff 7f68ba
David Huff 7f68ba
%prep
David Huff 7f68ba
%setup -q
David Huff 7f68ba
David Huff 7f68ba
%build
David Huff 7f68ba
make
David Huff 7f68ba
David Huff 7f68ba
%install
David Huff 7f68ba
rm -rf $RPM_BUILD_ROOT
David Huff 7f68ba
make install DESTDIR=$RPM_BUILD_ROOT
David Huff 7f68ba
David Huff 7f68ba
%clean
David Huff 7f68ba
rm -rf $RPM_BUILD_ROOT
David Huff 7f68ba
David Huff 7f68ba
%files
David Huff 7f68ba
%defattr(-,root,root,-)
David Huff 7f68ba
%doc README COPYING
David Huff 7f68ba
%doc config/fedora9-aos.ks
David Huff 7f68ba
%{_mandir}/man*/*
David Huff 7f68ba
%{_bindir}/appliance-creator
David Huff 7f68ba
%{_bindir}/image-minimizer
David Huff 0a2766
%{_bindir}/ec2-converter
David Huff 7f68ba
%dir %{python_sitelib}/appcreate
David Huff 0a2766
%dir %{python_sitelib}/ec2convert
David Huff 7f68ba
%{python_sitelib}/appcreate/*.py
David Huff 7f68ba
%{python_sitelib}/appcreate/*.pyo
David Huff 7f68ba
%{python_sitelib}/appcreate/*.pyc
David Huff 0a2766
%{python_sitelib}/ec2convert/*.py
David Huff 0a2766
%{python_sitelib}/ec2convert/*.pyo
David Huff 0a2766
%{python_sitelib}/ec2convert/*.pyc
David Huff 7f68ba
David Huff 7f68ba
%changelog
David Huff fbefa3
* Tue Dec 02 2008 David Huff <dhuff@redhat.com> - 002.8-2
David Huff fbefa3
- changed form ExclusiveArch to EcludeArch to fix broken deps
David Huff fbefa3
David Huff 9000cf
* Mon Nov 17 2008 David Huff <dhuff@redhat.com> - 002.8
David Huff 9000cf
- backported fix for bug that causes appliance-creator to stacktrace when -i is omitted (pmyers)
David Huff 9000cf
David Huff 9000cf
* Fri Nov 14 2008 David Huff <dhuff@redhat.com> - 002.7
David Huff 9000cf
- backported Fixed bug that causes appliance-creator to stacktrace when -i is omitted (pmyers)
David Huff 9000cf
David Huff 9000cf
* Wed Nov 13 2008 David Huff <dhuff@redhat.com> - 002.6
David Huff f3b56f
- backported Fix for problem with -i only taking one file
David Huff f3b56f
- Fixed versioning of source file
David Huff f3b56f
David Huff 0a2766
* Fri Nov 07 2008 David Huff <dhuff@redhat.com> - 002-5
David Huff 0a2766
- Fixed broken dependencies for specific archs where qemu is not available
David Huff 0a2766
- backported ec2 converter code (jboggs)
David Huff 0a2766
- backported features form applaince-tools-003-5
David Huff 0a2766
-- Fixed problem with long move operations (#466278)
David Huff 0a2766
-- Fixed error converting disk formats (#464798)
David Huff 0a2766
-- Added support for tar archives (#470292)
David Huff 0a2766
-- Added md5/sha256 disk signature support (jboggs)
David Huff 0a2766
-- Modified zip functionality can now do with or with out 64bit ext.
David Huff 0a2766
-- Added support for including extra file in the package (#470337)
David Huff 0a2766
-- Added option for -o outdir, no longer uses name
David Huff 0a2766
-- OutPut is now in a seprate dir under appliance name
David Huff 0a2766
David Huff a4cb0a
* Mon Oct 13 2008 David Huff <dhuff@redhat.com> 002-4
David Huff a4cb0a
- fix for problem with long move operations (#466278)
David Huff a4cb0a
- support patterns in directory names (apevec)
David Huff a4cb0a
- fix exit upon error when converting disk formats (#464798)
David Huff a4cb0a
David Huff a4cb0a
* Wed Sep 24 2008 David Huff <dhuff@redhat.com> 002-3
David Huff 7f68ba
- refactored code to match upsteaem project
David Huff 7f68ba
- backported new features from upsteam version 003-4
David Huff 7f68ba
David Huff 7f68ba
* Wed Jul 09 2008 Alan Pevec <apevec@redhat.com> 002-1
David Huff 7f68ba
- import imgcreate.fs refactoring and other changes
David Huff 7f68ba
  to make it work with Fedora-9 livecd-tools-0.17.1 w/o Thincrust patches
David Huff 7f68ba
David Huff 7f68ba
* Wed Jun 11 2008 David Huff <dhuff@redhat.com> - 001-3
David Huff 7f68ba
- fixed dependancys
David Huff 7f68ba
David Huff 7f68ba
* Tue Jun 10 2008 David Huff <dhuff@redhat.com> - 001-2
David Huff 7f68ba
- Undated opt parser
David Huff 7f68ba
- fixed grub issue
David Huff 7f68ba
- build aginsted newer livecd-tools for selinux issues
David Huff 7f68ba
David Huff 7f68ba
* Wed May 14 2008 David Huff <dhuff@redhat.com> - 001
David Huff 7f68ba
- Initial build.
David Huff 7f68ba