17
0
Files
vncmanager-controller/vncmanager-controller.spec
Stefan Dirsch 21c2631c9c - Use %patch -P N instead of deprecated %patchN.
- Use obs_scm targeting the new github repo at
  https://github.com/openSUSE/vncmanager-controller
- Update to version 1.0.2:
  * Fixes bsc#1214410 with forcing the use of xcb platform plugin
- Drop updated upstream patches:
  * U_Declare-gnome-shell-versions-3.10-to-3.26-as-support.patch
  * u_Declare-also-gnome-shell-versions-3.27-to-41-as-supp.patch
  * 0001-fix-js-code-incompatibility-with-gnome-3.34.patch
- Cleanup specfile

- replace broken U_vncmanager-controller-Declare-gnome-shell-versions-3.10-to-3.34-as-supported.patch 
  again with latest upstream commit U_Declare-gnome-shell-versions-3.10-to-3.26-as-support.patch 
- u_Declare-also-gnome-shell-versions-3.27-to-41-as-supp.patch
  * Declare also gnome shell versions 3.27 to 41 as supported

OBS-URL: https://build.opensuse.org/package/show/X11:XOrg/vncmanager-controller?expand=0&rev=26
2025-05-27 11:41:11 +00:00

88 lines
2.5 KiB
RPMSpec

#
# spec file for package vncmanager-controller
#
# Copyright (c) 2025 SUSE LLC
#
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
# upon. The license for this file, and modifications and additions to the
# file, is the same license as for the pristine package itself (unless the
# license for the pristine package is not an Open Source License, in which
# case the license is the MIT License). An "Open Source License" is a
# license that conforms to the Open Source Definition (Version 1.9)
# published by the Open Source Initiative.
# Please submit bugfixes or comments via https://bugs.opensuse.org/
#
Name: vncmanager-controller
Version: 1.0.2
Release: 0
Summary: Configuration application for VNC session
License: MIT
Group: System/X11/Utilities
URL: https://github.com/openSUSE/vncmanager-controller
Source: %{name}-%{version}.tar
Patch1: n_UsrEtc.patch
Patch2: u_tigervnc-1.15.0.patch
BuildRequires: cmake
BuildRequires: gcc-c++
BuildRequires: libQt5Core-devel
BuildRequires: libQt5Network-devel
BuildRequires: libQt5Widgets-devel
BuildRequires: libXvnc-devel
BuildRequires: libqt5-qtx11extras-devel
BuildRequires: pkgconfig(x11)
BuildRequires: pkgconfig(xproto)
Requires: vncmanager
%description
This is configuration application to configure sharing and security from inside VNC session.
%package gnome
Requires: gnome-shell
Requires: vncmanager-controller
Supplements: (%{name}:gnome-shell)
Summary: Configuration application for VNC session
Group: System/GUI/GNOME
BuildArch: noarch
%description gnome
This is configuration application to configure sharing and security from inside VNC session.
%prep
%setup
%if 0%{?suse_version} >= 1550
%patch -P 1 -p1
%endif
%patch -P 2 -p1
%build
%cmake -DCMAKE_BUILD_TYPE=RelWithDebInfo -DCMAKE_VERBOSE_MAKEFILE=ON
%make_jobs
%install
%cmake_install
%files
%defattr(-,root,root)
%{_bindir}/vncmanager-controller
%if 0%{?suse_version} >= 1550
%dir %{_distconfdir}/xdg
%dir %{_distconfdir}/xdg/autostart
%{_distconfdir}/xdg/autostart/vncmanager-controller.desktop
%else
%dir %{_sysconfdir}/xdg/autostart
%{_sysconfdir}/xdg/autostart/vncmanager-controller.desktop
%endif
%doc LICENSE
%files gnome
%defattr(-,root,root)
%dir %{_datadir}/gnome-shell
%dir %{_datadir}/gnome-shell/extensions
%{_datadir}/gnome-shell/extensions/*
%changelog