2013-03-26 16:52:35 +00:00
|
|
|
#
|
2013-04-20 11:45:05 +00:00
|
|
|
# spec file for package libixion
|
2013-03-26 16:52:35 +00:00
|
|
|
#
|
2021-05-19 15:09:25 +00:00
|
|
|
# Copyright (c) 2021 SUSE LLC
|
2013-03-26 16:52:35 +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.
|
|
|
|
|
2019-08-16 08:26:30 +00:00
|
|
|
# Please submit bugfixes or comments via https://bugs.opensuse.org/
|
2013-03-26 16:52:35 +00:00
|
|
|
#
|
|
|
|
|
|
|
|
|
2021-05-19 15:09:25 +00:00
|
|
|
%{!?make_build:%global make_build make %{?_smp_mflags}}
|
2021-11-19 10:24:19 +00:00
|
|
|
%define libname libixion-0_17-0
|
2013-03-26 17:12:22 +00:00
|
|
|
Name: libixion
|
2021-11-19 10:24:19 +00:00
|
|
|
Version: 0.17.0
|
2013-03-26 16:52:35 +00:00
|
|
|
Release: 0
|
|
|
|
Summary: Threaded multi-target formula parser & interpreter
|
2013-05-15 11:45:20 +00:00
|
|
|
License: MIT
|
2020-10-14 08:59:26 +00:00
|
|
|
URL: https://gitlab.com/ixion/ixion
|
2015-03-24 10:10:04 +00:00
|
|
|
Source: http://kohei.us/files/ixion/src/%{name}-%{version}.tar.xz
|
2013-03-26 16:52:35 +00:00
|
|
|
BuildRequires: coreutils
|
|
|
|
BuildRequires: gcc-c++
|
|
|
|
BuildRequires: libstdc++-devel
|
|
|
|
BuildRequires: libtool
|
2017-11-29 12:45:01 +00:00
|
|
|
BuildRequires: pkgconfig
|
2021-11-19 10:24:19 +00:00
|
|
|
BuildRequires: pkgconfig(mdds-2.0)
|
2016-03-07 12:43:39 +00:00
|
|
|
BuildRequires: pkgconfig(python3)
|
2019-08-16 08:26:30 +00:00
|
|
|
BuildRequires: pkgconfig(spdlog) >= 0.16.0
|
2021-11-19 10:24:19 +00:00
|
|
|
BuildRequires: pkgconfig(vulkan) >= 1.2.0
|
2017-11-29 12:45:01 +00:00
|
|
|
%if 0%{?suse_version} > 1325
|
2019-01-23 13:35:46 +00:00
|
|
|
BuildRequires: libboost_filesystem-devel
|
2017-11-29 12:45:01 +00:00
|
|
|
BuildRequires: libboost_program_options-devel
|
2019-03-07 10:49:24 +00:00
|
|
|
BuildRequires: libboost_system-devel
|
2017-11-29 12:45:01 +00:00
|
|
|
%else
|
|
|
|
BuildRequires: boost-devel
|
|
|
|
%endif
|
2013-03-26 16:52:35 +00:00
|
|
|
|
|
|
|
%description
|
|
|
|
Ixion is a general purpose formula parser & interpreter that can calculate
|
|
|
|
multiple named targets, or "cells".
|
|
|
|
|
2013-03-26 17:12:22 +00:00
|
|
|
%package -n %{libname}
|
|
|
|
Summary: Threaded multi-target formula parser & interpreter
|
|
|
|
|
|
|
|
%description -n %{libname}
|
|
|
|
Ixion is a general purpose formula parser & interpreter that can calculate
|
|
|
|
multiple named targets, or "cells".
|
|
|
|
|
2013-03-26 16:52:35 +00:00
|
|
|
%package devel
|
|
|
|
Summary: Threaded multi-target formula parser & interpreter
|
2014-01-25 21:15:56 +00:00
|
|
|
Requires: %{libname} = %{version}
|
2013-03-26 16:52:35 +00:00
|
|
|
|
|
|
|
%description devel
|
|
|
|
Ixion is a general purpose formula parser & interpreter that can calculate
|
|
|
|
multiple named targets, or "cells".
|
|
|
|
|
2013-03-26 17:12:22 +00:00
|
|
|
%package tools
|
|
|
|
Summary: Spreadsheet file processing library
|
2014-01-25 21:15:56 +00:00
|
|
|
Requires: %{libname} = %{version}
|
2013-03-26 17:12:22 +00:00
|
|
|
|
|
|
|
%description tools
|
|
|
|
Tools to use ixion parser and interpreter from cli.
|
|
|
|
|
2018-02-15 08:19:43 +00:00
|
|
|
%package -n python3-%{name}
|
2015-03-24 10:10:04 +00:00
|
|
|
Summary: Python bindings for libixion
|
2016-03-07 12:43:39 +00:00
|
|
|
Obsoletes: %{name}-python
|
2018-02-15 08:19:43 +00:00
|
|
|
# Renamed in 15.0
|
|
|
|
Provides: %{name}-python3 = %{version}
|
2015-03-24 10:10:04 +00:00
|
|
|
|
2018-02-15 08:19:43 +00:00
|
|
|
%description -n python3-%{name}
|
2016-03-07 12:43:39 +00:00
|
|
|
Python 3 bindings for %{name}.
|
2015-03-24 10:10:04 +00:00
|
|
|
|
2013-03-26 16:52:35 +00:00
|
|
|
%prep
|
2013-03-26 17:12:22 +00:00
|
|
|
%setup -q
|
2013-03-26 16:52:35 +00:00
|
|
|
|
|
|
|
%build
|
|
|
|
%configure \
|
2015-03-24 10:10:04 +00:00
|
|
|
--disable-silent-rules \
|
2013-03-26 17:12:22 +00:00
|
|
|
--disable-static \
|
2014-01-25 21:15:56 +00:00
|
|
|
--docdir=%{_docdir}/%{name}
|
2020-10-14 08:59:47 +00:00
|
|
|
%make_build
|
2013-03-26 16:52:35 +00:00
|
|
|
|
|
|
|
%check
|
2020-10-14 08:59:47 +00:00
|
|
|
%make_build check
|
2013-03-26 16:52:35 +00:00
|
|
|
|
|
|
|
%install
|
2017-11-29 12:45:01 +00:00
|
|
|
%make_install
|
2014-01-25 21:15:56 +00:00
|
|
|
find %{buildroot} -type f -name "*.la" -delete -print
|
2013-03-26 16:52:35 +00:00
|
|
|
|
2013-03-26 17:12:22 +00:00
|
|
|
%post -n %{libname} -p /sbin/ldconfig
|
|
|
|
%postun -n %{libname} -p /sbin/ldconfig
|
2013-03-26 16:52:35 +00:00
|
|
|
|
2013-03-26 17:12:22 +00:00
|
|
|
%files -n %{libname}
|
2018-02-15 08:19:43 +00:00
|
|
|
%license LICENSE
|
2013-03-26 17:12:22 +00:00
|
|
|
%{_libdir}/*.so.*
|
2013-03-26 16:52:35 +00:00
|
|
|
|
|
|
|
%files devel
|
2013-03-26 17:12:22 +00:00
|
|
|
%{_includedir}/*
|
|
|
|
%{_libdir}/*.so
|
|
|
|
%{_libdir}/pkgconfig/*.pc
|
|
|
|
|
|
|
|
%files tools
|
|
|
|
%{_bindir}/*
|
2013-03-26 16:52:35 +00:00
|
|
|
|
2018-02-15 08:19:43 +00:00
|
|
|
%files -n python3-%{name}
|
2016-03-07 12:43:39 +00:00
|
|
|
%{python3_sitearch}/ixion.so
|
2015-03-24 10:10:04 +00:00
|
|
|
|
2013-03-26 16:52:35 +00:00
|
|
|
%changelog
|