summaryrefslogtreecommitdiff
path: root/util/python-modelcif.spec
blob: 037d23831027ba4b7f4e2006c41394f00f9cd0a0 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
Name:          python3-modelcif
License:       MIT
Group:         Applications/Engineering
Version:       1.5
Release:       1%{?dist}
Summary:       Package for handling ModelCIF mmCIF and BinaryCIF files
Packager:      Ben Webb <ben@salilab.org>
URL:           https://pypi.python.org/pypi/modelcif
Source:        modelcif-%{version}.tar.gz
BuildRequires: python3-devel, python3-setuptools, python3-ihm >= 2.6
Requires:      python3-ihm >= 2.6
BuildArch:     noarch
%if 0%{?fedora} >= 42
BuildRequires: python3-pytest
%endif

%description
This is a Python package to assist in handling mmCIF and BinaryCIF files
compliant with the ModelCIF extension. It works with Python 3.6 or later.

%prep
%setup -n modelcif-%{version}

%build
%{__python3} setup.py install --root=${RPM_BUILD_ROOT} --record=INSTALLED_FILES

%check
%if 0%{?fedora} >= 42
%pytest modelcif/test.py
%else
%{__python3} setup.py test
%endif

%files -f INSTALLED_FILES
%defattr(-,root,root)

%changelog
* Wed Sep 17 2025 Ben Webb <ben@salilab.org>   1.5-1
- Update to latest upstream.

* Wed Jun 11 2025 Ben Webb <ben@salilab.org>   1.4-1
- Update to latest upstream.

* Tue Jan 14 2025 Ben Webb <ben@salilab.org>   1.3-1
- Update to latest upstream.

* Wed Oct 23 2024 Ben Webb <ben@salilab.org>   1.2-1
- Update to latest upstream.

* Fri Sep 27 2024 Ben Webb <ben@salilab.org>   1.1-1
- Update to latest upstream.

* Thu Jun 20 2024 Ben Webb <ben@salilab.org>   1.0-1
- Update to latest upstream.

* Mon Oct 02 2023 Ben Webb <ben@salilab.org>   0.9-1
- Update to latest upstream.

* Fri Aug 04 2023 Ben Webb <ben@salilab.org>   0.8-1
- Update to latest upstream.

* Mon Jul 31 2023 Ben Webb <ben@salilab.org>   0.7-1
- Update to latest upstream.

* Tue May 10 2022 Ben Webb <ben@salilab.org>   0.5-1
- Update to latest upstream.

* Thu Apr 14 2022 Ben Webb <ben@salilab.org>   0.4-1
- Update to latest upstream.

* Mon Mar 21 2022 Ben Webb <ben@salilab.org>   0.3-1
- Update to latest upstream.

* Thu Jan 27 2022 Ben Webb <ben@salilab.org>   0.2-1
- Update to latest upstream.

* Thu Jan 27 2022 Ben Webb <ben@salilab.org>   0.1-1
- Initial package.