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