2017-05-11 23:21:04 +02:00
|
|
|
Name: qubes-core-admin-client
|
2018-01-25 12:00:58 +01:00
|
|
|
Version: @VERSION@
|
2017-02-27 20:19:00 +01:00
|
|
|
Release: 0.1%{?dist}
|
2017-05-11 23:21:04 +02:00
|
|
|
Summary: Qubes OS admin client tools
|
2017-02-27 20:19:00 +01:00
|
|
|
|
|
|
|
Group: Qubes
|
|
|
|
License: LGPLv2.1+
|
|
|
|
URL: https://www.qubes-os.org
|
|
|
|
|
|
|
|
BuildRequires: python2-setuptools
|
|
|
|
BuildRequires: python2-devel
|
2018-12-28 11:53:13 +01:00
|
|
|
BuildRequires: python%{python3_pkgversion}-setuptools
|
|
|
|
BuildRequires: python%{python3_pkgversion}-devel
|
|
|
|
BuildRequires: python%{python3_pkgversion}-sphinx
|
|
|
|
BuildRequires: python%{python3_pkgversion}-dbus
|
|
|
|
Requires: python%{python3_pkgversion}-qubesadmin
|
2018-12-28 11:53:57 +01:00
|
|
|
Requires: python%{python3_pkgversion}-yaml
|
2017-02-27 20:19:00 +01:00
|
|
|
BuildArch: noarch
|
2018-01-25 12:00:58 +01:00
|
|
|
Source0: %{name}-%{version}.tar.gz
|
2017-02-27 20:19:00 +01:00
|
|
|
|
|
|
|
%description
|
|
|
|
This package include managemt tools, like qvm-*.
|
|
|
|
|
2017-05-11 23:21:04 +02:00
|
|
|
%package -n python2-qubesadmin
|
|
|
|
Summary: Python2 module qubesadmin
|
2017-05-20 03:44:40 +02:00
|
|
|
Requires: python-daemon
|
2017-05-23 04:31:20 +02:00
|
|
|
Requires: python-docutils
|
2018-01-04 23:29:20 +01:00
|
|
|
Requires: python2-lxml
|
2017-02-27 20:19:00 +01:00
|
|
|
|
2017-05-11 23:21:04 +02:00
|
|
|
%description -n python2-qubesadmin
|
|
|
|
Python2 module qubesadmin.
|
2017-02-27 20:19:00 +01:00
|
|
|
|
2018-12-28 11:53:13 +01:00
|
|
|
%package -n python%{python3_pkgversion}-qubesadmin
|
|
|
|
Summary: Python%{python3_pkgversion} module qubesadmin
|
2017-10-15 18:56:52 +02:00
|
|
|
%if 0%{?rhel} >= 7
|
|
|
|
Requires: python-daemon
|
|
|
|
%else
|
2017-04-27 01:06:15 +02:00
|
|
|
Requires: python3-daemon
|
2018-12-28 11:53:13 +01:00
|
|
|
%endif
|
|
|
|
Requires: python%{python3_pkgversion}-docutils
|
|
|
|
Requires: python%{python3_pkgversion}-lxml
|
|
|
|
Requires: python%{python3_pkgversion}-xcffib
|
2017-10-08 16:59:55 +02:00
|
|
|
Conflicts: qubes-manager < 4.0.6
|
2017-02-27 20:19:00 +01:00
|
|
|
|
2018-12-28 11:53:13 +01:00
|
|
|
%description -n python%{python3_pkgversion}-qubesadmin
|
2017-05-11 23:21:04 +02:00
|
|
|
Python3 module qubesadmin.
|
2017-02-27 20:19:00 +01:00
|
|
|
|
|
|
|
%prep
|
|
|
|
%setup -q
|
|
|
|
|
|
|
|
|
|
|
|
%build
|
2017-05-11 20:22:51 +02:00
|
|
|
make -C doc PYTHON=%{__python3} SPHINXBUILD=sphinx-build-%{python3_version} man
|
2017-02-27 20:19:00 +01:00
|
|
|
|
2018-01-28 11:19:31 +01:00
|
|
|
|
2017-02-27 20:19:00 +01:00
|
|
|
%install
|
2017-04-14 13:26:45 +02:00
|
|
|
rm -rf build
|
2017-02-27 20:19:00 +01:00
|
|
|
%make_install PYTHON=%{__python2}
|
2017-04-14 13:26:45 +02:00
|
|
|
rm -rf build
|
2017-02-27 20:19:00 +01:00
|
|
|
%make_install PYTHON=%{__python3}
|
|
|
|
|
2017-05-11 20:22:51 +02:00
|
|
|
make -C doc DESTDIR=$RPM_BUILD_ROOT \
|
|
|
|
PYTHON=%{__python3} SPHINXBUILD=sphinx-build-%{python3_version} \
|
|
|
|
install
|
|
|
|
|
2017-02-27 20:19:00 +01:00
|
|
|
|
|
|
|
%files
|
2017-05-11 20:22:51 +02:00
|
|
|
%defattr(-,root,root,-)
|
2017-02-27 20:19:00 +01:00
|
|
|
%doc LICENSE
|
2017-04-27 01:12:19 +02:00
|
|
|
%config /etc/xdg/autostart/qvm-start-gui.desktop
|
2017-05-12 00:16:26 +02:00
|
|
|
%{_bindir}/qubes-*
|
|
|
|
%{_bindir}/qvm-*
|
2017-05-11 20:22:51 +02:00
|
|
|
%{_mandir}/man1/qvm-*.1*
|
|
|
|
%{_mandir}/man1/qubes*.1*
|
2017-02-27 20:19:00 +01:00
|
|
|
|
2017-05-11 23:21:04 +02:00
|
|
|
%files -n python2-qubesadmin
|
2018-10-07 02:47:35 +02:00
|
|
|
%{python2_sitelib}/qubesadmin-*egg-info
|
|
|
|
%{python2_sitelib}/qubesadmin
|
2017-02-27 20:19:00 +01:00
|
|
|
|
2018-12-28 11:53:13 +01:00
|
|
|
%files -n python%{python3_pkgversion}-qubesadmin
|
2017-05-11 23:21:04 +02:00
|
|
|
%{python3_sitelib}/qubesadmin-*egg-info
|
|
|
|
%{python3_sitelib}/qubesadmin
|
2017-02-27 20:19:00 +01:00
|
|
|
|
|
|
|
|
|
|
|
%changelog
|
2018-04-03 21:30:54 +02:00
|
|
|
@CHANGELOG@
|