2018-09-02 13:04:00 +00:00
|
|
|
%global apiversion 0.14
|
2014-05-29 12:15:47 +00:00
|
|
|
|
|
|
|
Name: libixion
|
2018-10-26 07:06:16 +00:00
|
|
|
Version: 0.14.1
|
2019-07-25 13:34:35 +00:00
|
|
|
Release: 4%{?dist}
|
2014-05-29 12:15:47 +00:00
|
|
|
Summary: A general purpose formula parser & interpreter library
|
|
|
|
|
|
|
|
License: MPLv2.0
|
2015-04-08 08:31:23 +00:00
|
|
|
URL: https://gitlab.com/ixion/ixion
|
2015-03-06 16:34:17 +00:00
|
|
|
Source0: http://kohei.us/files/ixion/src/%{name}-%{version}.tar.xz
|
2015-02-18 08:16:32 +00:00
|
|
|
|
2014-05-29 12:15:47 +00:00
|
|
|
BuildRequires: boost-devel
|
2018-02-19 11:58:16 +00:00
|
|
|
BuildRequires: gcc-c++
|
2014-05-29 12:15:47 +00:00
|
|
|
BuildRequires: help2man
|
2018-09-01 14:58:22 +00:00
|
|
|
BuildRequires: pkgconfig(mdds-1.4)
|
2016-02-14 08:07:38 +00:00
|
|
|
BuildRequires: pkgconfig(python3)
|
2015-02-09 22:38:41 +00:00
|
|
|
|
2014-05-29 12:15:47 +00:00
|
|
|
%description
|
|
|
|
Ixion is a general purpose formula parser & interpreter that can calculate
|
|
|
|
multiple named targets, or "cells".
|
|
|
|
|
|
|
|
The goal of this project is to create a library for calculating the results of
|
|
|
|
formula expressions stored in multiple named targets, or “cells”. The cells can
|
|
|
|
be referenced from each other, and the library takes care of resolving their
|
|
|
|
dependencies automatically upon calculation. The caller can run the calculation
|
|
|
|
routine either in a single-threaded mode, or a multi-threaded mode. The library
|
|
|
|
also supports re-calculations where the contents of one or more cells have been
|
|
|
|
modified since the last calculation, and a partial calculation of only the
|
|
|
|
affected cells need to be calculated.
|
|
|
|
|
|
|
|
Supported features:
|
|
|
|
- Each calculation session is defined in a plain text file, which is parsed and
|
|
|
|
interpreted by the Ixion parser.
|
|
|
|
- Fully threaded calculation.
|
|
|
|
- Name resolution using A1-style references.
|
|
|
|
- Support 2D cell references and named expressions.
|
|
|
|
- Support range references.
|
|
|
|
- Dependency tracking during both full calculation and partial re-calculation.
|
|
|
|
- Inline strings.
|
|
|
|
- Volatile functions. The framework for volatile functions is implemented. We
|
|
|
|
just need to implement more functions.
|
|
|
|
|
|
|
|
%package devel
|
|
|
|
Summary: Development files for %{name}
|
|
|
|
Requires: %{name}%{?_isa} = %{version}-%{release}
|
|
|
|
|
|
|
|
%description devel
|
|
|
|
The %{name}-devel package contains libraries and header files for
|
|
|
|
developing applications that use %{name}.
|
|
|
|
|
|
|
|
%package tools
|
2015-02-10 16:20:31 +00:00
|
|
|
Summary: Testing tools for libixion
|
2014-05-29 12:15:47 +00:00
|
|
|
Requires: %{name}%{?_isa} = %{version}-%{release}
|
|
|
|
|
|
|
|
%description tools
|
2015-02-10 16:20:31 +00:00
|
|
|
Testing tools for %{name}.
|
2014-05-29 12:15:47 +00:00
|
|
|
|
2016-02-14 08:07:38 +00:00
|
|
|
%package python3
|
|
|
|
Summary: Python 3 bindings for libixion
|
2015-02-18 08:16:32 +00:00
|
|
|
Requires: %{name}%{?_isa} = %{version}-%{release}
|
2016-03-11 15:00:03 +00:00
|
|
|
Obsoletes: %{name}-python < 0.9.1-1
|
2016-03-11 15:22:36 +00:00
|
|
|
Suggests: %{name}-doc = %{version}-%{release}
|
2015-02-18 08:16:32 +00:00
|
|
|
|
2016-02-14 08:07:38 +00:00
|
|
|
%description python3
|
|
|
|
Python 3 bindings for %{name}.
|
2015-02-18 08:16:32 +00:00
|
|
|
|
2016-03-11 15:22:36 +00:00
|
|
|
%package doc
|
|
|
|
Summary: API documentation for %{name}
|
|
|
|
BuildArch: noarch
|
|
|
|
|
|
|
|
%description doc
|
|
|
|
API documentation for %{name}.
|
|
|
|
|
2014-05-29 12:15:47 +00:00
|
|
|
%prep
|
2015-03-06 16:34:17 +00:00
|
|
|
%autosetup -p1
|
2015-04-05 13:23:07 +00:00
|
|
|
|
2014-05-29 12:15:47 +00:00
|
|
|
%build
|
2015-03-06 16:24:47 +00:00
|
|
|
%configure --disable-silent-rules --disable-static
|
2014-05-29 12:15:47 +00:00
|
|
|
sed -i \
|
|
|
|
-e 's|^hardcode_libdir_flag_spec=.*|hardcode_libdir_flag_spec=""|g' \
|
|
|
|
-e 's|^runpath_var=LD_RUN_PATH|runpath_var=DIE_RPATH_DIE|g' \
|
|
|
|
libtool
|
|
|
|
make %{?_smp_mflags}
|
|
|
|
|
|
|
|
%install
|
|
|
|
make install DESTDIR=%{buildroot}
|
2016-02-14 08:07:38 +00:00
|
|
|
rm -f %{buildroot}%{_libdir}/*.la %{buildroot}%{python3_sitearch}/*.la
|
2014-05-29 12:15:47 +00:00
|
|
|
|
2016-03-11 14:58:57 +00:00
|
|
|
# create and install man pages
|
|
|
|
export LD_LIBRARY_PATH=%{buildroot}%{_libdir}${LD_LIBRARY_PATH:+:${LD_LIBRARY_PATH}}
|
2017-10-11 14:49:38 +00:00
|
|
|
help2man -S '%{name} %{version}' -N -n 'formula tokenizer' -o ixion-formula-tokenizer.1 ./src/ixion-formula-tokenizer
|
2016-03-11 14:58:57 +00:00
|
|
|
help2man -S '%{name} %{version}' -N -n 'parser' -o ixion-parser.1 ./src/ixion-parser
|
|
|
|
help2man -S '%{name} %{version}' -N -n 'sorter' -o ixion-sorter.1 ./src/ixion-sorter
|
2014-05-29 12:15:47 +00:00
|
|
|
install -m 0755 -d %{buildroot}/%{_mandir}/man1
|
2017-10-11 14:49:38 +00:00
|
|
|
install -m 0644 ixion-*.1 %{buildroot}/%{_mandir}/man1
|
2014-05-29 12:15:47 +00:00
|
|
|
|
2016-03-11 15:22:36 +00:00
|
|
|
# generate docs
|
2016-07-20 07:51:42 +00:00
|
|
|
# make doc
|
2016-03-11 15:22:36 +00:00
|
|
|
|
2019-01-22 17:39:49 +00:00
|
|
|
%ldconfig_scriptlets
|
2014-05-29 12:15:47 +00:00
|
|
|
|
|
|
|
%check
|
2015-02-10 16:25:56 +00:00
|
|
|
export LD_LIBRARY_PATH=%{buildroot}%{_libdir}${LD_LIBRARY_PATH:+:${LD_LIBRARY_PATH}}
|
2014-05-29 12:15:47 +00:00
|
|
|
make %{?_smp_mflags} check
|
|
|
|
|
|
|
|
%files
|
2018-10-26 07:06:16 +00:00
|
|
|
%doc AUTHORS
|
2016-02-14 08:07:38 +00:00
|
|
|
%license LICENSE
|
2014-05-29 12:15:47 +00:00
|
|
|
%{_libdir}/%{name}-%{apiversion}.so.*
|
|
|
|
|
|
|
|
%files devel
|
|
|
|
%{_includedir}/%{name}-%{apiversion}
|
|
|
|
%{_libdir}/%{name}-%{apiversion}.so
|
|
|
|
%{_libdir}/pkgconfig/%{name}-%{apiversion}.pc
|
|
|
|
|
|
|
|
%files tools
|
2017-10-11 14:49:38 +00:00
|
|
|
%{_bindir}/ixion-formula-tokenizer
|
2014-05-29 12:15:47 +00:00
|
|
|
%{_bindir}/ixion-parser
|
|
|
|
%{_bindir}/ixion-sorter
|
2017-10-11 14:49:38 +00:00
|
|
|
%{_mandir}/man1/ixion-formula-tokenizer.1*
|
2014-05-29 12:15:47 +00:00
|
|
|
%{_mandir}/man1/ixion-parser.1*
|
|
|
|
%{_mandir}/man1/ixion-sorter.1*
|
|
|
|
|
2016-02-14 08:07:38 +00:00
|
|
|
%files python3
|
|
|
|
%{python3_sitearch}/ixion.so
|
2015-02-18 08:16:32 +00:00
|
|
|
|
2016-03-11 15:22:36 +00:00
|
|
|
%files doc
|
|
|
|
%license LICENSE
|
|
|
|
%doc doc/python
|
|
|
|
|
2014-05-29 12:15:47 +00:00
|
|
|
%changelog
|
2019-07-25 13:34:35 +00:00
|
|
|
* Thu Jul 25 2019 Fedora Release Engineering <releng@fedoraproject.org> - 0.14.1-4
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild
|
|
|
|
|
2019-02-01 07:25:44 +00:00
|
|
|
* Fri Feb 01 2019 Fedora Release Engineering <releng@fedoraproject.org> - 0.14.1-3
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild
|
|
|
|
|
2019-01-25 08:09:27 +00:00
|
|
|
* Fri Jan 25 2019 Jonathan Wakely <jwakely@redhat.com> - 0.14.1-2
|
|
|
|
- Rebuilt for Boost 1.69
|
|
|
|
|
2018-10-26 07:06:16 +00:00
|
|
|
* Fri Oct 26 2018 David Tardon <dtardon@redhat.com> - 0.14.1-1
|
|
|
|
- new upstream release
|
|
|
|
|
2018-09-02 13:04:00 +00:00
|
|
|
* Sun Sep 02 2018 David Tardon <dtardon@redhat.com> - 0.14.0-1
|
|
|
|
- new upstream release
|
|
|
|
|
2018-07-13 08:17:52 +00:00
|
|
|
* Fri Jul 13 2018 Fedora Release Engineering <releng@fedoraproject.org> - 0.13.0-5
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild
|
|
|
|
|
2018-07-02 19:25:15 +00:00
|
|
|
* Mon Jul 02 2018 Miro Hrončok <mhroncok@redhat.com> - 0.13.0-4
|
|
|
|
- Rebuilt for Python 3.7
|
|
|
|
|
2018-02-07 22:00:21 +00:00
|
|
|
* Wed Feb 07 2018 Fedora Release Engineering <releng@fedoraproject.org> - 0.13.0-3
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild
|
|
|
|
|
2018-01-23 14:17:15 +00:00
|
|
|
* Tue Jan 23 2018 Jonathan Wakely <jwakely@redhat.com> - 0.13.0-2
|
|
|
|
- Rebuilt for Boost 1.66
|
|
|
|
|
2017-10-11 14:49:38 +00:00
|
|
|
* Wed Oct 11 2017 David Tardon <dtardon@redhat.com> - 0.13.0-1
|
|
|
|
- new upstream release
|
|
|
|
|
2017-08-03 01:41:54 +00:00
|
|
|
* Thu Aug 03 2017 Fedora Release Engineering <releng@fedoraproject.org> - 0.12.2-7
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Binutils_Mass_Rebuild
|
|
|
|
|
2017-07-26 19:06:13 +00:00
|
|
|
* Wed Jul 26 2017 Fedora Release Engineering <releng@fedoraproject.org> - 0.12.2-6
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild
|
|
|
|
|
2017-07-03 21:05:53 +00:00
|
|
|
* Mon Jul 03 2017 Jonathan Wakely <jwakely@redhat.com> - 0.12.2-5
|
|
|
|
- Rebuilt for Boost 1.64
|
|
|
|
|
2017-02-10 18:53:39 +00:00
|
|
|
* Fri Feb 10 2017 Fedora Release Engineering <releng@fedoraproject.org> - 0.12.2-4
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_26_Mass_Rebuild
|
|
|
|
|
2017-01-27 06:22:37 +00:00
|
|
|
* Fri Jan 27 2017 Jonathan Wakely <jwakely@redhat.com> - 0.12.2-3
|
|
|
|
- Rebuilt for Boost 1.63
|
|
|
|
|
2016-12-19 17:20:36 +00:00
|
|
|
* Mon Dec 19 2016 Miro Hrončok <mhroncok@redhat.com> - 0.12.2-2
|
|
|
|
- Rebuild for Python 3.6
|
|
|
|
|
2016-12-15 12:17:28 +00:00
|
|
|
* Thu Dec 15 2016 David Tardon <dtardon@redhat.com> - 0.12.2-1
|
|
|
|
- new upstream release
|
|
|
|
|
2016-09-26 08:10:36 +00:00
|
|
|
* Mon Sep 26 2016 David Tardon <dtardon@redhat.com> - 0.12.1-1
|
|
|
|
- new upstream release
|
|
|
|
|
2016-07-20 07:51:42 +00:00
|
|
|
* Wed Jul 20 2016 David Tardon <dtardon@redhat.com> - 0.12.0-1
|
|
|
|
- new upstream release
|
|
|
|
|
2016-07-19 07:40:42 +00:00
|
|
|
* Tue Jul 19 2016 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.11.1-2
|
|
|
|
- https://fedoraproject.org/wiki/Changes/Automatic_Provides_for_Python_RPM_Packages
|
|
|
|
|
2016-05-13 13:16:37 +00:00
|
|
|
* Thu May 12 2016 David Tardon <dtardon@redhat.com> - 0.11.1-1
|
|
|
|
- new upstream release
|
|
|
|
|
2016-03-11 15:22:36 +00:00
|
|
|
* Fri Mar 11 2016 David Tardon <dtardon@redhat.com> - 0.11.0-2
|
|
|
|
- build python documentation
|
|
|
|
|
2016-02-14 08:07:38 +00:00
|
|
|
* Sun Feb 14 2016 David Tardon <dtardon@redhat.com> - 0.11.0-1
|
|
|
|
- new upstream release
|
|
|
|
|
2016-02-04 03:22:43 +00:00
|
|
|
* Thu Feb 04 2016 Fedora Release Engineering <releng@fedoraproject.org> - 0.9.1-8
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_24_Mass_Rebuild
|
|
|
|
|
2016-01-15 09:59:04 +00:00
|
|
|
* Fri Jan 15 2016 Jonathan Wakely <jwakely@redhat.com> - 0.9.1-7
|
|
|
|
- Rebuilt for Boost 1.60
|
|
|
|
|
2015-08-27 19:57:40 +00:00
|
|
|
* Thu Aug 27 2015 Jonathan Wakely <jwakely@redhat.com> - 0.9.1-6
|
|
|
|
- Rebuilt for Boost 1.59
|
|
|
|
|
2015-07-29 17:36:42 +00:00
|
|
|
* Wed Jul 29 2015 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.9.1-5
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Changes/F23Boost159
|
|
|
|
|
2015-07-22 16:51:27 +00:00
|
|
|
* Wed Jul 22 2015 David Tardon <dtardon@redhat.com> - 0.9.1-4
|
|
|
|
- rebuild for Boost 1.58
|
|
|
|
|
2015-06-17 15:53:55 +00:00
|
|
|
* Wed Jun 17 2015 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.9.1-3
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_23_Mass_Rebuild
|
|
|
|
|
2015-04-13 11:59:21 +00:00
|
|
|
* Mon Apr 13 2015 David Tardon <dtardon@redhat.com> - 0.9.1-2
|
|
|
|
- rebuild for yet another C++ ABI break
|
|
|
|
|
2015-04-05 14:33:35 +00:00
|
|
|
* Sun Apr 05 2015 David Tardon <dtardon@redhat.com> - 0.9.1-1
|
|
|
|
- new upstream release
|
|
|
|
|
2015-03-05 15:35:02 +00:00
|
|
|
* Thu Mar 05 2015 David Tardon <dtardon@redhat.com> - 0.9.0-2
|
|
|
|
- fix python bindings on i386
|
|
|
|
|
2015-02-18 08:16:32 +00:00
|
|
|
* Wed Feb 18 2015 David Tardon <dtardon@redhat.com> - 0.9.0-1
|
|
|
|
- new upstream release
|
|
|
|
|
2015-01-27 13:38:03 +00:00
|
|
|
* Tue Jan 27 2015 Petr Machata <pmachata@redhat.com> - 0.7.0-4
|
|
|
|
- Rebuild for boost 1.57.0
|
|
|
|
|
2014-08-17 04:06:27 +00:00
|
|
|
* Sun Aug 17 2014 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.7.0-3
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_22_Mass_Rebuild
|
|
|
|
|
2014-06-07 03:59:34 +00:00
|
|
|
* Sat Jun 07 2014 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.7.0-2
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_Mass_Rebuild
|
|
|
|
|
2014-05-29 12:15:47 +00:00
|
|
|
* Thu May 22 2014 David Tardon <dtardon@redhat.com> - 0.7.0-1
|
|
|
|
- initial import
|