-
Notifications
You must be signed in to change notification settings - Fork 9
/
otopi.spec.in
222 lines (161 loc) · 5.53 KB
/
otopi.spec.in
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
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
#
# otopi -- plugable installer
#
%global package_version @PACKAGE_VERSION@
Summary: oVirt Task Oriented Pluggable Installer/Implementation (%{name})
Name: @PACKAGE_NAME@
Version: @PACKAGE_RPM_VERSION@
Release: @PACKAGE_RPM_RELEASE@%{?release_suffix}%{?dist}
License: LGPL-2.0-or-later
URL: http://www.ovirt.org
Source0: http://resources.ovirt.org/pub/src/%{name}/%{name}-%{package_version}.tar.gz
Group: Development/Libraries
BuildArch: noarch
BuildRequires: gettext >= 0.18.2
BuildRequires: python%{python3_pkgversion}-devel
BuildRequires: gcc
%description
Standalone plugin based installation framework to be used to setup
system components. The plugin nature provides simplicity to
add new installation functionality without the complexity of the state
and transaction management.
%package -n python%{python3_pkgversion}-%{name}
Summary: %{summary}
%{?python_provide:%python_provide python%{python3_pkgversion}-%{name}}
Requires: python%{python3_pkgversion} >= 3.6.0
Requires: python%{python3_pkgversion}-dateutil
Requires: python%{python3_pkgversion}-distro
Requires: %{name}-common = %{version}-%{release}
Provides: %{name} = %{version}-%{release}
Obsoletes: python%{python3_pkgversion}-%{name}-devtools
%description -n python%{python3_pkgversion}-%{name}
%{summary}.
Python %{python3_pkgversion} version.
%package common
Summary: Common files for %{name}
Obsoletes: %{name}-java
%description common
%{summary}
%package debug-plugins
Summary: %{name} debug plugins
Requires: %{name} = %{version}-%{release}
%description debug-plugins
Debug plugins for %{name}.
%prep
%setup -q -n %{name}-%{package_version}
%build
%configure PYTHON="%{__python3}" \
--docdir="%{_docdir}/%{name}-%{version}" \
--disable-python-syntax-check \
--with-local-version="%{name}-%{version}-%{release}" \
%{?conf}
make %{?_smp_mflags}
%install
make %{?_smp_mflags} install DESTDIR="%{buildroot}"
install -d -m 755 "%{buildroot}%{_sysconfdir}/%{name}.conf.d"
%find_lang %{name}
%files -n python%{python3_pkgversion}-%{name}
%doc AUTHORS
%license COPYING
%license LICENSE
%doc README.md
%doc README.API
%doc README.config-query
%doc README.debug-plugins
%doc README.dialog
%doc README.environment
%{python3_sitelib}/%{name}/
%files common -f %{name}.lang
%doc AUTHORS
%license COPYING
%license LICENSE
%dir %{_datadir}/%{name}
%dir %{_datadir}/%{name}/plugins
%dir %{_sysconfdir}/%{name}.conf.d
%{_sbindir}/%{name}
%{_bindir}/%{name}-config-query
%{_datadir}/%{name}/scripts/
%{_datadir}/%{name}/plugins/%{name}/
%{_datadir}/%{name}/%{name}-bundle
%{_datadir}/%{name}/%{name}-functions
%exclude %{_datadir}/%{name}/plugins/%{name}/debug/
%files debug-plugins
%{_datadir}/%{name}/plugins/%{name}/debug/
%license COPYING
%license LICENSE
%doc AUTHORS
%doc README.debug-plugins
%changelog
* Tue Nov 28 2023 Sandro Bonazzola <[email protected]> - 1.10.4-1
- Migrated to SPDX license.
- Release.
* Mon Sep 05 2022 - Yedidyah Bar David <[email protected]> - 1.10.3-1
- Release.
* Wed Aug 03 2022 - Yedidyah Bar David <[email protected]> - 1.10.2-1
- Release.
* Thu Mar 03 2022 - Yedidyah Bar David <[email protected]> - 1.10.0-1
- Release.
* Tue Aug 03 2021 - Yedidyah Bar David <[email protected]> - 1.9.5-1
- Release.
* Wed Jan 27 2021 - Yedidyah Bar David <[email protected]> - 1.9.4-1
- Release.
* Wed Jan 13 2021 - Yedidyah Bar David <[email protected]> - 1.9.3-1
- Release.
* Sun Jun 07 2020 - Yedidyah Bar David <[email protected]> - 1.9.2-1
- Release.
* Thu Mar 26 2020 - Sandro Bonazzola <[email protected]> - 1.9.1-1
- Release.
* Mon Nov 25 2019 - Yedidyah Bar David <[email protected]> - 1.9.0-1
- Release.
* Sun Mar 10 2019 - Yedidyah Bar David <[email protected]> - 1.8.1-1
- Release.
* Tue Jan 08 2019 - Yedidyah Bar David <[email protected]> - 1.8.0-1
- Release.
* Tue Jan 09 2018 - Yedidyah Bar David <[email protected]> - 1.7.6-1
- Release.
* Thu Nov 30 2017 - Yedidyah Bar David <[email protected]> - 1.7.5-1
- Release.
* Wed Nov 29 2017 - Yedidyah Bar David <[email protected]> - 1.7.4-1
- Release.
* Mon Nov 20 2017 - Yedidyah Bar David <[email protected]> - 1.7.3-1
- Release
* Fri Nov 17 2017 Sandro Bonazzola <[email protected]> - 1.7.2-1
- Release.
* Tue Jul 25 2017 Yedidyah Bar David <[email protected]> - 1.7.1-1
- Release.
* Thu Jul 20 2017 Yedidyah Bar David <[email protected]> - 1.7.0-1
- Release.
* Thu Jan 12 2017 Yedidyah Bar David <[email protected]> - 1.6.0-1
- Release.
* Mon May 30 2016 Yedidyah Bar David <[email protected]> - 1.5.0-1
- Release.
* Tue Feb 9 2016 Yedidyah Bar David <[email protected]> - 1.4.1-1
- Release.
* Thu Oct 15 2015 Alon Bar-Lev <[email protected]> - 1.4.0-1
- Release.
* Thu Jan 15 2015 Alon Bar-Lev <[email protected]> - 1.3.1-1
- Release.
* Mon Oct 6 2014 Alon Bar-Lev <[email protected]> - 1.3.0-1
- Release.
* Fri May 2 2014 Alon Bar-Lev <[email protected]> - 1.2.1-1
- Release.
* Tue Mar 18 2014 Alon Bar-Lev <[email protected]> - 1.2.0-1
- Release.
* Wed Mar 12 2014 Alon Bar-Lev <[email protected]> - 1.2.0-0.11.rc4
- Release candidate.
* Tue Mar 11 2014 Alon Bar-Lev <[email protected]> - 1.2.0-0.9.rc3
- Release candidate.
* Thu Feb 27 2014 Alon Bar-Lev <[email protected]> - 1.2.0-0.7.rc2
- Release candidate.
* Thu Feb 27 2014 Alon Bar-Lev <[email protected]> - 1.2.0-0.5.rc
- Release candidate.
* Mon Feb 17 2014 Alon Bar-Lev <[email protected]> - 1.2.0-0.3.beta2
- Beta.
* Mon Jan 20 2014 Alon Bar-Lev <[email protected]> - 1.2.0-0.1.beta
- Beta.
* Mon Aug 26 2013 Alon Bar-Lev <[email protected]> - 1.1.0-1
- Release.
* Thu Feb 14 2013 Alon Bar-Lev <[email protected]> - 1.0.0-1
- Release.
* Sat Oct 13 2012 Alon Bar-Lev <[email protected]> - 1.0.0-0.1_beta
- Initial add.