Blame SPECS/autogen.spec

aa835d
Summary:	Automated text file generator
aa835d
Name:		autogen
aa835d
Version:	5.18.12
ed4651
Release:	8%{?dist}
aa835d
# Some files are licensed under GPLv2+.
aa835d
# We redistribute them under GPLv3+.
aa835d
License:	GPLv3+
aa835d
Group:		Development/Tools
aa835d
URL:		http://www.gnu.org/software/autogen/
aa835d
Source0:	ftp://ftp.gnu.org/gnu/autogen/rel%{version}/%{name}-%{version}.tar.xz
aa835d
aa835d
# Fix multilib conflicts
aa835d
Patch0:		autogen-multilib.patch
aa835d
# Include verify.h in libopts tear-off tarball
aa835d
Patch1:		autogen-verifyh.patch
aa835d
aa835d
Requires:	%{name}-libopts%{?_isa} = %{version}-%{release}
aa835d
Requires(post):	/sbin/install-info
aa835d
Requires(preun):  /sbin/install-info
aa835d
aa835d
BuildRequires:	gcc
aa835d
BuildRequires:	guile-devel
aa835d
BuildRequires:	libtool
aa835d
BuildRequires:	libxml2-devel
aa835d
BuildRequires:	perl-generators
aa835d
BuildRequires:	chrpath
aa835d
aa835d
%description
aa835d
AutoGen is a tool designed to simplify the creation and maintenance of
aa835d
programs that contain large amounts of repetitious text. It is especially
aa835d
valuable in programs that have several blocks of text that must be kept
aa835d
synchronised.
aa835d
aa835d
%package libopts
aa835d
Summary:	Automated option processing library based on %{name}
aa835d
# Although sources are dual licensed with BSD, some autogen generated files
aa835d
# are only under LGPLv3+. We drop BSD to avoid multiple licensing scenario.
aa835d
License:	LGPLv3+
aa835d
Group:		System Environment/Libraries
aa835d
aa835d
%description libopts
aa835d
Libopts is very powerful command line option parser consisting of a set of
aa835d
AutoGen templates and a run time library that nearly eliminates the hassle of
aa835d
parsing and documenting command line options.
aa835d
aa835d
%package libopts-devel
aa835d
Summary:	Development files for libopts
aa835d
# Although sources are dual licensed with BSD, some autogen generated files
aa835d
# are only under LGPLv3+. We drop BSD to avoid multiple licensing scenario.
aa835d
License:	LGPLv3+
aa835d
Group:		Development/Libraries
aa835d
aa835d
Requires:	automake
aa835d
Requires:	%{name} = %{version}-%{release}
aa835d
Requires:	%{name}-libopts%{?_isa} = %{version}-%{release}
aa835d
Requires:	pkgconfig
aa835d
aa835d
%description libopts-devel
aa835d
This package contains development files for libopts.
aa835d
aa835d
%prep
aa835d
%setup -q
aa835d
%patch0 -p1 -b .multilib
aa835d
%patch1 -p1 -b .verifyh
aa835d
aa835d
# Disable failing test
aa835d
sed -i 's|errors.test||' autoopts/test/Makefile.in
aa835d
aa835d
%build
aa835d
# Static libraries are needed to run test-suite.
aa835d
export CFLAGS="$RPM_OPT_FLAGS -Wno-format-contains-nul"
aa835d
%configure
aa835d
aa835d
# Omit unused direct shared library dependencies.
aa835d
sed --in-place --expression 's! -shared ! -Wl,--as-needed\0!g' ./libtool
aa835d
aa835d
make %{?_smp_mflags}
aa835d
aa835d
%check
aa835d
make check
aa835d
aa835d
%install
aa835d
make install INSTALL="%{__install} -p" DESTDIR=$RPM_BUILD_ROOT
aa835d
find $RPM_BUILD_ROOT -type f -name "*.la" -delete
aa835d
find $RPM_BUILD_ROOT -type f -name "*.a" -delete
aa835d
aa835d
# Remove time stamps from generated devel man pages to avoid multilib conflicts
aa835d
sed -i 's|\(It has been AutoGen-ed\).*.\(by AutoGen\)|\1 \2|' \
aa835d
	$RPM_BUILD_ROOT%{_mandir}/man3/*.3
aa835d
aa835d
# Remove rpath.
aa835d
chrpath --delete $RPM_BUILD_ROOT%{_bindir}/{columns,getdefs,%{name},xml2ag}
aa835d
chrpath --delete $RPM_BUILD_ROOT%{_libdir}/lib*.so.*
aa835d
aa835d
rm -f $RPM_BUILD_ROOT%{_infodir}/dir
aa835d
aa835d
%post
aa835d
/sbin/install-info %{_infodir}/%{name}.info %{_infodir}/dir || :
aa835d
aa835d
%preun
aa835d
if [ $1 = 0 ]; then
aa835d
  /sbin/install-info --delete %{_infodir}/%{name}.info \
aa835d
  %{_infodir}/dir >/dev/null 2>&1 || :
aa835d
fi
aa835d
aa835d
%ldconfig_scriptlets libopts
aa835d
aa835d
%files
aa835d
%doc AUTHORS
aa835d
%doc ChangeLog
aa835d
%doc COPYING
aa835d
%doc NEWS
aa835d
%doc README
aa835d
%doc THANKS
aa835d
%doc TODO
aa835d
%doc pkg/libopts/COPYING.gplv3
aa835d
%{_bindir}/columns
aa835d
%{_bindir}/getdefs
aa835d
%{_bindir}/%{name}
aa835d
%{_bindir}/xml2ag
aa835d
%{_infodir}/%{name}.info*.gz
aa835d
%{_mandir}/man1/%{name}.1.gz
aa835d
%{_mandir}/man1/columns.1.gz
aa835d
%{_mandir}/man1/getdefs.1.gz
aa835d
%{_mandir}/man1/xml2ag.1.gz
aa835d
%dir %{_datadir}/%{name}
aa835d
%{_datadir}/%{name}/*
aa835d
%dir %{_libdir}/%{name}
aa835d
%{_libdir}/%{name}/*
aa835d
aa835d
%files libopts
aa835d
%doc pkg/libopts/COPYING.mbsd
aa835d
%doc pkg/libopts/COPYING.lgplv3
aa835d
%{_libdir}/libopts.so.25*
aa835d
aa835d
%files libopts-devel
aa835d
%{_bindir}/autoopts-config
aa835d
%{_datadir}/aclocal/autoopts.m4
aa835d
%{_libdir}/libopts.so
aa835d
%{_libdir}/pkgconfig/autoopts.pc
aa835d
%{_mandir}/man1/autoopts-config.1.gz
aa835d
%{_mandir}/man3/*
aa835d
aa835d
%dir %{_includedir}/autoopts
aa835d
%{_includedir}/autoopts/options.h
aa835d
%{_includedir}/autoopts/usage-txt.h
aa835d
aa835d
%changelog
ed4651
* Wed Apr 29 2020 Tomas Korbar <tkorbar@redhat.com> - 5.18.12-8
ed4651
- Rebuild to move autogen-libopts-devel to CRB repository (#1787511)
ed4651
aa835d
* Wed Feb 21 2018 Miroslav Lichvar <mlichvar@redhat.com> - 5.18.12-7
aa835d
- fix linking to use hardening flags (#1547522)
aa835d
- use macro for ldconfig scriptlets
aa835d
- add gcc to build requirements
aa835d
- remove comment with macro
aa835d
aa835d
* Wed Feb 07 2018 Fedora Release Engineering <releng@fedoraproject.org> - 5.18.12-6
aa835d
- Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild
aa835d
aa835d
* Wed Aug 02 2017 Fedora Release Engineering <releng@fedoraproject.org> - 5.18.12-5
aa835d
- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Binutils_Mass_Rebuild
aa835d
aa835d
* Wed Jul 26 2017 Fedora Release Engineering <releng@fedoraproject.org> - 5.18.12-4
aa835d
- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild
aa835d
aa835d
* Tue Mar 07 2017 Miroslav Lichvar <mlichvar@redhat.com> - 5.18.12-3
aa835d
- Include verify.h in libopts tear-off tarball (#1400907)
aa835d
aa835d
* Fri Feb 10 2017 Fedora Release Engineering <releng@fedoraproject.org> - 5.18.12-2
aa835d
- Rebuilt for https://fedoraproject.org/wiki/Fedora_26_Mass_Rebuild
aa835d
aa835d
* Wed Sep 07 2016 Miroslav Lichvar <mlichvar@redhat.com> - 5.18.12-1
aa835d
- Update to 5.18.12
aa835d
- Add mandatory Perl build-requires
aa835d
aa835d
* Fri May 27 2016 Miroslav Lichvar <mlichvar@redhat.com> - 5.18.10-1
aa835d
- Update to 5.18.10
aa835d
aa835d
* Wed Feb 03 2016 Fedora Release Engineering <releng@fedoraproject.org> - 5.18.6-2
aa835d
- Rebuilt for https://fedoraproject.org/wiki/Fedora_24_Mass_Rebuild
aa835d
aa835d
* Tue Sep 22 2015 Miroslav Lichvar <mlichvar@redhat.com> - 5.18.6-1
aa835d
- Update to 5.18.6
aa835d
aa835d
* Wed Jun 17 2015 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 5.18.5-2
aa835d
- Rebuilt for https://fedoraproject.org/wiki/Fedora_23_Mass_Rebuild
aa835d
aa835d
* Fri May 15 2015 Miroslav Lichvar <mlichvar@redhat.com> - 5.18.5-1
aa835d
- Update to 5.18.5
aa835d
aa835d
* Tue Sep 02 2014 Miroslav Lichvar <mlichvar@redhat.com> - 5.18.4-1
aa835d
- Update to 5.18.4
aa835d
aa835d
* Fri Aug 15 2014 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 5.18.3-3
aa835d
- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_22_Mass_Rebuild
aa835d
aa835d
* Sat Jun 07 2014 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 5.18.3-2
aa835d
- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_Mass_Rebuild
aa835d
aa835d
* Tue May 27 2014 Miroslav Lichvar <mlichvar@redhat.com> - 5.18.3-1
aa835d
- Update to 5.18.3
aa835d
- Compile with -Wno-format-contains-nul
aa835d
- Use fully versioned dependency on base package
aa835d
aa835d
* Tue Jan 28 2014 Miroslav Lichvar <mlichvar@redhat.com> - 5.18.2-2
aa835d
- Package libopts tear-off tarball (#441231)
aa835d
aa835d
* Thu Oct 17 2013 Miroslav Lichvar <mlichvar@redhat.com> - 5.18.2-1
aa835d
- Update to 5.18.2
aa835d
aa835d
* Thu Sep 19 2013 Miroslav Lichvar <mlichvar@redhat.com> - 5.18.1-1
aa835d
- Update to 5.18.1
aa835d
aa835d
* Thu Aug 08 2013 Miroslav Lichvar <mlichvar@redhat.com> - 5.18-1
aa835d
- Update to 5.18
aa835d
- Fix multilib conflicts (#831379)
aa835d
- Make some dependencies arch-specific
aa835d
- Remove obsolete macros
aa835d
aa835d
* Sat Aug 03 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 5.12-7
aa835d
- Rebuilt for https://fedoraproject.org/wiki/Fedora_20_Mass_Rebuild
aa835d
aa835d
* Wed Jul 17 2013 Petr Pisar <ppisar@redhat.com> - 5.12-6
aa835d
- Perl 5.18 rebuild
aa835d
aa835d
* Thu Apr 18 2013 Debarshi Ray <rishi@fedoraproject.org> - 5.12-5
aa835d
- Fix build failure with guile2.
aa835d
aa835d
* Wed Feb 13 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 5.12-4
aa835d
- Rebuilt for https://fedoraproject.org/wiki/Fedora_19_Mass_Rebuild
aa835d
aa835d
* Wed Jul 18 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 5.12-3
aa835d
- Rebuilt for https://fedoraproject.org/wiki/Fedora_18_Mass_Rebuild
aa835d
aa835d
* Thu Jan 12 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 5.12-2
aa835d
- Rebuilt for https://fedoraproject.org/wiki/Fedora_17_Mass_Rebuild
aa835d
aa835d
* Fri Nov 25 2011 Anthony Green <green@redhat.com> - 5.12-1
aa835d
- Upgrade.
aa835d
aa835d
* Mon Feb 07 2011 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 5.9.4-8
aa835d
- Rebuilt for https://fedoraproject.org/wiki/Fedora_15_Mass_Rebuild
aa835d
aa835d
* Mon Aug 10 2009 Ville Skyttä <ville.skytta@iki.fi> - 5.9.4-7
aa835d
- Use bzipped upstream tarball.
aa835d
aa835d
* Fri Jul 24 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 5.9.4-6
aa835d
- Rebuilt for https://fedoraproject.org/wiki/Fedora_12_Mass_Rebuild
aa835d
aa835d
* Mon Feb 23 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 5.9.4-5
aa835d
- Rebuilt for https://fedoraproject.org/wiki/Fedora_11_Mass_Rebuild
aa835d
aa835d
* Mon Feb 25 2008 Debarshi Ray <rishi@fedoraproject.org> - 5.9.4-4
aa835d
- Changed dual licensing of autogen-libopts by dropping BSD.
aa835d
- Fixed multilib conflicts, static libraries and removed rpath setting bits
aa835d
  from autoopts-config.
aa835d
- Replaced 'BuildRequires: chrpath' with 'BuildRequires: libtool' for removing
aa835d
  rpaths.
aa835d
aa835d
* Sun Feb 24 2008 Debarshi Ray <rishi@fedoraproject.org> - 5.9.4-3
aa835d
- Added 'Obsoletes: autogen-manuals ...'.
aa835d
- Changed dual licensing of autogen-libopts-devel by dropping BSD.
aa835d
- Defined undefined non-weak symbols.
aa835d
- Omitted unused direct shared library dependencies.
aa835d
- Removed rpath setting bits from pkgconfig file.
aa835d
- Miscellaneous fixes.
aa835d
aa835d
* Thu Feb 21 2008 Debarshi Ray <rishi@fedoraproject.org> - 5.9.4-2
aa835d
- Prefixed libopts and libopts-devel with autogen-.
aa835d
- Removed 'BuildRequires: /usr/sbin/alternatives' and use of alternatives.
aa835d
- Added Provides & Obsoletes pair in autogen-libopts-devel according to
aa835d
  Fedora naming guidelines.
aa835d
aa835d
* Sat Feb 09 2008 Debarshi Ray <rishi@fedoraproject.org> - 5.9.4-1
aa835d
- Initial build. Imported SPEC from Rawhide.
aa835d
- Removed 'Obsoletes: libopts ...' and introduced libopts subpackages to avoid
aa835d
  mulitple licensing scenario.