2005-10-13 20:16:44 +00:00
|
|
|
%{!?python_sitelib: %define python_sitelib %(python -c "from distutils.sysconfig import get_python_lib; print get_python_lib()")}
|
|
|
|
|
2005-10-05 19:14:13 +00:00
|
|
|
Summary: A python library for manipulating kickstart files
|
|
|
|
Name: pykickstart
|
2005-10-24 21:13:43 +00:00
|
|
|
Version: 0.5
|
2005-10-19 18:47:16 +00:00
|
|
|
Release: 1
|
2005-10-05 19:14:13 +00:00
|
|
|
Source0: %{name}-%{version}.tar.gz
|
|
|
|
License: GPL
|
|
|
|
Group: System Environment/Libraries
|
|
|
|
BuildArch: noarch
|
|
|
|
BuildRoot: %{_tmppath}/%{name}-root
|
|
|
|
BuildRequires: python-devel
|
|
|
|
Requires: python >= %(%{__python} -c "import sys; print sys.version[:3]")
|
|
|
|
|
|
|
|
%description
|
|
|
|
The pykickstart package is a python library for manipulating kickstart
|
|
|
|
files.
|
|
|
|
|
|
|
|
%prep
|
|
|
|
%setup -q
|
|
|
|
make
|
|
|
|
|
|
|
|
%build
|
|
|
|
|
|
|
|
%install
|
|
|
|
rm -rf $RPM_BUILD_ROOT
|
|
|
|
python setup.py install --root=${RPM_BUILD_ROOT}
|
|
|
|
|
|
|
|
%clean
|
|
|
|
rm -rf $RPM_BUILD_ROOT
|
|
|
|
|
|
|
|
%files
|
|
|
|
%defattr(-,root,root)
|
2005-10-19 18:47:16 +00:00
|
|
|
%doc README ChangeLog COPYING docs/programmers-guide
|
2005-10-13 20:16:44 +00:00
|
|
|
%{python_sitelib}/pykickstart
|
2005-10-24 21:13:43 +00:00
|
|
|
/usr/bin/ksvalidator
|
2005-10-05 19:14:13 +00:00
|
|
|
|
|
|
|
%changelog
|
2005-10-24 21:13:43 +00:00
|
|
|
* Mon Oct 24 2005 Chris Lumens <clumens@redhat.com> 0.5-1
|
|
|
|
- Add line numbers to exception reporting.
|
|
|
|
- Added ksvalidator.
|
|
|
|
|
2005-10-19 18:47:16 +00:00
|
|
|
* Wed Oct 19 2005 Chris Lumens <clumens@redhat.com> 0.4-1
|
|
|
|
- Correct deprecated attribute on options.
|
|
|
|
- Added programming documentation.
|
|
|
|
|
2005-10-13 20:16:44 +00:00
|
|
|
* Thu Oct 13 2005 Chris Lumens <clumens@redhat.com> 0.3-2
|
|
|
|
- Correct python lib directory on 64-bit archs (#170621).
|
|
|
|
|
2005-10-07 20:10:25 +00:00
|
|
|
* Fri Oct 07 2005 Chris Lumens <clumens@redhat.com> 0.3-1
|
|
|
|
- Add a deprecated attribute to options.
|
|
|
|
- Add --card option back to xconfig and mark as deprecated.
|
|
|
|
- Throw a deprecation warning on mouse and langsupport commands.
|
|
|
|
- Rename Writer to KickstartWriter for consistency.
|
|
|
|
- Collapse scripts into a single list and add an attribute on Script to
|
|
|
|
differentiate.
|
|
|
|
|
2005-10-05 21:53:51 +00:00
|
|
|
* Wed Oct 05 2005 Chris Lumens <clumens@redhat.com> 0.2-1
|
|
|
|
- Rename module to pykickstart to avoid conflicts in anaconda.
|
|
|
|
- Rename data classes for consistency.
|
|
|
|
- Add default bytesPerInode settings.
|
|
|
|
|
2005-10-05 19:14:13 +00:00
|
|
|
* Wed Oct 05 2005 Chris Lumens <clumens@redhat.com> 0.1-1
|
|
|
|
- Created package from anaconda.
|