|
|
e857990 |
%global srcname calcephpy
|
|
|
e857990 |
|
|
|
e857990 |
Name: python-%{srcname}
|
|
|
a28eb21 |
Version: 3.5.3
|
|
|
5bad0d5 |
Release: 2%{?dist}
|
|
|
e857990 |
Summary: Astronomical library to access planetary ephemeris files
|
|
|
e857990 |
|
|
|
429fc16 |
License: CECILL-2.0 OR CECILL-B OR CECILL-C
|
|
|
e857990 |
URL: https://pypi.python.org/pypi/calcephpy
|
|
|
e857990 |
Source0: %{pypi_source}
|
|
|
e857990 |
|
|
|
4273861 |
|
|
|
e857990 |
%global _description %{expand:
|
|
|
e857990 |
This is the Python module of calceph.
|
|
|
e857990 |
Calceph is a library designed to access the binary planetary ephemeris files,
|
|
|
e857990 |
such INPOPxx, JPL DExxx and SPICE ephemeris files.}
|
|
|
e857990 |
|
|
|
e857990 |
%description %_description
|
|
|
e857990 |
|
|
|
e857990 |
|
|
|
e857990 |
%package -n python3-%{srcname}
|
|
|
e857990 |
Summary: %{summary}
|
|
|
e857990 |
BuildRequires: gcc
|
|
|
e857990 |
BuildRequires: python3-devel
|
|
|
e857990 |
BuildRequires: python3-setuptools
|
|
|
e857990 |
%if 0%{?rhel} == 7
|
|
|
e857990 |
BuildRequires: python36-Cython
|
|
|
e857990 |
%else
|
|
|
e857990 |
BuildRequires: python3-Cython
|
|
|
e857990 |
%endif
|
|
|
e857990 |
|
|
|
e857990 |
# Needed by EPEL7
|
|
|
e857990 |
%py_provides python3-%{srcname}
|
|
|
e857990 |
|
|
|
e857990 |
%description -n python3-%{srcname} %_description
|
|
|
e857990 |
|
|
|
e857990 |
|
|
|
e857990 |
%package doc
|
|
|
e857990 |
Summary: Documentation files for %{name}
|
|
|
e857990 |
BuildArch: noarch
|
|
|
e857990 |
|
|
|
e857990 |
%description doc
|
|
|
e857990 |
The %{name}-doc package contains documentation for %{name}.
|
|
|
e857990 |
|
|
|
e857990 |
|
|
|
e857990 |
%prep
|
|
|
4273861 |
%autosetup -p1 -n %{srcname}-%{version}
|
|
|
e857990 |
|
|
|
e857990 |
# Remove executable bit set on license files
|
|
|
e857990 |
chmod -x COPYING*
|
|
|
e857990 |
|
|
|
e857990 |
# Remove egg files from source
|
|
|
e857990 |
rm -r %{srcname}.egg-info
|
|
|
e857990 |
|
|
|
e857990 |
|
|
|
e857990 |
%build
|
|
|
5bad0d5 |
export CPPFLAGS="$CXXFLAGS"
|
|
|
e857990 |
%py3_build
|
|
|
e857990 |
|
|
|
e857990 |
# Remove hidden files from docdir
|
|
|
e857990 |
find doc -name .buildinfo -exec rm -f {} \;
|
|
|
e857990 |
|
|
|
e857990 |
|
|
|
e857990 |
%install
|
|
|
e857990 |
%py3_install
|
|
|
e857990 |
|
|
|
e857990 |
|
|
|
e857990 |
%files -n python3-%{srcname}
|
|
|
e857990 |
%license COPYING_CECILL_V2.1.LIB COPYING_CECILL_B.LIB COPYING_CECILL_C.LIB
|
|
|
e857990 |
%{python3_sitearch}/*.so
|
|
|
e857990 |
%{python3_sitearch}/*egg-info/
|
|
|
e857990 |
|
|
|
e857990 |
|
|
|
e857990 |
%files doc
|
|
|
e857990 |
%doc doc/calceph_python.pdf doc/html/python/
|
|
|
e857990 |
|
|
|
e857990 |
|
|
|
e857990 |
%changelog
|
|
|
5bad0d5 |
* Sat Sep 09 2023 Mattia Verga <mattia.verga@protonm.me> - 3.5.3-2
|
|
|
5bad0d5 |
- Fix build flags
|
|
|
5bad0d5 |
|
|
|
a28eb21 |
* Wed Sep 06 2023 Mattia Verga <mattia.verga@protonm.me> - 3.5.3-1
|
|
|
a28eb21 |
- Update to 3.5.3 (fedora#2237640)
|
|
|
a28eb21 |
- Fix compatibility with Cython 3.x (fedora#2226167)
|
|
|
a28eb21 |
|
|
|
5b6fbed |
* Fri Jul 21 2023 Fedora Release Engineering <releng@fedoraproject.org> - 3.5.2-3
|
|
|
5b6fbed |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_39_Mass_Rebuild
|
|
|
5b6fbed |
|
|
|
ac0aaf3 |
* Tue Jun 13 2023 Python Maint <python-maint@redhat.com> - 3.5.2-2
|
|
|
ac0aaf3 |
- Rebuilt for Python 3.12
|
|
|
ac0aaf3 |
|
|
|
254d4b4 |
* Sat Apr 15 2023 Mattia Verga <mattia.verga@protonm.me> - 3.5.2-1
|
|
|
254d4b4 |
- Update to 3.5.2 (fedora#2186143)
|
|
|
254d4b4 |
|
|
|
d7cd817 |
* Fri Jan 20 2023 Fedora Release Engineering <releng@fedoraproject.org> - 3.5.1-4
|
|
|
d7cd817 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_38_Mass_Rebuild
|
|
|
d7cd817 |
|
|
|
a8cf89b |
* Fri Jul 22 2022 Fedora Release Engineering <releng@fedoraproject.org> - 3.5.1-3
|
|
|
a8cf89b |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_37_Mass_Rebuild
|
|
|
a8cf89b |
|
|
|
c4b4cf5 |
* Mon Jun 13 2022 Python Maint <python-maint@redhat.com> - 3.5.1-2
|
|
|
c4b4cf5 |
- Rebuilt for Python 3.11
|
|
|
c4b4cf5 |
|
|
|
976c2a5 |
* Wed Mar 02 2022 Mattia Verga <mattia.verga@protonmail.com> - 3.5.1-1
|
|
|
976c2a5 |
- Update to 3.5.1 (fedora#2059290)
|
|
|
976c2a5 |
|
|
|
6ed3abc |
* Fri Jan 21 2022 Fedora Release Engineering <releng@fedoraproject.org> - 3.5.0-2
|
|
|
6ed3abc |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_36_Mass_Rebuild
|
|
|
6ed3abc |
|
|
|
8625212 |
* Sat Aug 28 2021 Mattia Verga <mattia.verga@protonmail.com> - 3.5.0-1
|
|
|
8625212 |
- Update to 3.5.0
|
|
|
8625212 |
|
|
|
a202776 |
* Fri Jul 23 2021 Fedora Release Engineering <releng@fedoraproject.org> - 3.4.7-6
|
|
|
a202776 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_35_Mass_Rebuild
|
|
|
a202776 |
|
|
|
7cdc9ac |
* Fri Jun 04 2021 Python Maint <python-maint@redhat.com> - 3.4.7-5
|
|
|
7cdc9ac |
- Rebuilt for Python 3.10
|
|
|
7cdc9ac |
|
|
|
4273861 |
* Sun Apr 18 2021 Mattia Verga <mattia.verga@protonmail.com> - 3.4.7-4
|
|
|
4273861 |
- Patch sources to fix build with Python 3.10a
|
|
|
4273861 |
- Fix rhbz#1948439
|
|
|
4273861 |
|
|
|
bbed470 |
* Wed Jan 27 2021 Fedora Release Engineering <releng@fedoraproject.org> - 3.4.7-3
|
|
|
bbed470 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild
|
|
|
bbed470 |
|
|
|
e857990 |
* Sat Nov 07 2020 Mattia Verga <mattia.verga@protonmail.com> - 3.4.7-2
|
|
|
e857990 |
- Create a doc subpackage
|
|
|
e857990 |
- Remove executable bit set on license files
|
|
|
e857990 |
- Add py_provides macro for EPEL7
|
|
|
e857990 |
|
|
|
e857990 |
* Sat Nov 07 2020 Mattia Verga <mattia.verga@protonmail.com> - 3.4.7-1
|
|
|
e857990 |
- Update to 3.4.7
|
|
|
e857990 |
|
|
|
e857990 |
* Tue Nov 3 2020 Mattia Verga <mattia.verga@protonmail.com> - 3.4.6-1
|
|
|
e857990 |
- Initial packaging
|