ishcherb / rpms / lorax

Forked from rpms/lorax 6 years ago
Clone
Martin Gracik 6d90247
Name:           lorax
Martin Gracik f376036
Version:        0.4.2
Martin Gracik 4e8264d
Release:        1%{?dist}
Martin Gracik 6d90247
Summary:        Tool for creating the anaconda install images
Martin Gracik 6d90247
Martin Gracik 6d90247
Group:          Applications/System
Martin Gracik 6d90247
License:        GPLv2+
Martin Gracik 6d90247
URL:            http://git.fedorahosted.org/git/?p=lorax.git
Martin Gracik 815ea2e
Source0:        https://fedorahosted.org/releases/l/o/%{name}/%{name}-%{version}.tar.bz2
Martin Gracik 6d90247
Martin Gracik f376036
BuildRequires:  python2-devel
Martin Gracik 6d90247
Requires:       python-mako
Martin Gracik 6d90247
Requires:       gawk
Martin Gracik 6d90247
Requires:       glibc-common
Martin Gracik 6d90247
Requires:       cpio
Martin Gracik 6d90247
Requires:       module-init-tools
Martin Gracik 6d90247
Requires:       device-mapper
Martin Gracik 6d90247
Requires:       findutils
Martin Gracik 6d90247
Requires:       GConf2
Martin Gracik 6d90247
Requires:       isomd5sum
Martin Gracik 6d90247
Requires:       glibc
Martin Gracik 6d90247
Requires:       util-linux-ng
Martin Gracik 6d90247
Requires:       dosfstools
Martin Gracik 6d90247
Requires:       genisoimage
Martin Gracik 6d90247
Requires:       parted
Martin Gracik 04332c9
Requires:       pyliblzma
Martin Gracik 04332c9
Martin Gracik 04332c9
%ifarch i386 x86_64
Martin Gracik 04332c9
Requires:       syslinux
Martin Gracik 04332c9
%endif
Martin Gracik 04332c9
Martin Gracik 04332c9
%ifarch sparc sparc64
Martin Gracik 04332c9
Requires:       silo
Martin Gracik 04332c9
%endif
Martin Gracik 6d90247
Martin Gracik 6d90247
%description
Martin Gracik 6d90247
Lorax is a tool for creating the anaconda install images.
Martin Gracik 6d90247
Martin Gracik 6d90247
%prep
Martin Gracik 6d90247
%setup -q
Martin Gracik 6d90247
Martin Gracik 6d90247
%build
Martin Gracik 6d90247
Martin Gracik 6d90247
%install
Martin Gracik 6d90247
rm -rf $RPM_BUILD_ROOT
Martin Gracik 6d90247
make DESTDIR=$RPM_BUILD_ROOT install
Martin Gracik 6d90247
Martin Gracik 6d90247
%files
Martin Gracik 6d90247
%defattr(-,root,root,-)
Martin Gracik 6d90247
%doc COPYING AUTHORS
Martin Gracik 6d90247
%{python_sitelib}/pylorax
Martin Gracik 6d90247
%{python_sitelib}/*.egg-info
Martin Gracik 6d90247
%{_sbindir}/lorax
Martin Gracik 6d90247
%dir %{_sysconfdir}/lorax
Martin Gracik 6d90247
%config(noreplace) %{_sysconfdir}/lorax/lorax.conf
Martin Gracik 6d90247
%dir %{_datadir}/lorax
Martin Gracik 6d90247
%{_datadir}/lorax/*
Martin Gracik 6d90247
Martin Gracik 6d90247
Martin Gracik 6d90247
%changelog
Martin Gracik f376036
* Wed Apr 13 2011 Martin Gracik <mgracik@redhat.com> 0.4.2-1
Martin Gracik f376036
- Do not remove shutdown from sbin
Martin Gracik f376036
- Change BuildRequires to python2-devel
Martin Gracik f376036
- Remove pungi patch
Martin Gracik f376036
- Remove pseudo code
Martin Gracik f376036
Martin Gracik 04332c9
* Wed Apr 13 2011 Martin Gracik <mgracik@redhat.com> 0.4.1-1
Martin Gracik 04332c9
- Provide shutdown on s390x (#694518)
Martin Gracik 04332c9
- Fix arch specific requires in spec file
Martin Gracik 04332c9
- Add s390 modules and do some cleanup of the template
Martin Gracik 04332c9
- Generate ssh keys on s390
Martin Gracik 04332c9
- Don't remove tr, needed for s390
Martin Gracik 04332c9
- Do not check if we have all commands
Martin Gracik 04332c9
- Change location of addrsize and mk-s390-cdboot
Martin Gracik 04332c9
- Shutdown is in another location
Martin Gracik 04332c9
- Do not skip broken packages
Martin Gracik 04332c9
- Don't install network-manager-netbook
Martin Gracik 04332c9
- Wait for subprocess to finish
Martin Gracik 04332c9
- Have to call os.makedirs
Martin Gracik 04332c9
- images dir already exists, we just need to set it
Martin Gracik 04332c9
- The biarch is a function not an attribute
Martin Gracik 04332c9
- Create images directory in outputtree
Martin Gracik 04332c9
- Create efibootdir if doing efi images
Martin Gracik 04332c9
- Get rid of create_gconf().
Martin Gracik 04332c9
- Replace variables in yaboot.conf
Martin Gracik 04332c9
- Add sparc specific packages
Martin Gracik 04332c9
- Skip keymap creation on s390
Martin Gracik 04332c9
- Copy shutdown and linuxrc.s390 on s390
Martin Gracik 04332c9
- Add packages for s390
Martin Gracik 04332c9
- Add support for sparc
Martin Gracik 04332c9
- Use factory to get the image classes
Martin Gracik 04332c9
- treeinfo has to be addressed as self.treeinfo
Martin Gracik 04332c9
- Add support for s390
Martin Gracik 04332c9
- Add the xen section to treeinfo on x86_64
Martin Gracik 04332c9
- Fix magic and mapping paths
Martin Gracik 04332c9
- Fix passing of prepboot and macboot arguments
Martin Gracik 04332c9
- Small ppc fixes
Martin Gracik 04332c9
- Check if the file we want to remove exists
Martin Gracik 04332c9
- Install x86 specific packages only on x86
Martin Gracik 04332c9
- Change the location of zImage.lds
Martin Gracik 04332c9
- Added ppc specific packages
Martin Gracik 04332c9
- memtest and efika.forth are in /boot
Martin Gracik 04332c9
- Add support for ppc
Martin Gracik 04332c9
- Minor sparc pseudo code changes
Martin Gracik 04332c9
- Added sparc pseudo code (dgilmore)
Martin Gracik 04332c9
- Added s390 and x86 pseudo code
Martin Gracik 04332c9
- Added ppc pseudo code
Martin Gracik 04332c9
- Print a message when no arguments given (#684463)
Martin Gracik 04332c9
- Mako template returns unicode strings (#681003)
Martin Gracik 04332c9
- The check option in options causes ValueError
Martin Gracik 04332c9
- Disable all ctrl-alt-arrow metacity shortcuts.
Martin Gracik 04332c9
- Use xz when compressing the initrd
Martin Gracik 04332c9
Martin Gracik 53580e7
* Mon Mar 21 2011 Martin Gracik <mgracik@redhat.com> 0.3.2-1
Martin Gracik 53580e7
- gconf/metacity: have only one workspace. (#683548)
Martin Gracik 53580e7
- Do not remove libassuan. (#684742)
Martin Gracik 53580e7
- Add yum-langpacks yum plugin to anaconda environment (notting) (#687866)
Martin Gracik 53580e7
Martin Gracik 4e8264d
* Tue Mar 15 2011 Martin Gracik <mgracik@redhat.com> 0.3.1-1
Martin Gracik 4e8264d
- Add the images-xen section to treeinfo on x86_64
Martin Gracik 4e8264d
- Add /sbin to $PATH (for the tty2 terminal)
Martin Gracik 4e8264d
- Create /var/run/dbus directory in installtree
Martin Gracik 4e8264d
- Add mkdir support to template
Martin Gracik 4e8264d
- gpart is present only on i386 arch (#672611)
Martin Gracik 4e8264d
- util-linux-ng changed to util-linux
2903a0d
Martin Gracik ef6161a
* Mon Jan 24 2011 Martin Gracik <mgracik@redhat.com> 0.3-1
Martin Gracik ef6161a
- Don't remove libmount package
Martin Gracik ef6161a
- Don't create mtab symlink, already exists
Martin Gracik ef6161a
- Exit with error if we have no lang-table
Martin Gracik ef6161a
- Fix file logging
Martin Gracik ef6161a
- Overwrite the /etc/shadow file
Martin Gracik ef6161a
- Use [images-xen] section for PAE and xen kernels
Martin Gracik ef6161a
Martin Gracik 815ea2e
* Fri Jan 14 2011 Martin Gracik <mgracik@redhat.com> 0.2-2
Martin Gracik 815ea2e
- Fix the gnome themes
Martin Gracik 815ea2e
- Add biosdevname package
Martin Gracik 815ea2e
- Edit .bash_history file
Martin Gracik 815ea2e
- Add the initrd and kernel lines to .treeinfo
Martin Gracik 815ea2e
- Don't remove the gamin package from installtree
Martin Gracik 815ea2e
Martin Gracik 6d90247
* Wed Dec 01 2010 Martin Gracik <mgracik@redhat.com> 0.1-1
Martin Gracik 6d90247
- First packaging of the new lorax tool.