File sigscheme.spec of Package sigscheme.bak

#
# spec file for package sigscheme
#
# Copyright (c) 2018 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:           sigscheme
Version:        0.9.0
Release:        0
Summary:        R5RS Scheme interpreter for embedded use
License:        BSD-3-Clause
Group:          System/Libraries
Url:            https://github.com/uim/sigscheme
Source0:        https://github.com/uim/sigscheme/archive/%{version}.tar.gz#/%{name}-%{version}.tar.gz
# PATCH-FIX-UPSTREAM sigscheme-0.9.0_getcontext.patch -- aloisio@gmx.com borrowed from debian
Patch0:         sigscheme-0.9.0_getcontext.patch

Patch1:         sigscheme-0.8.3_ldadd.patch
Patch2:         sigscheme-0.8.3_test_gc_protect_coll.patch
Patch3:         sigscheme-0.8.3_test_storage_coll.patch
Patch4:         sigscheme-0.8.5_test_gc_protect.patch
Patch5:         sigscheme-0.9.0-test_log_driver.patch
Patch6:         sigscheme-0.9.0_aarch64.patch

BuildRequires:  asciidoc
BuildRequires:  automake
BuildRequires:  libtool
BuildRequires:  pkgconfig
BuildRequires:  pkgconfig(gcroots)

%description
sigscheme is a R5RS Scheme interpreter that features small footprint,
low memory consumption, multibytes characters handling and more.

%package        devel
Summary:        Development files for sigscheme
Group:          Development/Libraries/
Requires:       %{name} = %{version}

%description    devel
sigscheme is a R5RS Scheme interpreter that features small footprint,
low memory consumption, multibytes characters handling and more.

This package contains header files and development library.

%prep
%setup -q
%patch0 -p1

%patch1
%patch2 -p1
%patch3 -p1
%patch4 -p1
%patch5 -p1
%patch6 -p1

%build
autoreconf -fiv
%configure --disable-static --with-libgcroots=installed
make %{?_smp_mflags}

%install
%make_install
find %{buildroot} -type f -name "*.la" -delete -print

%post -p /sbin/ldconfig
%postun -p /sbin/ldconfig

%files
%doc NEWS README
%license COPYING
###%{_libdir}/*.so.*

%files devel
%doc NEWS README
%license COPYING
###%{_includedir}/*
###%{_libdir}/*.so

%changelog
openSUSE Build Service is sponsored by