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