Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
home:olh
remmina
project.diff
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File project.diff of Package remmina
--- remmina.spec.orig +++ remmina.spec @@ -12,6 +12,9 @@ # license that conforms to the Open Source Definition (Version 1.9) # published by the Open Source Initiative. +%bcond_with remmina_nx +%bcond_without remmina_appindicator + # Please submit bugfixes or comments via https://bugs.opensuse.org/ # @@ -68,7 +71,7 @@ BuildRequires: cmake(KF5Wallet) %if 0%{?suse_version} > 1500 BuildRequires: pkgconfig(wayland-client) %endif -%if 0%{?sle_version} > 150200 || 0%{?is_opensuse} +%if %{with remmina_appindicator} BuildRequires: pkgconfig(appindicator3-0.1) %endif @@ -122,7 +125,7 @@ Requires: remmina = %{version} %description plugin-xdmcp This package provides the XDMCP protocol plugin for Remmina. -%if %{with nx} +%if %{with remmina_nx} %package plugin-nx Summary: NX Protocol Plugin for Remmina Group: Productivity/Networking/Other @@ -210,18 +213,26 @@ export CFLAGS="%{optflags} -fPIE -pie" export CFLAGS="$CFLAGS -fPIC" %endif +%cmake \ + -DWITH_NEWS=OFF \ + -DWITH_KIOSK_SESSION=ON \ + -DWITH_GVNC=ON \ %if 0%{?sle_version} > 150200 || 0%{?is_opensuse} -%cmake -DWITH_NEWS=OFF -DWITH_KIOSK_SESSION=ON -DWITH_KF5WALLET=ON -DWITH_GVNC=ON + -DWITH_KF5WALLET=ON \ +%endif +%if %{with remmina_appindicator} + -DWITH_APPINDICATOR=ON \ %else -%cmake -DWITH_NEWS=OFF -DWITH_KIOSK_SESSION=ON -DWITH_APPINDICATOR=OFF -DWITH_GVNC=ON + -DWITH_APPINDICATOR=OFF \ %endif + %{nil} -%make_build +%cmake_build %install %cmake_install -%if %{without nx} +%if %{without remmina_nx} rm -f %{buildroot}%{_libdir}/remmina/plugins/remmina-plugin-nx.so \ %{buildroot}%{_datadir}/icons/hicolor/*/emblems/remmina-nx.png %endif @@ -262,7 +273,7 @@ rm -f %{buildroot}%{_libdir}/remmina/plu %postun plugin-xdmcp %icon_theme_cache_postun -%if %{with nx} +%if %{with remmina_nx} %post plugin-nx %icon_theme_cache_post @@ -335,7 +346,7 @@ rm -f %{buildroot}%{_libdir}/remmina/plu %{_datadir}/xsessions/remmina-gnome.desktop %{_datadir}/applications/%{name}-gnome.desktop -%if !%{with nx} +%if %{without remmina_nx} %exclude %{_datadir}/icons/hicolor/scalable/emblems/remmina-nx-symbolic.svg %endif @@ -359,7 +370,7 @@ rm -f %{buildroot}%{_libdir}/remmina/plu %{_datadir}/icons/hicolor/scalable/emblems/remmina-xdmcp-ssh-symbolic.svg %{_datadir}/icons/hicolor/scalable/emblems/remmina-xdmcp-symbolic.svg -%if %{with nx} +%if %{with remmina_nx} %files plugin-nx %{_libdir}/remmina/plugins/remmina-plugin-nx.so %{_datadir}/icons/hicolor/scalable/emblems/remmina-nx-symbolic.svg
Locations
Projects
Search
Status Monitor
Help
OpenBuildService.org
Documentation
API Documentation
Code of Conduct
Contact
Support
@OBShq
Terms
openSUSE Build Service is sponsored by
The Open Build Service is an
openSUSE project
.
Sign Up
Log In
Places
Places
All Projects
Status Monitor