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

@ -1,3 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:cc1e76a8a6e6efb44f1740e24a776c637928766fc175304e115c7070ab819f14
size 747685
oid sha256:827ea493aa5457e760d5b56106e94a6b1eeb284bbd396a39f90e3d90bed70e77
size 747897

View File

@ -1,10 +0,0 @@
[Desktop Entry]
Type=Application
Terminal=false
Exec=vdu_controls
Name=VDU Controls
GenericName=DDC control panel for monitors
Comment=Virtual Control Panel for externally connected VDU's
Icon=vdu_controls
Categories=Settings;HardwareSettings;

View File

@ -1,3 +0,0 @@
version https://git-lfs.github.com/spec/v1
oid sha256:f7e71b189914af6f99c2c003d64b9492ac811a4c7377b7b61c156c56b87b28e3
size 157232

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/