Update to 5.18

This commit is contained in:
Miroslav Lichvar 2013-07-29 15:17:00 +02:00
parent 3728819dad
commit 57b0474cf8
5 changed files with 11 additions and 54 deletions

3
.gitignore vendored
View File

@ -1,2 +1 @@
autogen-5.9.4.tar.bz2
/autogen-5.12.tar.gz
/autogen-5.18.tar.xz

View File

@ -1,24 +0,0 @@
--- autoopts/autoopts-config.in.orig 2011-06-26 10:39:46.000000000 -0400
+++ autoopts/autoopts-config.in 2011-11-25 11:03:15.408677185 -0500
@@ -17,17 +17,17 @@
includedir="@includedir@"
exec_prefix="@exec_prefix@"
bindir="@bindir@"
- libdir="@libdir@"
- ldopts="@AG_LDFLAGS@"
+ libdir=""
+ ldopts=""
exeext="@EXEEXT@"
version="@AO_CURRENT@:@AO_REVISION@:@AO_AGE@"
dotver="@AO_CURRENT@.@AO_REVISION@.@AO_AGE@"
pkgdatadir="${datadir}/${package}"
autogen="${bindir}/autogen${exeext}"
- ldflags="-L${libdir} -lopts"
+ ldflags="-lopts"
libs="${ldflags}"
libsrc="${pkgdatadir}/libopts-${dotver}.tar.gz"
- static_libs="${libdir}/libopts.a"
+ static_libs=""
cflags="-I${includedir}"
case "${libdir}" in
/lib | /lib64 | /usr/lib | /usr/lib64 )

View File

@ -1,11 +0,0 @@
diff -urNp autogen-5.9.4.orig/autoopts/mk-autoopts-pc.in autogen-5.9.4/autoopts/mk-autoopts-pc.in
--- autogen-5.9.4.orig/autoopts/mk-autoopts-pc.in 2007-12-24 02:33:16.000000000 +0530
+++ autogen-5.9.4/autoopts/mk-autoopts-pc.in 2008-02-24 21:21:13.000000000 +0530
@@ -18,7 +18,6 @@
exec_prefix="@exec_prefix@"
bindir="@bindir@"
libdir="@libdir@"
- ldopts="@AG_LDFLAGS@"
exeext="@EXEEXT@"
version="@AO_CURRENT@:@AO_REVISION@:@AO_AGE@"
dotver="@AO_CURRENT@.@AO_REVISION@.@AO_AGE@"

View File

@ -1,16 +1,13 @@
Summary: Automated text file generator
Name: autogen
Version: 5.12
Version: 5.18
Release: 7%{?dist}
# Some files are licensed under GPLv2+.
# We redistribute them under GPLv3+.
License: GPLv3+
Group: Development/Tools
URL: http://www.gnu.org/software/autogen/
Source0: ftp://ftp.gnu.org/gnu/autogen/rel5.12/%{name}-%{version}.tar.gz
Patch0: %{name}-%{version}-autoopts-config.patch
Patch1: %{name}-%{version}-pkgconfig.patch
Source0: ftp://ftp.gnu.org/gnu/autogen/rel%{version}/%{name}-%{version}.tar.xz
Requires: %{name}-libopts%{?_isa} = %{version}-%{release}
Requires(post): /sbin/install-info
@ -54,12 +51,11 @@ This package contains development files for libopts.
%prep
%setup -q
%patch0 -p0
%patch1 -p1
# Disable failing test
sed -i 's|errors.test||' autoopts/test/Makefile.in
%build
export LDFLAGS="-lguile-2.0"
# Static libraries are needed to run test-suite.
%configure
@ -70,11 +66,10 @@ cp %{_bindir}/libtool .
# Omit unused direct shared library dependencies.
sed --in-place --expression 's! -shared ! -Wl,--as-needed\0!g' ./libtool
make #%{?_smp_mflags}
make %{?_smp_mflags}
%check
# make check
# 1 out of 20 tests fail.
make check
%install
make install INSTALL="%{__install} -p" DESTDIR=$RPM_BUILD_ROOT
@ -84,7 +79,7 @@ find $RPM_BUILD_ROOT -type f -name "*.a" -delete
rm -f $RPM_BUILD_ROOT%{_infodir}/dir
rm -f $RPM_BUILD_ROOT%{_datadir}/%{name}/autoopts.m4
rm -f $RPM_BUILD_ROOT%{_datadir}/%{name}/libopts-31.0.6.tar.gz
rm -f $RPM_BUILD_ROOT%{_datadir}/%{name}/libopts-*.tar.gz
%post
/sbin/install-info %{_infodir}/%{name}.info %{_infodir}/dir || :
@ -112,9 +107,7 @@ fi
%{_bindir}/getdefs
%{_bindir}/%{name}
%{_bindir}/xml2ag
%{_infodir}/%{name}.info.gz
%{_infodir}/%{name}.info-1.gz
%{_infodir}/%{name}.info-2.gz
%{_infodir}/%{name}.info*.gz
%{_mandir}/man1/%{name}.1.gz
%{_mandir}/man1/columns.1.gz
%{_mandir}/man1/getdefs.1.gz

View File

@ -1 +1 @@
6c6671b76021fb30dd43b0d5fdb7180b autogen-5.12.tar.gz
ef49893d65a490f4e1ae0a4d816cf6aa autogen-5.18.tar.xz