New version.
[pykickstart.git] / pykickstart.spec
blobf827b950bb9e9d959f16fa57320aad508f241661
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: 1.26
7 Release: 1%{?dist}
8 # This is a Red Hat maintained package which is specific to
9 # our distribution. Thus the source is only available from
10 # within this srpm.
11 Source0: %{name}-%{version}.tar.gz
13 License: GPLv2
14 Group: System Environment/Libraries
15 BuildArch: noarch
16 BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
17 BuildRequires: python-devel, gettext, python-setuptools-devel
18 Requires: python, python-urlgrabber, rhpl
20 %description
21 The pykickstart package is a python library for manipulating kickstart
22 files.
24 %prep
25 %setup -q
26 make
28 %build
30 %install
31 rm -rf %{buildroot}
32 make DESTDIR=%{buildroot} install
33 %find_lang %{name}
35 %clean
36 rm -rf %{buildroot}
38 %files -f %{name}.lang
39 %defattr(-,root,root,-)
40 %doc README ChangeLog COPYING docs/programmers-guide
41 %doc docs/kickstart-docs.txt
42 %{python_sitelib}/*
43 %{_bindir}/ksvalidator
44 %{_bindir}/ksflatten
46 %changelog
47 * Thu Jan 17 2008 Chris Lumens <clumens@redhat.com> - 1.26-1
48 - Add support for network --bootproto=ask. (clumens)
50 * Tue Jan 15 2008 Chris Lumens <clumens@redhat.com> - 1.25-1
51 - Add the version to the output ks file. (clumens)
52 - Add syntax for encrypted partitions and raid devices. (clumens)
54 * Thu Jan 10 2008 Chris Lumens <clumens@redhat.com> - 1.24-1
55 - Make inheritance and overriding of %packages work (#427768). (clumens)
56 - Add an option for which languages should be installed. (katzj)
57 - Use the right name for the iscsi --target variable (#418781). (clumens)
59 * Mon Dec 10 2007 Chris Lumens <clumens@redhat.com> - 1.23-1
60 - Take Makefile improvements from anaconda.
61 - Fix a traceback on F9 zerombr command (#395431).
62 - Update to handle new Python eggs packaging.
64 * Tue Nov 20 2007 Chris Lumens <clumens@redhat.com> 1.22-1
65 - Don't process or write out vnc --enabled (jlaska AT redhat DOT com).
66 - Fix a traceback in the clearpart command.
68 * Tue Nov 06 2007 Chris Lumens <clumens@redhat.com> 1.21-1
69 - Save script line numbers for debugging.
70 - More internal cleanups.
72 * Wed Oct 31 2007 Chris Lumens <clumens@redhat.com> 1.20-1
73 - Pull wiki docs from the new location.
74 - Fix error messages for options that have been removed after having been
75 previously deprecated.
76 - zerombr no longer takes any arguments.
77 - %packages --ignoredeps --resolvedeps have been removed.
78 - firewall --high --medium have been removed.
79 - vnc --connect has been removed.
80 - xconfig options from monitor have now been removed.
81 - --bytes-per-inode has been marked as deprecated.
82 - Fix typos.
83 - Add --fsprofile option to disk commands (pjones).
84 - Add F9 support (pjones).
85 - Lots of internal fixes (clumens, pjones).
87 * Tue Oct 23 2007 Chris Lumens <clumens@redhat.com> 1.19-1
88 - Fix a traceback on the cdrom method.
90 * Thu Oct 18 2007 Chris Lumens <clumens@redhat.com> 1.18-1
91 - Don't write out %end to packages and scripts if the syntax version doesn't
92 support it.
93 - Remove obsolete translation (#332221).
95 * Thu Oct 04 2007 Chris Lumens <clumens@redhat.com> 1.17-1
96 - Simplify argument processing and printing.
98 * Wed Oct 03 2007 Chris Lumens <clumens@redhat.com> 1.16-1
99 - Undeprecate %packages --excludedocs.
100 - Fix a traceback in the device command handling.
101 - Add bootloader --timeout (katzj).
103 * Tue Oct 02 2007 Chris Lumens <clumens@redhat.com> 1.15-1
104 - Update translations (#259121).
105 - The device command no longer takes a type argument.
107 * Fri Sep 28 2007 Chris Lumens <clumens@redhat.com> 1.14-1
108 - Fix output formatting for packages section header (#310211).
109 - Add a script to flatten kickstart files containing includes (katzj).
111 * Wed Sep 12 2007 Chris Lumens <clumens@redhat.com> 1.13-1
112 - Add a function to convert URL method strings into repo objects
113 (jkeating).
114 - Writer formatting fixes.
115 - Add kickstart documentation from the Fedora Wiki.
117 * Tue Sep 04 2007 Chris Lumens <clumens@redhat.com> 1.12-1
118 - Fix lots of problems in processing the bootloader, device, network, and
119 raid commands.
120 - Add %end when writing out scripts and packages.
121 - Add a makefile target to run pychecker to cut down on errors in
122 releases.
124 * Mon Sep 3 2007 Jeremy Katz <katzj@redhat.com> - 1.11-1
125 - fix a few tracebacks
127 * Fri Aug 31 2007 Chris Lumens <clumens@redhat.com> 1.10-1
128 - Add network --ipv6=.
130 * Fri Aug 24 2007 Chris Lumens <clumens@redhat.com> 1.9-1
131 - Add support for the %end directive to be placed at the end of scripts
132 and packages sections. Deprecate old syntax.
133 - Clean up after ksvalidator if pykickstart issues a traceback.
134 - Add support for repo --priority --includepkgs --excludepkgs.
135 - Fix newline at end of reboot --eject output (#253562).
137 * Mon Aug 13 2007 Chris Lumens <clumens@redhat.com> 1.8-1
138 - Fix type checking of string values.
140 * Thu Aug 09 2007 Chris Lumens <clumens@redhat.com> 1.7-1
141 - Clarify license in spec file and all source files.
142 - Check string values to options to make sure they're not other options
143 (#251318).
145 * Thu Aug 02 2007 Chris Lumens <clumens@redhat.com> 1.6-1
146 - Fix a couple tracebacks in ksvalidator.
147 - Change --class to --dhcpclass (#248912).
149 * Thu Jul 19 2007 Chris Lumens <clumens@redhat.com> 1.5-2
150 - Require rhpl (#248953).
152 * Tue Jul 17 2007 Chris Lumens <clumens@redhat.com> 1.5-1
153 - Fix traceback when calling preprocessKickstart.
155 * Tue Jul 17 2007 Chris Lumens <clumens@redhat.com> 1.4-1
156 - Add methods to handle the %ksappend directive.
157 - Fix ignoredisk --disks.
159 * Wed Jul 11 2007 Chris Lumens <clumens@redhat.com> - 1.3-1
160 - Add support for ignoredisk --only-use.
161 - Fix traceback in raid command printing method (#246709).
163 * Fri Jun 08 2007 Chris Lumens <clumens@redhat.com> - 1.2-2
164 - Fix package review problems (#226334).
166 * Mon Jun 04 2007 Chris Lumens <clumens@redhat.com> - 1.2-1
167 - Fix harddrive install method error checking (#232492).
168 - Set authentication information from the input line to preserve quoting
169 (#241657).
170 - Allow included files to be given by URL.
171 - Fix typo in user --iscrypted option.
173 * Mon May 14 2007 Chris Lumens <clumens@redhat.com> - 1.1-1
174 - Better regexes for splitting version strings into family and version.
175 - Add basic support for RHEL3.
176 - Update translations.
178 * Fri Apr 13 2007 Chris Lumens <clumens@redhat.com> - 1.0-1
179 - Update documentation.
180 - Update translations.
182 * Mon Mar 19 2007 Chris Lumens <clumens@redhat.com> - 0.100-1
183 - bootloader should be written out after upgrade/install.
184 - Treat class names as unicode strings (#231053).
186 * Wed Mar 07 2007 Chris Lumens <clumens@redhat.com> - 0.99-1
187 - The timezone command didn't recognize --isUtc before FC6 (#231189).
188 - Recognize %ksappend lines in ksvalidator.
189 - Don't set default values in some command __init__ methods.
190 - Added an updates command.
191 - Add support for RAID10.
193 * Mon Feb 26 2007 Chris Lumens <clumens@redhat.com> - 0.98-1
194 - Fix device command syntax to match anaconda.
195 - Fix __call__ on method command.
197 * Wed Feb 21 2007 Chris Lumens <clumens@redhat.com> - 0.97-1
198 - Fix traceback when not overriding default mappings (#229505).
200 * Tue Feb 20 2007 Chris Lumens <clumens@redhat.com> - 0.96-1
201 - Fix __str__ methods for langsupport and reboot commands.
202 - Renamed BaseHandler.empty to BaseHandler.maskAllExcept.
203 - Split command objects out into their own files in commands/.
204 - Rename command objects to start with Version_.
205 - Support extended group selection syntax.
207 * Wed Feb 14 2007 Chris Lumens <clumens@redhat.com> - 0.95-1
208 - KickstartParser no longer takes a version argument.
209 - Be more lenient in what strings stringToVersion accepts.
210 - Allow setting state on one data object from multiple files.
212 * Wed Feb 07 2007 Chris Lumens <clumens@redhat.com> - 0.94-1
213 - Add a newline to the end of the key command output.
214 - Use network bootproto constants (#197694).
215 - Fix tracebacks in subclass __str__ methods (#226734).
217 * Wed Jan 31 2007 Chris Lumens <clumens@redhat.com> - 0.93-2
218 - Make some minor spec file changes to get closer to the extras guidelines.
220 * Thu Jan 25 2007 Chris Lumens <clumens@redhat.com> - 0.93-1
221 - Add support for FC3, RHEL4, and RHEL5.
222 - The key command was not supported until after FC6.
223 - Accept more strings in stringToVersion.
225 * Fri Jan 19 2007 Chris Lumens <clumens@redhat.com> - 0.92-1
226 - Fix KickstartVersionError reporting.
227 - Add a version attribute to handler objects.
228 - Fix line number reporting on lots of commands.
229 - Add initial support for Fedora 7 and remove deprecated commands.
230 - Accept a --default argument to the %%packages header (#221305).
232 * Wed Jan 17 2007 Chris Lumens <clumens@redhat.com> - 0.91-1
233 - Add a method to read kickstart files from strings.
235 * Tue Jan 16 2007 Chris Lumens <clumens@redhat.com> - 0.90-1
236 - Support multiple versions of kickstart syntax from one code base
237 (#189348).
238 - Fix inconsistency between Script parser and writer (#222877).
240 * Fri Dec 15 2006 Chris Lumens <clumens@redhat.com> - 0.43-1
241 - Pull in new translations (#216620).
243 * Thu Dec 7 2006 Jeremy Katz <katzj@redhat.com> - 0.42-2
244 - rebuild against python 2.5
246 * Tue Dec 05 2006 Chris Lumens <clumens@redhat.com> - 0.42-1
247 - Fix traceback when writing out repo command (#218274).
249 * Fri Dec 01 2006 Chris Lumens <clumens@redhat.com> - 0.41-1
250 - Fix traceback when using deprecated commands (#218047, #218059).
252 * Thu Nov 30 2006 Chris Lumens <clumens@redhat.com> - 0.40-1
253 - Pull in new translations (#216620).
254 - Add --level argument to logging command writer.
256 * Tue Oct 24 2006 Chris Lumens <clumens@redhat.com> - 0.39-2
257 - Fix release number.
259 * Tue Oct 24 2006 Chris Lumens <clumens@redhat.com> - 0.39-1
260 - Add writer for --key (#211997).
262 * Tue Oct 17 2006 Jeremy Katz <katzj@redhat.com> - 0.38-1
263 - allow --skip for installation number as well (#207029)
265 * Mon Oct 16 2006 Jeremy Katz <katzj@redhat.com> - 0.37-1
266 - support for installation numbers (#207029)
268 * Fri Oct 13 2006 Bill Nottingham <notting@redhat.com> - 0.36-1
269 - use valid charsets in translations (#210720)
271 * Fri Sep 29 2006 Chris Lumens <clumens@redhat.com> - 0.35-1
272 - Fix traceback in harddrive command (#208557).
274 * Mon Sep 25 2006 Chris Lumens <clumens@redhat.com> - 0.34-1
275 - Add support for --biospart option to harddrive (#207585).
276 - Update writer for syntax changes.
278 * Wed Sep 20 2006 Jeremy Katz <katzj@redhat.com> - 0.33-1
279 - improved iscsi syntax
280 - allow multiple zfcp devs
282 * Thu Jul 20 2006 Chris Lumens <clumens@redhat.com> 0.32-1
283 - Limit --bootproto to what anaconda supports.
284 - Add --noipv4 and --noipv6 network options.
286 * Tue Jun 20 2006 Chris Lumens <clumens@redhat.com> 0.31-1
287 - Handle nfs --opts (katzj).
288 - RAID devices should be integers instead of strings (#176537).
289 - Add initial support for iscsi (katzj).
291 * Tue Jun 06 2006 Chris Lumens <clumens@redhat.com> 0.30-2
292 - Add BuildRequires to fix building under mock (#194156, Joost Soeterbroek
293 <fedora AT soeterbroek.com>).
295 * Thu May 25 2006 Chris Lumens <clumens@redhat.com> 0.30-1
296 - Change order of LVM-related writing functions (#193073).
297 - Require urlgrabber.
298 - Return a more useful error message on unknown commands.
299 - Fix logvol writing typo.
300 - Make ksvalidator validate from a URL in addition to a file.
301 - Don't write out an empty packages section (#192851).
303 * Tue May 23 2006 Chris Lumens <clumens@redhat.com> 0.29-1
304 - Add multipath command, handlers, and data objects (pjones).
305 - Rename --ports to --port in writer.
307 * Mon May 15 2006 Chris Lumens <clumens@redhat.com> 0.28-1
308 - Support --mtu for the network command (#191328).
309 - Accept --isUtc for backwards compatibility.
311 * Wed May 04 2006 Chris Lumens <clumens@redhat.com> 0.27-1
312 - Output formatting fixes.
313 - Added commands for managing users and services.
315 * Mon Apr 17 2006 Chris Lumens <clumens@redhat.com> 0.26-1
316 - Ignore spaces before group names (#188095).
317 - Added some translations.
318 - Add options for repo command.
319 - Reorder %%packages section output.
320 - Output %%packages header options.
321 - Initialize RAID and volume group members to empty lists.
323 * Mon Mar 27 2006 Chris Lumens <clumens@redhat.com> 0.25-1
324 - Add support for the logging command.
326 * Mon Mar 27 2006 Chris Lumens <clumens@redhat.com> 0.24-1
327 - Don't write out a blank xconfig line.
328 - Reorder output handlers to group like commands together.
329 - Mark strings for translation.
331 * Tue Mar 07 2006 Chris Lumens <clumens@redhat.com> 0.23-1
332 - Backwards compatibility support for options to zerombr.
334 * Fri Feb 24 2006 Chris Lumens <clumens@redhat.com> 0.22-1
335 - Get ignoredisk working again (#182934).
337 * Fri Feb 17 2006 Chris Lumens <clumens@redhat.com> 0.21-1
338 - Provide an option to not traceback on missing include files (#181760).
339 - Update programming documentation.
341 * Mon Feb 13 2006 Chris Lumens <clumens@redhat.com> 0.20-1
342 - Correctly set --noformat and --useexisting on lvm and raid.
344 * Mon Feb 13 2006 Chris Lumens <clumens@redhat.com> 0.19-1
345 - --onboot requires a value (#180987).
346 - Be more strict about commands that don't take arguments.
348 * Thu Feb 09 2006 Chris Lumens <clumens@redhat.com> 0.18-1
349 - Fix some errors pychecker caught.
350 - Allow exceptions to not be fatal so ksvalidator can spot more errors in
351 a single pass (#179894).
353 * Wed Feb 01 2006 Chris Lumens <clumens@redhat.com> 0.17-1
354 - Don't set a default port for vnc.
356 * Tue Jan 31 2006 Chris Lumens <clumens@redhat.com> 0.16-1
357 - Give dmraid string an initial value.
358 - Handle None on partition size.
360 * Tue Jan 31 2006 Peter Jones <pjones@redhat.com> 0.15-1
361 - Add dmraid support
363 * Mon Jan 30 2006 Chris Lumens <clumens@redhat.com> 0.14-1
364 - Fix VNC parameter parsing (#179209).
365 - Deprecate --connect. Add --host and --port instead.
367 * Thu Jan 19 2006 Chris Lumens <clumens@redhat.com> 0.13-1
368 - Recognize the --eject parameter to shutdown/halt.
369 - Store the exact post-installation action in ksdata.
371 * Mon Jan 09 2006 Chris Lumens <clumens@redhat.com> 0.12-1
372 - Clean up output quoting.
373 - Finish removing monitor-related stuff from xconfig.
375 * Mon Dec 12 2005 Chris Lumens <clumens@redhat.com> 0.11-1
376 - Deprecate monitor-related options to xconfig.
378 * Thu Dec 08 2005 Chris Lumens <clumens@redhat.com> 0.10-1
379 - Support --bytes-per-inode on raid
380 (Curtis Doty <Curtis at GreenKey.net> #175288).
382 * Wed Nov 16 2005 Jeremy Katz <katzj@redhat.com> - 0.9-1
383 - fixup network --onboot
385 * Thu Nov 03 2005 Chris Lumens <clumens@redhat.com> 0.8-1
386 - Default to SELINUX_ENFORCING.
387 - Default partition sizes to None for anaconda (#172378).
388 - Don't call shlex.split on anything inside a script (#172313).
390 * Tue Nov 01 2005 Chris Lumens <clumens@redhat.com> 0.7-1
391 - Fix clearpart --all.
392 - vnc command does not require --connect option (#172192).
393 - network --onboot does not take any option.
394 - Remove extra spaces from firewall --ports and --trust.
395 - Write out network --<service> options.
397 * Fri Oct 28 2005 Chris Lumens <clumens@redhat.com> 0.6-1
398 - Add --resolvedeps and --ignoredeps as deprecated options.
399 - Pass line number to header functions.
401 * Mon Oct 24 2005 Chris Lumens <clumens@redhat.com> 0.5-1
402 - Add line numbers to exception reporting.
403 - Added ksvalidator.
405 * Wed Oct 19 2005 Chris Lumens <clumens@redhat.com> 0.4-1
406 - Correct deprecated attribute on options.
407 - Added programming documentation.
409 * Thu Oct 13 2005 Chris Lumens <clumens@redhat.com> 0.3-2
410 - Correct python lib directory on 64-bit archs (#170621).
412 * Fri Oct 07 2005 Chris Lumens <clumens@redhat.com> 0.3-1
413 - Add a deprecated attribute to options.
414 - Add --card option back to xconfig and mark as deprecated.
415 - Throw a deprecation warning on mouse and langsupport commands.
416 - Rename Writer to KickstartWriter for consistency.
417 - Collapse scripts into a single list and add an attribute on Script to
418 differentiate.
420 * Wed Oct 05 2005 Chris Lumens <clumens@redhat.com> 0.2-1
421 - Rename module to pykickstart to avoid conflicts in anaconda.
422 - Rename data classes for consistency.
423 - Add default bytesPerInode settings.
425 * Wed Oct 05 2005 Chris Lumens <clumens@redhat.com> 0.1-1
426 - Created package from anaconda.