File python3-obit.spec of Package python3-obit

Name:           python3-obit
Version:        27JUL20
Release:        5%{?dist}
Summary:        Obit for ParselTongue
License:        GPL-2.0-or-later
URL:            http://www.cv.nrao.edu/~bcotton/Obit.html
Source0:        http://www.jive.nl/parseltongue/releases/Obit-%{version}.tar.gz
Patch0:         obit-cflags.patch
Patch1:         obit-python3.patch
BuildRequires:  python3-devel
BuildRequires:  glib2-devel
BuildRequires:  gsl-devel
%if 0%{?fedora} > 0
BuildRequires:  cfitsio-devel
%endif

%description
Obit for ParselTongue is a stripped-down version of Obit that provides
the functionality needed by ParselTongue.

%prep
%setup -q -n Obit
%patch0 -p0
%patch1 -p1

%build
%configure
make


%install
rm -rf %{buildroot}
mkdir -p %{buildroot}%{_libdir}/obit/python3
cp -p python/*.py %{buildroot}%{_libdir}/obit/python3
cp -p python/*.so %{buildroot}%{_libdir}/obit/python3


%files
%doc
%{_libdir}/*



%changelog
* Tue Oct 13 2020 Mark Kettenis <kettenis@jive.wu> 27JUL20-1
- Initial release
openSUSE Build Service is sponsored by