core-admin-client/rpm_spec/qubes-core-admin-client.spec.in
Marek Marczykowski-Górecki 7978e17aeb
Merge remote-tracking branch 'origin/pr/145'
* origin/pr/145: (119 commits)
  qvm-template: fix downloading template for install
  tests: add tests for other qvm-template functions
  tests: improve TestProcess behavior
  tests: add tests for qvm-template reinstall/up/downgrade when nothing needs to be done
  tests: fix mock return values of get_dl_list when testing `qvm-template reinstall`
  qvm-template: update comments to reflect e424c7d
  qvm-template: only ask for confirmation during install if something is being done
  tests: add more tests re. install, remove, and get_keys_for_repos
  qvm-template: test != 1 instead of == 0 for template-dummy feature
  tests: fix tests for verify_rpm involving incorrect template names
  tests: add tests for qvm-template remove
  tests: some more for qvm-template
  qvm-template: mute pylint complains about typing.NamedTuple
  tests: qvm-template-postprocess - template.conf handling
  qvm-template-postprocess: fix allowed features list
  qvm-template-postprocess: extract config handling into separate function
  qvm-template-postprocess: treat missing appmenus files as warnings only
  qvm-template: default confirm to 'n'
  qvm-template: verify template package signature directly at download
  qvm-template: improve error reporting
  ...
2021-04-01 20:23:46 +02:00

75 lines
2.0 KiB
RPMSpec

Name: qubes-core-admin-client
Version: @VERSION@
Release: 1%{?dist}
Summary: Qubes OS admin client tools
Group: Qubes
License: LGPLv2.1+
URL: https://www.qubes-os.org
BuildRequires: python%{python3_pkgversion}-setuptools
BuildRequires: python%{python3_pkgversion}-devel
BuildRequires: python%{python3_pkgversion}-sphinx
BuildRequires: python%{python3_pkgversion}-dbus
BuildRequires: python%{python3_pkgversion}-lxml
BuildRequires: python%{python3_pkgversion}-xcffib
Requires: python%{python3_pkgversion}-qubesadmin
Requires: python%{python3_pkgversion}-yaml
Requires: qubes-repo-templates
Requires: scrypt
BuildArch: noarch
Source0: %{name}-%{version}.tar.gz
Conflicts: qubes-core-agent < 4.1.9
# qubes-guid -C option
Conflicts: qubes-gui-daemon < 4.1.7
%description
This package include managemt tools, like qvm-*.
%package -n python%{python3_pkgversion}-qubesadmin
Summary: Python%{python3_pkgversion} module qubesadmin
Requires: python%{python3_pkgversion}-daemon
Requires: python%{python3_pkgversion}-docutils
Requires: python%{python3_pkgversion}-lxml
Requires: python%{python3_pkgversion}-xcffib
Conflicts: qubes-core-dom0 < 4.1.12
Conflicts: qubes-manager < 4.0.6
%description -n python%{python3_pkgversion}-qubesadmin
Python3 module qubesadmin.
%prep
%setup -q
%build
make -C doc PYTHON=%{__python3} SPHINXBUILD=sphinx-build-%{python3_version} man
%install
rm -rf build
%make_install PYTHON=%{__python3}
make -C doc DESTDIR=$RPM_BUILD_ROOT \
PYTHON=%{__python3} SPHINXBUILD=sphinx-build-%{python3_version} \
install
%files
%defattr(-,root,root,-)
%doc LICENSE
%config /etc/xdg/autostart/qvm-start-daemon.desktop
%config /etc/xdg/autostart/qvm-start-daemon-kde.desktop
%{_bindir}/qubes-*
%{_bindir}/qvm-*
%{_mandir}/man1/qvm-*.1*
%{_mandir}/man1/qubes*.1*
%files -n python%{python3_pkgversion}-qubesadmin
%{python3_sitelib}/qubesadmin-*egg-info
%{python3_sitelib}/qubesadmin
/etc/qubes/post-install.d/30-keyboard-layout-service.sh
%changelog
@CHANGELOG@