rpms/cobbler/F-9 .cvsignore, 1.47, 1.48 cobbler.spec, 1.59, 1.60 sources, 1.55, 1.56
Michael DeHaan
mdehaan at fedoraproject.org
Fri Dec 19 17:33:51 UTC 2008
- Previous message (by thread): rpms/cobbler/F-8 .cvsignore, 1.47, 1.48 cobbler.spec, 1.56, 1.57 sources, 1.56, 1.57
- Next message (by thread): rpms/cobbler/devel .cvsignore, 1.47, 1.48 cobbler.spec, 1.64, 1.65 sources, 1.57, 1.58
- Messages sorted by:
[ date ]
[ thread ]
[ subject ]
[ author ]
Author: mdehaan
Update of /cvs/extras/rpms/cobbler/F-9
In directory cvs1.fedora.phx.redhat.com:/tmp/cvs-serv2773/F-9
Modified Files:
.cvsignore cobbler.spec sources
Log Message:
This is 1.4.0 (fixed build pusher script, resubmitted)
Index: .cvsignore
===================================================================
RCS file: /cvs/extras/rpms/cobbler/F-9/.cvsignore,v
retrieving revision 1.47
retrieving revision 1.48
diff -u -r1.47 -r1.48
--- .cvsignore 14 Nov 2008 22:12:21 -0000 1.47
+++ .cvsignore 19 Dec 2008 17:33:20 -0000 1.48
@@ -44,3 +44,4 @@
cobbler-1.2.7.tar.gz
cobbler-1.2.8.tar.gz
cobbler-1.2.9.tar.gz
+cobbler-1.4.0.tar.gz
Index: cobbler.spec
===================================================================
RCS file: /cvs/extras/rpms/cobbler/F-9/cobbler.spec,v
retrieving revision 1.59
retrieving revision 1.60
diff -u -r1.59 -r1.60
--- cobbler.spec 14 Nov 2008 22:12:21 -0000 1.59
+++ cobbler.spec 19 Dec 2008 17:33:20 -0000 1.60
@@ -2,23 +2,40 @@
Summary: Boot server configurator
Name: cobbler
AutoReq: no
-Version: 1.2.9
-Release: 1%{?dist}
+Version: 1.4.0
+Release: 2%{?dist}
Source0: %{name}-%{version}.tar.gz
License: GPLv2+
Group: Applications/System
Requires: python >= 2.3
+%if 0%{?suse_version} >= 1000
+Requires: apache2
+Requires: apache2-mod_python
+Requires: tftp
+%else
Requires: httpd
Requires: tftp-server
+Requires: mod_python
+%endif
Requires: python-devel
Requires: createrepo
-Requires: mod_python
Requires: python-cheetah
Requires: rsync
+%if 0%{?fedora} >= 11 || 0%{?rhel} >= 6
+Requires: genisoimage
+%else
+Requires: mkisofs
+%endif
Requires(post): /sbin/chkconfig
Requires(preun): /sbin/chkconfig
Requires(preun): /sbin/service
+%if 0%{?fedora} >= 11 || 0%{?rhel} >= 6
+%{!?pyver: %define pyver %(%{__python} -c "import sys ; print sys.version[:3]")}
+Requires: python(abi)=%{pyver}
+%endif
+%if 0%{?suse_version} < 0
BuildRequires: redhat-rpm-config
+%endif
BuildRequires: python-devel
BuildRequires: python-cheetah
%if 0%{?fedora} >= 8
@@ -29,20 +46,21 @@
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-buildroot
BuildArch: noarch
ExcludeArch: ppc
+ExcludeArch: ppc64
Url: http://cobbler.et.redhat.com
%description
-Cobbler is a network boot and update server. Cobbler
-supports PXE, provisioning virtualized images, and
+Cobbler is a network install server. Cobbler
+supports PXE, virtualized installs, and
reinstalling existing Linux machines. The last two
-modes require a helper tool called 'koan' that
+modes use a helper tool, 'koan', that
integrates with cobbler. Cobbler's advanced features
include importing distributions from DVDs and rsync
mirrors, kickstart templating, integrated yum
mirroring, and built-in DHCP/DNS Management. Cobbler has
a Python and XMLRPC API for integration with other
-applications.
+applications. There is also a web interface.
%prep
%setup -q
@@ -52,9 +70,14 @@
%install
test "x$RPM_BUILD_ROOT" != "x" && rm -rf $RPM_BUILD_ROOT
-%{__python} setup.py install --optimize=1 --root=$RPM_BUILD_ROOT
+%if 0%{?suse_version} >= 1000
+PREFIX="--prefix=/usr"
+%endif
+%{__python} setup.py install --optimize=1 --root=$RPM_BUILD_ROOT $PREFIX
%post
+
+# backup config
if [ -e /var/lib/cobbler/distros ]; then
cp /var/lib/cobbler/distros* /var/lib/cobbler/backup 2>/dev/null
cp /var/lib/cobbler/profiles* /var/lib/cobbler/backup 2>/dev/null
@@ -64,6 +87,25 @@
if [ -e /var/lib/cobbler/config ]; then
cp -a /var/lib/cobbler/config /var/lib/cobbler/backup 2>/dev/null
fi
+# upgrade older installs
+# move power and pxe-templates from /etc/cobbler, backup new templates to *.rpmnew
+for n in power pxe; do
+ rm -f /etc/cobbler/$n*.rpmnew
+ find /etc/cobbler -maxdepth 1 -name "$n*" -type f | while read f; do
+ newf=/etc/cobbler/$n/`basename $f`
+ [ -e $newf ] && mv $newf $newf.rpmnew
+ mv $f $newf
+ done
+done
+# upgrade older installs
+# copy kickstarts from /etc/cobbler to /var/lib/cobbler/kickstarts
+rm -f /etc/cobbler/*.ks.rpmnew
+find /etc/cobbler -maxdepth 1 -name "*.ks" -type f | while read f; do
+ newf=/var/lib/cobbler/kickstarts/`basename $f`
+ [ -e $newf ] && mv $newf $newf.rpmnew
+ cp $f $newf
+done
+# reserialize and restart
/usr/bin/cobbler reserialize
/sbin/chkconfig --add cobblerd
/sbin/service cobblerd condrestart
@@ -80,6 +122,7 @@
/sbin/service httpd condrestart >/dev/null 2>&1 || :
fi
+
%clean
test "x$RPM_BUILD_ROOT" != "x" && rm -rf $RPM_BUILD_ROOT
@@ -91,6 +134,12 @@
%dir /var/www/cobbler/svc/
/var/www/cobbler/svc/*.py*
+%defattr(755,root,root)
+%dir /usr/share/cobbler/installer_templates
+%defattr(744,root,root)
+/usr/share/cobbler/installer_templates/*.template
+%defattr(744,root,root)
+/usr/share/cobbler/installer_templates/defaults
%defattr(755,apache,apache)
%dir /usr/share/cobbler/webui_templates
%defattr(444,apache,apache)
@@ -109,27 +158,26 @@
%defattr(755,apache,apache)
%dir /var/www/cobbler/webui
%defattr(444,apache,apache)
-/var/www/cobbler/webui/*.css
-/var/www/cobbler/webui/*.js
-/var/www/cobbler/webui/*.png
-/var/www/cobbler/webui/*.html
+/var/www/cobbler/webui/*
%defattr(755,root,root)
%{_bindir}/cobbler
+%{_bindir}/cobbler-ext-nodes
%{_bindir}/cobblerd
-%{_bindir}/cobbler-completion
-
-# %defattr(644,root,root)
-# %config(noreplace) /etc/bash_completion.d/cobbler_bash
%defattr(-,root,root)
%dir /etc/cobbler
-%config(noreplace) /etc/cobbler/*.ks
+%config(noreplace) /var/lib/cobbler/kickstarts/*.ks
+%config(noreplace) /var/lib/cobbler/kickstarts/*.seed
%config(noreplace) /etc/cobbler/*.template
+%config(noreplace) /etc/cobbler/pxe/*.template
+%config(noreplace) /etc/cobbler/power/*.template
%config(noreplace) /etc/cobbler/rsync.exclude
%config(noreplace) /etc/logrotate.d/cobblerd_rotate
%config(noreplace) /etc/cobbler/modules.conf
%config(noreplace) /etc/cobbler/users.conf
+%config(noreplace) /etc/cobbler/acls.conf
+%config(noreplace) /etc/cobbler/cheetah_macros
%dir %{python_sitelib}/cobbler
%dir %{python_sitelib}/cobbler/yaml
%dir %{python_sitelib}/cobbler/modules
@@ -141,8 +189,13 @@
%{python_sitelib}/cobbler/webui/*.py*
%{_mandir}/man1/cobbler.1.gz
/etc/init.d/cobblerd
+%if 0%{?suse_version} >= 1000
+%config(noreplace) /etc/apache2/conf.d/cobbler.conf
+%config(noreplace) /etc/apache2/conf.d/cobbler_svc.conf
+%else
%config(noreplace) /etc/httpd/conf.d/cobbler.conf
%config(noreplace) /etc/httpd/conf.d/cobbler_svc.conf
+%endif
%dir /var/log/cobbler/syslog
%defattr(755,root,root)
@@ -155,6 +208,8 @@
%dir /var/lib/cobbler/config/images.d/
%dir /var/lib/cobbler/kickstarts/
%dir /var/lib/cobbler/backup/
+%dir /var/lib/cobbler/triggers
+%dir /var/lib/cobbler/triggers/add
%dir /var/lib/cobbler/triggers/add/distro
%dir /var/lib/cobbler/triggers/add/distro/pre
%dir /var/lib/cobbler/triggers/add/distro/post
@@ -187,7 +242,6 @@
%dir /var/lib/cobbler/triggers/install/pre
%dir /var/lib/cobbler/triggers/install/post
%dir /var/lib/cobbler/snippets/
-/var/lib/cobbler/completions
%defattr(744,root,root)
%config(noreplace) /var/lib/cobbler/triggers/sync/post/restart-services.trigger
@@ -196,12 +250,22 @@
%defattr(664,root,root)
%config(noreplace) /etc/cobbler/settings
+/var/lib/cobbler/version
%config(noreplace) /var/lib/cobbler/snippets/partition_select
%config(noreplace) /var/lib/cobbler/snippets/pre_partition_select
%config(noreplace) /var/lib/cobbler/snippets/main_partition_select
%config(noreplace) /var/lib/cobbler/snippets/post_install_kernel_options
-/var/lib/cobbler/elilo-3.6-ia64.efi
+%config(noreplace) /var/lib/cobbler/snippets/network_config
+%config(noreplace) /var/lib/cobbler/snippets/pre_install_network_config
+%config(noreplace) /var/lib/cobbler/snippets/post_install_network_config
+%config(noreplace) /var/lib/cobbler/snippets/func_install_if_enabled
+%config(noreplace) /var/lib/cobbler/snippets/func_register_if_enabled
+%config(noreplace) /var/lib/cobbler/snippets/download_config_files
+%config(noreplace) /var/lib/cobbler/snippets/koan_environment
+%config(noreplace) /var/lib/cobbler/snippets/redhat_register
+/var/lib/cobbler/elilo-3.8-ia64.efi
/var/lib/cobbler/menu.c32
+/var/lib/cobbler/yaboot-1.3.14
%defattr(660,root,root)
%config(noreplace) /etc/cobbler/users.digest
@@ -217,48 +281,27 @@
%changelog
-* Fri Nov 14 2008 Michael DeHaan <mdehaan at redhat.com> - 1.3.0-1
+* Fri Dec 19 2008 Michael DeHaan <mdehaan at redhat.com> - 1.4.0-2
- Upstream changes (see CHANGELOG)
-* Wed Oct 15 2008 Michael DeHaan <mdehaan at redhat.com> - 1.2.8-1
-- Upstream changes (see CHANGELOG)
-
-* Tue Oct 14 2008 Michael DeHaan <mdehaan at redhat.com> - 1.2.7-1
-- Upstream changes (see CHANGELOG)
-
-* Fri Oct 07 2008 Michael DeHaan <mdehaan at redhat.com> - 1.2.6-1
-- Upstream changes (see CHANGELOG)
-
-* Fri Sep 26 2008 Michael DeHaan <mdehaan at redhat.com> - 1.2.5-1
-- Upstream changes (see CHANGELOG)
-
-* Mon Sep 08 2008 Michael DeHaan <mdehaan at redhat.com> - 1.2.4-1
-- Rebuild
+* Wed Dec 10 2008 Michael DeHaan <mdehaan at redhat.com> - 1.3.4-1
+- Updated test release (see CHANGELOG)
-* Sun Sep 07 2008 Michael DeHaan <mdehaan at redhat.com> - 1.2.3-1
- Upstream changes (see CHANGELOG)
-
-* Fri Sep 05 2008 Michael DeHaan <mdehaan at redhat.com> - 1.2.2-1
-- Upstream changes (see CHANGELOG)
-
-* Tue Sep 02 2008 Michael DeHaan <mdehaan at redhat.com> - 1.2.1-1
-- Upstream changes (see CHANGELOG)
-- Package unowned directories
-
-* Fri Aug 29 2008 Michael DeHaan <mdehaan at redhat.com> - 1.2.0-1
-- Upstream changes (see CHANGELOG)
-
-* Tue Jun 10 2008 Michael DeHaan <mdehaan at redhat.com> - 1.0.3-1
+- Added specfile changes for python 2.6
+* Mon Dec 08 2008 Michael DeHaan <mdehaan at redhat.com> - 1.3.3-1
- Upstream changes (see CHANGELOG)
+- Added specfile changes for python 2.6
-* Mon Jun 09 2008 Michael DeHaan <mdehaan at redhat.com> - 1.0.2-1
+* Tue Nov 18 2008 Michael DeHaan <mdehaan at redhat.com> - 1.3.2-1
- Upstream changes (see CHANGELOG)
+- placeholder for future test release
+- packaged /var/lib/cobbler/version
-* Tue Jun 03 2008 Michael DeHaan <mdehaan at redhat.com> - 1.0.1-1
+* Fri Nov 14 2008 Michael DeHaan <mdehaan at redhat.com> - 1.3.1-1
- Upstream changes (see CHANGELOG)
-- stop owning files in tftpboot
-- condrestart for Apache
-* Wed May 27 2008 Michael DeHaan <mdehaan at redhat.com> - 1.0.0-2
+* Fri Sep 26 2008 Michael DeHaan <mdehaan at redhat.com> - 1.3.0-1
- Upstream changes (see CHANGELOG)
-
+- added sample.seed file
+- added /usr/bin/cobbler-ext-nodes
Index: sources
===================================================================
RCS file: /cvs/extras/rpms/cobbler/F-9/sources,v
retrieving revision 1.55
retrieving revision 1.56
diff -u -r1.55 -r1.56
--- sources 14 Nov 2008 22:12:21 -0000 1.55
+++ sources 19 Dec 2008 17:33:20 -0000 1.56
@@ -4,3 +4,4 @@
4a51e52feb314b72296b10abc66f52e4 cobbler-1.2.7.tar.gz
4342bfb53ad663ad1443be8c800f84f9 cobbler-1.2.8.tar.gz
1505d2fe25bde24b54e77da1e181d2cd cobbler-1.2.9.tar.gz
+6bf3dae4f204b44858ba91faeb8a1ecf cobbler-1.4.0.tar.gz
- Previous message (by thread): rpms/cobbler/F-8 .cvsignore, 1.47, 1.48 cobbler.spec, 1.56, 1.57 sources, 1.56, 1.57
- Next message (by thread): rpms/cobbler/devel .cvsignore, 1.47, 1.48 cobbler.spec, 1.64, 1.65 sources, 1.57, 1.58
- Messages sorted by:
[ date ]
[ thread ]
[ subject ]
[ author ]
More information about the fedora-extras-commits
mailing list