Accepting request 1060541 from home:mchnz:branches:utilities

Moving vdu_controls.desktop into the tar, updating spec accordingly, fix Fedora build spec.

OBS-URL: https://build.opensuse.org/request/show/1060541
OBS-URL: https://build.opensuse.org/package/show/utilities/vdu_controls?expand=0&rev=2
This commit is contained in:
Michael Hamilton
2023-01-24 02:08:29 +00:00
committed by Git OBS Bridge
parent 48f6fa84db
commit 6c852703b4
4 changed files with 4 additions and 17 deletions

View File

@@ -24,7 +24,6 @@ Summary: Visual Display Unit virtual control panel
License: GPL-3.0-or-later
URL: https://github.com/digitaltrails/vdu_controls
Source0: https://github.com/digitaltrails/vdu_controls/archive/refs/tags/v1.9.0.tar.gz#/%{name}-%{version}.tar.gz
Source1: %{name}.desktop
BuildRequires: coreutils
BuildRequires: hicolor-icon-theme
BuildArch: noarch
@@ -36,6 +35,7 @@ Requires: python3
Requires: python3-qt5
%endif
%if 0%{?fedora_version}
%define ext_man *
Requires: ddcutil
Requires: google-noto-sans-math-fonts
Requires: google-noto-sans-symbols2-fonts
@@ -63,7 +63,7 @@ install -d -m 0755 %{buildroot}%{_bindir} \
%{buildroot}%{_datadir}/vdu_controls/translations \
%{buildroot}%{_datadir}/icons/hicolor/256x256/apps
install -m 0755 vdu_controls.py %{buildroot}/%{_bindir}/%{name}
install -m 0644 %{S:1} %{buildroot}%{_datadir}/applications/%{name}.desktop
install -m 0644 %{name}.desktop %{buildroot}%{_datadir}/applications/%{name}.desktop
install -m 0644 %{name}.png %{buildroot}%{_datadir}/icons/hicolor/256x256/apps/%{name}.png
install -m 0644 translations/*.ts %{buildroot}%{_datadir}/vdu_controls/translations/
install -m 0644 translations/about_*.txt %{buildroot}%{_datadir}/vdu_controls/translations/