|
|
@ -1,18 +1,20 @@
|
|
|
|
%{!?python_sitelib: %define python_sitelib %(%{__python} -c "import distutils.sysconfig as d; print d.get_python_lib()")}
|
|
|
|
%{!?python_sitelib: %global python_sitelib %(%{__python} -c "import distutils.sysconfig as d; print d.get_python_lib()")}
|
|
|
|
|
|
|
|
|
|
|
|
%define debug_package %{nil}
|
|
|
|
%define debug_package %{nil}
|
|
|
|
|
|
|
|
|
|
|
|
Summary: Tools for building Appliances
|
|
|
|
Summary: Tools for building Appliances
|
|
|
|
Name: appliance-tools
|
|
|
|
Name: appliance-tools
|
|
|
|
Version: 004.5
|
|
|
|
Version: 005
|
|
|
|
Release: 2%{?dist}
|
|
|
|
Release: 1%{?dist}
|
|
|
|
License: GPLv2
|
|
|
|
License: GPLv2
|
|
|
|
Group: System Environment/Base
|
|
|
|
Group: System Environment/Base
|
|
|
|
URL: http://thincrust.org/
|
|
|
|
URL: http://thincrust.org/
|
|
|
|
# The source for this package was pulled from upstream's vcs. Use the
|
|
|
|
# The source for this package was pulled from upstream's vcs. Use the
|
|
|
|
# following commands to generate the tarball:
|
|
|
|
# following commands to generate the tarball:
|
|
|
|
# git clone git://git.fedorahosted.org/appliance-tools.git
|
|
|
|
# git clone git://git.fedorahosted.org/appliance-tools
|
|
|
|
# git archive --format=tar --prefix=appliance-tools-%{version} appliance-tools-%{version} | bzip2 > appliance-tools-%{version}.tar.bz2
|
|
|
|
# cd appliance-tools
|
|
|
|
|
|
|
|
# git checkout appliance-tools-005
|
|
|
|
|
|
|
|
# make dist
|
|
|
|
Source0: %{name}-%{version}.tar.bz2
|
|
|
|
Source0: %{name}-%{version}.tar.bz2
|
|
|
|
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root
|
|
|
|
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root
|
|
|
|
Requires: livecd-tools >= 020 curl rsync kpartx
|
|
|
|
Requires: livecd-tools >= 020 curl rsync kpartx
|
|
|
@ -25,8 +27,16 @@ ExcludeArch: ppc64 s390 s390x
|
|
|
|
|
|
|
|
|
|
|
|
%description
|
|
|
|
%description
|
|
|
|
Tools for generating appliance images on Fedora based systems including
|
|
|
|
Tools for generating appliance images on Fedora based systems including
|
|
|
|
derived distributions such as RHEL, CentOS and others. See
|
|
|
|
derived distributions such as RHEL, CentOS and others.
|
|
|
|
http://thincrust.net for more details.
|
|
|
|
See http://thincrust.net for more details.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
%package minimizer
|
|
|
|
|
|
|
|
Summary: Tool to minimize a appliance image
|
|
|
|
|
|
|
|
Group: System Environment/Base
|
|
|
|
|
|
|
|
BuildArch: noarch
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
%description minimizer
|
|
|
|
|
|
|
|
Tool that helps remove unwanted files from the appliance image.
|
|
|
|
|
|
|
|
|
|
|
|
%prep
|
|
|
|
%prep
|
|
|
|
%setup -q
|
|
|
|
%setup -q
|
|
|
@ -47,7 +57,6 @@ rm -rf $RPM_BUILD_ROOT
|
|
|
|
%doc config/fedora-aos.ks
|
|
|
|
%doc config/fedora-aos.ks
|
|
|
|
%{_mandir}/man*/*
|
|
|
|
%{_mandir}/man*/*
|
|
|
|
%{_bindir}/appliance-creator
|
|
|
|
%{_bindir}/appliance-creator
|
|
|
|
%{_bindir}/image-minimizer
|
|
|
|
|
|
|
|
%{_bindir}/ec2-converter
|
|
|
|
%{_bindir}/ec2-converter
|
|
|
|
%dir %{python_sitelib}/appcreate
|
|
|
|
%dir %{python_sitelib}/appcreate
|
|
|
|
%dir %{python_sitelib}/ec2convert
|
|
|
|
%dir %{python_sitelib}/ec2convert
|
|
|
@ -58,7 +67,17 @@ rm -rf $RPM_BUILD_ROOT
|
|
|
|
%{python_sitelib}/ec2convert/*.pyo
|
|
|
|
%{python_sitelib}/ec2convert/*.pyo
|
|
|
|
%{python_sitelib}/ec2convert/*.pyc
|
|
|
|
%{python_sitelib}/ec2convert/*.pyc
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
%files minimizer
|
|
|
|
|
|
|
|
%defattr(-,root,root,-)
|
|
|
|
|
|
|
|
%doc COPYING
|
|
|
|
|
|
|
|
%{_bindir}/image-minimizer
|
|
|
|
|
|
|
|
|
|
|
|
%changelog
|
|
|
|
%changelog
|
|
|
|
|
|
|
|
* Mon Apr 04 2011 Alan Pevec <apevec@redhat.com> 005-1
|
|
|
|
|
|
|
|
- image-minimizer: support drop-keep-drop
|
|
|
|
|
|
|
|
- image-minimizer: add droprpm/keeprpm
|
|
|
|
|
|
|
|
- Added sub-package for image minimizer (dhuff)
|
|
|
|
|
|
|
|
|
|
|
|
* Mon Feb 07 2011 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 004.5-2
|
|
|
|
* Mon Feb 07 2011 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 004.5-2
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_15_Mass_Rebuild
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_15_Mass_Rebuild
|
|
|
|
|
|
|
|
|
|
|
|