145 lines
4.3 KiB
RPMSpec
145 lines
4.3 KiB
RPMSpec
%define apiver %(echo %version | cut -d. -f1-2)
|
|
Name: libixion
|
|
Version: 0.18.1
|
|
Release: 1mamba
|
|
Summary: A general purpose formula parser and interpreter that can calculate multiple named targets, or “cells”
|
|
Group: System/Libraries
|
|
Vendor: openmamba
|
|
Distribution: openmamba
|
|
Packager: Silvan Calarco <silvan.calarco@mambasoft.it>
|
|
URL: https://gitlab.com/ixion/ixion
|
|
Source: https://gitlab.com/ixion/ixion.git/%{version}/ixion-%{version}.tar.bz2
|
|
Patch0: libixion-0.3.0-boost.m4.patch
|
|
Patch1: libixion-0.3.0-automake.patch
|
|
Patch2: libixion-0.5.0-libboost-1.52.patch
|
|
License: MIT
|
|
## AUTOBUILDREQ-BEGIN
|
|
BuildRequires: glibc-devel
|
|
BuildRequires: libboost-devel
|
|
BuildRequires: libgcc
|
|
BuildRequires: libpython3-devel
|
|
BuildRequires: libstdc++6-devel
|
|
## AUTOBUILDREQ-END
|
|
BuildRequires: libboost-devel >= 1.69.0-2mamba
|
|
BuildRequires: libspdlog-devel
|
|
|
|
%description
|
|
Ixion is a general purpose formula parser & interpreter that can calculate multiple named targets, or “cells”.
|
|
|
|
%package devel
|
|
Group: Development/Libraries
|
|
Summary: Development files for %{name}
|
|
Requires: %{name} = %{?epoch:%epoch:}%{version}-%{release}
|
|
Requires: pkg-config
|
|
|
|
%description devel
|
|
This package contains libraries and header files for developing applications that use %{name}.
|
|
|
|
%package tools
|
|
Group: Applications/Publishing
|
|
Summary: Utility applications for %{name}
|
|
Requires: %{name} = %{?epoch:%epoch:}%{version}-%{release}
|
|
|
|
%description tools
|
|
This package contains utility applications for %{name}.
|
|
|
|
%debug_package
|
|
|
|
%prep
|
|
%setup -q -n ixion-%{version}
|
|
#%patch0 -p1
|
|
#%patch1 -p1
|
|
#%patch2 -p1
|
|
./autogen.sh
|
|
|
|
%build
|
|
%configure \
|
|
PYTHON=%{__python3}
|
|
|
|
# PYTHON_LIBS=%{_libdir}/libpython3.6
|
|
|
|
%make
|
|
|
|
%install
|
|
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
|
|
%makeinstall
|
|
|
|
%clean
|
|
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
|
|
|
|
%post -p /sbin/ldconfig
|
|
%postun -p /sbin/ldconfig
|
|
|
|
%files
|
|
%defattr(-,root,root)
|
|
%{_libdir}/libixion-%{apiver}.so.*
|
|
#%{python3_sitearch}/ixion.la
|
|
%{python3_sitearch}/ixion.so
|
|
%doc AUTHORS
|
|
|
|
%files devel
|
|
%defattr(-,root,root)
|
|
%dir %{_includedir}/libixion-%{apiver}/ixion
|
|
%{_includedir}/libixion-%{apiver}/ixion/*.hpp
|
|
%dir %{_includedir}/libixion-%{apiver}/ixion/interface
|
|
%{_includedir}/libixion-%{apiver}/ixion/interface/*.hpp
|
|
%{_libdir}/libixion-%{apiver}.so
|
|
%{_libdir}/pkgconfig/libixion-%{apiver}.pc
|
|
#%doc README
|
|
|
|
%files tools
|
|
%defattr(-,root,root)
|
|
%{_bindir}/ixion-parser
|
|
%{_bindir}/ixion-sorter
|
|
%{_bindir}/ixion-formula-tokenizer
|
|
#%{_bindir}/ixion-test
|
|
|
|
%changelog
|
|
* Mon Feb 06 2023 Automatic Build System <autodist@mambasoft.it> 0.18.1-1mamba
|
|
- automatic version update by autodist
|
|
|
|
* Sat Jan 28 2023 Automatic Build System <autodist@mambasoft.it> 0.18.0-1mamba
|
|
- automatic version update by autodist
|
|
|
|
* Fri Nov 12 2021 Silvan Calarco <silvan.calarco@mambasoft.it> 0.17.0-1mamba
|
|
- update to 0.17.0
|
|
|
|
* Wed Apr 28 2021 Silvan Calarco <silvan.calarco@mambasoft.it> 0.16.1-2mamba
|
|
- rebuilt with python3 instead of python36
|
|
|
|
* Wed Nov 04 2020 Automatic Build System <autodist@mambasoft.it> 0.16.1-1mamba
|
|
- automatic version update by autodist
|
|
|
|
* Sat Feb 01 2020 Silvan Calarco <silvan.calarco@mambasoft.it> 0.15.0-1mamba
|
|
- update to 0.15.0
|
|
|
|
* Tue Feb 12 2019 Silvan Calarco <silvan.calarco@mambasoft.it> 0.14.1-2mamba
|
|
- rebuilt with libboost 1.69.0-2mamba
|
|
|
|
* Sat Jan 26 2019 Automatic Build System <autodist@mambasoft.it> 0.14.1-1mamba
|
|
- automatic version update by autodist
|
|
|
|
* Sun May 06 2018 Silvan Calarco <silvan.calarco@mambasoft.it> 0.13.0-1mamba
|
|
- update to 0.13.0
|
|
|
|
* Fri Sep 15 2017 Automatic Build System <autodist@mambasoft.it> 0.12.2-1mamba
|
|
- automatic version update by autodist
|
|
|
|
* Wed Jun 29 2016 Automatic Build System <autodist@mambasoft.it> 0.11.1-1mamba
|
|
- automatic version update by autodist
|
|
|
|
* Sun Jan 24 2016 Silvan Calarco <silvan.calarco@mambasoft.it> 0.9.1-2mamba
|
|
- rebuilt with libboost 1.59
|
|
|
|
* Tue Aug 18 2015 Silvan Calarco <silvan.calarco@mambasoft.it> 0.9.1-1mamba
|
|
- update to 0.9.1
|
|
|
|
* Sun Jul 27 2014 Silvan Calarco <silvan.calarco@mambasoft.it> 0.7.0-1mamba
|
|
- update to 0.7.0
|
|
|
|
* Tue Feb 12 2013 Silvan Calarco <silvan.calarco@mambasoft.it> 0.3.0.git20130212-1mamba
|
|
- update to 0.3.0.git20130212
|
|
|
|
* Tue Feb 12 2013 Silvan Calarco <silvan.calarco@mambasoft.it> 0.3.0-1mamba
|
|
- package created by silvan using the webbuild interface
|