# Main branch is the "next" branch, not master %global commit0 2c0a77e125567ea1d7cbbe1ec0eabc9327e007d3 %global date 20170424 %global shortcommit0 %%(c=%%{commit0}; echo ${c:0:7}) # RC releases #%%global snapshot rcgit.18 Name: remmina Version: 1.2.0 Release: 0.34%{?snapshot:.%{snapshot}}%{?shortcommit0:.%{date}git%{shortcommit0}}%{?dist} Summary: Remote Desktop Client License: GPLv2+ and MIT URL: http://remmina.sourceforge.net %if %{?snapshot}0 Source0: https://github.com/FreeRDP/Remmina/archive/v%{version}%{?snapshot:-%{snapshot}}.tar.gz#/Remmina-%{version}%{?snapshot:-%{snapshot}}.tar.gz %else Source0: https://github.com/FreeRDP/Remmina/archive/%{commit0}/Remmina-%{commit0}.tar.gz#/Remmina-%{shortcommit0}.tar.gz %endif # 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 BuildRequires: cmake >= 2.8 BuildRequires: desktop-file-utils BuildRequires: gettext BuildRequires: intltool BuildRequires: libappstream-glib BuildRequires: libgcrypt-devel BuildRequires: pkgconfig(appindicator3-0.1) BuildRequires: pkgconfig(avahi-ui) >= 0.6.30 BuildRequires: pkgconfig(avahi-ui-gtk3) >= 0.6.30 BuildRequires: pkgconfig(freerdp2) BuildRequires: pkgconfig(gtk+-3.0) BuildRequires: pkgconfig(libsecret-1) BuildRequires: pkgconfig(libssh) >= 0.6 BuildRequires: pkgconfig(libvncserver) BuildRequires: pkgconfig(spice-client-gtk-3.0) BuildRequires: pkgconfig(vte-2.91) BuildRequires: pkgconfig(xkbfile) # We don't ship the remmina-plugins-telepathy package any longer Provides: remmina-plugins-telepathy = %{version} Obsoletes: remmina-plugins-telepathy < %{version}-%{release} %if 0%{?fedora} > 23 Recommends: remmina-plugins-nx remmina-plugins-rdp Recommends: remmina-plugins-gnome remmina-plugins-vnc remmina-plugins-xdmcp %endif %description 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. Remmina supports multiple network protocols in an integrated and consistent user interface. Currently RDP, VNC, XDMCP and SSH are supported. Please don't forget to install the plugins for the protocols you want to use. %package devel Summary: Development files for %{name} Requires: %{name} = %{version}-%{release} Requires: pkgconfig %description devel The %{name}-devel package contains header files for developing plugins for %{name}. %package plugins-gnome Summary: GNOME keyring integration for Remmina Remote Desktop Client Requires: %{name}%{?_isa} = %{version}-%{release} %description plugins-gnome 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 plugin with GNOME keyring support for the Remmina remote desktop client. %package plugins-nx Summary: NX plugin for Remmina Remote Desktop Client Requires: %{name}%{?_isa} = %{version}-%{release} Requires: nxproxy %description plugins-nx 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 NX plugin for the Remmina remote desktop client. %package plugins-rdp Summary: RDP plugin for Remmina Remote Desktop Client Requires: %{name}%{?_isa} = %{version}-%{release} %description plugins-rdp 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 Remote Desktop Protocol (RDP) plugin for the Remmina remote desktop client. %package plugins-vnc Summary: VNC plugin for Remmina Remote Desktop Client Requires: %{name}%{?_isa} = %{version}-%{release} %description plugins-vnc 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 VNC plugin for the Remmina remote desktop client. %package plugins-xdmcp Summary: XDMCP plugin for Remmina Remote Desktop Client Requires: %{name}%{?_isa} = %{version}-%{release} Requires: xorg-x11-server-Xephyr %description plugins-xdmcp 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 XDMCP plugin for the Remmina remote desktop client. %package plugins-spice Summary: SPICE plugin for Remmina Remote Desktop Client Requires: %{name}%{?_isa} = %{version}-%{release} %description plugins-spice 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 SPICE plugin for the Remmina remote desktop client. %prep %setup -qn Remmina-%{?snapshot:%{version}-%{snapshot}}%{?commit0} %build mkdir -p build %cmake --build=build \ -DCMAKE_INSTALL_LIBDIR=%{_lib} \ -DCMAKE_INSTALL_PREFIX=%{_prefix} \ -DCMAKE_INSTALL_COMPONENT=1 \ -DWITH_APPINDICATOR=ON \ -DWITH_AVAHI=ON \ -DWITH_FREERDP=ON \ -DWITH_GCRYPT=ON \ -DWITH_GETTEXT=ON \ -DWITH_LIBSSH=ON \ -DWITH_SPICE=ON \ -DWITH_SURVEY=OFF \ -DWITH_TELEPATHY=OFF \ -DWITH_VTE=ON \ -DWITH_ZLIB=ON \ -DGIT_REVISION=%{commit0} \ . make %{?_smp_mflags} %install %make_install desktop-file-validate %{buildroot}/%{_datadir}/applications/%{name}.desktop appstream-util validate-relax --nonet %{buildroot}/%{_datadir}/appdata/%{name}.appdata.xml 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} %post touch --no-create %{_datadir}/icons/hicolor &>/dev/null || : %post plugins-nx touch --no-create %{_datadir}/icons/hicolor &>/dev/null || : %post plugins-rdp touch --no-create %{_datadir}/icons/hicolor &>/dev/null || : %post plugins-vnc touch --no-create %{_datadir}/icons/hicolor &>/dev/null || : %post plugins-xdmcp touch --no-create %{_datadir}/icons/hicolor &>/dev/null || : %post plugins-spice touch --no-create %{_datadir}/icons/hicolor &>/dev/null || : %postun if [ $1 -eq 0 ] ; then touch --no-create %{_datadir}/icons/hicolor &>/dev/null gtk-update-icon-cache %{_datadir}/icons/hicolor &>/dev/null || : fi %postun plugins-nx if [ $1 -eq 0 ] ; then touch --no-create %{_datadir}/icons/hicolor &>/dev/null gtk-update-icon-cache %{_datadir}/icons/hicolor &>/dev/null || : fi %postun plugins-rdp if [ $1 -eq 0 ] ; then touch --no-create %{_datadir}/icons/hicolor &>/dev/null gtk-update-icon-cache %{_datadir}/icons/hicolor &>/dev/null || : fi %postun plugins-vnc if [ $1 -eq 0 ] ; then touch --no-create %{_datadir}/icons/hicolor &>/dev/null gtk-update-icon-cache %{_datadir}/icons/hicolor &>/dev/null || : fi %postun plugins-xdmcp if [ $1 -eq 0 ] ; then touch --no-create %{_datadir}/icons/hicolor &>/dev/null gtk-update-icon-cache %{_datadir}/icons/hicolor &>/dev/null || : fi %postun plugins-spice if [ $1 -eq 0 ] ; then touch --no-create %{_datadir}/icons/hicolor &>/dev/null gtk-update-icon-cache %{_datadir}/icons/hicolor &>/dev/null || : fi %posttrans gtk-update-icon-cache %{_datadir}/icons/hicolor &>/dev/null || : %posttrans plugins-nx gtk-update-icon-cache %{_datadir}/icons/hicolor &>/dev/null || : %posttrans plugins-rdp gtk-update-icon-cache %{_datadir}/icons/hicolor &>/dev/null || : %posttrans plugins-vnc gtk-update-icon-cache %{_datadir}/icons/hicolor &>/dev/null || : %posttrans plugins-xdmcp gtk-update-icon-cache %{_datadir}/icons/hicolor &>/dev/null || : %posttrans plugins-spice gtk-update-icon-cache %{_datadir}/icons/hicolor &>/dev/null || : %files -f %{name}.lang %{!?_licensedir:%global license %%doc} %license LICENSE %doc AUTHORS ChangeLog README.md %{_bindir}/%{name} %{_datadir}/appdata/*.appdata.xml %{_datadir}/applications/*.desktop %{_datadir}/icons/hicolor/*/actions/*.* %{_datadir}/icons/hicolor/*/apps/*.* %{_datadir}/icons/hicolor/*/emblems/remmina-sftp.png %{_datadir}/%{name}/ %dir %{_libdir}/remmina/ %dir %{_libdir}/remmina/plugins/ %{_mandir}/man1/%{name}.* %files devel %{_includedir}/%{name}/ %{_libdir}/pkgconfig/%{name}.pc %{_libdir}/cmake/%{name}/*.cmake %files plugins-gnome %{_libdir}/remmina/plugins/remmina-plugins-gnome.so %files plugins-nx %{_libdir}/remmina/plugins/remmina-plugin-nx.so %{_datadir}/icons/hicolor/*/emblems/remmina-nx.png %files plugins-rdp %{_libdir}/remmina/plugins/remmina-plugin-rdp.so %{_datadir}/icons/hicolor/*/emblems/remmina-rdp-ssh.png %{_datadir}/icons/hicolor/*/emblems/remmina-rdp.png %files plugins-vnc %{_libdir}/remmina/plugins/remmina-plugin-vnc.so %{_datadir}/icons/hicolor/*/emblems/remmina-vnc-ssh.png %{_datadir}/icons/hicolor/*/emblems/remmina-vnc.png %files plugins-xdmcp %{_libdir}/remmina/plugins/remmina-plugin-xdmcp.so %{_datadir}/icons/hicolor/*/emblems/remmina-xdmcp-ssh.png %{_datadir}/icons/hicolor/*/emblems/remmina-xdmcp.png %files plugins-spice %{_libdir}/remmina/plugins/remmina-plugin-spice.so %{_datadir}/icons/hicolor/*/emblems/remmina-spice.png %changelog * Mon Apr 24 2017 Simone Caronni - 1.2.0-0.34.20170424git2c0a77e - Update to latest snapshot. * Wed Mar 22 2017 Simone Caronni - 1.2.0-0.33.20170317git4d8d257 - Update to latest snapshot. * Thu Mar 09 2017 Simone Caronni - 1.2.0-0.32.20170302git1da1fb6 - Remove non-working telepathy plugin. * Thu Mar 02 2017 Simone Caronni - 1.2.0-0.31.20170302git1da1fb6 - Update to latest snapshot. * Wed Feb 15 2017 Rex Dieter - 1.2.0-0.30.20161226gitd1a4a73 - rebuild (libvncserver) * Sat Feb 11 2017 Fedora Release Engineering - 1.2.0-0.29.20161226gitd1a4a73 - Rebuilt for https://fedoraproject.org/wiki/Fedora_26_Mass_Rebuild * Mon Jan 09 2017 Simone Caronni - 1.2.0-0.28.20161226gitd1a4a73 - Switch to latest snapshot of the next branch. * Sat Dec 03 2016 Simone Caronni - 1.2.0-0.27.20161126git35604d5 - Update to latest code drop from the libfreerdp_updates branch. * Fri Nov 04 2016 Simone Caronni - 1.2.0-0.26.20161104git80a77b8 - Update to latest snapshot. - Still not building properly with FreeRDP: https://github.com/FreeRDP/Remmina/issues/1028 * Fri Oct 14 2016 Simone Caronni - 1.2.0-0.25.20161010gitaeaae39 - Update to latest snapshot. * Sat Oct 08 2016 Simone Caronni - 1.2.0-0.24.20161004git88f490d - Update to latest snapshot. * Tue Sep 20 2016 Simone Caronni - 1.2.0-0.23.20160914git42f5a87 - Update to latest snapshot, update release to follow packaging guidelines. * Sat Aug 27 2016 Pavel Alexeev - 1.2.0-0.22.git.679bb8e - Provide GIT_REVISION to cmake for use in version. * Tue Aug 16 2016 Pavel Alexeev - 1.2.0-0.21.git.679bb8e - Update to try solve issues with tray icons - https://github.com/FreeRDP/Remmina/issues/944#issuecomment-239913278 - Drop old issue 292 hack. - Conditionally allow build by hash or pre-releases. * Fri Aug 12 2016 Simone Caronni - 1.2.0-0.20.git.cbcb19e - Update to latest snapshot. * Thu Jun 23 2016 Simone Caronni - 1.2.0-0.19.rcgit.14 - Rebuild for spice-gtk upgrade. * Tue Jun 21 2016 Simone Caronni - 1.2.0-0.18.rcgit.14 - Update to version 1.2.0-rcgit.14. * Tue Jun 07 2016 Simone Caronni - 1.2.0-0.17.rcgit.13 - Use "snapshot" name only once in the SPEC file. * Tue Jun 07 2016 Simone Caronni - 1.2.0-0.16.rcgit.12 - Update to version 12.0-rcgit.13, enable SPICE plugin, update cmake options. * Fri May 20 2016 David Woodhouse - 1.2.0-0.15.rcgit.12 - Disable survey, as it has build problems * Fri May 20 2016 David Woodhouse - 1.2.0-0.14.rcgit.12 - Update to version 12.0-rcgit.12. * Thu Feb 04 2016 Fedora Release Engineering - 1.2.0-0.13.rcgit.7 - Rebuilt for https://fedoraproject.org/wiki/Fedora_24_Mass_Rebuild * Sat Jan 02 2016 Pavel Alexeev - 1.2.0-0.12.rcgit.7 - Update to version 1.2.0-rcgit.7. * Fri Jan 01 2016 Pavel Alexeev - 1.2.0-0.11.git.b43697d - Recommends all plugins by suggestion bz#1241658. * Sun Dec 13 2015 Simone Caronni - 1.2.0-0.10.git.b43697d - Update to latest snapshot (1.2.0.rcgit.6), Wayland backend has been disabled. * Sun Nov 15 2015 Simone Caronni - 1.2.0-0.9.git.8855df7 - Update to latest snapshot. - Update to new packaging guidelines for GitHub sources and license tag. - Bump FreeRDP requirement to make it more explicit. * Thu Jun 18 2015 Fedora Release Engineering - 1.2.0-0.8.git.b3237e8 - Rebuilt for https://fedoraproject.org/wiki/Fedora_23_Mass_Rebuild * Fri Jun 05 2015 Simone Caronni - 1.2.0-0.7.git.b3237e8 - Re-add appindicator support. See: https://lists.fedoraproject.org/pipermail/devel/2015-June/211121.html https://lists.fedoraproject.org/pipermail/devel/2014-March/196343.html * Wed Jun 03 2015 Simone Caronni - 1.2.0-0.6.git.b3237e8 - Remove appindicator support. * Fri May 01 2015 Simone Caronni - 1.2.0-0.5.git.b3237e8 - Update to latest snapshot (post 1.2.0-rcgit.3). * Tue Mar 17 2015 Simone Caronni - 1.2.0-0.4.git.b3e339e - Update build requirements. * Tue Feb 24 2015 Simone Caronni - 1.2.0-0.3.git.b3e339e - Update to latest 1.2.0 snapshot (post 1.2.0-rcgit.2) for updated FreeRDP. - Require latest FreeRDP snapshot for building. - Remove upstream patch. - Format and sort BuildRequires, add AppData file. * Tue Dec 16 2014 Simone Caronni - 1.2.0-0.1.rcgit.1 - Update to latest 1.2.0 snapshot. - Require latest FreeRDP 1.2.0-beta1+android9 for building. - External tools now in datadir, use upstream commit for it. - Removed upstreamed patch. * Thu Oct 23 2014 Pavel Alexeev - 1.1.1-2.git.efb7b5f - Try enable APPINDICATOR by suggestion of Giovanni Panozzo. * Tue Oct 21 2014 Simone Caronni - 1.1.1-1.git.efb7b5f - Update to latest snapshot, version now at 1.1.1. Remove upstreamed patch. - Full GTK3 version removed and moved to 1.2.0 branch. - Add patch that was lost upstram in the various branching. * Wed Sep 3 2014 Orion Poplawski - 1.0.0-15.git.65d2ca4 - Have remmina-plugins-nx require nxproxy (bug #1004860) * Sun Aug 17 2014 Fedora Release Engineering - 1.0.0-14.git.65d2ca4 - Rebuilt for https://fedoraproject.org/wiki/Fedora_21_22_Mass_Rebuild * Fri Aug 15 2014 Pavel Alexeev - 1.0.0-13.git.65d2ca4 - Add Patch0: remmina-1.0-clipboard-fix.patch - Update to 65d2ca4872150942cced1fbe92248dd933e9c0cb * Mon Aug 11 2014 Pavel Alexeev - 1.0.0-12.git.1470c97 - Include in devel sub-package for build external plugins: o %%{_libdir}/cmake/%%{name}/*.cmake o config.h.in o Source1: pluginBuild-CMakeLists.txt (with short instructions inside) - Fix error installing devel files /usr/include/remmina/*.h (hack!) * Fri Jul 18 2014 Simone Caronni - 1.0.0-11.git.1470c97 - Update to latest snapshot. - Release number bumped to 1.2.0 beta 1 and then reverted to 1.0.0 upstram, adjust accordingly. - Desktop file fixed upstream, remove sed line. - Package grdc, qtnx, gnome-applet-remmina and xfce4-remmina-plugin are not required anymore by any package. - Remove requirement on freerdp binary for plugins-rdp. * Sun Jun 08 2014 Fedora Release Engineering - 1.1.0-0.3.git.26b814a - Rebuilt for https://fedoraproject.org/wiki/Fedora_21_Mass_Rebuild * Tue May 27 2014 Simone Caronni - 1.1.0-0.2.git.26b814a - Remove Group tags. - Fix file list. - Remove duplicate buildrequires. - Fix rpmlint errors. * Mon May 19 2014 Pavel Alexeev - 1.1.0-0.1.git.26b814a - Try build master branch with new freerdp 1.2 in rawhide (https://github.com/FreeRDP/Remmina/issues/193) - Some spec cleanup. - Drop all patches. - Fix desktop file installation, remove --remove-key="Actions" option. - Fix %%doc files path. - Drop strange external_tools installed in $HOME/.remmina - Bump BuildRequires: freerdp-devel to version >= 1.2.0 * Thu Apr 24 2014 Tomáš Mráz - 1.0.0-10 - Rebuild for new libgcrypt * Mon Dec 02 2013 Orion Poplawski - 1.0.0-9 - Obsolete/Provide qtnx (Bug #1034046) * Sun Aug 04 2013 Fedora Release Engineering - 1.0.0-8 - Rebuilt for https://fedoraproject.org/wiki/Fedora_20_Mass_Rebuild * Tue May 07 2013 Christoph Wickert - 1.0.0-7 - Fix scrolling in VNC (#830210) - Handle GDK_SCROLL_SMOOTH in VNC and RDP - Bring back the --icon/-i autostart option (#834883) - Fix fullscreen with multiple monitors (#864262) - Resize window to fit remote resolution (#953678) - Enable TLS-support in VNC plugin - Close SSH tunnels on disconnect (https://github.com/FreeRDP/Remmina/issues/77) - Patch out copy of libvncserver shipped in source tarball - Update icon cache also for plugins - Drop the remmina-plugins-common package - Drop Provides/Obsoletes for grdc - Spec file clean-up * Thu Feb 14 2013 Fedora Release Engineering - 1.0.0-6 - Rebuilt for https://fedoraproject.org/wiki/Fedora_19_Mass_Rebuild * Sat Jul 21 2012 Fedora Release Engineering - 1.0.0-5 - Rebuilt for https://fedoraproject.org/wiki/Fedora_18_Mass_Rebuild * Sat Jun 09 2012 Christoph Wickert - 1.0.0-4 - Fix DSO linking against gnutls (#819976) * Sun Jun 03 2012 Christoph Wickert - 1.0.0-3 - Fix crash introduced by clipboard support (#827756) * Fri Jun 01 2012 Christoph Wickert - 1.0.0-2 - Add clipboard support (#818155) - Fix a memory leak and a crash * Sun Apr 22 2012 Christoph Wickert - 1.0.0-1 - Update to 1.0.0 - Plugins are now part of this package (again) - Fix two linker errors - Add VCS key * Sat Jan 14 2012 Fedora Release Engineering - 0.9.3-5 - Rebuilt for https://fedoraproject.org/wiki/Fedora_17_Mass_Rebuild * Tue Dec 06 2011 Adam Jackson - 0.9.3-4 - Rebuild for new libpng * Sat Mar 05 2011 Christoph Wickert - 0.9.3-3 - Fix obsoletes for for gnome-applet-remmina and xfce4-remmina-plugin * Wed Feb 09 2011 Fedora Release Engineering - 0.9.3-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_15_Mass_Rebuild * Wed Jan 19 2011 Christoph Wickert - 0.9.3-1 - Update to 0.9.3 * Sun Nov 28 2010 Christoph Wickert - 0.8.3-1 - Update to 0.8.3 - Plugins are in remmina-plugins now * Sat Nov 27 2010 Christoph Wickert - 0.7.5-3 - Enable 32-bit color depth (#656120) * Mon Jul 19 2010 Christoph Wickert - 0.7.5-2 - Fix menu entry (#616115) * Wed May 05 2010 Damien Durand - 0.7.5-1 - Upstream release, 0.7.5 - Remove the old "DSO" patch * Tue Mar 16 2010 Christoph Wickert - 0.7.4-2 - Add patch to fix DSO issue * Sat Feb 27 2010 Damien Durand 0.7.4-1 - Update to 0.7.4 - Fix License tag * Sun Feb 14 2010 Damien Durand 0.7.3-1 - Upstream release - Add rdesktop, xorg-x11-server-Xephyr in Requires - Add grdc in Provides/Obsoletes - Add --enable-vnc=dl in %%configure - Remove unneeded README.LibVNCServer - Fix "icons/hicolor" path * Thu Jan 07 2010 Damien Durand 0.7.2-2 - Fix Summary - Split BuildRequires * Thu Jan 07 2010 Damien Durand 0.7.2-1 - Initial release