SHA256
1
0
forked from pool/autogen
autogen/autogen.spec
Marcus Meissner df0268e2fa Accepting request 239432 from home:Andreas_Schwab:Factory
- Update to 5.18.3
  * ATTRIBUTE_FORMAT_ARG is a configured attribute that wraps
    __attribute__((__format_arg__(n))) procedure declaration attributes.
    To configure it, the ag_macros.m4 has a new macroo,
    AG_COMPILE_FORMAT_ARG (which is a compile only test probe).
  * Auto-edit Guile headers that depend upon configure values
    most especially:  noreturn
    but check for "ptrdiff_t" in our configure too, so that Guile does
    not create its own duplicate definition.
  * Abort from the failing function so that stack traces are useful
  * The libopts m4 configure code must configure the libopts/Makefile
  * Happy 2014 New Year
  * make sure library option handling code does nothing when the
    library is just trying to get information about an option.
  * Only apply texi2mdoc when it is needed.
  * The aoGetsText() emitted i18n helper function needs its argument
    to have the "format_arg" attribute.
  * documentation clarifications
  * properly create generated main procedures from user supplied code.
  * ChangeLog files have been removed from GIT sources
    (though still obtainable with tagged checkouts).
  * LIBGUILE_PATH is not needed and its derivation is wrong on
    where binaries and libraries have different prefixes.
  * fixed char casting issue that shows in UTF-8 files
  * fixed installation error for str2init
  * fixed failure handling in the usage template
  * fix broken flag values for auto-supported options
  * various tweaks to make Coverity happy.
  * allow the fatal error message functions to be tagged "noreturn"
    and incorporate sysnoreturn.h technology into AutoGen.

OBS-URL: https://build.opensuse.org/request/show/239432
OBS-URL: https://build.opensuse.org/package/show/Base:System/autogen?expand=0&rev=27
2014-07-03 14:56:01 +00:00

82 lines
2.2 KiB
RPMSpec

#
# spec file for package autogen
#
# Copyright (c) 2014 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 http://bugs.opensuse.org/
#
Name: autogen
BuildRequires: guile-devel
BuildRequires: libtool
BuildRequires: libxml2-devel
BuildRequires: makeinfo
BuildRequires: pkg-config
BuildRequires: xz
Summary: Automated Text File Generator
License: GPL-3.0+
Group: Development/Tools/Building
Version: 5.18.3
Release: 0
Url: http://autogen.sourceforge.net/
Source: %{name}-%{version}.tar.xz
Patch1: autogen-build_ldpath.patch
Patch2: autoopts-remove-stupid-set-e.patch
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.
%prep
%setup -q
%patch1
%patch2 -p1
%build
autoreconf -fi
%configure --disable-static --with-pic
make %{?_smp_mflags}
%install
%makeinstall
%check
make check
%post
/sbin/ldconfig
%install_info --info-dir=%{_infodir} %{_infodir}/autogen.info.gz
%postun
/sbin/ldconfig
%install_info_delete --info-dir=%{_infodir} %{_infodir}/autogen.info.gz
%files
%defattr(-, root, root)
%doc NEWS ChangeLog
%{_bindir}/*
%{_includedir}/*
%{_libdir}/lib*
%{_libdir}/pkgconfig/*.pc
%{_mandir}/man?/*.gz
%{_datadir}/aclocal/*
%{_datadir}/autogen
%{_infodir}/*.gz
%changelog