rebuilt with python3 instead of python36 [release 0.16.1-2mamba;Wed Apr 28 2021]

This commit is contained in:
Silvan Calarco 2024-01-06 04:41:40 +01:00
parent 728b0d71de
commit d96b8eb04a

View File

@ -1,7 +1,7 @@
%define apiver %(echo %version | cut -d. -f1-2)
Name: libixion
Version: 0.16.1
Release: 1mamba
Release: 2mamba
Summary: A general purpose formula parser and interpreter that can calculate multiple named targets, or “cells”
Group: System/Libraries
Vendor: openmamba
@ -9,22 +9,19 @@ Distribution: openmamba
Packager: Silvan Calarco <silvan.calarco@mambasoft.it>
URL: http://gitorious.org/ixion/pages/Home
Source: https://gitlab.com/ixion/ixion.git/%{version}/ixion-%{version}.tar.bz2
#Source: http://kohei.us/files/ixion/src/libixion-%{version}.tar.xz
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: ldconfig
BuildRequires: libboost-devel
BuildRequires: libgcc
BuildRequires: libpython-devel
BuildRequires: libpython3-devel
BuildRequires: libstdc++6-devel
## AUTOBUILDREQ-END
BuildRequires: libboost-devel >= 1.69.0-2mamba
BuildRequires: libspdlog-devel
BuildRoot: %{_tmppath}/%{name}-%{version}-root
%description
Ixion is a general purpose formula parser & interpreter that can calculate multiple named targets, or “cells”.
@ -53,14 +50,13 @@ This package contains utility applications for %{name}.
#%patch0 -p1
#%patch1 -p1
#%patch2 -p1
# Quick fix for python-3.6
sed -i "s|python3 >= 3.4|python-3.6 >= 3.4|" configure.ac
./autogen.sh
%build
./autogen.sh
%configure \
PYTHON=%{_bindir}/python3.6 PYTHON_LIBS=%{_libdir}/libpython3.6
PYTHON=%{__python3}
# PYTHON_LIBS=%{_libdir}/libpython3.6
%make
@ -77,8 +73,8 @@ sed -i "s|python3 >= 3.4|python-3.6 >= 3.4|" configure.ac
%files
%defattr(-,root,root)
%{_libdir}/libixion-%{apiver}.so.*
%{_libdir}/python3.6/site-packages/ixion.la
%{_libdir}/python3.6/site-packages/ixion.so
%{python3_sitearch}/ixion.la
%{python3_sitearch}/ixion.so
#%{python3_sitearch}/ixion.la
#%{python3_sitearch}/ixion.so
%doc AUTHORS
@ -102,6 +98,9 @@ sed -i "s|python3 >= 3.4|python-3.6 >= 3.4|" configure.ac
#%{_bindir}/ixion-test
%changelog
* 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