2012-10-01 16:19:38 +04:00
|
|
|
%{!?python_sitelib: %define python_sitelib %(%{__python} -c "import distutils.sysconfig as d; print d.get_python_lib()")}
|
|
|
|
|
2012-02-01 14:17:13 +04:00
|
|
|
%define debug_package %{nil}
|
|
|
|
|
|
|
|
Summary: Tools for building live CDs
|
|
|
|
Name: livecd-tools
|
2012-10-01 16:19:38 +04:00
|
|
|
Version: 18.8
|
2013-05-07 22:14:14 +04:00
|
|
|
Release: 26
|
2012-10-01 16:19:38 +04:00
|
|
|
Epoch: 1
|
2012-02-01 14:17:13 +04:00
|
|
|
License: GPLv2
|
2012-10-17 08:50:23 +00:00
|
|
|
Group: System/Base
|
2012-10-01 16:19:38 +04:00
|
|
|
URL: http://git.fedorahosted.org/git/livecd
|
|
|
|
# To make source tar ball:
|
|
|
|
# git clone git://git.fedorahosted.org/livecd
|
|
|
|
# cd livecd
|
|
|
|
# make dist
|
|
|
|
# scp livecd*.tar.bz2 fedorahosted.org:livecd
|
|
|
|
Source0: http://fedorahosted.org/releases/l/i/livecd/%{name}-%{version}.tar.bz2
|
2012-10-02 12:55:20 +04:00
|
|
|
Source1: arch.py
|
2012-10-01 16:19:38 +04:00
|
|
|
Patch0: livecd-tools-18.8.urpmi.rosa.patch
|
2012-10-02 12:55:20 +04:00
|
|
|
Patch1: livecd-tools-18.8.noyum.patch
|
2012-10-17 08:50:23 +00:00
|
|
|
Patch2: livecd-tools-18.8.more.fixes.patch
|
2012-11-06 11:22:22 +04:00
|
|
|
Patch3: livecd-tools-18.8.localboot.patch
|
2012-11-15 20:05:32 +04:00
|
|
|
Patch4: livecd-tools-18.8.revert.patch
|
2012-11-23 12:40:01 +00:00
|
|
|
Patch5: livecd-tools-18.8.sgb2.patch
|
2012-11-28 16:11:30 +04:00
|
|
|
Patch6: livecd-tools-18.8.safemode.patch
|
2012-12-11 18:31:52 +04:00
|
|
|
Patch7: livecd-tools-18.8.Distroname.patch
|
2012-12-21 11:35:04 +00:00
|
|
|
Patch8: livecd-tools-18.8.splash.patch
|
2013-04-22 16:27:08 +04:00
|
|
|
Patch9: livecd-tools-18.8.fs_nls.patch
|
2012-02-01 14:17:13 +04:00
|
|
|
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root
|
2012-10-01 16:19:38 +04:00
|
|
|
Requires: python-imgcreate = %{epoch}:%{version}-%{release}
|
2012-02-01 14:17:13 +04:00
|
|
|
Requires: mkisofs
|
|
|
|
Requires: isomd5sum
|
|
|
|
Requires: parted
|
2012-10-01 16:19:38 +04:00
|
|
|
Requires: pyparted
|
|
|
|
Requires: util-linux
|
|
|
|
Requires: dosfstools
|
|
|
|
Requires: e2fsprogs
|
|
|
|
Requires: lorax >= 18.3
|
2012-10-17 08:50:23 +00:00
|
|
|
Obsoletes: livecd-iso-to-disk
|
|
|
|
|
2012-02-01 14:17:13 +04:00
|
|
|
%ifarch %{ix86} x86_64
|
|
|
|
Requires: syslinux
|
|
|
|
%endif
|
2012-10-01 16:19:38 +04:00
|
|
|
Requires: dumpet
|
2012-02-01 14:17:13 +04:00
|
|
|
BuildRequires: python
|
2012-10-01 16:19:38 +04:00
|
|
|
BuildRequires: /usr/bin/pod2man
|
2012-02-01 14:17:13 +04:00
|
|
|
|
|
|
|
|
|
|
|
%description
|
|
|
|
Tools for generating live CDs on Fedora based systems including
|
|
|
|
derived distributions such as RHEL, CentOS and others. See
|
|
|
|
http://fedoraproject.org/wiki/FedoraLiveCD for more details.
|
|
|
|
|
|
|
|
%package -n python-imgcreate
|
|
|
|
Summary: Python modules for building system images
|
2012-10-17 08:50:23 +00:00
|
|
|
Group: System/Base
|
2012-02-01 14:17:13 +04:00
|
|
|
Requires: util-linux
|
|
|
|
Requires: coreutils
|
|
|
|
Requires: e2fsprogs
|
|
|
|
Requires: squashfs-tools
|
2012-10-01 16:19:38 +04:00
|
|
|
Requires: pykickstart >= 0.96
|
2012-02-01 14:17:13 +04:00
|
|
|
Requires: dosfstools >= 2.11-8
|
|
|
|
#Requires: system-config-keyboard >= 1.3.0
|
|
|
|
Requires: python-urlgrabber
|
2012-10-01 16:19:38 +04:00
|
|
|
Requires: python-selinux
|
2012-02-01 14:17:13 +04:00
|
|
|
Requires: dbus-python
|
2012-10-09 08:10:26 +00:00
|
|
|
#Requires: policycoreutils
|
2012-02-01 14:17:13 +04:00
|
|
|
|
|
|
|
%description -n python-imgcreate
|
|
|
|
Python modules that can be used for building images for things
|
|
|
|
like live image or appliances.
|
|
|
|
|
|
|
|
|
|
|
|
%prep
|
|
|
|
%setup -q
|
|
|
|
%patch0 -p1
|
2012-10-02 12:55:20 +04:00
|
|
|
%patch1 -p1
|
2012-10-17 08:50:23 +00:00
|
|
|
%patch2 -p1
|
2012-11-06 11:22:22 +04:00
|
|
|
%patch3 -p1
|
2012-11-15 20:05:32 +04:00
|
|
|
%patch4 -p1
|
2012-11-23 12:40:01 +00:00
|
|
|
%patch5 -p1
|
2012-11-28 16:11:30 +04:00
|
|
|
%patch6 -p1
|
2012-12-11 18:31:52 +04:00
|
|
|
%patch7 -p1
|
2013-04-22 16:28:44 +04:00
|
|
|
%patch8 -p1
|
|
|
|
%patch9 -p1
|
2012-11-06 11:22:22 +04:00
|
|
|
|
2012-02-01 14:17:13 +04:00
|
|
|
%build
|
|
|
|
make
|
|
|
|
|
|
|
|
%install
|
|
|
|
rm -rf $RPM_BUILD_ROOT
|
|
|
|
make install DESTDIR=$RPM_BUILD_ROOT
|
2012-10-02 13:07:05 +04:00
|
|
|
%__install -m 0644 %{SOURCE1} %{buildroot}%{python_sitelib}/imgcreate/
|
|
|
|
|
2012-02-01 14:17:13 +04:00
|
|
|
%clean
|
|
|
|
rm -rf $RPM_BUILD_ROOT
|
|
|
|
|
|
|
|
%files
|
|
|
|
%defattr(-,root,root,-)
|
|
|
|
%doc AUTHORS COPYING README HACKING
|
|
|
|
%doc config/livecd-fedora-minimal.ks
|
|
|
|
%{_mandir}/man*/*
|
|
|
|
%{_bindir}/livecd-creator
|
2012-10-01 16:19:38 +04:00
|
|
|
%{_bindir}/livecd-iso-to-disk
|
2012-02-01 14:17:13 +04:00
|
|
|
%{_bindir}/livecd-iso-to-pxeboot
|
|
|
|
%{_bindir}/image-creator
|
2012-10-01 16:19:38 +04:00
|
|
|
%{_bindir}/liveimage-mount
|
|
|
|
%{_bindir}/edit-livecd
|
|
|
|
%{_bindir}/mkbiarch
|
2012-10-17 08:50:23 +00:00
|
|
|
/usr/share/doc/livecd-tools*
|
2012-02-01 14:17:13 +04:00
|
|
|
|
|
|
|
%files -n python-imgcreate
|
|
|
|
%defattr(-,root,root,-)
|
2012-10-01 16:19:38 +04:00
|
|
|
%doc API COPYING
|
|
|
|
%dir %{python_sitelib}/imgcreate
|
|
|
|
%{python_sitelib}/imgcreate/*.py
|
|
|
|
%{python_sitelib}/imgcreate/*.pyo
|
|
|
|
%{python_sitelib}/imgcreate/*.pyc
|
2012-02-01 14:17:13 +04:00
|
|
|
|
|
|
|
%changelog
|
2012-10-01 16:19:38 +04:00
|
|
|
* Mon Aug 06 2012 Brian C. Lane <bcl@redhat.com> 18.8-1
|
|
|
|
- Version 18.8 (bcl)
|
|
|
|
- dracut needs to load vfat and msdos filesystems (bcl)
|