###############################################################################
name = autogen
-version = 5.9.4
+version = 5.18.1
release = 1
groups = Development/Tools
summary = Automated text file generator.
description
- AutoGen is a tool designed to simplify the creation and maintenance of \
- programs that contain large amounts of repetitious text. It is especially \
- valuable in programs that have several blocks of text that must be kept \
+ AutoGen is a tool designed to simplify the creation and maintenance of
+ programs that contain large amounts of repetitious text. It is especially
+ valuable in programs that have several blocks of text that must be kept
synchronised.
end
-source_dl = http://ftp.gnu.org/gnu/autogen/
+source_dl = ftp://ftp.gnu.org/gnu/autogen/rel%{version}/
build
requires
- guile-devel
+ guile-devel >= 2.0.9-3
+ libtool
libxml2-devel
end
+
+ prepare_cmds
+ # Fix Libtool to remove rpaths.
+ rm -vf libtool
+ cp -vf $(which libtool) libtool
+
+ # Omit unused direct shared library dependencies.
+ sed --in-place --expression 's! -shared ! -Wl,--as-needed\0!g' ./libtool
+ end
+
+ test
+ make check
+ end
+
+ install_cmds
+ rm -vf %{BUILDROOT}%{datadir}/%{name}/autoopts.m4
+ rm -vf %{BUILDROOT}%{datadir}/%{name}/libopts-31.0.6.tar.gz
+ end
end
packages
package %{name}
+
+ package %{name}-libs
+ template LIBS
end
package %{name}-debuginfo