2006-12-18 23:15:09 +00:00
|
|
|
#
|
2007-10-08 14:46:14 +00:00
|
|
|
# spec file for package autogen (Version 5.9.3)
|
2006-12-18 23:15:09 +00:00
|
|
|
#
|
2007-01-29 15:47:00 +00:00
|
|
|
# Copyright (c) 2007 SUSE LINUX Products GmbH, Nuernberg, Germany.
|
2006-12-18 23:15:09 +00:00
|
|
|
# This file and all modifications and additions to the pristine
|
|
|
|
# package are under the same license as the package itself.
|
|
|
|
#
|
|
|
|
# Please submit bugfixes or comments via http://bugs.opensuse.org/
|
|
|
|
#
|
|
|
|
|
|
|
|
# norootforbuild
|
|
|
|
|
|
|
|
Name: autogen
|
|
|
|
BuildRequires: guile-devel libxml2-devel
|
|
|
|
Summary: Automated Text File Generator
|
2007-10-08 14:46:14 +00:00
|
|
|
Version: 5.9.3
|
2006-12-18 23:15:09 +00:00
|
|
|
Release: 1
|
|
|
|
Group: Development/Tools/Building
|
2007-10-08 14:46:14 +00:00
|
|
|
License: GPL v3 or later
|
|
|
|
Url: http://autogen.sourceforge.net/
|
2006-12-18 23:15:09 +00:00
|
|
|
Source: %{name}-%{version}.tar.bz2
|
2007-02-19 19:50:11 +00:00
|
|
|
#Patch: %{name}-%{version}.diff
|
2006-12-18 23:15:09 +00:00
|
|
|
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
|
|
|
PreReq: %{install_info_prereq}
|
|
|
|
|
|
|
|
%description
|
|
|
|
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.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Authors:
|
|
|
|
--------
|
|
|
|
Bruce Korb <bkorb@gnu.org>
|
|
|
|
|
|
|
|
%prep
|
|
|
|
%setup -q
|
2007-02-19 19:50:11 +00:00
|
|
|
#%patch
|
2006-12-18 23:15:09 +00:00
|
|
|
|
|
|
|
%build
|
|
|
|
./configure CFLAGS="$RPM_OPT_FLAGS" --prefix=/usr --libdir=%{_libdir} \
|
|
|
|
--infodir=%{_infodir} --mandir=%{_mandir}
|
|
|
|
make
|
|
|
|
|
|
|
|
%install
|
|
|
|
make install DESTDIR=$RPM_BUILD_ROOT
|
|
|
|
|
|
|
|
%post
|
2007-10-08 14:46:14 +00:00
|
|
|
/sbin/ldconfig
|
2006-12-18 23:15:09 +00:00
|
|
|
%install_info --info-dir=%{_infodir} %{_infodir}/autogen.info.gz
|
|
|
|
|
|
|
|
%postun
|
2007-10-08 14:46:14 +00:00
|
|
|
/sbin/ldconfig
|
2006-12-18 23:15:09 +00:00
|
|
|
%install_info_delete --info-dir=%{_infodir} %{_infodir}/autogen.info.gz
|
|
|
|
|
|
|
|
%clean
|
|
|
|
rm -fr $RPM_BUILD_ROOT
|
|
|
|
|
|
|
|
%files
|
|
|
|
%defattr(-, root, root)
|
|
|
|
/usr/bin/*
|
|
|
|
/usr/include/*
|
|
|
|
%{_libdir}/lib*
|
|
|
|
%{_libdir}/pkgconfig/autoopts.pc
|
|
|
|
%{_mandir}/man?/*.gz
|
|
|
|
/usr/share/aclocal/*
|
|
|
|
/usr/share/autogen
|
|
|
|
%{_infodir}/*.gz
|
2007-02-19 19:50:11 +00:00
|
|
|
%changelog
|
2007-10-08 14:46:14 +00:00
|
|
|
* Mon Oct 08 2007 - schwab@suse.de
|
|
|
|
- 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.
|
2007-07-30 18:51:32 +00:00
|
|
|
* Mon Jul 30 2007 - schwab@suse.de
|
|
|
|
- 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
|
2007-05-07 13:04:39 +00:00
|
|
|
* Mon May 07 2007 - schwab@suse.de
|
|
|
|
- Update to autogen 5.9.1.
|
|
|
|
* getopt.tpl template is fixed to not require the internal header
|
|
|
|
autoopts/autoopts.h.
|
|
|
|
* 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:
|
|
|
|
PROGRAM_LOAD_OPTS=no
|
|
|
|
PROGRAM=--no-load-opts
|
|
|
|
* 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
|
2007-02-19 19:50:11 +00:00
|
|
|
* Sun Feb 18 2007 - schwab@suse.de
|
|
|
|
- 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
|
2007-01-29 15:47:00 +00:00
|
|
|
* Mon Jan 29 2007 - schwab@suse.de
|
|
|
|
- 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. :)
|
2006-12-18 23:15:09 +00:00
|
|
|
* Sun Oct 15 2006 - schwab@suse.de
|
|
|
|
- Update to autogen 5.8.7.
|
|
|
|
* Tweaks for Windows' compat/windows-config.h
|
|
|
|
* new string-table convenience functions: string-table-add-ref and
|
|
|
|
string-table-size
|
|
|
|
* fixed a value referencing bug in enumeration arg handling
|
|
|
|
(seen on platforms where sizeof(int) != sizeof(void*)).
|
|
|
|
* Fri Oct 13 2006 - aj@suse.de
|
|
|
|
- add guile-devel buildrequires.
|
|
|
|
* Thu Oct 12 2006 - ro@suse.de
|
|
|
|
- added gmp-devel to buildrequires (guile)
|
|
|
|
* Mon Oct 09 2006 - schwab@suse.de
|
|
|
|
- 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 - schwab@suse.de
|
|
|
|
- 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 - mls@suse.de
|
|
|
|
- converted neededforbuild to BuildRequires
|
|
|
|
* Sun Jan 15 2006 - schwab@suse.de
|
|
|
|
- Run %%install_info.
|
|
|
|
* Sat Jan 14 2006 - schwab@suse.de
|
|
|
|
- Update to autogen 5.8.1.
|
|
|
|
* Wed Jan 11 2006 - schwab@suse.de
|
|
|
|
- Run ldconfig in %%post.
|
|
|
|
* Mon Jan 09 2006 - schwab@suse.de
|
|
|
|
- Update to autogen 5.8.
|
|
|
|
* Fri Oct 14 2005 - schwab@suse.de
|
|
|
|
- Fix strict-aliasing bugs.
|
|
|
|
* Tue Oct 11 2005 - schwab@suse.de
|
|
|
|
- Update to autogen 5.7.3.
|
|
|
|
* Tue Aug 02 2005 - schwab@suse.de
|
|
|
|
- Update to autogen 5.7.2.
|
|
|
|
* Fri Apr 29 2005 - schwab@suse.de
|
|
|
|
- Update to autogen 5.7.
|
|
|
|
* Tue Mar 29 2005 - schwab@suse.de
|
|
|
|
- Update to autogen 5.6.6.
|
|
|
|
* Mon Jan 10 2005 - schwab@suse.de
|
|
|
|
- Update to autogen 5.6.5.
|
|
|
|
* Thu Nov 11 2004 - ro@suse.de
|
|
|
|
- fixed file list
|
|
|
|
* Sat Nov 06 2004 - schwab@suse.de
|
|
|
|
- Initial version 5.6.4.
|