Sisyphus repository
Last update: 1 october 2023 | SRPMs: 18631 | Visits: 37400841
en ru br
ALT Linux repos
S:5.18.12-alt2
5.0: 5.9.6-alt1
4.1: 5.8.9-alt1
4.0: 5.8.4-alt1
3.0: 5.6.6-alt1

Group :: Development/Other
RPM: autogen

 Main   Changelog   Spec   Patches   Sources   Download   Gear   Bugs and FR  Repocop 

Name: autogen
Version: 5.9.6
Release: alt1

Summary: AutoGen - The Automated Program Generator
License: %gpl2plus
Group: Development/Other
Url: http://autogen.sourceforge.net/

Source: http://downloads.sourceforge.net/%name/%name-%version.tar.bz2
Patch: autogen-5.8-fix-linking.patch
Patch2: %name-5.9.6-fix-libtool.patch
Packager: Alexey Rusakov <ktirf at altlinux.org>

BuildPreReq: rpm-build-licenses rpm-build-compat

BuildPreReq: texi2html guile16-devel libxml2-devel

%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.

AutoGen can now accept XML files as definition input, in addition to CGI data (for producing dynamic HTML) and traditional AutoGen definitions.

A common example where this would be useful is in creating and maintaining the code required for processing program options. Processing options requires multiple constructs to be maintained in parallel in different places in your program. Options maintenance needs to be done countless times. So, AutoGen comes with an add-on package named AutoOpts that simplifies the maintenance and documentation of program options.

The Copyright itself is privately held by Bruce Korb.

%package -n libopts
Summary: Command line option parser based on AutoGen
Group: Development/Other
License: %lgpl3plus, %bsd

%description -n libopts
AutoOpts is a 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. This package allows you to specify several program attributes, up to 100 option types and many attributes for each option.

%package -n libopts-devel
Summary: AutoGen development files and libraries
Group: Development/Other
License: %lgpl3plus, %bsd
Requires: libopts = %version-%release
Obsoletes: autogen-devel = %version-%release
Provides: autogen-devel = %version-%release

%description -n libopts-devel
AutoOpts is a 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. This package allows you to specify several program attributes, up to 100 option types and many attributes for each option.

This package is needed to write programs that use AutoOpts API.

%prep
%setup -q
%patch -b .fix-linking
# The libtool.m4 that is bundled with Autogen uses capitalized ECHO
# variable. System-wide libtool mentions lowercase echo variable. This
# leads to the messed libtool script.
%patch2 -b .fix-libtool

%build
%autoreconf
%configure
%make_build

%install
%makeinstall_std

%post
%install_info %name.info

%preun
%uninstall_info %name.info

%files
%doc AUTHORS TODO COPYING NEWS NOTES THANKS README VERSION
%_bindir/autogen
%_bindir/columns
%_bindir/getdefs
%_bindir/xml2ag
%dir %_datadir/%name
%_datadir/%name/*
%_infodir/%{name}*
%_man1dir/autogen.1.*
%_man1dir/columns.1.*
%_man1dir/getdefs.1.*
%_man1dir/xml2ag.1.*

%files -n libopts
%_libdir/libopts.so.*
%_libdir/libguileopts.so.*

%files -n libopts-devel
%_bindir/autoopts-config
%dir %_includedir/autoopts
%_includedir/autoopts/*
%_libdir/pkgconfig/autoopts.pc
%_libdir/*.so
%_datadir/aclocal/autoopts.m4
%_datadir/aclocal/liboptschk.m4
%_man1dir/autoopts-config.1.*
%_man3dir/*.3.*

%exclude %_libdir/*.a

%changelog

Full changelog you can see here

 
design & coding: Vladimir Lettiev aka crux © 2004-2005, Andrew Avramenko aka liks © 2007-2008
current maintainer: Michael Shigorin