diff --git a/autogen.spec b/autogen.spec index f078e5c..b7a08bb 100644 --- a/autogen.spec +++ b/autogen.spec @@ -1,23 +1,21 @@ Name: autogen -Version: 5.18.16 -Release: 2mamba +Version: 5.19.96 +Release: 1mamba Summary: Simplifies the creation and maintenance of programs Group: Development/Tools Vendor: openmamba Distribution: openmamba Packager: Silvan Calarco -URL: http://www.gnu.org/software/autogen -Source0: http://ftp.gnu.org/gnu/autogen/rel%{version}/autogen-%{version}.tar.xz -#Source0: http://downloads.sourceforge.net/autogen/autogen-%{version}.tar.gz +URL: http://www.gnu.org/software/autogen/ +Source0: https://alpha.gnu.org/gnu/autogen/autogen-%{version}.tar.xz +#Source0: http://ftp.gnu.org/gnu/autogen/rel%{version}/autogen-%{version}.tar.xz Patch0: autogen-5.18.6-guile-3.0.patch License: GPL, BSD ## AUTOBUILDREQ-BEGIN BuildRequires: glibc-devel -BuildRequires: libffi-devel BuildRequires: libgc-devel BuildRequires: libgmp-devel BuildRequires: libguile-devel -BuildRequires: libltdl-devel BuildRequires: liblzma-devel BuildRequires: libperl BuildRequires: libunistring-devel @@ -27,50 +25,41 @@ BuildRequires: perl-devel ## AUTOBUILDREQ-END BuildRequires: chrpath Requires(post):%{__install_info} -BuildRoot: %{_tmppath}/%{name}-%{version}-root %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 synchronized. -%package -n libopts +%package -n libopts Summary: Main library for %{name} -Group: Development/Tools +Group: System/Libraries Provides: autogen-libopts -Obsoletes: autogen-libopts +Obsoletes: autogen-libopts < 5.19.96 %description -n libopts 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 synchronized. -%package -n libopts-devel +%package -n libopts-devel Summary: Development headers and libraries for %{name} Group: Development/Tools Requires: %{name}-libopts = %{version}-%{release} Provides: autogen-libopts-devel -Obsoletes: autogen-libopts-devel +Obsoletes: autogen-libopts-devel < 5.19.96 +Provides: autogen-libopts-static +Obsoletes: autogen-libopts-static < 5.19.96 +Provides: libopts-static +Obsoletes: libopts-static < 5.19.96 %description -n libopts-devel 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 synchronized. -%package -n libopts-static -Group: Development/Libraries -Summary: Static libraries for %{name} -Requires: %{name}-libopts-devel = %{version}-%{release} -Provides: autogen-libopts-static -Obsoletes: autogen-libopts-static - -%description -n libopts-static -%{name} is part of the autogen build system - -This package contains static libraries need for development. - %debug_package %prep %setup -q -%patch0 -p1 +#%patch0 -p1 -# Workaround for guile 3.0 -sed -i "s|2.0 1.8|3.0 2.0 1.8|" configure +## Support for guile 3.0 +sed -i "s|2.2 2.0 1.8|3.0 2.2 2.0 1.8|" configure sed -i 's/ -Werror / /' configure @@ -118,7 +107,6 @@ rm -f %{buildroot}%{_datadir}/autogen/libopts-31.1.6.tar.gz %uninstall_info autogen.info %post -n libopts -p /sbin/ldconfig - %postun -n libopts -p /sbin/ldconfig %files @@ -147,6 +135,7 @@ rm -f %{buildroot}%{_datadir}/autogen/libopts-31.1.6.tar.gz %{_bindir}/autoopts-config %dir %{_includedir}/autoopts %{_includedir}/autoopts/*.h +%{_libdir}/libopts.a %{_libdir}/libopts.so %{_libdir}/autogen/tpl-config.tlib %{_mandir}/man1/autoopts-config.1* @@ -161,12 +150,10 @@ rm -f %{buildroot}%{_datadir}/autogen/libopts-31.1.6.tar.gz %doc pkg/libopts/README %doc ChangeLog NEWS README THANKS TODO -%files -n libopts-static -%defattr(-,root,root) -%{_libdir}/libopts.a -%{_libdir}/libopts.la - %changelog +* Wed May 19 2021 Silvan Calarco 5.19.96-1mamba +- update to 5.19.96 + * Sat Nov 28 2020 Silvan Calarco 5.18.16-2mamba - rebuilt with libguile 3.0