Add a newline to the key __str__ method's output.
[pykickstart.git] / pykickstart.spec
blobbe37bbd45bb94b0bb579fe4c6e33f9b8a82cd8ff
1 %{!?python_sitelib: %define python_sitelib %(python -c "from distutils.sysconfig import get_python_lib; print get_python_lib()")}
3 Summary: A python library for manipulating kickstart files
4 Name: pykickstart
5 Url: http://fedoraproject.org/wiki/pykickstart
6 Version: 0.93
7 Release: 2%{?dist}
8 Source0: %{name}-%{version}.tar.gz
9 License: GPL
10 Group: System Environment/Libraries
11 BuildArch: noarch
12 BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
13 BuildRequires: python-devel, gettext
14 Requires: python, python-urlgrabber
16 %description
17 The pykickstart package is a python library for manipulating kickstart
18 files.
20 %prep
21 %setup -q
22 make
24 %build
26 %install
27 rm -rf %{buildroot}
28 make DESTDIR=%{buildroot} install
29 %find_lang %{name}
31 %clean
32 rm -rf %{buildroot}
34 %files -f %{name}.lang
35 %defattr(-,root,root,-)
36 %doc README ChangeLog COPYING docs/programmers-guide
37 %{python_sitelib}/pykickstart
38 %{_bindir}/ksvalidator
40 %changelog
41 * Wed Jan 31 2007 Chris Lumens <clumens@redhat.com> - 0.93-2
42 - Make some minor spec file changes to get closer to the extras guidelines.
44 * Thu Jan 25 2007 Chris Lumens <clumens@redhat.com> - 0.93-1
45 - Add support for FC3, RHEL4, and RHEL5.
46 - The key command was not supported until after FC6.
47 - Accept more strings in stringToVersion.
49 * Fri Jan 19 2007 Chris Lumens <clumens@redhat.com> - 0.92-1
50 - Fix KickstartVersionError reporting.
51 - Add a version attribute to handler objects.
52 - Fix line number reporting on lots of commands.
53 - Add initial support for Fedora 7 and remove deprecated commands.
54 - Accept a --default argument to the %%packages header (#221305).
56 * Wed Jan 17 2007 Chris Lumens <clumens@redhat.com> - 0.91-1
57 - Add a method to read kickstart files from strings.
59 * Tue Jan 16 2007 Chris Lumens <clumens@redhat.com> - 0.90-1
60 - Support multiple versions of kickstart syntax from one code base
61 (#189348).
62 - Fix inconsistency between Script parser and writer (#222877).
64 * Fri Dec 15 2006 Chris Lumens <clumens@redhat.com> - 0.43-1
65 - Pull in new translations (#216620).
67 * Thu Dec 7 2006 Jeremy Katz <katzj@redhat.com> - 0.42-2
68 - rebuild against python 2.5
70 * Tue Dec 05 2006 Chris Lumens <clumens@redhat.com> - 0.42-1
71 - Fix traceback when writing out repo command (#218274).
73 * Fri Dec 01 2006 Chris Lumens <clumens@redhat.com> - 0.41-1
74 - Fix traceback when using deprecated commands (#218047, #218059).
76 * Thu Nov 30 2006 Chris Lumens <clumens@redhat.com> - 0.40-1
77 - Pull in new translations (#216620).
78 - Add --level argument to logging command writer.
80 * Tue Oct 24 2006 Chris Lumens <clumens@redhat.com> - 0.39-2
81 - Fix release number.
83 * Tue Oct 24 2006 Chris Lumens <clumens@redhat.com> - 0.39-1
84 - Add writer for --key (#211997).
86 * Tue Oct 17 2006 Jeremy Katz <katzj@redhat.com> - 0.38-1
87 - allow --skip for installation number as well (#207029)
89 * Mon Oct 16 2006 Jeremy Katz <katzj@redhat.com> - 0.37-1
90 - support for installation numbers (#207029)
92 * Fri Oct 13 2006 Bill Nottingham <notting@redhat.com> - 0.36-1
93 - use valid charsets in translations (#210720)
95 * Fri Sep 29 2006 Chris Lumens <clumens@redhat.com> - 0.35-1
96 - Fix traceback in harddrive command (#208557).
98 * Mon Sep 25 2006 Chris Lumens <clumens@redhat.com> - 0.34-1
99 - Add support for --biospart option to harddrive (#207585).
100 - Update writer for syntax changes.
102 * Wed Sep 20 2006 Jeremy Katz <katzj@redhat.com> - 0.33-1
103 - improved iscsi syntax
104 - allow multiple zfcp devs
106 * Thu Jul 20 2006 Chris Lumens <clumens@redhat.com> 0.32-1
107 - Limit --bootproto to what anaconda supports.
108 - Add --noipv4 and --noipv6 network options.
110 * Tue Jun 20 2006 Chris Lumens <clumens@redhat.com> 0.31-1
111 - Handle nfs --opts (katzj).
112 - RAID devices should be integers instead of strings (#176537).
113 - Add initial support for iscsi (katzj).
115 * Tue Jun 06 2006 Chris Lumens <clumens@redhat.com> 0.30-2
116 - Add BuildRequires to fix building under mock (#194156, Joost Soeterbroek
117 <fedora AT soeterbroek.com>).
119 * Thu May 25 2006 Chris Lumens <clumens@redhat.com> 0.30-1
120 - Change order of LVM-related writing functions (#193073).
121 - Require urlgrabber.
122 - Return a more useful error message on unknown commands.
123 - Fix logvol writing typo.
124 - Make ksvalidator validate from a URL in addition to a file.
125 - Don't write out an empty packages section (#192851).
127 * Tue May 23 2006 Chris Lumens <clumens@redhat.com> 0.29-1
128 - Add multipath command, handlers, and data objects (pjones).
129 - Rename --ports to --port in writer.
131 * Mon May 15 2006 Chris Lumens <clumens@redhat.com> 0.28-1
132 - Support --mtu for the network command (#191328).
133 - Accept --isUtc for backwards compatibility.
135 * Wed May 04 2006 Chris Lumens <clumens@redhat.com> 0.27-1
136 - Output formatting fixes.
137 - Added commands for managing users and services.
139 * Mon Apr 17 2006 Chris Lumens <clumens@redhat.com> 0.26-1
140 - Ignore spaces before group names (#188095).
141 - Added some translations.
142 - Add options for repo command.
143 - Reorder %%packages section output.
144 - Output %%packages header options.
145 - Initialize RAID and volume group members to empty lists.
147 * Mon Mar 27 2006 Chris Lumens <clumens@redhat.com> 0.25-1
148 - Add support for the logging command.
150 * Mon Mar 27 2006 Chris Lumens <clumens@redhat.com> 0.24-1
151 - Don't write out a blank xconfig line.
152 - Reorder output handlers to group like commands together.
153 - Mark strings for translation.
155 * Tue Mar 07 2006 Chris Lumens <clumens@redhat.com> 0.23-1
156 - Backwards compatibility support for options to zerombr.
158 * Fri Feb 24 2006 Chris Lumens <clumens@redhat.com> 0.22-1
159 - Get ignoredisk working again (#182934).
161 * Fri Feb 17 2006 Chris Lumens <clumens@redhat.com> 0.21-1
162 - Provide an option to not traceback on missing include files (#181760).
163 - Update programming documentation.
165 * Mon Feb 13 2006 Chris Lumens <clumens@redhat.com> 0.20-1
166 - Correctly set --noformat and --useexisting on lvm and raid.
168 * Mon Feb 13 2006 Chris Lumens <clumens@redhat.com> 0.19-1
169 - --onboot requires a value (#180987).
170 - Be more strict about commands that don't take arguments.
172 * Thu Feb 09 2006 Chris Lumens <clumens@redhat.com> 0.18-1
173 - Fix some errors pychecker caught.
174 - Allow exceptions to not be fatal so ksvalidator can spot more errors in
175 a single pass (#179894).
177 * Wed Feb 01 2006 Chris Lumens <clumens@redhat.com> 0.17-1
178 - Don't set a default port for vnc.
180 * Tue Jan 31 2006 Chris Lumens <clumens@redhat.com> 0.16-1
181 - Give dmraid string an initial value.
182 - Handle None on partition size.
184 * Tue Jan 31 2006 Peter Jones <pjones@redhat.com> 0.15-1
185 - Add dmraid support
187 * Mon Jan 30 2006 Chris Lumens <clumens@redhat.com> 0.14-1
188 - Fix VNC parameter parsing (#179209).
189 - Deprecate --connect. Add --host and --port instead.
191 * Thu Jan 19 2006 Chris Lumens <clumens@redhat.com> 0.13-1
192 - Recognize the --eject parameter to shutdown/halt.
193 - Store the exact post-installation action in ksdata.
195 * Mon Jan 09 2006 Chris Lumens <clumens@redhat.com> 0.12-1
196 - Clean up output quoting.
197 - Finish removing monitor-related stuff from xconfig.
199 * Mon Dec 12 2005 Chris Lumens <clumens@redhat.com> 0.11-1
200 - Deprecate monitor-related options to xconfig.
202 * Thu Dec 08 2005 Chris Lumens <clumens@redhat.com> 0.10-1
203 - Support --bytes-per-inode on raid
204 (Curtis Doty <Curtis at GreenKey.net> #175288).
206 * Wed Nov 16 2005 Jeremy Katz <katzj@redhat.com> - 0.9-1
207 - fixup network --onboot
209 * Thu Nov 03 2005 Chris Lumens <clumens@redhat.com> 0.8-1
210 - Default to SELINUX_ENFORCING.
211 - Default partition sizes to None for anaconda (#172378).
212 - Don't call shlex.split on anything inside a script (#172313).
214 * Tue Nov 01 2005 Chris Lumens <clumens@redhat.com> 0.7-1
215 - Fix clearpart --all.
216 - vnc command does not require --connect option (#172192).
217 - network --onboot does not take any option.
218 - Remove extra spaces from firewall --ports and --trust.
219 - Write out network --<service> options.
221 * Fri Oct 28 2005 Chris Lumens <clumens@redhat.com> 0.6-1
222 - Add --resolvedeps and --ignoredeps as deprecated options.
223 - Pass line number to header functions.
225 * Mon Oct 24 2005 Chris Lumens <clumens@redhat.com> 0.5-1
226 - Add line numbers to exception reporting.
227 - Added ksvalidator.
229 * Wed Oct 19 2005 Chris Lumens <clumens@redhat.com> 0.4-1
230 - Correct deprecated attribute on options.
231 - Added programming documentation.
233 * Thu Oct 13 2005 Chris Lumens <clumens@redhat.com> 0.3-2
234 - Correct python lib directory on 64-bit archs (#170621).
236 * Fri Oct 07 2005 Chris Lumens <clumens@redhat.com> 0.3-1
237 - Add a deprecated attribute to options.
238 - Add --card option back to xconfig and mark as deprecated.
239 - Throw a deprecation warning on mouse and langsupport commands.
240 - Rename Writer to KickstartWriter for consistency.
241 - Collapse scripts into a single list and add an attribute on Script to
242 differentiate.
244 * Wed Oct 05 2005 Chris Lumens <clumens@redhat.com> 0.2-1
245 - Rename module to pykickstart to avoid conflicts in anaconda.
246 - Rename data classes for consistency.
247 - Add default bytesPerInode settings.
249 * Wed Oct 05 2005 Chris Lumens <clumens@redhat.com> 0.1-1
250 - Created package from anaconda.