b4bfae9
%{!?python_sitelib: %define python_sitelib %(python -c "from distutils.sysconfig import get_python_lib; print get_python_lib()")}
b4bfae9
b4bfae9
Summary: Fedora "Spin" Graphical User Interface
b4bfae9
Name: revisor
82850bb
Version: 2.0.5
82850bb
Release: 5%{?dist}
3959a2c
License: GPLv2
b4bfae9
Group: Applications/System
b4bfae9
URL: https://hosted.fedoraproject.org/projects/revisor
b4bfae9
Source0: http://files.revisor.fedoraunity.org/%{name}-%{version}.tar.gz
b4bfae9
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root
3959a2c
Requires: revisor-comps = %{version}-%{release}
3959a2c
# GUI Requirements
3959a2c
Requires: pygtk2 >= 2.9.2, pygtk2-libglade, gnome-python2-gconf
3959a2c
# Package Management Requirements
3959a2c
Requires: yum >= 3, comps-extras, createrepo
3959a2c
# Translation
3959a2c
Requires: rhpl
3959a2c
# Kickstart
f8047c3
Requires: system-config-kickstart, pykickstart
3959a2c
# Compose tools
f8047c3
Requires: livecd-tools, anaconda-runtime, squashfs-tools, busybox-anaconda
3959a2c
# Other
3959a2c
Requires: notify-python
3959a2c
Requires: usermode
3959a2c
Requires: pam
f8047c3
Requires: python >= 2.4
82850bb
# At least these requirements are invalid for EPEL
82850bb
Conflicts: fedora-release < 7
82850bb
Conflicts: centos-release < 5
82850bb
# Can't conflict with this one!
82850bb
#Conflicts: redhat-release < 5
6665383
BuildArch: noarch
6665383
ExcludeArch: ppc ppc64
b4bfae9
BuildRequires: intltool, gettext, python, desktop-file-utils
b4bfae9
b4bfae9
%description
b4bfae9
Revisor provides a set of graphical tools for building customized, updated
b4bfae9
Fedora "Spins". This tool has been built around two other projects. First
b4bfae9
is pungi, which builds the installation media. The other is livecd-tools,
b4bfae9
which builds the live image.
b4bfae9
3959a2c
%package comps
3959a2c
Summary:    Revisor Comps Files
3959a2c
Group:      Applications/System
3959a2c
Requires:   revisor = %{version}-%{release}
3959a2c
3959a2c
%description comps
3959a2c
A number of comps files, as up-to-date as possible
3959a2c
42b61c8
%package cobbler
42b61c8
Summary:    Revisor Cobbler Integration
42b61c8
Group:      Applications/System
42b61c8
Requires:   cobbler, koan, revisor = %{version}-%{release}
6665383
42b61c8
%description cobbler
42b61c8
Revisor Integration with Cobbler for having Revisor do DHCP, PXE,
42b61c8
Xen and KVM stuff.
6665383
42b61c8
%package delta
42b61c8
Summary:    Revisor Deltarpm Integration
42b61c8
Group:      Applications/System
42b61c8
Requires:   deltarpm, revisor = %{version}-%{release}
6665383
42b61c8
%description delta
42b61c8
Revisor Integration with deltarpm for generating delta ISO images.
6665383
82850bb
#%package virt
82850bb
#Summary:    Revisor Virtualization Media Features
82850bb
#Group:      Applications/System
82850bb
#Requires:   python-virtinst, revisor = %{version}-%{release}
3959a2c
82850bb
#%description virt
82850bb
#Revisor Virtualization Media Features for provisioning virtual guests
3959a2c
82850bb
#%package jigdo
82850bb
#Summary:    Revisor Integration with Jigdo
82850bb
#Group:      Applications/System
82850bb
#Requires:   jigdo, revisor = %{version}-%{release}
3959a2c
82850bb
#%description jigdo
82850bb
#Pre-Alpha of Revisor Integration with Jigdo for distributing your compose
3959a2c
82850bb
#%package rebrand
82850bb
#Summary:    Revisor Rebranding Fedora Utilies
82850bb
#Group:      Applications/System
82850bb
#Requires:   revisor = %{version}-%{release}, rpmdevtools, rpm-build
3959a2c
82850bb
#%description rebrand
82850bb
#Utilities for Revisor to support rebranding Fedora
6665383
b4bfae9
%prep
b4bfae9
%setup -q
b4bfae9
b4bfae9
%build
b4bfae9
%configure
b4bfae9
make
b4bfae9
b4bfae9
%install
b4bfae9
rm -rf $RPM_BUILD_ROOT
b4bfae9
make install DESTDIR=$RPM_BUILD_ROOT
b4bfae9
desktop-file-install --vendor="fedora"              \
b4bfae9
  --delete-original                                 \
b4bfae9
  --dir=%{buildroot}%{_datadir}/applications        \
b4bfae9
  %{buildroot}/%{_datadir}/applications/revisor.desktop
b4bfae9
82850bb
# Remove files not going out for release
82850bb
rm -rf $RPM_BUILD_ROOT%{python_sitelib}/revisor/modjigdo
82850bb
rm -rf $RPM_BUILD_ROOT%{python_sitelib}/revisor/modrebrand
82850bb
rm -rf $RPM_BUILD_ROOT%{python_sitelib}/revisor/modvirt
82850bb
b4bfae9
%clean
b4bfae9
rm -rf $RPM_BUILD_ROOT
b4bfae9
b4bfae9
%files
b4bfae9
%defattr(-,root,root,-)
b4bfae9
%doc README NEWS AUTHORS COPYING
b4bfae9
%dir %{python_sitelib}/revisor
b4bfae9
%{python_sitelib}/revisor/*.py
b4bfae9
%{python_sitelib}/revisor/*.pyc
b4bfae9
%{python_sitelib}/revisor/*.pyo
b4bfae9
%{_bindir}/*
b4bfae9
%{_sbindir}/*
b4bfae9
%dir %{_sysconfdir}/revisor
b4bfae9
%dir %{_sysconfdir}/revisor/conf.d
b4bfae9
%config(noreplace) %{_sysconfdir}/revisor/revisor.conf
b4bfae9
%config(noreplace) %{_sysconfdir}/revisor/conf.d/*
b4bfae9
%config(noreplace) %{_sysconfdir}/pam.d/*
b4bfae9
%config(noreplace) %{_sysconfdir}/security/console.apps/*
b4bfae9
%{_datadir}/applications/*.desktop
4bad885
%{_datadir}/locale/*/LC_MESSAGES/revisor.mo
b4bfae9
%dir %{_datadir}/revisor
b4bfae9
%dir %{_datadir}/revisor/ui
b4bfae9
%dir %{_datadir}/revisor/pixmaps
b4bfae9
%{_datadir}/revisor/ui/*
b4bfae9
%{_datadir}/revisor/pixmaps/*
b4bfae9
%{_datadir}/pixmaps/*
b4bfae9
3959a2c
%files comps
3959a2c
%dir %{_datadir}/revisor/comps/
82850bb
%{_datadir}/revisor/*
3959a2c
42b61c8
%files cobbler
42b61c8
%defattr(-,root,root,-)
42b61c8
%dir %{python_sitelib}/revisor/modcobbler
42b61c8
%{python_sitelib}/revisor/modcobbler/*.py
42b61c8
%{python_sitelib}/revisor/modcobbler/*.pyc
42b61c8
%{python_sitelib}/revisor/modcobbler/*.pyo
6665383
42b61c8
%files delta
42b61c8
%defattr(-,root,root,-)
42b61c8
%dir %{python_sitelib}/revisor/moddelta
42b61c8
%{python_sitelib}/revisor/moddelta/*.py
42b61c8
%{python_sitelib}/revisor/moddelta/*.pyc
42b61c8
%{python_sitelib}/revisor/moddelta/*.pyo
6665383
82850bb
#%files virt
82850bb
#%defattr(-,root,root,-)
82850bb
#%dir %{python_sitelib}/revisor/modvirt
82850bb
#%{python_sitelib}/revisor/modvirt/*.py
82850bb
#%{python_sitelib}/revisor/modvirt/*.pyc
82850bb
#%{python_sitelib}/revisor/modvirt/*.pyo
82850bb
82850bb
#%files jigdo
82850bb
#%defattr(-,root,root,-)
82850bb
#%dir %{python_sitelib}/revisor/modjigdo
82850bb
#%{python_sitelib}/revisor/modjigdo/*.py
82850bb
#%{python_sitelib}/revisor/modjigdo/*.pyc
82850bb
#%{python_sitelib}/revisor/modjigdo/*.pyo
82850bb
82850bb
#%files rebrand
82850bb
#%defattr(-,root,root,-)
82850bb
#%dir %{python_sitelib}/revisor/modrebrand
82850bb
#%{python_sitelib}/revisor/modrebrand/*.py
82850bb
#%{python_sitelib}/revisor/modrebrand/*.pyc
82850bb
#%{python_sitelib}/revisor/modrebrand/*.pyo
82850bb
#%dir %{_datadir}/revisor/rebrand-template
82850bb
#%{_datadir}/revisor/rebrand-template/*
3959a2c
82850bb
%changelog
82850bb
* Sat Oct 20 2007 Jonathan Steffan <jon a fedoraunity.org> 2.0.5-5
82850bb
- Update spec for release
65fc782
82850bb
* Tue Oct 02 2007 Jeroen van Meeuwen <kanarip a fedoraunity.org> 2.0.5-3
82850bb
- Bugfixes to x86_64 packageSack creation
82850bb
- Bugfixes
6665383
cfc98de
* Fri Sep 07 2007 Jeroen van Meeuwen <kanarip a fedoraunity.org> 2.0.4.3-7
cfc98de
- Bugfixes
f8047c3
- Removed pungi dependency
f8047c3
- Added kickstart interfacing for pykickstart API differences
0553fab
- Enable Revisor to run in CLI mode on Enterprise Linux 5
3959a2c
- Split comps in their own package
3959a2c
- Add rebrand module
6de9d7d
- Fixed pkgorder, copy_dir
3959a2c
- Development release
3959a2c
65fc782
* Thu Aug 09 2007 Jeroen van Meeuwen <kanarip a fedoraunity.org> 2.0.4.2-1
65fc782
- Added Source RPM Tree for Installation Media
65fc782
- Rebased livecd-tools and created/submitted the necessary patches
65fc782
- Added pre-alpha jigdo sub-package
65fc782
- Disable jigdo, virt and dual media compose for release
65fc782
- Lots of bug fixes
65fc782
- Fixed up some features
65fc782
65fc782
* Thu Jul 26 2007 Jeroen van Meeuwen <kanarip a fedoraunity.org> 2.0.4.2-1rc1
65fc782
- Adding a workaround fix for yum issues
65fc782
42b61c8
* Tue Jul 10 2007 Jonathan Steffan <jon a fedoraunity.org> 2.0.4.1-2
42b61c8
- Trivial specfile change
42b61c8
- Added one for one delta suport
42b61c8
42b61c8
* Sun Jul 01 2007 Jeroen van Meeuwen <kanarip a fedoraunity.org> 2.0.4.1-1rc2
42b61c8
- Adding cobbler support for CLI mode
42b61c8
- Fixing pkgorder issue
42b61c8
- Fixing inefficient pkgorder
42b61c8
- Adding Enterprise Linux configuration files
42b61c8
- Moving some packages to be suggested instead of required
42b61c8
- Fixed progress bar during ISO creation
42b61c8
- Fixed SHA1SUM file not having all ISOs
42b61c8
- Adding full support for installation tree and cleanup
42b61c8
6665383
* Wed Jun 27 2007 Jonathan Steffan <jon a fedoraunity.org> 2.0.4.0-1
6665383
- Bugfixes from 2.0.3.x
6665383
- Start of all the new features of 2.0.4
6c338fd
edda816
* Sun Jun 24 2007 Jeroen van Meeuwen <kanarip a fedoraunity.org> 2.0.3.12-1
edda816
- Removed excludearchs ppc, ppc64 and added some logic to the spec file
edda816
  including a patch to disable livecd composure.
edda816
- Fixed bug in repository configuration
edda816
- Re-enabled CLI
edda816
4bad885
* Sat Jun 23 2007 Jeroen van Meeuwen <kanarip a fedoraunity.org> 2.0.3.11-1
4bad885
- Adding comps-f7 to our distribution
4bad885
- Removing pungi configuration files
4bad885
- Fixed a major bug in unlinking / unmounting the left-overs of a previous
4bad885
  live media run.
4bad885
- Enabled translation
4bad885
- Added ExcludeArch: ppc, ppc64. Our dependency livecd-tools is not available
4bad885
  for these archs.
4bad885
82bafc7
* Sun Jun 17 2007 Jonathan Steffan <jon a fedoraunity.org> 2.0.3.10-1
82bafc7
- Final round of fixes for 2.0.3.x
82bafc7
- Added requirement for fedora-release >= 7
82bafc7
7d62ff3
* Sun Jun 10 2007 Jeroen van Meeuwen <kanarip a fedoraunity.org> 2.0.3.9-1
7d62ff3
- Bugfixes, more bugfixes
7d62ff3
c076c3f
* Thu Jun 07 2007 Jonathan Steffan <jon a fedoraunity.org> 2.0.3.8-1
c076c3f
- Updated to 2.0.3.8
c076c3f
- More major bugfixes
c076c3f
5909664
* Tue Jun 05 2007 Jeroen van Meeuwen <kanarip a fedoraunity.org> 2.0.3.7-1
5909664
- Major bugfixes and speed improvements - tagging for reference purposes
4bad885
- Added /etc/revisor/comps-fc6.xml as a %%config file
5909664
b4bfae9
* Thu May 31 2007 Jonathan Steffan <jon a fedoraunity.org> 2.0.3.6-1
b4bfae9
- Updated with all combined changes for release
b4bfae9
- Fixed up configs
b4bfae9
- Added fc6 comps data
b4bfae9
- Bug fixes from LinuxTag
b4bfae9
b4bfae9
* Wed May 30 2007 Jeroen van Meeuwen <kanarip a fedoraunity.org> 2.0.3-1
b4bfae9
- Repackage for release
b4bfae9
b4bfae9
* Thu May 24 2007 Jonathan Steffan <jon a fedoraunity.org> 2.0.2-3
b4bfae9
- Added desktop-file-install and needed BR
b4bfae9
- Updated for COPYING
b4bfae9
- Updated revisor.desktop
b4bfae9
b4bfae9
* Thu May 17 2007 Jeroen van meeuwen <kanarip a fedoraunity.org> 2.0.2-2
b4bfae9
- Rebuild
b4bfae9
b4bfae9
* Tue May 08 2007 Jeroen van Meeuwen <kanarip a fedoraunity.org> 2.0.2-1
b4bfae9
- Final beta version for RH Summit 2007, San Diego
b4bfae9
b4bfae9
* Mon May 07 2007 Jeroen van Meeuwen <kanarip a fedoraunity.org> 2.0.1-5
b4bfae9
- Fixed configuration files
b4bfae9
- New files added
b4bfae9
b4bfae9
* Mon Apr 30 2007 Jonathan Steffan <jon a fedoraunity.org> 2.0.1-4
b4bfae9
- Fixed symlink to consolehelper relative path instead of aboslute
b4bfae9
  path in Makefile, rather then specfile
b4bfae9
- Added missing s-c-kickstart dep
b4bfae9
- Fixed shipped config files to be more targeted for end users
b4bfae9
b4bfae9
* Tue Apr 17 2007 Jef Spaleta <jspaleta@gmail.com> 2.0.1-3
b4bfae9
- Specfile cleanup for fedora package submission review
b4bfae9
- remove makeinstall macro
b4bfae9
- add usermode and pam requires
b4bfae9
- removed desktop-update-database scriptlets and associated deps
b4bfae9
b4bfae9
* Mon Apr 16 2007 Jeroen van Meeuwen <kanarip a fedoraunity.org> 2.0.1-2
b4bfae9
- Corrected some file locations
b4bfae9
- Build for F7
b4bfae9
b4bfae9
* Wed Apr 11 2007 Jonathan Steffan <jon a fedoraunity.org> 2.0.1-1
b4bfae9
- Updated for the new revisor 2.x
b4bfae9
b4bfae9
* Sat Feb 17 2007 Jonathan Steffan <jon a fedoraunity.org> 1.0.2-1
b4bfae9
- Updated config (in)sanity
b4bfae9
- Added some configuration options
b4bfae9
b4bfae9
* Thu Feb 15 2007 Jonathan Steffan <jon a fedoraunity.org> 1.0.1-1
b4bfae9
- Added a "Select All" button to help ease full distro Re-Spins
b4bfae9
b4bfae9
* Wed Feb 14 2007 Jonathan Steffan <jon a fedoraunity.org> 1.0-2
b4bfae9
- Cleaned up code to include as little duplicate Pirut code as
b4bfae9
  possible.
b4bfae9
- Updated config file to default to mirrorlist
b4bfae9
b4bfae9
* Mon Feb 12 2007 Jonathan Steffan <jon a fedoraunity.org> 1.0-1
b4bfae9
- Initial build based on pirutspin 1.0-1
b4bfae9