rpms/snake/EL-5 snake.spec, NONE, 1.1 .cvsignore, 1.1, 1.2 sources, 1.1, 1.2

James Laska (jlaska) fedora-extras-commits at redhat.com
Mon Dec 10 13:37:23 UTC 2007


Author: jlaska

Update of /cvs/pkgs/rpms/snake/EL-5
In directory cvs-int.fedora.redhat.com:/tmp/cvs-serv13050/EL-5

Modified Files:
	.cvsignore sources 
Added Files:
	snake.spec 
Log Message:
Importing into EL-5 branch




--- NEW FILE snake.spec ---
%{!?python_sitelib: %define python_sitelib %(%{__python} -c "from distutils.sysconfig import get_python_lib; print get_python_lib()")}

Name:           snake
Summary:        Smart Network Automated Kickstart Environment
Version:        0.9
Release:        0.5git%{?dist}
Source0:        http://hosted.fedoraproject.org/projects/snake/SnakeReleases/%{name}-%{version}.tar.bz2
License:        GPLv2+
Group:          Applications/Internet
URL:            http://hosted.fedoraproject.org/projects/snake/
BuildRoot:      %{_tmppath}/%{name}-%{version}-%{release}-buildroot
BuildArch:      noarch
BuildRequires:  python-devel
Requires:       yum


%description
snake is a toolkit for doing automated kickstart-based installations.


%package        server
Summary:        Smart Network Automated Kickstart Environment Server
Group:          System Environment/Daemons
Requires:       %{name} = %{version}-%{release}
Requires:       mkinitrd chkconfig
Requires:       pykickstart >= 1.1


%description server
snake-server provides utilities for serving installation trees and kickstart
templates to snake-client systems


%prep
%setup -q


%build
%{__python} setup.py build


%install
rm -rf $RPM_BUILD_ROOT
%{__python} setup.py install --root $RPM_BUILD_ROOT
install -d $RPM_BUILD_ROOT/%{_localstatedir}/{lib,run,cache}/snake
install -d $RPM_BUILD_ROOT/%{_localstatedir}/lib/snake/{kickstarts,trees}


%clean
rm -rf $RPM_BUILD_ROOT


%post server
/sbin/chkconfig --add snake-server


%preun server
if [ $1 -eq 0 ]; then
    /sbin/service snake-server stop >/dev/null 2>&1
    /sbin/chkconfig --del snake-server
fi


%files
%defattr(-,root,root,-)
%doc README LICENSE
%{_sbindir}/snake-install
%{_sbindir}/snake-install-tui
%{_bindir}/snake-rawhide-status
%dir %{python_sitelib}/snake
%{python_sitelib}/snake/__init__.py*
%{python_sitelib}/snake/dbushelper.py*
%{python_sitelib}/snake/machineinfo.py*
%{python_sitelib}/snake/saverestore.py*
%{python_sitelib}/snake/zeroconf.py*
%{python_sitelib}/snake/client.py*
%{python_sitelib}/snake/install.py*
%{python_sitelib}/snake/uri.py*
%{python_sitelib}/snake/tree.py*
%{python_sitelib}/snake/xmlhelper.py*


%files server
%defattr(-,root,root,-)
%doc docs/DESIGN
%{_sbindir}/snake-server
%{_sbindir}/snake-tree
%{_sbindir}/snake-ks
%dir %{_localstatedir}/run/snake
%dir %{_localstatedir}/cache/snake
%dir %{_localstatedir}/lib/snake
%dir %{_localstatedir}/lib/snake/kickstarts
%dir %{_localstatedir}/lib/snake/trees
%config(noreplace) %{_sysconfdir}/snake.conf
%{_sysconfdir}/init.d/snake-server
%{python_sitelib}/snake/compose.py*
%{python_sitelib}/snake/config.py*
%{python_sitelib}/snake/dbushelper.py*
%{python_sitelib}/snake/kickstart.py*
%{python_sitelib}/snake/labindex.py*
%{python_sitelib}/snake/labquery.py*
%{python_sitelib}/snake/machine.py*
%{python_sitelib}/snake/plugins.py*
%{python_sitelib}/snake/server.py*
%{python_sitelib}/snake/log.py*
%{python_sitelib}/snake/ksdb.py*
%{python_sitelib}/snake/treedb.py*


%changelog
* Thu Dec 3 2007 James Laska <jlaska at redhat.com> 0.9-0.5git
- Fix bug#12 - make snake-install python2.3 friendly (jlaska)
- Support for ext2 initrd's (jlaska)

* Thu Nov 21 2007 James Laska <jlaska at redhat.com> 0.9-0.4git
- Fedora package review clean up (jlaska)

* Thu Nov 20 2007 James Laska <jlaska at redhat.com> 0.9-0.3git
- Use tree.version when generating kickstart (wwoods)

* Thu Nov 19 2007 James Laska <jlaska at redhat.com> 0.9-0.2git
- Support for loading NFS uri's (jlaska)
- Support for loading .discinfo files (wwoods+jlaska)

* Thu Nov 16 2007 James Laska <jlaska at redhat.com> 0.9-0.1git
- New snake-install, snake-install-tui, snake-tree, snake-ks cmdline utilities (wwoods)
- Cleanup packaging (jlaska)

* Thu Jun 13 2007 James Laska <jlaska at redhat.com> 0.8-1
- Cleaned up source tree (jlaska)
- Added license information (mzazrivec)
- Added file client save/restore support (mzazrivec)
- Added snake-genks to test pykickstart template generation (wwoods)
- Change to python-sqlobject to model tree information (jlaska)
- Improve architecture detection by using rpmUtils.arch (getBaseArch and getCanonArch) (jlaska)

* Thu Mar 2 2007 James Laska <jlaska at redhat.com> 0.7-1
- Machine registration is now controlled by plugins on the snake-server (mzazrivec)
- Support for .treeinfo and .composeinfo parsing (wwoods)
- snake-server now refreshes in-memory tree list on a timer pop (mzazrivec)
- snake-client supports nfs installs (jlaska)

* Thu Feb 8 2007 Will Woods <wwoods at redhat.com> 0.6-1
- Default to using internal webserver for http urls unless http_root is set
- Fixes for updated dbus bindings (make sure dbus strings are marshallable)
- Stop using deprecated dbus.dbus_bindings.DBusException
- Fixes to use pykickstart-0.91 or higher (kickstart versioning support!)
- Fixes for cElementTree move in python 2.5
- snake-client works on RHEL4 (python 2.3) systems

* Fri Jan 5 2007 Will Woods <wwoods at redhat.com> 0.5-1
- merge snake.hack into mkcache.py
- fix 'generic' installations on unregistered machines (mzazrivec)
- snake-server passes server config data to plugins
- plugin call changed to (item,**context)
- add flags to snake-client to allow kickstart overrides (--lang,--packages)
- 'snake' is softlinked to snake-client

* Wed Dec 19 2006 Will Woods <wwoods at redhat.com> 0.4-6
- snake-server now uses kickstart_hook plugins
- Add plugins dir and a couple of default plugins

* Wed Dec 07 2006 James Laska <jlaska at redhat.com> 0.4-4
- Break out package into snake and snake-server sub packages

* Wed Nov 29 2006 James Laska <jlaska at redhat.com> 0.4-3
- Added snake-server runlevel script
- Added --list-templates flag to snake-client
- Kickstart templates now perform a fully hands-free install

* Tue Nov 28 2006 Will Woods <wwoods at redhat.com> 0.4-2
- Improve plugin.py to do kickstart template loading
- Add initial kickstart template support to snake-server
- Add some generic templates, with examples in doc/
- Add basic kickstart template use to snake-client

* Wed Nov 15 2006 Will Woods <wwoods at redhat.com> 0.4-1
- add machine.py, plugin.py, kickstart.py
- make snake-client use avahi stuff
- xml metadata is in dotfiles now
- plugin architecture with example plugin

* Wed Nov 1 2006 Will Woods <wwoods at redhat.com> 0.3-1
- snake-client can actually kick off an install!

* Tue Oct 31 2006 Will Woods <wwoods at redhat.com> 0.2-1
- Add binaries to sbindir and docs, bump version

* Wed Oct 25 2006 Will Woods <wwoods at redhat.com> 0.1-1
- Initial attempt at packaging


Index: .cvsignore
===================================================================
RCS file: /cvs/pkgs/rpms/snake/EL-5/.cvsignore,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -r1.1 -r1.2
--- .cvsignore	4 Dec 2007 01:07:17 -0000	1.1
+++ .cvsignore	10 Dec 2007 13:36:45 -0000	1.2
@@ -0,0 +1 @@
+snake-0.9.tar.bz2


Index: sources
===================================================================
RCS file: /cvs/pkgs/rpms/snake/EL-5/sources,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -r1.1 -r1.2
--- sources	4 Dec 2007 01:07:17 -0000	1.1
+++ sources	10 Dec 2007 13:36:45 -0000	1.2
@@ -0,0 +1 @@
+04fcf979712372a2f0fbb65ed4b36877  snake-0.9.tar.bz2




More information about the fedora-extras-commits mailing list