2006-12-18 23:15:09 +00:00
|
|
|
#
|
2011-03-14 09:49:32 +00:00
|
|
|
# spec file for package autogen
|
2006-12-18 23:15:09 +00:00
|
|
|
#
|
2017-01-10 09:49:30 +00:00
|
|
|
# Copyright (c) 2017 SUSE LINUX GmbH, Nuernberg, Germany.
|
2006-12-18 23:15:09 +00:00
|
|
|
#
|
2008-11-18 12:21:25 +00: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-18 23:15:09 +00:00
|
|
|
# Please submit bugfixes or comments via http://bugs.opensuse.org/
|
|
|
|
#
|
|
|
|
|
|
|
|
|
2016-04-24 09:10:41 +00:00
|
|
|
%define libname libopts25
|
2006-12-18 23:15:09 +00:00
|
|
|
Name: autogen
|
2017-01-10 09:49:30 +00:00
|
|
|
Version: 5.18.12
|
2015-03-02 16:40:59 +00:00
|
|
|
Release: 0
|
|
|
|
Summary: Automated Text File Generator
|
|
|
|
License: GPL-3.0+
|
|
|
|
Group: Development/Tools/Building
|
2017-07-05 11:51:25 +00:00
|
|
|
Url: https://www.gnu.org/software/autogen/
|
2016-06-28 07:13:40 +00:00
|
|
|
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: http://savannah.gnu.org/project/memberlist-gpgkeys.php?group=autogen&download=1#/%{name}.keyring
|
2015-03-02 16:40:59 +00:00
|
|
|
Patch1: autogen-build_ldpath.patch
|
2017-02-22 16:28:45 +00:00
|
|
|
# PATCH-FIX-UPSTREAM -- https://savannah.gnu.org/support/index.php?109234 boo#1021353
|
|
|
|
Patch2: autogen-catch-race-error.patch
|
2017-07-05 11:51:25 +00:00
|
|
|
# PATCH-FIX-UPSTREAM -- guile 2.2 support
|
|
|
|
Patch3: autogen-guile-2.2.patch
|
2015-03-02 16:40:59 +00:00
|
|
|
BuildRequires: fdupes
|
2012-05-23 22:41:36 +00:00
|
|
|
BuildRequires: guile-devel
|
2011-10-02 14:37:13 +00:00
|
|
|
BuildRequires: libtool
|
2012-05-23 22:41:36 +00:00
|
|
|
BuildRequires: libxml2-devel
|
2013-03-02 12:16:47 +00:00
|
|
|
BuildRequires: makeinfo
|
2016-06-28 07:13:40 +00:00
|
|
|
BuildRequires: pkgconfig
|
2012-05-23 22:41:36 +00:00
|
|
|
BuildRequires: xz
|
2016-05-06 12:21:52 +00:00
|
|
|
# Since shared library and devel package were split, we need to require
|
2016-05-09 07:39:49 +00:00
|
|
|
# libopts-devel untill all depending packages have fixed buildrequires
|
2016-05-04 08:10:36 +00:00
|
|
|
Requires: libopts-devel
|
2015-05-21 14:56:44 +00:00
|
|
|
Requires(post): %{install_info_prereq}
|
2016-04-24 09:10:41 +00:00
|
|
|
Requires(preun): %{install_info_prereq}
|
2006-12-18 23:15:09 +00: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.
|
2016-04-24 09:10:41 +00:00
|
|
|
This is especially valuable if there are several blocks of such text that
|
|
|
|
must be kept synchronized in parallel tables.
|
|
|
|
|
|
|
|
%package -n %{libname}
|
2016-05-04 08:11:45 +00:00
|
|
|
Summary: Shared library libopts
|
2016-04-24 09:10:41 +00:00
|
|
|
Group: System/Libraries
|
|
|
|
|
|
|
|
%description -n %{libname}
|
|
|
|
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.
|
|
|
|
|
|
|
|
This package contains shared library libopts
|
|
|
|
|
2016-05-04 08:10:36 +00:00
|
|
|
%package -n libopts-devel
|
2016-05-04 08:11:45 +00:00
|
|
|
Summary: Development files for libopts
|
2016-04-24 09:10:41 +00:00
|
|
|
Group: Development/Languages/C and C++
|
|
|
|
Requires: %{libname} = %{version}-%{release}
|
2016-06-28 07:13:40 +00:00
|
|
|
Obsoletes: %{libname}-devel < %{version}-%{release}
|
2016-04-24 09:10:41 +00:00
|
|
|
|
2016-05-04 08:10:36 +00:00
|
|
|
%description -n libopts-devel
|
2016-04-24 09:10:41 +00:00
|
|
|
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.
|
|
|
|
|
|
|
|
This package contains devel files for libopts
|
2006-12-18 23:15:09 +00:00
|
|
|
|
|
|
|
%prep
|
|
|
|
%setup -q
|
2010-09-17 22:59:29 +00:00
|
|
|
%patch1
|
2017-02-22 16:28:45 +00:00
|
|
|
%patch2 -p1
|
2017-07-05 11:51:25 +00:00
|
|
|
%patch3 -p1
|
2006-12-18 23:15:09 +00:00
|
|
|
|
|
|
|
%build
|
2015-03-02 16:40:59 +00:00
|
|
|
%configure \
|
|
|
|
--disable-static \
|
|
|
|
--with-pic
|
2011-09-19 15:00:58 +00:00
|
|
|
make %{?_smp_mflags}
|
2006-12-18 23:15:09 +00:00
|
|
|
|
|
|
|
%install
|
2017-01-10 09:49:30 +00:00
|
|
|
%make_install
|
2016-04-24 09:10:41 +00:00
|
|
|
find %{buildroot} -type f -name "*.la" -delete -print
|
2015-03-02 16:40:59 +00:00
|
|
|
%fdupes -s %{buildroot}%{_datadir}
|
2006-12-18 23:15:09 +00:00
|
|
|
|
2014-07-03 14:56:01 +00:00
|
|
|
%check
|
2015-03-02 16:40:59 +00:00
|
|
|
make %{?_smp_mflags} check
|
2014-07-03 14:56:01 +00:00
|
|
|
|
2006-12-18 23:15:09 +00:00
|
|
|
%post
|
2016-04-24 09:10:41 +00:00
|
|
|
%install_info --info-dir=%{_infodir} %{_infodir}/autogen.info%{ext_info}
|
|
|
|
|
|
|
|
%preun
|
2016-05-03 16:30:42 +00:00
|
|
|
%install_info_delete --info-dir=%{_infodir} %{_infodir}/autogen.info%{ext_info}
|
2006-12-18 23:15:09 +00:00
|
|
|
|
2016-04-24 09:10:41 +00:00
|
|
|
%post -n %{libname} -p /sbin/ldconfig
|
|
|
|
%postun -n %{libname} -p /sbin/ldconfig
|
2006-12-18 23:15:09 +00:00
|
|
|
|
|
|
|
%files
|
|
|
|
%defattr(-, root, root)
|
2011-03-14 09:49:22 +00:00
|
|
|
%doc NEWS ChangeLog
|
2016-04-24 09:10:41 +00:00
|
|
|
%{_bindir}/autogen
|
|
|
|
%{_bindir}/autoopts-config
|
|
|
|
%{_bindir}/columns
|
|
|
|
%{_bindir}/getdefs
|
|
|
|
%{_bindir}/xml2ag
|
2015-05-21 14:56:44 +00:00
|
|
|
%{_libdir}/autogen
|
2016-04-24 09:10:41 +00:00
|
|
|
%{_mandir}/man1/*%{ext_man}
|
|
|
|
%{_infodir}/*%{ext_info}
|
2010-09-17 22:59:29 +00:00
|
|
|
%{_datadir}/autogen
|
2016-04-24 09:10:41 +00:00
|
|
|
|
|
|
|
%files -n %{libname}
|
|
|
|
%defattr(-,root,root)
|
|
|
|
%{_libdir}/libopts.so.*
|
|
|
|
|
2016-05-04 08:10:36 +00:00
|
|
|
%files -n libopts-devel
|
2016-04-24 09:10:41 +00:00
|
|
|
%defattr(-,root,root)
|
|
|
|
%{_libdir}/libopts.so
|
|
|
|
%{_includedir}/*
|
|
|
|
%{_mandir}/man3/*%{ext_man}
|
|
|
|
%{_datadir}/aclocal/*
|
|
|
|
%{_libdir}/pkgconfig/*.pc
|
2008-06-21 23:24:01 +00:00
|
|
|
|
2007-02-19 19:50:11 +00:00
|
|
|
%changelog
|