forked from pool/autogen
141 lines
4.6 KiB
RPMSpec
141 lines
4.6 KiB
RPMSpec
|
#
|
||
|
# spec file for package autogen (Version 5.8.7)
|
||
|
#
|
||
|
# Copyright (c) 2006 SUSE LINUX Products GmbH, Nuernberg, Germany.
|
||
|
# 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
|
||
|
Version: 5.8.7
|
||
|
Release: 1
|
||
|
Group: Development/Tools/Building
|
||
|
License: GPL
|
||
|
URL: http://autogen.sourceforge.net/
|
||
|
Source: %{name}-%{version}.tar.bz2
|
||
|
#Patch: %{name}-%{version}.diff
|
||
|
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
|
||
|
#%patch
|
||
|
|
||
|
%build
|
||
|
./configure CFLAGS="$RPM_OPT_FLAGS" --prefix=/usr --libdir=%{_libdir} \
|
||
|
--infodir=%{_infodir} --mandir=%{_mandir}
|
||
|
make
|
||
|
|
||
|
%install
|
||
|
make install DESTDIR=$RPM_BUILD_ROOT
|
||
|
|
||
|
%post
|
||
|
%run_ldconfig
|
||
|
%install_info --info-dir=%{_infodir} %{_infodir}/autogen.info.gz
|
||
|
|
||
|
%postun
|
||
|
%run_ldconfig
|
||
|
%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
|
||
|
|
||
|
%changelog -n autogen
|
||
|
* 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.
|