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
|
|
|
#
|
2015-03-02 17:40:59 +01:00
|
|
|
# Copyright (c) 2015 SUSE LINUX 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
|
2015-09-17 10:14:11 +02:00
|
|
|
Version: 5.18.6
|
2015-03-02 17:40:59 +01:00
|
|
|
Release: 0
|
|
|
|
Summary: Automated Text File Generator
|
|
|
|
License: GPL-3.0+
|
|
|
|
Group: Development/Tools/Building
|
|
|
|
Url: http://autogen.sourceforge.net/
|
|
|
|
Source0: https://ftp.gnu.org/gnu/autogen/rel%{version}/%{name}-%{version}.tar.xz
|
|
|
|
Source1: https://ftp.gnu.org/gnu/autogen/rel%{version}/%{name}-%{version}.tar.xz.sig
|
|
|
|
Source2: %{name}.keyring
|
|
|
|
Patch1: autogen-build_ldpath.patch
|
|
|
|
BuildRequires: fdupes
|
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
|
2013-03-02 13:16:47 +01:00
|
|
|
BuildRequires: makeinfo
|
2012-05-24 00:41:36 +02:00
|
|
|
BuildRequires: pkg-config
|
|
|
|
BuildRequires: xz
|
2015-05-21 16:56:44 +02:00
|
|
|
Requires(post): %{install_info_prereq}
|
|
|
|
Requires(postun): %{install_info_prereq}
|
2006-12-19 00:15:09 +01:00
|
|
|
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
|
|
|
|
|
|
|
%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
|
|
|
%patch1
|
2006-12-19 00:15:09 +01:00
|
|
|
|
|
|
|
%build
|
2015-03-02 17:40:59 +01: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
|
2015-03-02 17:40:59 +01:00
|
|
|
make DESTDIR=%{buildroot} install %{?_smp_mflags}
|
|
|
|
%fdupes -s %{buildroot}%{_datadir}
|
2006-12-19 00:15:09 +01:00
|
|
|
|
2014-07-03 16:56:01 +02:00
|
|
|
%check
|
2015-03-02 17:40:59 +01:00
|
|
|
make %{?_smp_mflags} check
|
2014-07-03 16:56:01 +02:00
|
|
|
|
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*
|
2015-05-21 16:56:44 +02:00
|
|
|
%{_libdir}/autogen
|
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
|