autogen/autogen.spec
Andreas Schwab f46b64c63b Accepting request 288512 from home:pluskalm:branches:Base:System
- Remove upsteamed patch:
  * autoopts-remove-stupid-set-e.patch
  * agen5-testsuite.patch
- Cleanup spec file with spec-cleaner
- Use url for source
- Add gpg signature
- Update to 5.18.4

OBS-URL: https://build.opensuse.org/request/show/288512
OBS-URL: https://build.opensuse.org/package/show/Base:System/autogen?expand=0&rev=31
2015-03-02 16:40:59 +00:00

86 lines
2.4 KiB
RPMSpec

#
# spec file for package autogen
#
# Copyright (c) 2015 SUSE LINUX 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
Version: 5.18.4
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
BuildRequires: guile-devel
BuildRequires: libtool
BuildRequires: libxml2-devel
BuildRequires: makeinfo
BuildRequires: pkg-config
BuildRequires: xz
Requires(pre): %{install_info_prereq}
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
%patch1
%build
autoreconf -fi
%configure \
--disable-static \
--with-pic
make %{?_smp_mflags}
%install
make DESTDIR=%{buildroot} install %{?_smp_mflags}
%fdupes -s %{buildroot}%{_datadir}
%check
make %{?_smp_mflags} check
%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
%files
%defattr(-, root, root)
%doc NEWS ChangeLog
%{_bindir}/*
%{_includedir}/*
%{_libdir}/lib*
%{_libdir}/pkgconfig/*.pc
%{_mandir}/man?/*.gz
%{_datadir}/aclocal/*
%{_datadir}/autogen
%{_infodir}/*.gz
%changelog