|
@@ -1,44 +1,25 @@
|
|
|
+%define _unpackaged_files_terminate_build 1
|
|
|
+
|
|
|
Summary: Remote Desktop Connection utility
|
|
|
Summary(ja): リモートデスクトップ接続ユーティリティ
|
|
|
Name: remmina
|
|
|
-Version: 1.0.0
|
|
|
-Release: 5%{?_dist_release}
|
|
|
+Version: 1.2.32.1
|
|
|
+Release: 1%{?_dist_release}
|
|
|
|
|
|
License: GPLv2+ and MIT
|
|
|
Group: User Interface/Desktops
|
|
|
URL: http://remmina.sourceforge.net/
|
|
|
|
|
|
-Source0: https://github.com/downloads/FreeRDP/Remmina/Remmina-%{version}.tar.gz
|
|
|
-#VCS: git:https://github.com/FreeRDP/Remmina.git
|
|
|
-
|
|
|
-# from lauchpad
|
|
|
-Source10: remmina-ja.po
|
|
|
-
|
|
|
-# The following two patches will fix some linking errors
|
|
|
-# https://github.com/FreeRDP/Remmina/commit/503a008e
|
|
|
-Patch0: remmina-1.0.0-fix-library-name.patch
|
|
|
-# https://github.com/FreeRDP/Remmina/commit/13f20367
|
|
|
-Patch1: remmina-1.0.0-linker-error.patch
|
|
|
+Vendor: Project Vine
|
|
|
+Distribution: Vine Linux
|
|
|
|
|
|
-# The following 4 patches are needed to add clipboard support (#818155)
|
|
|
-# https://github.com/FreeRDP/Remmina/commit/3ebdd6e7
|
|
|
-Patch2: remmina-1.0.0-add-clipboard-support.patch
|
|
|
-# https://github.com/FreeRDP/Remmina/commit/97c2af8c
|
|
|
-Patch3: remmina-1.0.0-clipboard-bugfix.patch
|
|
|
-# https://github.com/FreeRDP/Remmina/commit/84327f81
|
|
|
-Patch4: remmina-1.0.0-some-more-clipboard-fixes.patch
|
|
|
-# https://github.com/FreeRDP/Remmina/commit/c1ef3a16
|
|
|
-Patch5: remmina-1.0.0-disconnect-signal-handler-after-disconnect.patch
|
|
|
+Source0: https://gitlab.com/Remmina/Remmina/-/archive/v%{version}/Remmina-v%{version}.tar.bz2
|
|
|
|
|
|
-# https://github.com/FreeRDP/Remmina/commit/6ee20289
|
|
|
-Patch10: remmina-1.0.0-fix-crashes-in-some-cases.patch
|
|
|
-# https://github.com/FreeRDP/Remmina/commit/b2277827
|
|
|
-Patch11: remmina-1.0.0-fix-memory-leak.patch
|
|
|
-
|
|
|
-# https://bugzilla.redhat.com/show_bug.cgi?id=819976
|
|
|
-Patch20: remmina-1.0.0-dsofix.patch
|
|
|
-
|
|
|
-Patch100: remmina-1.0.0-vte3.patch
|
|
|
+# Cmake helper file to easy build plugins outside remmina source tree
|
|
|
+# See http://www.muflone.com/remmina-plugin-rdesktop/english/install.html which
|
|
|
+# use http://www.muflone.com/remmina-plugin-builder/ with remmina bundled source.
|
|
|
+# So we can't use it directly only as instructions.
|
|
|
+Source1: pluginBuild-CMakeLists.txt
|
|
|
|
|
|
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root
|
|
|
BuildRequires: gtk3-devel
|
|
@@ -51,9 +32,11 @@ BuildRequires: desktop-file-utils
|
|
|
BuildRequires: gnutls-devel
|
|
|
BuildRequires: libjpeg-devel
|
|
|
BuildRequires: libvncserver-devel
|
|
|
-BuildRequires: libgnome-keyring-devel
|
|
|
+BuildRequires: libsecret-devel
|
|
|
BuildRequires: freerdp-devel >= 1.0.1
|
|
|
BuildRequires: telepathy-glib-devel
|
|
|
+BuildRequires: json-glib-devel
|
|
|
+BuildRequires: libsoup-devel
|
|
|
|
|
|
BuildRequires: cmake
|
|
|
BuildRequires: gettext
|
|
@@ -81,30 +64,30 @@ Requires: pkgconfig
|
|
|
Header files and libraries for building a extension library for the
|
|
|
remmina.
|
|
|
|
|
|
-%package plugins-common
|
|
|
-Summary: Common files for Remmina Remote Desktop Client plugins
|
|
|
-Summary(ja): Remmina プラグインの共通ファイル
|
|
|
-Group: User Interface/Desktops
|
|
|
-Requires: %{name} >= 0.9
|
|
|
|
|
|
-%description plugins-common
|
|
|
-Remmina is a remote desktop client written in GTK+, aiming to be
|
|
|
-useful for system administrators and travelers, who need to work
|
|
|
-with lots of remote computers in front of either large monitors or
|
|
|
-tiny netbooks.
|
|
|
+%package plugins-exec
|
|
|
+Summary: External execution plugin for Remmina Remote Desktop Client
|
|
|
+Summary(ja): Remmina の外部プロセス実行プラグイン
|
|
|
+Requires: %{name}%{?_isa} = %{version}-%{release}
|
|
|
+
|
|
|
+%description plugins-exec
|
|
|
+Remmina is a remote desktop client written in GTK+, aiming to be useful for
|
|
|
+system administrators and travelers, who need to work with lots of remote
|
|
|
+computers in front of either large monitors or tiny net-books.
|
|
|
|
|
|
-This package contains files shared among all plugins for the Remmina
|
|
|
-remote desktop client.
|
|
|
+This package contains the plugin to execute external processes (commands or
|
|
|
+applications) from the Remmina window.
|
|
|
|
|
|
|
|
|
-%package plugins-gnome
|
|
|
+%package plugins-secret
|
|
|
Summary: GNOME keyring integration for Remmina Remote Desktop Client
|
|
|
Summary(ja): Remmina の GNOMEキーリング統合
|
|
|
Group: User Interface/Desktops
|
|
|
-Requires: %{name}-plugins-common = %{version}-%{release}
|
|
|
-Requires: libgnome-keyring
|
|
|
+Requires: %{name} = %{version}-%{release}
|
|
|
+Obsoletes: %{name}plugins-gnome < 1.2
|
|
|
+Provides: %{name}-plugins-gnome = %{version}-%{release}
|
|
|
|
|
|
-%description plugins-gnome
|
|
|
+%description plugins-secret
|
|
|
Remmina is a remote desktop client written in GTK+, aiming to be
|
|
|
useful for system administrators and travelers, who need to work
|
|
|
with lots of remote computers in front of either large monitors or
|
|
@@ -118,7 +101,7 @@ Remmina remote desktop client.
|
|
|
Summary: NX plugin for Remmina Remote Desktop Client
|
|
|
Summary(ja): Remmina の NX プラグイン
|
|
|
Group: User Interface/Desktops
|
|
|
-Requires: %{name}-plugins-common = %{version}-%{release}
|
|
|
+Requires: %{name} = %{version}-%{release}
|
|
|
# temporally disabled
|
|
|
#Requires: nx
|
|
|
|
|
@@ -136,7 +119,7 @@ client.
|
|
|
Summary: RDP plugin for Remmina Remote Desktop Client
|
|
|
Summary(ja): Remmina の RDP プラグイン
|
|
|
Group: User Interface/Desktops
|
|
|
-Requires: %{name}-plugins-common = %{version}-%{release}
|
|
|
+Requires: %{name} = %{version}-%{release}
|
|
|
Requires: freerdp
|
|
|
|
|
|
%description plugins-rdp
|
|
@@ -153,7 +136,7 @@ Remmina remote desktop client.
|
|
|
Summary: Telepathy plugin for Remmina Remote Desktop Client
|
|
|
Summary(ja): Remmina の Telepathy プラグイン
|
|
|
Group: User Interface/Desktops
|
|
|
-Requires: %{name}-plugins-common = %{version}-%{release}
|
|
|
+Requires: %{name} = %{version}-%{release}
|
|
|
|
|
|
%description plugins-telepathy
|
|
|
Remmina is a remote desktop client written in GTK+, aiming to be
|
|
@@ -165,11 +148,25 @@ This package contains the Telepathy plugin for the Remmina remote
|
|
|
desktop client.
|
|
|
|
|
|
|
|
|
+%package plugins-st
|
|
|
+Summary: Simple Terminal plugin for Remmina Remote Desktop Client
|
|
|
+Summary(ja): Remmina のシンプルな端末プラグイン
|
|
|
+Requires: %{name}%{?_isa} = %{version}-%{release}
|
|
|
+
|
|
|
+%description plugins-st
|
|
|
+Remmina is a remote desktop client written in GTK+, aiming to be useful for
|
|
|
+system administrators and travelers, who need to work with lots of remote
|
|
|
+computers in front of either large monitors or tiny net-books.
|
|
|
+
|
|
|
+This package contains the Simple Terminal plugin for the Remmina remote desktop
|
|
|
+client.
|
|
|
+
|
|
|
+
|
|
|
%package plugins-vnc
|
|
|
Summary: VNC plugin for Remmina Remote Desktop Client
|
|
|
Summary(ja): Remmina の VNC プラグイン
|
|
|
Group: User Interface/Desktops
|
|
|
-Requires: %{name}-plugins-common = %{version}-%{release}
|
|
|
+Requires: %{name} = %{version}-%{release}
|
|
|
|
|
|
%description plugins-vnc
|
|
|
Remmina is a remote desktop client written in GTK+, aiming to be
|
|
@@ -185,7 +182,7 @@ client.
|
|
|
Summary: XDMCP plugin for Remmina Remote Desktop Client
|
|
|
Summary(ja): Remmina の XDMCP プラグイン
|
|
|
Group: User Interface/Desktops
|
|
|
-Requires: %{name}-plugins-common = %{version}-%{release}
|
|
|
+Requires: %{name} = %{version}-%{release}
|
|
|
Requires: xorg-x11-server-Xephyr
|
|
|
|
|
|
%description plugins-xdmcp
|
|
@@ -198,75 +195,60 @@ This package contains the XDMCP plugin for the Remmina remote desktop
|
|
|
client.
|
|
|
|
|
|
|
|
|
-%prep
|
|
|
-%setup -qn FreeRDP-Remmina-356c033
|
|
|
-
|
|
|
-cp %{SOURCE10} remmina/po/ja.po
|
|
|
-
|
|
|
-%patch0 -p1 -b .fix-library-name
|
|
|
-%patch1 -p1 -b .linker-error
|
|
|
-
|
|
|
-%patch2 -p1 -b .add-clipboard-support
|
|
|
-%patch3 -p1 -b .clipboard-bugfix
|
|
|
-%patch4 -p1 -b .some-more-clipboard-fixes
|
|
|
-%patch5 -p1 -b .disconnect-signal-handler
|
|
|
+%package gnome-session
|
|
|
+Summary: Gnome Shell session for Remmina kiosk mode
|
|
|
+Summary(ja): Remmina の GNOME Shell セッション
|
|
|
+Requires: %{name}%{?_isa} = %{version}-%{release}
|
|
|
+Requires: gnome-session
|
|
|
|
|
|
-%patch10 -p1 -b .fix-crashes-in-some-cases
|
|
|
-%patch11 -p1 -b .fix-memory-leak
|
|
|
+%description gnome-session
|
|
|
+Remmina is a remote desktop client written in GTK+, aiming to be useful for
|
|
|
+system administrators and travelers, who need to work with lots of remote
|
|
|
+computers in front of either large monitors or tiny net-books.
|
|
|
|
|
|
-%patch20 -p0 -b .dsofix
|
|
|
+This package contains Remmina kiosk mode, including a Gnome Shell session
|
|
|
+that shows up under the display manager session menu.
|
|
|
|
|
|
-%patch100 -p1 -b .vte3
|
|
|
|
|
|
-# Don't hardcode libdir
|
|
|
-sed -i "s,/lib/remmina/plugins,/%{_lib}/remmina/plugins,g" CMakeLists.txt
|
|
|
+%prep
|
|
|
+%autosetup -n Remmina-v%{version}
|
|
|
|
|
|
%build
|
|
|
mkdir -p build
|
|
|
-pushd build
|
|
|
|
|
|
LDFLAGS="-Wl,-z,relro -Wl,--no-as-needed"
|
|
|
|
|
|
-%cmake \
|
|
|
- -DWITH_PTHREAD=ON \
|
|
|
+%cmake --build=build \
|
|
|
+ -DCMAKE_INSTALL_LIBDIR=%{_lib} \
|
|
|
+ -DCMAKE_INSTALL_PREFIX=%{_prefix} \
|
|
|
+ -DWITH_APPINDICATOR=NO \
|
|
|
+ -DWITH_AVAHI=ON \
|
|
|
+ -DWITH_FREERDP=ON \
|
|
|
-DWITH_GCRYPT=ON \
|
|
|
- -DWITH_LIBSSH=ON \
|
|
|
- -DWITH_VTE=ON \
|
|
|
-DWITH_GETTEXT=ON \
|
|
|
-DWITH_LIBSSH=ON \
|
|
|
- -DWITH_FREERDP=ON \
|
|
|
+ -DWITH_PTHREAD=ON \
|
|
|
+ -DWITH_LIBSSH=ON \
|
|
|
-DWITH_TELEPATHY=ON \
|
|
|
+ -DWITH_VTE=ON \
|
|
|
-DWITH_ZLIB=ON \
|
|
|
-DWITH_GETTEXT=ON \
|
|
|
- -DWITH_AVAHI=ON \
|
|
|
- -DWITH_APPINDICATOR=OFF \
|
|
|
-LIBVNCSERVER_INCLUDE_DIRS=%{_includedir} \
|
|
|
- -DCMAKE_INSTALL_LIBDIR=%{_libdir} \
|
|
|
- ..
|
|
|
+ .
|
|
|
|
|
|
make %{?_smp_mflags}
|
|
|
-popd
|
|
|
|
|
|
%install
|
|
|
rm -rf %{buildroot}
|
|
|
# make install DESTDIR=%{buildroot}
|
|
|
-make install/fast DESTDIR=%{buildroot} -C build
|
|
|
-
|
|
|
-
|
|
|
-# dirty hack as desktop file does not get built.
|
|
|
-sed 's,^_,,g' remmina/desktop/remmina.desktop.in > remmina/desktop/remmina.desktop
|
|
|
+%makeinstall DESTDIR=%{buildroot}
|
|
|
|
|
|
-# another dirty hack
|
|
|
-mv %{buildroot}/usr/share/remmina/icons %{buildroot}/usr/share/icons
|
|
|
-
|
|
|
-desktop-file-install --vendor="" --delete-original \
|
|
|
- --add-category="RemoteAccess" \
|
|
|
- --remove-key="Actions" \
|
|
|
- --dir %{buildroot}%{_datadir}/applications \
|
|
|
- remmina/desktop/remmina.desktop
|
|
|
+mkdir -p %{buildroot}/%{_libdir}/cmake/%{name}/
|
|
|
+cp -pr cmake/*.cmake %{buildroot}/%{_libdir}/cmake/%{name}/
|
|
|
+cp -pr config.h.in %{buildroot}/%{_includedir}/%{name}/
|
|
|
+cp -p %{SOURCE1} %{buildroot}/%{_includedir}/%{name}/
|
|
|
|
|
|
%find_lang %{name}
|
|
|
-%find_lang %{name}-plugins
|
|
|
|
|
|
%clean
|
|
|
rm -rf $RPM_BUILD_ROOT
|
|
@@ -292,60 +274,85 @@ fi
|
|
|
|
|
|
%files -f %{name}.lang
|
|
|
%defattr(-,root,root,-)
|
|
|
-# FIXME: Add NEWS if not empty
|
|
|
-%doc remmina/AUTHORS remmina/ChangeLog remmina/COPYING README
|
|
|
+%license LICENSE
|
|
|
+%doc AUTHORS ChangeLog README.md
|
|
|
%{_bindir}/%{name}
|
|
|
+%{_datadir}/metainfo/*.appdata.xml
|
|
|
%{_datadir}/applications/*.desktop
|
|
|
-%{_datadir}/icons/hicolor/*/*/*.*
|
|
|
+%{_datadir}/icons/hicolor/*/actions/*.*
|
|
|
+%{_datadir}/icons/hicolor/*/apps/*.*
|
|
|
+%{_datadir}/icons/hicolor/*/emblems/remmina-*.svg
|
|
|
+%{_datadir}/mime/packages/*.xml
|
|
|
%{_datadir}/%{name}/
|
|
|
+%dir %{_libdir}/remmina/
|
|
|
+%dir %{_libdir}/remmina/plugins/
|
|
|
+%{_mandir}/man1/%{name}.*
|
|
|
|
|
|
%files devel
|
|
|
%defattr(-,root,root,-)
|
|
|
%doc
|
|
|
%{_includedir}/%{name}/
|
|
|
%{_libdir}/pkgconfig/%{name}.pc
|
|
|
+%{_libdir}/cmake/%{name}/*.cmake
|
|
|
|
|
|
-%files plugins-common -f %{name}-plugins.lang
|
|
|
-%defattr(-,root,root,-)
|
|
|
-# FIXME: Add docs once there are some *proper* ones
|
|
|
-#%doc remmina-plugins/AUTHORS remmina-plugins/COPYING
|
|
|
-%dir %{_libdir}/remmina/
|
|
|
-%dir %{_libdir}/remmina/plugins/
|
|
|
+%files plugins-exec
|
|
|
+%{_libdir}/remmina/plugins/remmina-plugin-exec.so
|
|
|
|
|
|
-%files plugins-gnome
|
|
|
+%files plugins-secret
|
|
|
%defattr(-,root,root,-)
|
|
|
-%{_libdir}/remmina/plugins/remmina-plugins-gnome.so
|
|
|
+%{_libdir}/remmina/plugins/remmina-plugin-secret.so
|
|
|
|
|
|
%files plugins-nx
|
|
|
%defattr(-,root,root,-)
|
|
|
%{_libdir}/remmina/plugins/remmina-plugin-nx.so
|
|
|
-%{_datadir}/icons/hicolor/*/emblems/remmina-nx.png
|
|
|
+%{_datadir}/icons/hicolor/*/emblems/remmina-nx-symbolic.svg
|
|
|
|
|
|
%files plugins-rdp
|
|
|
%defattr(-,root,root,-)
|
|
|
%{_libdir}/remmina/plugins/remmina-plugin-rdp.so
|
|
|
-%{_datadir}/icons/hicolor/*/emblems/remmina-rdp-ssh.png
|
|
|
-%{_datadir}/icons/hicolor/*/emblems/remmina-rdp.png
|
|
|
+%{_datadir}/icons/hicolor/*/emblems/remmina-rdp-ssh-symbolic.svg
|
|
|
+%{_datadir}/icons/hicolor/*/emblems/remmina-rdp-symbolic.svg
|
|
|
|
|
|
%files plugins-telepathy
|
|
|
%defattr(-,root,root,-)
|
|
|
%{_libdir}/remmina/plugins/remmina-plugin-telepathy.so
|
|
|
-#%{_datadir}/dbus-1/services/org.freedesktop.Telepathy.Client.Remmina.service
|
|
|
-#%{_datadir}/telepathy/clients/Remmina.client
|
|
|
+%{_datadir}/dbus-1/services/org.freedesktop.Telepathy.Client.Remmina.service
|
|
|
+%{_datadir}/telepathy/clients/Remmina.client
|
|
|
+
|
|
|
+%files plugins-st
|
|
|
+%{_libdir}/remmina/plugins/remmina-plugin-st.so
|
|
|
+%{_datadir}/icons/hicolor/*/emblems/remmina-tool-symbolic.svg
|
|
|
|
|
|
%files plugins-vnc
|
|
|
%defattr(-,root,root,-)
|
|
|
%{_libdir}/remmina/plugins/remmina-plugin-vnc.so
|
|
|
-%{_datadir}/icons/hicolor/*/emblems/remmina-vnc-ssh.png
|
|
|
-%{_datadir}/icons/hicolor/*/emblems/remmina-vnc.png
|
|
|
+%{_datadir}/icons/hicolor/*/emblems/remmina-vnc-ssh-symbolic.svg
|
|
|
+%{_datadir}/icons/hicolor/*/emblems/remmina-vnc-symbolic.svg
|
|
|
|
|
|
%files plugins-xdmcp
|
|
|
%defattr(-,root,root,-)
|
|
|
%{_libdir}/remmina/plugins/remmina-plugin-xdmcp.so
|
|
|
-%{_datadir}/icons/hicolor/*/emblems/remmina-xdmcp-ssh.png
|
|
|
-%{_datadir}/icons/hicolor/*/emblems/remmina-xdmcp.png
|
|
|
+%{_datadir}/icons/hicolor/*/emblems/remmina-xdmcp-ssh-symbolic.svg
|
|
|
+%{_datadir}/icons/hicolor/*/emblems/remmina-xdmcp-symbolic.svg
|
|
|
+
|
|
|
+%files gnome-session
|
|
|
+%{_bindir}/gnome-session-remmina
|
|
|
+%{_bindir}/remmina-gnome
|
|
|
+%{_datadir}/gnome-session/sessions/remmina-gnome.session
|
|
|
+%{_datadir}/xsessions/remmina-gnome.desktop
|
|
|
+%{_mandir}/man1/gnome-session-remmina.1.*
|
|
|
+%{_mandir}/man1/remmina-gnome.1.*
|
|
|
|
|
|
%changelog
|
|
|
+* Sun Dec 02 2018 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> 1.2.32.1-1
|
|
|
+- new upstream release.
|
|
|
+- dropped all patches.
|
|
|
+- dropped Source10.
|
|
|
+- added Source1.
|
|
|
+- droped a subpackage 'remmina-plugins-common'.
|
|
|
+- renamed a subpackage 'remmina-plugins-gnome' to 'remmina-plugins-secret'.
|
|
|
+- added subpackages 'remmina-{plugins-{exec,st},gnome-session}'.
|
|
|
+
|
|
|
* Fri Feb 26 2016 Satoshi IWAMOTO <satoshi.iwamoto@nifty.ne.jp> 1.0.0-5
|
|
|
- rebuild with libssh 0.7.3
|
|
|
|