core-admin-client/rpm_spec/qubes-core-admin-client.spec.in

87 lines
2.0 KiB
RPMSpec
Raw Normal View History

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