-
Notifications
You must be signed in to change notification settings - Fork 7
/
Copy pathargo-connectors.spec
67 lines (53 loc) · 2 KB
/
argo-connectors.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
# override so that bytecode compiling is called with python3
%global __python /usr/bin/python3
Name: argo-connectors
Version: 2.2.4
Release: 1%{?dist}
Group: EGI/SA4
License: ASL 2.0
Summary: Components fetch and transform data that represents input for ARGO Compute Engine
Url: https://github.com/ARGOeu/argo-connectors/
Vendor: SRCE <dvrcic@srce.hr>
Obsoletes: argo-egi-connectors
Prefix: %{_prefix}
Requires: python3-aiofiles
Requires: python3-aiohttp
Requires: python3-attrs
Requires: python3-requests
Requires: python3-typing-extensions
Requires: python3-uvloop
Requires: python3-bonsai
Requires: python3-unidecode
Requires: python36-lxml
BuildRequires: python3-devel python3-setuptools
Source0: %{name}-%{version}.tar.gz
BuildArch: noarch
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-buildroot
%description
Installs the components for syncing ARGO Compute Engine
with GOCDB, VAPOR and POEM definitions per day.
%prep
%setup -q
%build
%{py3_build}
%install
%{py3_install "--record=INSTALLED_FILES" }
install --directory %{buildroot}/%{_sharedstatedir}/argo-connectors/
install --directory %{buildroot}/%{_localstatedir}/log/argo-connectors/
install --directory %{buildroot}/%{_libexecdir}/argo-connectors/
%clean
rm -rf $RPM_BUILD_ROOT
%files -f INSTALLED_FILES
%config(noreplace) /etc/argo-connectors/*
%attr(0755,root,root) %dir %{_libexecdir}/argo-connectors/
%attr(0755,root,root) %{_libexecdir}/argo-connectors/*.py
%attr(0755,root,root) %{_libexecdir}/argo-connectors/__pycache__/*
%attr(0755,root,root) %dir %{_sharedstatedir}/argo-connectors/
%attr(0755,root,root) %dir %{_localstatedir}/log/argo-connectors/
%changelog
* Wed Feb 1 2023 Daniel Vrcic <dvrcic@srce.hr> - 2.2.2-1%{dist}
- remove python3-avro dependancy
* Tue Jun 7 2022 Daniel Vrcic <dvrcic@srce.hr> - 2.1.0-1%{dist}
- spec changes to reflect new pkg and py module argo-connectors name
* Thu Feb 10 2022 Daniel Vrcic <dvrcic@srce.hr> - 2.0.0-1%{dist}
- release of async-enabled connectors with additional CSV and JSON topologies