File mingw64-libixion.spec of Package mingw64-libixion
#
# spec file for package mingw64-libixion
#
# Copyright (c) 2016 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: mingw64-libixion
Version: 0.11.1
Release: 0
Summary: Threaded multi-target formula parser & interpreter
License: X11
Group: Development/Libraries/C and C++
Url: http://gitorious.org/ixion
Source: http://kohei.us/files/ixion/src/libixion-%{version}.tar.xz
BuildRequires: autoconf
BuildRequires: automake
BuildRequires: libtool
BuildRequires: mingw64-boost-devel
BuildRequires: mingw64-cross-gcc
BuildRequires: mingw64-cross-gcc-c++
BuildRequires: mingw64-cross-pkg-config
BuildRequires: xz
BuildRequires: mingw64(pkg:mdds-1.2)
%_mingw64_package_header_debug
BuildArch: noarch
#!BuildIgnore: post-build-checks
%description
Ixion is a general purpose formula parser & interpreter that can calculate
multiple named targets, or "cells".
%package -n mingw64-libixion-0_11-0
Summary: Threaded multi-target formula parser & interpreter
Group: System/Libraries
Obsoletes: %{name} < %{version}-%{release}
Provides: %{name} = %{version}-%{release}
%description -n mingw64-libixion-0_11-0
Ixion is a general purpose formula parser & interpreter that can calculate
multiple named targets, or "cells".
%package devel
Summary: Threaded multi-target formula parser & interpreter
Group: Development/Libraries/C and C++
%description devel
Ixion is a general purpose formula parser & interpreter that can calculate
multiple named targets, or "cells".
%package tools
Summary: Spreadsheet file processing library
Group: Productivity/Publishing/Word
%description tools
Tools to use ixion parser and interpreter from cli.
%_mingw64_debug_package
%prep
%setup -q -n libixion-%{version}
%build
libtoolize --force --copy
aclocal -I m4
autoheader
automake -a -c --foreign
autoconf
echo "lt_cv_deplibs_check_method='pass_all'" >>%{_mingw64_cache}
%{_mingw64_configure} \
--enable-shared \
--disable-static \
--disable-python \
--with-boost=%{_mingw64_prefix}
%{_mingw64_make} %{?_smp_mflags} || %{_mingw64_make}
%install
%{_mingw64_make} DESTDIR=%{buildroot} install
%files -n mingw64-libixion-0_11-0
%defattr(-,root,root)
%{_mingw64_bindir}/libixion-0.11-0.dll
%files devel
%defattr(-,root,root)
%{_mingw64_libdir}/libixion*.dll.a
%{_mingw64_libdir}/pkgconfig/libixion*.pc
%{_mingw64_includedir}/*
%files tools
%defattr(-,root,root)
%{_mingw64_bindir}/*.exe
%changelog