File autogen.spec of Package autogen

# spec file for package autogen (Version 5.9.6)
# Copyright (c) 2008 SUSE LINUX Products GmbH, Nuernberg, Germany.
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
# upon. The license for this file, and modifications and additions to the
# file, is the same license as for the pristine package itself (unless the
# license for the pristine package is not an Open Source License, in which
# case the license is the MIT License). An "Open Source License" is a
# license that conforms to the Open Source Definition (Version 1.9)
# published by the Open Source Initiative.

# Please submit bugfixes or comments via

Name:           autogen
BuildRequires:  guile-devel libxml2-devel
Summary:        Automated Text File Generator
Version:        5.9.6
Release:        1
Group:          Development/Tools/Building
License:        GPL v3 or later
Patch:          %{name}-%{version}.diff
BuildRoot:      %{_tmppath}/%{name}-%{version}-build
PreReq:         %{install_info_prereq}

AutoGen is a tool designed for generating program files that contain
repetitive text with varied substitutions.  Its goal is to simplify the
maintenance of programs that contain large amounts of repetitious text.
This is especially valuable if there are several blocks of such text
that must be kept synchronized in parallel tables.

    Bruce Korb <>

%setup -q

autoreconf -fi
./configure CFLAGS="$RPM_OPT_FLAGS" \
  --prefix=/usr --libdir=%{_libdir} \
  --infodir=%{_infodir} --mandir=%{_mandir}


%install_info --info-dir=%{_infodir} %{_infodir}/

%install_info_delete --info-dir=%{_infodir} %{_infodir}/


%defattr(-, root, root)

* Mon Nov 17 2008
- Update to autogen 5.9.6.
  * Hierarchically valued options can now be stored with ``--save-opt'' option
  * option state may now be "reset".  This is indistinguishable from the
  compiled state.  If option state is "saved" later, such an option will
  not appear in the save file.
  * there is a new option argument type:  time.  Its argument string
  represents years (?!), months, weeks, days, hours, minutes and seconds.
  The value seen by the program is an integer number of seconds.
  (This is not a date/time.)  The duration of a year is always 365 days
  and the duration of a month is always 30 days.
  * various obscure cleanups.
* Mon Jan 07 2008
- Update to autogen 5.9.5.
  * integer number arguments may now have their values suffixed with
  one of the letters k/K/m/M/g/G/t/T to signify scaling by powers
  of 1000 (lower case) or 1024 (upper case).  Specify, "scaled".
  * AutoOpts "arg-type" may now be set to "file".  Existence of the directory
  portion of the name will be checked.  The existence (or not) of the actual
  file may also be checked.  Finally, the file may be pre-opened with either
  "fopen(3C)" or "open(2)".
  * The "columns" program now accepts a "--fill" option to cause it to fill
  text instead of filling columns.
  * The tests should no longer indirectly reference installed versions of
  the binaries.  They should all work out of the build directories.
* Mon Oct 08 2007
- Update to autogen 5.9.3.
  * libopts requires strsignal, so the config test has been moved.
  * fixed ``--save'' option bug
  * programs may now choose to have config files kept in cannonical form
  ("C" locale), even if long option names are translated.  The option
  definition file must contain ``no-xlate = opt-cfg;'' or
  ``no-xlate = opt;''  See the documentation for details.
* Mon Jul 30 2007
- Update to autogen 5.9.2.
  * GNU GPL v3 is now emitted with the "gpl" and "lgpl" functions.
  * usage.tpl template has been added.
  * getopt.tpl uses this template for constructing its usage string.
  * if "short-usage" or "full-usage" can be used to specify the form
  of the usage text:
  * not supplied -> compute it at run time
  * supplied, but empty -> use "usage.tpl" to compute it
  * is a variable name -> insert into option structure
  * is text -> emit the text and point to it from option structure
* Mon May 07 2007
- Update to autogen 5.9.1.
  * getopt.tpl template is fixed to not require the internal header
  * MAXPATHLEN will use _MAX_PATH on Windows platforms
  * new libopts configuration option: --disable-optional-args This will #define
  NO_OPTIONAL_OPT_ARGS in config.h and cause the built library to ignore the
  OPTST_ARG_OPTIONAL bit in an option descriptor.  autoopts generated code
  compiled with NO_OPTIONAL_OPT_ARGS #defined will never have that bit set in
  the option descriptors either.  If libopts has been so configured, then the
  installed options.h header will contain: #define NO_OPTIONAL_OPT_ARGS 1 so
  that client code will generally be compiled with that flag set.
  The OPTST_ARG_OPTIONAL bit is ignored regardless.
  * Fixed up --load-opts environment variable processing.  You can
  now correctly suppress config file loading with either:
  * added new auto-supported option, --usage.  It is incorporated
  by specifying ``usage-opt;'' in the option definitions file.
  * libopts now uses several exit codes from sysexits.h:
  EX_NOINPUT  (66) - a specified config file cannot be found
  EX_SOFTWARE (70) - libopts error - please file a bug report
  EX_CONFIG   (78) - a NULL option descriptor was passed in - user bug
* Sun Feb 18 2007
- Update to autogen 5.9.
  * a script for producing Debian packages is included
  * including of templates and definitions now works more like
  ``#include "foo"'' instead of ``#include <foo>''.
  * fixed sizeof(int) != sizeof(size_t) bug.
  * fixed incorrect argument number format string
* Mon Jan 29 2007
- Update to autogen 5.8.9.
  * GREP is now a configurable.  (Sheesh!)
  * options with hierarchical structure (nested values) had some
  bugs in the config file parsing code.  Fixed.
  * Since YACC is not used any more, it is no longer required. :)
* Sun Oct 15 2006
- Update to autogen 5.8.7.
  * Tweaks for Windows' compat/windows-config.h
  * new string-table convenience functions:  string-table-add-ref and
  * fixed a value referencing bug in enumeration arg handling
  (seen on platforms where sizeof(int) != sizeof(void*)).
* Fri Oct 13 2006
- add guile-devel buildrequires.
* Thu Oct 12 2006
- added gmp-devel to buildrequires (guile)
* Mon Oct 09 2006
- Update to autogen 5.8.6.
  * AutoOpts code presumed that there were no #defines for the option
  names.  You can now force aside such conflicts.
  * AutoOpts generated code unconditionally #includes limits.h and stdint.h.
  * aliased pointer cleanups should allow higher optimization of code.
  * The installation of the tear-off libopt library is now optional
  to the installers of client projects.
* Mon May 15 2006
- Update to autogen 5.8.5.
  * ag-fprintf will now allow you to emit text into a suspended output stream.
  * string tables have been implemented as a scheme function.  This makes it
  very easy to produce an array of characters containing NUL termintaed
  strings and have these string offsets (indexes) available for indexing into
  the string arrays.
  * The libopts code will omit Windows-unfriendly code if the compile defines
  _WIN32 and does not define __CYGWIN__.
  * suffix specifications in the pseudo macro may now construct an output
  file name format string using scheme code, a la:
  [= autogen5 template
  h=(string-append (getenv "TMPDIR") "/%%s-hdr.h")  =]
  The "%%s" will still be replaced by the base name.
  * the scheme function "version-compare" will allow you to compare
  two dotted version numbers.  These can be your own versions or
  that of autogen.  The scheme variable ``autogen-version'' has been
  around for a long time and may be used as one of the arguments.
  * #assert is now active in definition files.  If the text begins
  with a back quote, it is handed off to the shell for processing.
  If an open parenthesis, it is handed off to Guile.  If it is
  anything else, it is ignored.
* Wed Jan 25 2006
- converted neededforbuild to BuildRequires
* Sun Jan 15 2006
- Run %%install_info.
* Sat Jan 14 2006
- Update to autogen 5.8.1.
* Wed Jan 11 2006
- Run ldconfig in %%post.
* Mon Jan 09 2006
- Update to autogen 5.8.
* Fri Oct 14 2005
- Fix strict-aliasing bugs.
* Tue Oct 11 2005
- Update to autogen 5.7.3.
* Tue Aug 02 2005
- Update to autogen 5.7.2.
* Fri Apr 29 2005
- Update to autogen 5.7.
* Tue Mar 29 2005
- Update to autogen 5.6.6.
* Mon Jan 10 2005
- Update to autogen 5.6.5.
* Thu Nov 11 2004
- fixed file list
* Sat Nov 06 2004
- Initial version 5.6.4.
openSUSE Build Service is sponsored by