Accepting request 818841 from home:badshah400:branches:science
- Disable octave support as compilation error with current swig. OBS-URL: https://build.opensuse.org/request/show/818841 OBS-URL: https://build.opensuse.org/package/show/science/lalframe?expand=0&rev=2
This commit is contained in:
parent
67f29fa640
commit
f4e0f9c75b
@ -1,3 +1,8 @@
|
|||||||
|
-------------------------------------------------------------------
|
||||||
|
Wed Jul 1 23:25:51 UTC 2020 - Atri Bhattacharya <badshah400@gmail.com>
|
||||||
|
|
||||||
|
- Disable octave support as compilation error with current swig.
|
||||||
|
|
||||||
-------------------------------------------------------------------
|
-------------------------------------------------------------------
|
||||||
Mon May 11 15:17:37 UTC 2020 - Atri Bhattacharya <badshah400@gmail.com>
|
Mon May 11 15:17:37 UTC 2020 - Atri Bhattacharya <badshah400@gmail.com>
|
||||||
|
|
||||||
|
@ -17,6 +17,8 @@
|
|||||||
|
|
||||||
|
|
||||||
%define shlib lib%{name}11
|
%define shlib lib%{name}11
|
||||||
|
# FIXME: Disable octave support as compilation error with current swig
|
||||||
|
%bcond_with octave
|
||||||
Name: lalframe
|
Name: lalframe
|
||||||
Version: 1.5.0
|
Version: 1.5.0
|
||||||
Release: 0
|
Release: 0
|
||||||
@ -38,12 +40,14 @@ BuildRequires: fdupes
|
|||||||
BuildRequires: ldas-tools-framecpp-devel
|
BuildRequires: ldas-tools-framecpp-devel
|
||||||
BuildRequires: libframe-devel
|
BuildRequires: libframe-devel
|
||||||
BuildRequires: libtool
|
BuildRequires: libtool
|
||||||
BuildRequires: octave-devel
|
|
||||||
BuildRequires: octave-lal >= 6.21.0
|
|
||||||
BuildRequires: pkgconfig
|
|
||||||
BuildRequires: python-rpm-macros
|
BuildRequires: python-rpm-macros
|
||||||
BuildRequires: swig
|
BuildRequires: swig
|
||||||
|
BuildRequires: pkgconfig
|
||||||
BuildRequires: pkgconfig(lal) >= 6.21.0
|
BuildRequires: pkgconfig(lal) >= 6.21.0
|
||||||
|
%if %{with octave}
|
||||||
|
BuildRequires: octave-lal >= 6.21.0
|
||||||
|
BuildRequires: pkgconfig(octave)
|
||||||
|
%endif
|
||||||
Requires: python-lal
|
Requires: python-lal
|
||||||
Requires: python-numpy
|
Requires: python-numpy
|
||||||
%python_subpackages
|
%python_subpackages
|
||||||
@ -91,7 +95,9 @@ export PYTHON=$python
|
|||||||
mkdir ../${PYTHON}_build
|
mkdir ../${PYTHON}_build
|
||||||
cp -pr ./ ../${PYTHON}_build
|
cp -pr ./ ../${PYTHON}_build
|
||||||
pushd ../${PYTHON}_build
|
pushd ../${PYTHON}_build
|
||||||
%configure --enable-swig
|
%configure \
|
||||||
|
%{?with_octave:--enable-swig-octave} \
|
||||||
|
%{!?with_octave:--disable-swig-octave}
|
||||||
make %{?_smp_mflags}
|
make %{?_smp_mflags}
|
||||||
popd
|
popd
|
||||||
}
|
}
|
||||||
@ -155,11 +161,13 @@ find %{buildroot} -type f -name "*.la" -delete -print
|
|||||||
%{_mandir}/man1/*.1%{?ext_man}
|
%{_mandir}/man1/*.1%{?ext_man}
|
||||||
%config %{_sysconfdir}/profile.d/%{name}.*
|
%config %{_sysconfdir}/profile.d/%{name}.*
|
||||||
|
|
||||||
|
%if %{with octave}
|
||||||
%files -n octave-%{name}
|
%files -n octave-%{name}
|
||||||
%dir %{_libdir}/octave/*/site
|
%dir %{_libdir}/octave/*/site
|
||||||
%dir %{_libdir}/octave/*/site/oct
|
%dir %{_libdir}/octave/*/site/oct
|
||||||
%dir %{_libdir}/octave/*/site/oct/*
|
%dir %{_libdir}/octave/*/site/oct/*
|
||||||
%{_libdir}/octave/*/site/oct/*/*.oct
|
%{_libdir}/octave/*/site/oct/*/*.oct
|
||||||
|
%endif
|
||||||
|
|
||||||
%files %{python_files}
|
%files %{python_files}
|
||||||
%{python_sitearch}/*
|
%{python_sitearch}/*
|
||||||
|
Loading…
Reference in New Issue
Block a user