autogen/autogen.spec

85 lines
2.2 KiB
RPMSpec

#
# spec file for package autogen (Version 5.11.1)
#
# Copyright (c) 2010 SUSE LINUX Products GmbH, Nuernberg, Germany.
#
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
# upon. The license for this file, and modifications and additions to the
# file, is the same license as for the pristine package itself (unless the
# license for the pristine package is not an Open Source License, in which
# case the license is the MIT License). An "Open Source License" is a
# license that conforms to the Open Source Definition (Version 1.9)
# published by the Open Source Initiative.
# Please submit bugfixes or comments via http://bugs.opensuse.org/
#
Name: autogen
BuildRequires: guile-devel libxml2-devel
Summary: Automated Text File Generator
Version: 5.11.8
Release: 1
Group: Development/Tools/Building
License: GPLv3+
Url: http://autogen.sourceforge.net/
Source: http://ftp.gnu.org/gnu/autogen/%{version}/%{name}-%{version}.tar.bz2
Patch0: autogen-setfilename.patch
Patch1: autogen-build_ldpath.patch
BuildRoot: %{_tmppath}/%{name}-%{version}-build
PreReq: %{install_info_prereq}
%description
AutoGen is a tool designed for generating program files that contain
repetitive text with varied substitutions. Its goal is to simplify the
maintenance of programs that contain large amounts of repetitious text.
This is especially valuable if there are several blocks of such text
that must be kept synchronized in parallel tables.
Authors:
--------
Bruce Korb <bkorb@gnu.org>
%prep
%setup -q
%patch0
%patch1
%build
autoreconf -fi
%configure --disable-static --with-pic
#make %{?jobs:-j%jobs}
make
%install
%makeinstall
%post
/sbin/ldconfig
%install_info --info-dir=%{_infodir} %{_infodir}/autogen.info.gz
%postun
/sbin/ldconfig
%install_info_delete --info-dir=%{_infodir} %{_infodir}/autogen.info.gz
%clean
rm -fr $RPM_BUILD_ROOT
%files
%defattr(-, root, root)
%doc NEWS ChangeLog
%{_bindir}/*
%{_includedir}/*
%{_libdir}/lib*
%{_libdir}/pkgconfig/*.pc
%{_mandir}/man?/*.gz
%{_datadir}/aclocal/*
%{_datadir}/autogen
%{_infodir}/*.gz
%changelog