2008-02-28 02:55:24 +00:00
|
|
|
Summary: Automated text file generator
|
|
|
|
Name: autogen
|
2014-09-02 13:33:33 +00:00
|
|
|
Version: 5.18.4
|
2014-09-02 14:00:10 +00:00
|
|
|
Release: 1%{?dist}
|
2008-02-28 02:55:24 +00:00
|
|
|
# Some files are licensed under GPLv2+.
|
|
|
|
# We redistribute them under GPLv3+.
|
|
|
|
License: GPLv3+
|
|
|
|
Group: Development/Tools
|
|
|
|
URL: http://www.gnu.org/software/autogen/
|
2013-07-29 13:17:00 +00:00
|
|
|
Source0: ftp://ftp.gnu.org/gnu/autogen/rel%{version}/%{name}-%{version}.tar.xz
|
2008-02-28 02:55:24 +00:00
|
|
|
|
2013-07-29 14:27:50 +00:00
|
|
|
# Fix multilib conflicts
|
|
|
|
Patch0: autogen-multilib.patch
|
|
|
|
|
2013-07-29 12:37:29 +00:00
|
|
|
Requires: %{name}-libopts%{?_isa} = %{version}-%{release}
|
2008-02-28 02:55:24 +00:00
|
|
|
Requires(post): /sbin/install-info
|
|
|
|
Requires(preun): /sbin/install-info
|
|
|
|
|
|
|
|
BuildRequires: guile-devel
|
|
|
|
BuildRequires: libtool
|
|
|
|
BuildRequires: libxml2-devel
|
2006-11-02 21:17:52 +00:00
|
|
|
|
2006-09-10 20:21:05 +00:00
|
|
|
%description
|
2008-02-28 02:55:24 +00:00
|
|
|
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
|
2006-09-10 20:21:05 +00:00
|
|
|
synchronised.
|
|
|
|
|
2008-02-28 02:55:24 +00:00
|
|
|
%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: LGPLv3+
|
|
|
|
Group: System Environment/Libraries
|
2006-09-10 20:21:05 +00:00
|
|
|
|
2008-02-28 02:55:24 +00:00
|
|
|
%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.
|
2006-09-10 20:21:05 +00:00
|
|
|
|
2008-02-28 02:55:24 +00:00
|
|
|
%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: LGPLv3+
|
|
|
|
Group: Development/Libraries
|
2007-02-15 13:45:58 +00:00
|
|
|
|
2008-02-28 02:55:24 +00:00
|
|
|
Requires: automake
|
2014-03-14 12:07:07 +00:00
|
|
|
Requires: %{name} = %{version}-%{release}
|
2013-07-29 12:37:29 +00:00
|
|
|
Requires: %{name}-libopts%{?_isa} = %{version}-%{release}
|
2008-02-28 02:55:24 +00:00
|
|
|
Requires: pkgconfig
|
|
|
|
|
|
|
|
%description libopts-devel
|
|
|
|
This package contains development files for libopts.
|
2007-02-15 13:45:58 +00:00
|
|
|
|
2006-09-10 20:21:05 +00:00
|
|
|
%prep
|
2008-02-28 02:55:24 +00:00
|
|
|
%setup -q
|
2013-07-29 14:27:50 +00:00
|
|
|
%patch0 -p1 -b .multilib
|
2006-09-10 20:21:05 +00:00
|
|
|
|
2013-07-29 13:17:00 +00:00
|
|
|
# Disable failing test
|
|
|
|
sed -i 's|errors.test||' autoopts/test/Makefile.in
|
2008-02-28 02:55:24 +00:00
|
|
|
|
2013-07-29 13:17:00 +00:00
|
|
|
%build
|
2008-02-28 02:55:24 +00:00
|
|
|
# Static libraries are needed to run test-suite.
|
2014-05-27 12:50:08 +00:00
|
|
|
export CFLAGS="$RPM_OPT_FLAGS -Wno-format-contains-nul"
|
2006-11-02 21:17:52 +00:00
|
|
|
%configure
|
2006-09-10 20:21:05 +00:00
|
|
|
|
2008-03-02 14:58:22 +00:00
|
|
|
# Fix Libtool to remove rpaths.
|
2008-02-28 02:55:24 +00:00
|
|
|
rm -f ./libtool
|
|
|
|
cp %{_bindir}/libtool .
|
2008-03-02 14:58:22 +00:00
|
|
|
|
|
|
|
# Omit unused direct shared library dependencies.
|
2008-02-28 02:55:24 +00:00
|
|
|
sed --in-place --expression 's! -shared ! -Wl,--as-needed\0!g' ./libtool
|
|
|
|
|
2013-07-29 13:17:00 +00:00
|
|
|
make %{?_smp_mflags}
|
2006-09-10 20:21:05 +00:00
|
|
|
|
|
|
|
%check
|
2013-07-29 13:17:00 +00:00
|
|
|
make check
|
2006-09-10 20:21:05 +00:00
|
|
|
|
2008-02-28 02:55:24 +00:00
|
|
|
%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
|
2006-09-10 20:21:05 +00:00
|
|
|
|
2013-07-29 14:27:50 +00:00
|
|
|
# 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
|
|
|
|
|
2008-02-28 02:55:24 +00:00
|
|
|
rm -f $RPM_BUILD_ROOT%{_infodir}/dir
|
2006-09-10 20:21:05 +00:00
|
|
|
|
|
|
|
%post
|
2006-09-10 21:37:04 +00:00
|
|
|
/sbin/install-info %{_infodir}/%{name}.info %{_infodir}/dir || :
|
2006-09-10 20:21:05 +00:00
|
|
|
|
2008-02-28 02:55:24 +00:00
|
|
|
%preun
|
|
|
|
if [ $1 = 0 ]; then
|
|
|
|
/sbin/install-info --delete %{_infodir}/%{name}.info \
|
|
|
|
%{_infodir}/dir >/dev/null 2>&1 || :
|
|
|
|
fi
|
2006-09-10 20:21:05 +00:00
|
|
|
|
2008-02-28 02:55:24 +00:00
|
|
|
%post libopts -p /sbin/ldconfig
|
2006-09-10 20:21:05 +00:00
|
|
|
|
2008-02-28 02:55:24 +00:00
|
|
|
%postun libopts -p /sbin/ldconfig
|
2006-09-10 20:21:05 +00:00
|
|
|
|
|
|
|
%files
|
2008-02-28 02:55:24 +00:00
|
|
|
%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}
|
2006-09-10 20:21:05 +00:00
|
|
|
%{_bindir}/xml2ag
|
2013-07-29 13:17:00 +00:00
|
|
|
%{_infodir}/%{name}.info*.gz
|
2008-02-28 02:55:24 +00:00
|
|
|
%{_mandir}/man1/%{name}.1.gz
|
|
|
|
%{_mandir}/man1/columns.1.gz
|
|
|
|
%{_mandir}/man1/getdefs.1.gz
|
|
|
|
%{_mandir}/man1/xml2ag.1.gz
|
|
|
|
|
|
|
|
%dir %{_datadir}/%{name}
|
2011-11-25 16:27:29 +00:00
|
|
|
%{_datadir}/%{name}/*
|
2008-02-28 02:55:24 +00:00
|
|
|
|
|
|
|
%files libopts
|
|
|
|
%doc pkg/libopts/COPYING.mbsd
|
|
|
|
%doc pkg/libopts/COPYING.lgplv3
|
2006-11-02 21:17:52 +00:00
|
|
|
%{_libdir}/libopts.so.*
|
2006-09-10 20:21:05 +00:00
|
|
|
|
2008-02-28 02:55:24 +00:00
|
|
|
%files libopts-devel
|
|
|
|
%{_bindir}/autoopts-config
|
2006-09-10 20:21:05 +00:00
|
|
|
%{_datadir}/aclocal/autoopts.m4
|
2011-11-25 16:27:29 +00:00
|
|
|
#%{_datadir}/aclocal/liboptschk.m4
|
2006-11-02 21:17:52 +00:00
|
|
|
%{_libdir}/libopts.so
|
2011-11-25 16:27:29 +00:00
|
|
|
%{_datadir}/pkgconfig/autoopts.pc
|
2008-02-28 02:55:24 +00:00
|
|
|
%{_mandir}/man1/autoopts-config.1.gz
|
|
|
|
%{_mandir}/man3/*
|
|
|
|
|
|
|
|
%dir %{_includedir}/autoopts
|
|
|
|
%{_includedir}/autoopts/options.h
|
|
|
|
%{_includedir}/autoopts/usage-txt.h
|
2006-09-10 20:21:05 +00:00
|
|
|
|
|
|
|
%changelog
|
2014-09-02 14:00:10 +00:00
|
|
|
* Tue Sep 02 2014 Miroslav Lichvar <mlichvar@redhat.com> - 5.18.4-1
|
|
|
|
- Update to 5.18.4
|
|
|
|
|
2014-08-15 21:55:28 +00:00
|
|
|
* Fri Aug 15 2014 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 5.18.3-3
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_22_Mass_Rebuild
|
|
|
|
|
2014-06-07 02:13:15 +00:00
|
|
|
* Sat Jun 07 2014 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 5.18.3-2
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_Mass_Rebuild
|
|
|
|
|
2014-05-27 13:22:21 +00:00
|
|
|
* Tue May 27 2014 Miroslav Lichvar <mlichvar@redhat.com> - 5.18.3-1
|
|
|
|
- Update to 5.18.3
|
|
|
|
- Compile with -Wno-format-contains-nul
|
|
|
|
- Use fully versioned dependency on base package
|
|
|
|
|
2014-01-28 17:21:29 +00:00
|
|
|
* Tue Jan 28 2014 Miroslav Lichvar <mlichvar@redhat.com> - 5.18.2-2
|
|
|
|
- Package libopts tear-off tarball (#441231)
|
|
|
|
|
2013-10-17 11:15:59 +00:00
|
|
|
* Thu Oct 17 2013 Miroslav Lichvar <mlichvar@redhat.com> - 5.18.2-1
|
|
|
|
- Update to 5.18.2
|
|
|
|
|
2013-09-19 14:34:59 +00:00
|
|
|
* Thu Sep 19 2013 Miroslav Lichvar <mlichvar@redhat.com> - 5.18.1-1
|
|
|
|
- Update to 5.18.1
|
|
|
|
|
2013-07-29 14:49:45 +00:00
|
|
|
* Thu Aug 08 2013 Miroslav Lichvar <mlichvar@redhat.com> - 5.18-1
|
|
|
|
- Update to 5.18
|
|
|
|
- Fix multilib conflicts (#831379)
|
|
|
|
- Make some dependencies arch-specific
|
|
|
|
- Remove obsolete macros
|
|
|
|
|
2013-08-03 02:42:48 +00:00
|
|
|
* Sat Aug 03 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 5.12-7
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_20_Mass_Rebuild
|
|
|
|
|
2013-07-17 19:43:39 +00:00
|
|
|
* Wed Jul 17 2013 Petr Pisar <ppisar@redhat.com> - 5.12-6
|
|
|
|
- Perl 5.18 rebuild
|
|
|
|
|
2013-04-18 12:23:47 +00:00
|
|
|
* Thu Apr 18 2013 Debarshi Ray <rishi@fedoraproject.org> - 5.12-5
|
|
|
|
- Fix build failure with guile2.
|
|
|
|
|
2013-02-13 17:25:26 +00:00
|
|
|
* Wed Feb 13 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 5.12-4
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_19_Mass_Rebuild
|
|
|
|
|
2012-07-18 17:15:20 +00:00
|
|
|
* Wed Jul 18 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 5.12-3
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_18_Mass_Rebuild
|
|
|
|
|
2012-01-12 22:08:03 +00:00
|
|
|
* Thu Jan 12 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 5.12-2
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_17_Mass_Rebuild
|
|
|
|
|
2011-11-25 16:27:29 +00:00
|
|
|
* Fri Nov 25 2011 Anthony Green <green@redhat.com> - 5.12-1
|
|
|
|
- Upgrade.
|
|
|
|
|
2011-02-08 03:41:30 +00:00
|
|
|
* Mon Feb 07 2011 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 5.9.4-8
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_15_Mass_Rebuild
|
|
|
|
|
2009-08-10 11:50:17 +00:00
|
|
|
* Mon Aug 10 2009 Ville Skyttä <ville.skytta@iki.fi> - 5.9.4-7
|
|
|
|
- Use bzipped upstream tarball.
|
|
|
|
|
2009-07-24 17:37:30 +00:00
|
|
|
* Fri Jul 24 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 5.9.4-6
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_12_Mass_Rebuild
|
|
|
|
|
2009-02-27 20:24:16 +00:00
|
|
|
* Mon Feb 23 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 5.9.4-5
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_11_Mass_Rebuild
|
|
|
|
|
2008-02-28 02:55:24 +00:00
|
|
|
* Mon Feb 25 2008 Debarshi Ray <rishi@fedoraproject.org> - 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 <rishi@fedoraproject.org> - 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 <rishi@fedoraproject.org> - 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 <rishi@fedoraproject.org> - 5.9.4-1
|
|
|
|
- Initial build. Imported SPEC from Rawhide.
|
|
|
|
- Removed 'Obsoletes: libopts ...' and introduced libopts subpackages to avoid
|
|
|
|
mulitple licensing scenario.
|