2006-12-19 00:15:09 +01:00
|
|
|
#
|
2011-03-14 10:49:32 +01:00
|
|
|
# spec file for package autogen
|
2006-12-19 00:15:09 +01:00
|
|
|
#
|
2012-05-24 00:41:36 +02:00
|
|
|
# Copyright (c) 2012 SUSE LINUX Products GmbH, Nuernberg, Germany.
|
2006-12-19 00:15:09 +01:00
|
|
|
#
|
2008-11-18 13:21:25 +01:00
|
|
|
# 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.
|
|
|
|
|
2006-12-19 00:15:09 +01:00
|
|
|
# Please submit bugfixes or comments via http://bugs.opensuse.org/
|
|
|
|
#
|
|
|
|
|
|
|
|
|
|
|
|
Name: autogen
|
2012-05-24 00:41:36 +02:00
|
|
|
BuildRequires: guile-devel
|
2011-10-02 16:37:13 +02:00
|
|
|
BuildRequires: libtool
|
2012-05-24 00:41:36 +02:00
|
|
|
BuildRequires: libxml2-devel
|
|
|
|
BuildRequires: pkg-config
|
|
|
|
BuildRequires: xz
|
2006-12-19 00:15:09 +01:00
|
|
|
Summary: Automated Text File Generator
|
2012-05-24 00:41:36 +02:00
|
|
|
License: GPL-3.0+
|
2006-12-19 00:15:09 +01:00
|
|
|
Group: Development/Tools/Building
|
2012-05-24 00:41:36 +02:00
|
|
|
Version: 5.16
|
|
|
|
Release: 0
|
2007-10-08 16:46:14 +02:00
|
|
|
Url: http://autogen.sourceforge.net/
|
2012-05-24 00:41:36 +02:00
|
|
|
Source: http://ftp.gnu.org/gnu/autogen/%{version}/%{name}-%{version}.tar.xz
|
2010-09-18 00:59:29 +02:00
|
|
|
Patch0: autogen-setfilename.patch
|
|
|
|
Patch1: autogen-build_ldpath.patch
|
2006-12-19 00:15:09 +01:00
|
|
|
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.
|
|
|
|
|
|
|
|
%prep
|
|
|
|
%setup -q
|
2010-09-18 00:59:29 +02:00
|
|
|
%patch0
|
|
|
|
%patch1
|
2006-12-19 00:15:09 +01:00
|
|
|
|
|
|
|
%build
|
2008-11-18 13:21:25 +01:00
|
|
|
autoreconf -fi
|
2009-04-02 18:20:22 +02:00
|
|
|
%configure --disable-static --with-pic
|
2011-09-19 17:00:58 +02:00
|
|
|
make %{?_smp_mflags}
|
2006-12-19 00:15:09 +01:00
|
|
|
|
|
|
|
%install
|
2010-09-18 00:59:29 +02:00
|
|
|
%makeinstall
|
2006-12-19 00:15:09 +01:00
|
|
|
|
|
|
|
%post
|
2007-10-08 16:46:14 +02:00
|
|
|
/sbin/ldconfig
|
2006-12-19 00:15:09 +01:00
|
|
|
%install_info --info-dir=%{_infodir} %{_infodir}/autogen.info.gz
|
|
|
|
|
|
|
|
%postun
|
2007-10-08 16:46:14 +02:00
|
|
|
/sbin/ldconfig
|
2006-12-19 00:15:09 +01:00
|
|
|
%install_info_delete --info-dir=%{_infodir} %{_infodir}/autogen.info.gz
|
|
|
|
|
|
|
|
%files
|
|
|
|
%defattr(-, root, root)
|
2011-03-14 10:49:22 +01:00
|
|
|
%doc NEWS ChangeLog
|
2010-09-18 00:59:29 +02:00
|
|
|
%{_bindir}/*
|
|
|
|
%{_includedir}/*
|
2006-12-19 00:15:09 +01:00
|
|
|
%{_libdir}/lib*
|
2011-03-14 10:49:22 +01:00
|
|
|
%{_libdir}/pkgconfig/*.pc
|
2006-12-19 00:15:09 +01:00
|
|
|
%{_mandir}/man?/*.gz
|
2010-09-18 00:59:29 +02:00
|
|
|
%{_datadir}/aclocal/*
|
|
|
|
%{_datadir}/autogen
|
2006-12-19 00:15:09 +01:00
|
|
|
%{_infodir}/*.gz
|
2008-06-22 01:24:01 +02:00
|
|
|
|
2007-02-19 20:50:11 +01:00
|
|
|
%changelog
|