Summary: Automated text file generator Name: autogen Version: 5.18.16 Release: 22%{?dist} # Some files are licensed under GPLv2+. # We redistribute them under GPLv3+. License: GPL-3.0-or-later AND GPL-2.0-or-later AND LGPL-2.1-or-later AND LGPL-2.0-or-later AND BSD-2-Clause AND BSD-3-Clause AND GPL-1.0-or-later AND (LGPL-3.0-or-later OR BSD-3-Clause) AND GFDL-1.2-or-later URL: http://www.gnu.org/software/autogen/ Source0: ftp://ftp.gnu.org/gnu/autogen/rel%{version}/%{name}-%{version}.tar.xz # Fix multilib conflicts Patch0: autogen-multilib.patch # Fix gcc error on overlapping strings Patch1: autogen-overlap.patch Patch2: autogen-configure-c99.patch # https://sourceforge.net/p/autogen/bugs/212/ Patch3: autogen-fortify.patch Requires: %{name}-libopts%{?_isa} = %{version}-%{release} BuildRequires: gcc BuildRequires: guile22-devel BuildRequires: libtool BuildRequires: libxml2-devel BuildRequires: make BuildRequires: perl-generators BuildRequires: perl(Carp) BuildRequires: perl(constant) BuildRequires: perl(Exporter) BuildRequires: perl(File::Basename) BuildRequires: perl(lib) BuildRequires: perl(List::Util) BuildRequires: perl(strict) BuildRequires: perl(Text::ParseWords) BuildRequires: perl(warnings) BuildRequires: chrpath BuildRequires: sed %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 synchronised. %package libopts Summary: Automated option processing library based on %{name} # Although sources are dual licensed with BSD, some autogen generated files # are only under LGPLv3+. We drop BSD to avoid multiple licensing scenario. License: LGPL-3.0-or-later %description libopts Libopts is very powerful command line option parser consisting of a set of AutoGen templates and a run time library that nearly eliminates the hassle of parsing and documenting command line options. %package libopts-devel Summary: Development files for libopts # Although sources are dual licensed with BSD, some autogen generated files # are only under LGPLv3+. We drop BSD to avoid multiple licensing scenario. License: LGPL-3.0-or-later Requires: automake Requires: %{name} = %{version}-%{release} Requires: %{name}-libopts%{?_isa} = %{version}-%{release} Requires: pkgconfig %description libopts-devel This package contains development files for libopts. %prep %setup -q %patch -P0 -p1 -b .multilib %patch -P1 -p1 -b .overlap %patch -P2 -p1 %patch -P3 -p1 -b .fortify # Disable failing test sed -i 's|errors.test||' autoopts/test/Makefile.in %build # Static libraries are needed to run test-suite. export CFLAGS="$RPM_OPT_FLAGS -Wno-implicit-fallthrough -Wno-format-overflow \ -Wno-format-truncation" %configure # Omit unused direct shared library dependencies. sed --in-place --expression 's! -shared ! -Wl,--as-needed\0!g' ./libtool make %{?_smp_mflags} %check make check %install make install INSTALL="%{__install} -p" DESTDIR=$RPM_BUILD_ROOT find $RPM_BUILD_ROOT -type f -name "*.la" -delete find $RPM_BUILD_ROOT -type f -name "*.a" -delete # Remove time stamps from generated devel man pages to avoid multilib conflicts sed -i 's|\(It has been AutoGen-ed\).*.\(by AutoGen\)|\1 \2|' \ $RPM_BUILD_ROOT%{_mandir}/man3/*.3 # Remove rpath. chrpath --delete $RPM_BUILD_ROOT%{_bindir}/{columns,getdefs,%{name},xml2ag} chrpath --delete $RPM_BUILD_ROOT%{_libdir}/lib*.so.* rm -f $RPM_BUILD_ROOT%{_infodir}/dir %ldconfig_scriptlets libopts %files %doc AUTHORS %doc ChangeLog %doc COPYING %doc NEWS %doc README %doc THANKS %doc TODO %doc pkg/libopts/COPYING.gplv3 %{_bindir}/columns %{_bindir}/getdefs %{_bindir}/%{name} %{_bindir}/xml2ag %{_infodir}/%{name}.info*.gz %{_mandir}/man1/%{name}.1.gz %{_mandir}/man1/columns.1.gz %{_mandir}/man1/getdefs.1.gz %{_mandir}/man1/xml2ag.1.gz %dir %{_datadir}/%{name} %{_datadir}/%{name}/* %dir %{_libdir}/%{name} %{_libdir}/%{name}/* %files libopts %doc pkg/libopts/COPYING.mbsd %doc pkg/libopts/COPYING.lgplv3 %{_libdir}/libopts.so.25* %files libopts-devel %{_bindir}/autoopts-config %{_datadir}/aclocal/autoopts.m4 %{_libdir}/libopts.so %{_libdir}/pkgconfig/autoopts.pc %{_mandir}/man1/autoopts-config.1.gz %{_mandir}/man3/* %dir %{_includedir}/autoopts %{_includedir}/autoopts/options.h %{_includedir}/autoopts/usage-txt.h %changelog * Wed Jul 17 2024 Fedora Release Engineering - 5.18.16-22 - Rebuilt for https://fedoraproject.org/wiki/Fedora_41_Mass_Rebuild * Wed Jul 17 2024 Miroslav Suchý - 5.18.16-21 - convert license to SPDX * Mon Jan 22 2024 Fedora Release Engineering - 5.18.16-20 - Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild * Fri Jan 19 2024 Fedora Release Engineering - 5.18.16-19 - Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild * Mon Oct 30 2023 Tomas Korbar - 5.18.16-18 - Change the License tag so it contains all relevant SPDX licenses as shown by scancode * Wed Jul 19 2023 Fedora Release Engineering - 5.18.16-17 - Rebuilt for https://fedoraproject.org/wiki/Fedora_39_Mass_Rebuild * Thu Mar 09 2023 Tomas Korbar - 5.18.16-16 - Change the License tag to the SPDX format * Tue Feb 28 2023 Tomas Korbar - 5.18.16-15 - Raise fortification level to 3 - Fix bad way of reallocation when reading from stdin * Mon Feb 27 2023 Tomas Korbar - 5.18.16-14 - Lower fortification level to 2 - Resolves: rhbz#2171445 * Wed Jan 18 2023 Fedora Release Engineering - 5.18.16-13 - Rebuilt for https://fedoraproject.org/wiki/Fedora_38_Mass_Rebuild * Wed Dec 07 2022 Peter Fordham - 5.18.16-12 - Patch in fix for https://sourceforge.net/p/autogen/bugs/213/, C99 compliance. * Wed Jul 20 2022 Fedora Release Engineering - 5.18.16-11 - Rebuilt for https://fedoraproject.org/wiki/Fedora_37_Mass_Rebuild * Wed Jan 19 2022 Fedora Release Engineering - 5.18.16-10 - Rebuilt for https://fedoraproject.org/wiki/Fedora_36_Mass_Rebuild * Wed Jul 21 2021 Fedora Release Engineering - 5.18.16-9 - Rebuilt for https://fedoraproject.org/wiki/Fedora_35_Mass_Rebuild * Tue Jan 26 2021 Fedora Release Engineering - 5.18.16-8 - Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild * Mon Jul 27 2020 Fedora Release Engineering - 5.18.16-7 - Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild * Wed Jul 01 2020 Tomas Korbar - 5.18.16-6 - Rebuild with guile-2.2 * Wed Mar 25 2020 Jitka Plesnikova - 5.18.16-5 - Add perl dependencies needed for build * Tue Jan 28 2020 Fedora Release Engineering - 5.18.16-4 - Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild * Wed Jul 24 2019 Fedora Release Engineering - 5.18.16-3 - Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild * Wed Apr 24 2019 Björn Esser - 5.18.16-2 - Remove hardcoded gzip suffix from GNU info pages * Tue Feb 05 2019 Miroslav Lichvar - 5.18.16-1 - update to 5.18.16 - fix building with new gcc * Thu Jan 31 2019 Fedora Release Engineering - 5.18.14-3 - Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild * Tue Jul 31 2018 Florian Weimer - 5.18.14-2 - Rebuild with fixed binutils * Mon Jul 30 2018 Miroslav Lichvar - 5.18.14-1 - update to 5.18.14 * Thu Jul 12 2018 Fedora Release Engineering - 5.18.12-9 - Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild * Thu Jun 21 2018 Miroslav Lichvar - 5.18.12-8 - drop obsolete install-info scriptlets * Wed Feb 21 2018 Miroslav Lichvar - 5.18.12-7 - fix linking to use hardening flags (#1547522) - use macro for ldconfig scriptlets - add gcc to build requirements - remove comment with macro * Wed Feb 07 2018 Fedora Release Engineering - 5.18.12-6 - Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild * Wed Aug 02 2017 Fedora Release Engineering - 5.18.12-5 - Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Binutils_Mass_Rebuild * Wed Jul 26 2017 Fedora Release Engineering - 5.18.12-4 - Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild * Tue Mar 07 2017 Miroslav Lichvar - 5.18.12-3 - Include verify.h in libopts tear-off tarball (#1400907) * Fri Feb 10 2017 Fedora Release Engineering - 5.18.12-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_26_Mass_Rebuild * Wed Sep 07 2016 Miroslav Lichvar - 5.18.12-1 - Update to 5.18.12 - Add mandatory Perl build-requires * Fri May 27 2016 Miroslav Lichvar - 5.18.10-1 - Update to 5.18.10 * Wed Feb 03 2016 Fedora Release Engineering - 5.18.6-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_24_Mass_Rebuild * Tue Sep 22 2015 Miroslav Lichvar - 5.18.6-1 - Update to 5.18.6 * Wed Jun 17 2015 Fedora Release Engineering - 5.18.5-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_23_Mass_Rebuild * Fri May 15 2015 Miroslav Lichvar - 5.18.5-1 - Update to 5.18.5 * Tue Sep 02 2014 Miroslav Lichvar - 5.18.4-1 - Update to 5.18.4 * Fri Aug 15 2014 Fedora Release Engineering - 5.18.3-3 - Rebuilt for https://fedoraproject.org/wiki/Fedora_21_22_Mass_Rebuild * Sat Jun 07 2014 Fedora Release Engineering - 5.18.3-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_21_Mass_Rebuild * Tue May 27 2014 Miroslav Lichvar - 5.18.3-1 - Update to 5.18.3 - Compile with -Wno-format-contains-nul - Use fully versioned dependency on base package * Tue Jan 28 2014 Miroslav Lichvar - 5.18.2-2 - Package libopts tear-off tarball (#441231) * Thu Oct 17 2013 Miroslav Lichvar - 5.18.2-1 - Update to 5.18.2 * Thu Sep 19 2013 Miroslav Lichvar - 5.18.1-1 - Update to 5.18.1 * Thu Aug 08 2013 Miroslav Lichvar - 5.18-1 - Update to 5.18 - Fix multilib conflicts (#831379) - Make some dependencies arch-specific - Remove obsolete macros * Sat Aug 03 2013 Fedora Release Engineering - 5.12-7 - Rebuilt for https://fedoraproject.org/wiki/Fedora_20_Mass_Rebuild * Wed Jul 17 2013 Petr Pisar - 5.12-6 - Perl 5.18 rebuild * Thu Apr 18 2013 Debarshi Ray - 5.12-5 - Fix build failure with guile2. * Wed Feb 13 2013 Fedora Release Engineering - 5.12-4 - Rebuilt for https://fedoraproject.org/wiki/Fedora_19_Mass_Rebuild * Wed Jul 18 2012 Fedora Release Engineering - 5.12-3 - Rebuilt for https://fedoraproject.org/wiki/Fedora_18_Mass_Rebuild * Thu Jan 12 2012 Fedora Release Engineering - 5.12-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_17_Mass_Rebuild * Fri Nov 25 2011 Anthony Green - 5.12-1 - Upgrade. * Mon Feb 07 2011 Fedora Release Engineering - 5.9.4-8 - Rebuilt for https://fedoraproject.org/wiki/Fedora_15_Mass_Rebuild * Mon Aug 10 2009 Ville Skyttä - 5.9.4-7 - Use bzipped upstream tarball. * Fri Jul 24 2009 Fedora Release Engineering - 5.9.4-6 - Rebuilt for https://fedoraproject.org/wiki/Fedora_12_Mass_Rebuild * Mon Feb 23 2009 Fedora Release Engineering - 5.9.4-5 - Rebuilt for https://fedoraproject.org/wiki/Fedora_11_Mass_Rebuild * Mon Feb 25 2008 Debarshi Ray - 5.9.4-4 - Changed dual licensing of autogen-libopts by dropping BSD. - Fixed multilib conflicts, static libraries and removed rpath setting bits from autoopts-config. - Replaced 'BuildRequires: chrpath' with 'BuildRequires: libtool' for removing rpaths. * Sun Feb 24 2008 Debarshi Ray - 5.9.4-3 - Added 'Obsoletes: autogen-manuals ...'. - Changed dual licensing of autogen-libopts-devel by dropping BSD. - Defined undefined non-weak symbols. - Omitted unused direct shared library dependencies. - Removed rpath setting bits from pkgconfig file. - Miscellaneous fixes. * Thu Feb 21 2008 Debarshi Ray - 5.9.4-2 - Prefixed libopts and libopts-devel with autogen-. - Removed 'BuildRequires: /usr/sbin/alternatives' and use of alternatives. - Added Provides & Obsoletes pair in autogen-libopts-devel according to Fedora naming guidelines. * Sat Feb 09 2008 Debarshi Ray - 5.9.4-1 - Initial build. Imported SPEC from Rawhide. - Removed 'Obsoletes: libopts ...' and introduced libopts subpackages to avoid mulitple licensing scenario.