Alan Pevec 8f1bf4
%{!?python_sitelib: %global 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
Dennis Gilmore 6b1c4e
Version: 007.4
Dennis Gilmore ab92d1
Release: 1%{?dist}
David Huff 239278
License: GPLv2
David Huff 239278
Group: System Environment/Base
David Huff 34660c
URL: http://thincrust.org/
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:
Alan Pevec 8f1bf4
#  git clone git://git.fedorahosted.org/appliance-tools
Alan Pevec 8f1bf4
#  cd appliance-tools
Dennis Gilmore 08b2ce
#  git checkout appliance-tools-006.6
Alan Pevec 8f1bf4
#  make dist
Marek Goldmann 37fe6a
Source0: appliance-tools-%{version}.tar.bz2
David Huff 3444b6
Requires: livecd-tools >= 020 curl rsync kpartx
David Huff fff17a
Requires: zlib
David Huff 7ddc49
Requires: qemu-img
Dennis Gilmore cd5abf
Requires: xz
David Huff 239278
BuildRequires: python
Dennis Gilmore 398e50
BuildRequires: /usr/bin/pod2man
David Huff 239278
BuildArch: noarch
David Huff 454bee
ExcludeArch: ppc64 s390 s390x
David Huff 239278
David Huff 239278
David Huff 239278
%description
David Huff 239278
Tools for generating appliance images on Fedora based systems including
Alan Pevec 8f1bf4
derived distributions such as RHEL, CentOS and others.
Alan Pevec 8f1bf4
See http://thincrust.net for more details.
Alan Pevec 8f1bf4
Alan Pevec 8f1bf4
%package minimizer
Alan Pevec 8f1bf4
Summary: Tool to minimize a appliance image
Alan Pevec 8f1bf4
Group: System Environment/Base
Alan Pevec 8f1bf4
BuildArch: noarch
Alan Pevec 8f1bf4
Alan Pevec 8f1bf4
%description minimizer
Alan Pevec 8f1bf4
Tool that helps remove unwanted files from the appliance image.
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 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}/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
Alan Pevec 8f1bf4
%files minimizer
Alan Pevec 8f1bf4
%defattr(-,root,root,-)
Alan Pevec 8f1bf4
%doc COPYING
Alan Pevec 8f1bf4
%{_bindir}/image-minimizer
Alan Pevec 8f1bf4
David Huff 239278
%changelog
Dennis Gilmore 6b1c4e
* Mon Aug 26 2013 Dennis Gilmore <dennis@ausil.us> - 007.4-1
Dennis Gilmore 6b1c4e
- refacter how re deal with each mount point old version did not handle swap
Dennis Gilmore 6b1c4e
Dennis Gilmore ab92d1
* Mon Aug 26 2013 Dennis Gilmore <dennis@ausil.us> - 007.3-1
Dennis Gilmore ab92d1
- make sure that we only have a single instance of each mount point
Dennis Gilmore ab92d1
Dennis Gilmore 8756ab
* Sat Aug 03 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 007.2-2
Dennis Gilmore 8756ab
- Rebuilt for https://fedoraproject.org/wiki/Fedora_20_Mass_Rebuild
Dennis Gilmore 8756ab
Dennis Gilmore 04e99f
* Fri Jun 21 2013 Dennis Gilmore <dennis@ausil.us> - 007.2-1
Dennis Gilmore 04e99f
- fix up call to xz
Dennis Gilmore 04e99f
Dennis Gilmore cd5abf
* Fri Jun 21 2013 Dennis Gilmore <dennis@ausil.us> - 007.1-1
Dennis Gilmore cd5abf
- xz compress raw images
Dennis Gilmore cd5abf
Dennis Gilmore ed7d92
* Fri Jun 07 2013 Dennis Gilmore <dennis@ausil.us> - 007.0-1
Dennis Gilmore ed7d92
- specify filesystem type when creating partitions
Dennis Gilmore ed7d92
- extlinux fixes from mattdm
Dennis Gilmore ed7d92
- dont use -F 32 when making vfat partition
Dennis Gilmore ed7d92
Dennis Gilmore 08b2ce
* Thu May 23 2013 Dennis Gilmore <dennis@ausil.us> - 006.6-1
Dennis Gilmore 08b2ce
- really start at 1mb
Dennis Gilmore 08b2ce
- compress qcow2 by default
Dennis Gilmore 08b2ce
- make sure we dont destroy our newly created vfat partition
Dennis Gilmore 08b2ce
Dennis Gilmore f464c4
* Wed May 22 2013 Dennis Gilmore <dennis@ausil.us> - 006.5-2
Dennis Gilmore f464c4
- add patch to read vfat uuid earlier
Dennis Gilmore f464c4
- leave first mb free
Dennis Gilmore 189834
Dennis Gilmore 347b0b
* Sun May 19 2013 Dennis Gilmore <dennis@ausil.us> - 006.5-1
Dennis Gilmore d3f77f
- fix writing out kickstart file
Dennis Gilmore d3f77f
Dennis Gilmore 2b4b2a
* Sat May 18 2013 Dennis Gilmore <dennis@ausil.us> - 006.4-1
Dennis Gilmore 2b4b2a
- write out kickstart file
Dennis Gilmore 2b4b2a
- correctly write out extlinux config
Dennis Gilmore 2b4b2a
- dont require --ondisk for partitions
Dennis Gilmore 2b4b2a
Dennis Gilmore c55513
* Sun May 12 2013 Dennis Gilmore <dennis@ausil.us> - 006.3-2
Dennis Gilmore c55513
- add patch for typo fixes in extlinux config from mattdm
Dennis Gilmore c55513
Dennis Gilmore 398e50
* Fri May 10 2013 Dennis Gilmore <dennis@ausil.us> - 006.3-1.1
Dennis Gilmore 398e50
- BuildRequires: /usr/bin/pod2man
Dennis Gilmore 398e50
Dennis Gilmore 264e07
* Fri May 10 2013 Dennis Gilmore <dennis@ausil.us> - 006.3-1
Dennis Gilmore 264e07
- update to 006.3
Dennis Gilmore 264e07
- use UUID's for fstab and root lines
Dennis Gilmore 264e07
- support making vfat partition for /boot/uboot
Dennis Gilmore 264e07
- support extlinux as a bootloader
Dennis Gilmore 264e07
Dennis Gilmore 7f47df
* Wed Feb 13 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 006.2-2
Dennis Gilmore 7f47df
- Rebuilt for https://fedoraproject.org/wiki/Fedora_19_Mass_Rebuild
Dennis Gilmore 7f47df
Marek Goldmann 37fe6a
* Thu Aug 09 2012 Marek Goldmann <mgoldman@redhat.com> - 006.2-1
Marek Goldmann 37fe6a
- Upstream release 006.2
Marek Goldmann 37fe6a
Dennis Gilmore 38a3c5
* Wed Jul 18 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 006.1-4
Dennis Gilmore 38a3c5
- Rebuilt for https://fedoraproject.org/wiki/Fedora_18_Mass_Rebuild
Dennis Gilmore 38a3c5
Dennis Gilmore 9aba84
* Tue Feb 13 2012 Dennis Gilmore <dennis@ausil.us> - 006.1-3
Dennis Gilmore 9aba84
- add patch to always write out a legacy grub config file
Dennis Gilmore 9aba84
Dennis Gilmore 9bac4e
* Thu Jan 12 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 006.1-2
Dennis Gilmore 9bac4e
- Rebuilt for https://fedoraproject.org/wiki/Fedora_17_Mass_Rebuild
Dennis Gilmore 9bac4e
Marek Goldmann f804e3
* Fri Nov 11 2011 Marek Goldmann <mgoldman@redhat.com> - 006.1-1
Marek Goldmann f804e3
- Upstream release 006.1
Marek Goldmann f804e3
- Search for grub files also in ARCH-pc directories
Marek Goldmann f804e3
Marek Goldmann 1c8953
* Fri Nov 11 2011 Marek Goldmann <mgoldman@redhat.com> - 006-1
Marek Goldmann 1c8953
- Support for GRUB2 rhbz#744390
Marek Goldmann 1c8953
- Align partitions by default
Marek Goldmann 1c8953
- Search for grub files also in ARCH-unknown directories
Marek Goldmann 1c8953
- Allow to build appliances without GRUB installed at all
Marek Goldmann 1c8953
Dennis Gilmore 2dbd06
* Sat Oct 29 2011 Dennis Gilmore <dennis@ausil.us> - 005-1.nogrubhack.2
Dennis Gilmore 2dbd06
- update hack to work around no grub being installed so we can compose ec2 images
Dennis Gilmore 2dbd06
Dennis Gilmore 2dbd06
* Sat Oct 29 2011 Dennis Gilmore <dennis@ausil.us> - 005-1.nogrubhack
Dennis Gilmore b0b385
- add a hack to work around no grub being installed so we can compose ec2 images
Dennis Gilmore b0b385
Alan Pevec 8f1bf4
* Mon Apr 04 2011 Alan Pevec <apevec@redhat.com> 005-1
Alan Pevec 8f1bf4
- image-minimizer: support drop-keep-drop
Alan Pevec 8f1bf4
- image-minimizer: add droprpm/keeprpm
Alan Pevec 8f1bf4
- Added sub-package for image minimizer (dhuff)
Alan Pevec 8f1bf4
Dennis Gilmore 052d1f
* Mon Feb 07 2011 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 004.5-2
Dennis Gilmore 052d1f
- Rebuilt for https://fedoraproject.org/wiki/Fedora_15_Mass_Rebuild
Dennis Gilmore 052d1f
Adam Tkac eb8a6c
* Fri Aug 20 2010 Adam Tkac <atkac redhat="" com=""> - 004.5-1
Adam Tkac eb8a6c
- rebuild to ensure NVR in F14 is bigger than in F13
Adam Tkac eb8a6c
- merge following changes from F12 branch [David Huff]:
Adam Tkac eb8a6c
  - Fixed error while installing grub
Adam Tkac eb8a6c
  - Fixed issue with Fedora 12 using dracut to generate initrd
Adam Tkac eb8a6c
  - Fixed issue with Fedora 12 parted error
Adam Tkac eb8a6c
dmalcolm cdb1da
* Wed Jul 21 2010 David Malcolm <dmalcolm@redhat.com> - 004.4-4
dmalcolm cdb1da
- Rebuilt for https://fedoraproject.org/wiki/Features/Python_2.7/MassRebuild
dmalcolm cdb1da
Jesse Keating fffd7a
* Fri Jul 24 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 004.4-3
Jesse Keating fffd7a
- Rebuilt for https://fedoraproject.org/wiki/Fedora_12_Mass_Rebuild
Jesse Keating fffd7a
David Huff 3444b6
*Mon Jul 07 2009 David Huff <dhuff@redhat.com> -004.4
David Huff 3444b6
- added functionality include additional modules in ramdisk 
Jesse Keating 6924f3
David Huff 3444b6
*Mon Dec 01 2008 David Huff <dhuff@redhat.com> -004.2
David Huff 454bee
- changed form ExclusiveArch to EcludeArch to fix broken deps
David Huff 454bee
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