-
Notifications
You must be signed in to change notification settings - Fork 1
/
iosc.spec
77 lines (58 loc) · 1.61 KB
/
iosc.spec
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
Name: iosc
Version: 0.4.0
Release: 1%{?dist}
License: GLPv3
Summary: Comtrade viewer
URL: https://github.com/tieugene/iosc.py
Source0: %{url}/archive/refs/tags/%{version}.tar.gz#/iosc.py-%{version}.tar.gz
BuildArch: noarch
BuildRequires: pyproject-rpm-macros
# python3-wheel
BuildRequires: %{py3_dist wheel}
# python3-numpy
BuildRequires: %{py3_dist numpy}
# python3-chardet
BuildRequires: %{py3_dist chardet}
# python3-qcustomplot-pyqt5
BuildRequires: %{py3_dist qcustomplot-pyqt5}
BuildRequires: desktop-file-utils
# python3-devel
# BuildRequires: pkgconfig(python)
# python3-pip
# BuildRequires: %%{py3_dist pip)
%description
%{summary}.
%prep
%autosetup -n iosc.py-%{version}
%generate_buildrequires
%pyproject_buildrequires
%build
%pyproject_wheel
%install
%pyproject_install
%pyproject_save_files %{name}
desktop-file-install contrib/%{name}.desktop
%check
desktop-file-validate %{buildroot}%{_datadir}/applications/%{name}.desktop
%files -f %{pyproject_files}
%doc README.md
%license LICENSE
%{_bindir}/%{name}
%{_datadir}/applications/%{name}.desktop
%changelog
* Sun Jul 23 2023 TI_Eugene <[email protected]> - 0.4.0-1
- 2xOMP
* Wed Jun 21 2023 TI_Eugene <[email protected]> - 0.3.7-1
- Release
* Sun Jun 18 2023 TI_Eugene <[email protected]> - 0.3.7-rc2
- Bug fixes
* Mon Jun 05 2023 TI_Eugene <[email protected]> - 0.3.7-rc1
- Windows compliant
- Styling off
- i18n qrc'ed
* Sun Jun 04 2023 TI_Eugene <[email protected]> - 0.3.6-2
- Debian compliant
* Wed Apr 05 2023 TI_Eugene <[email protected]> - 0.3.6-1
- Version bump
* Thu Feb 16 2023 TI_Eugene <[email protected]> - 0.3.5-1
- Initial packaging