[6956] | 1 | Summary: Remote Desktop Connection utility |
---|
| 2 | Summary(ja): リモートデスクトップ接続ユーティリティ |
---|
[2105] | 3 | Name: remmina |
---|
[6956] | 4 | Version: 1.0.0 |
---|
[9909] | 5 | Release: 4%{?_dist_release} |
---|
[2105] | 6 | |
---|
[9257] | 7 | License: GPLv2+ and MIT |
---|
| 8 | Group: User Interface/Desktops |
---|
| 9 | URL: http://remmina.sourceforge.net/ |
---|
| 10 | |
---|
[6956] | 11 | Source0: https://github.com/downloads/FreeRDP/Remmina/Remmina-%{version}.tar.gz |
---|
| 12 | #VCS: git:https://github.com/FreeRDP/Remmina.git |
---|
[2105] | 13 | |
---|
[6956] | 14 | # from lauchpad |
---|
| 15 | Source10: remmina-ja.po |
---|
| 16 | |
---|
| 17 | # The following two patches will fix some linking errors |
---|
| 18 | # https://github.com/FreeRDP/Remmina/commit/503a008e |
---|
| 19 | Patch0: remmina-1.0.0-fix-library-name.patch |
---|
| 20 | # https://github.com/FreeRDP/Remmina/commit/13f20367 |
---|
| 21 | Patch1: remmina-1.0.0-linker-error.patch |
---|
| 22 | |
---|
| 23 | # The following 4 patches are needed to add clipboard support (#818155) |
---|
| 24 | # https://github.com/FreeRDP/Remmina/commit/3ebdd6e7 |
---|
| 25 | Patch2: remmina-1.0.0-add-clipboard-support.patch |
---|
| 26 | # https://github.com/FreeRDP/Remmina/commit/97c2af8c |
---|
| 27 | Patch3: remmina-1.0.0-clipboard-bugfix.patch |
---|
| 28 | # https://github.com/FreeRDP/Remmina/commit/84327f81 |
---|
| 29 | Patch4: remmina-1.0.0-some-more-clipboard-fixes.patch |
---|
| 30 | # https://github.com/FreeRDP/Remmina/commit/c1ef3a16 |
---|
| 31 | Patch5: remmina-1.0.0-disconnect-signal-handler-after-disconnect.patch |
---|
| 32 | |
---|
| 33 | # https://github.com/FreeRDP/Remmina/commit/6ee20289 |
---|
| 34 | Patch10: remmina-1.0.0-fix-crashes-in-some-cases.patch |
---|
| 35 | # https://github.com/FreeRDP/Remmina/commit/b2277827 |
---|
| 36 | Patch11: remmina-1.0.0-fix-memory-leak.patch |
---|
| 37 | |
---|
| 38 | # https://bugzilla.redhat.com/show_bug.cgi?id=819976 |
---|
| 39 | Patch20: remmina-1.0.0-dsofix.patch |
---|
| 40 | |
---|
[9670] | 41 | Patch100: remmina-1.0.0-vte3.patch |
---|
| 42 | |
---|
[2105] | 43 | BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root |
---|
[6956] | 44 | BuildRequires: gtk3-devel |
---|
[9670] | 45 | BuildRequires: vte3-devel |
---|
[2105] | 46 | BuildRequires: libgcrypt-devel |
---|
| 47 | BuildRequires: libssh-devel |
---|
[4616] | 48 | BuildRequires: avahi-ui-devel |
---|
[6956] | 49 | BuildRequires: libxkbfile-devel |
---|
[4616] | 50 | BuildRequires: desktop-file-utils |
---|
[6956] | 51 | BuildRequires: gnutls-devel |
---|
| 52 | BuildRequires: libjpeg-devel |
---|
| 53 | BuildRequires: libvncserver-devel |
---|
[9257] | 54 | BuildRequires: libgnome-keyring-devel |
---|
| 55 | BuildRequires: freerdp-devel >= 1.0.1 |
---|
| 56 | BuildRequires: telepathy-glib-devel |
---|
[2105] | 57 | |
---|
[6956] | 58 | BuildRequires: cmake |
---|
| 59 | BuildRequires: gettext |
---|
| 60 | BuildRequires: intltool |
---|
| 61 | |
---|
[2105] | 62 | Obsoletes: grdc < 0.7.0 |
---|
| 63 | Provides: grdc = %{version} |
---|
[6956] | 64 | Obsoletes: remmina-gnome <= 0.7.3 |
---|
[2105] | 65 | |
---|
| 66 | %description |
---|
[9257] | 67 | Remmina is a remote desktop client written in GTK+, aiming to be |
---|
| 68 | useful for system administrators and travelers, who need to work |
---|
| 69 | with lots of remote computers in front of either large monitors or |
---|
| 70 | tiny netbooks. |
---|
[2105] | 71 | |
---|
| 72 | |
---|
[4616] | 73 | %package devel |
---|
| 74 | Summary: Development tools for remmina |
---|
| 75 | Summary(ja): remmina の開発環境 |
---|
| 76 | Group: Development/Libraries |
---|
| 77 | Requires: %{name} = %{version}-%{release} |
---|
| 78 | Requires: pkgconfig |
---|
| 79 | |
---|
| 80 | %description devel |
---|
| 81 | Header files and libraries for building a extension library for the |
---|
| 82 | remmina. |
---|
| 83 | |
---|
[6956] | 84 | %package plugins-common |
---|
| 85 | Summary: Common files for Remmina Remote Desktop Client plugins |
---|
| 86 | Summary(ja): Remmina プラグインの共通ファイル |
---|
[9257] | 87 | Group: User Interface/Desktops |
---|
[6956] | 88 | Requires: %{name} >= 0.9 |
---|
[4616] | 89 | |
---|
[6956] | 90 | %description plugins-common |
---|
| 91 | Remmina is a remote desktop client written in GTK+, aiming to be |
---|
| 92 | useful for system administrators and travelers, who need to work |
---|
| 93 | with lots of remote computers in front of either large monitors or |
---|
| 94 | tiny netbooks. |
---|
| 95 | |
---|
| 96 | This package contains files shared among all plugins for the Remmina |
---|
| 97 | remote desktop client. |
---|
| 98 | |
---|
| 99 | |
---|
| 100 | %package plugins-gnome |
---|
| 101 | Summary: GNOME keyring integration for Remmina Remote Desktop Client |
---|
[9257] | 102 | Summary(ja): Remmina の GNOMEキーリング統合 |
---|
| 103 | Group: User Interface/Desktops |
---|
| 104 | Requires: %{name}-plugins-common = %{version}-%{release} |
---|
[6956] | 105 | Requires: libgnome-keyring |
---|
| 106 | |
---|
| 107 | %description plugins-gnome |
---|
| 108 | Remmina is a remote desktop client written in GTK+, aiming to be |
---|
| 109 | useful for system administrators and travelers, who need to work |
---|
| 110 | with lots of remote computers in front of either large monitors or |
---|
| 111 | tiny netbooks. |
---|
| 112 | |
---|
| 113 | This package contains the plugin with GNOME keyring support for the |
---|
| 114 | Remmina remote desktop client. |
---|
| 115 | |
---|
| 116 | |
---|
| 117 | %package plugins-nx |
---|
| 118 | Summary: NX plugin for Remmina Remote Desktop Client |
---|
[9257] | 119 | Summary(ja): Remmina の NX プラグイン |
---|
| 120 | Group: User Interface/Desktops |
---|
| 121 | Requires: %{name}-plugins-common = %{version}-%{release} |
---|
| 122 | # temporally disabled |
---|
| 123 | #Requires: nx |
---|
[6956] | 124 | |
---|
| 125 | %description plugins-nx |
---|
| 126 | Remmina is a remote desktop client written in GTK+, aiming to be |
---|
| 127 | useful for system administrators and travelers, who need to work |
---|
| 128 | with lots of remote computers in front of either large monitors or |
---|
| 129 | tiny netbooks. |
---|
| 130 | |
---|
| 131 | This package contains the NX plugin for the Remmina remote desktop |
---|
| 132 | client. |
---|
| 133 | |
---|
| 134 | |
---|
| 135 | %package plugins-rdp |
---|
| 136 | Summary: RDP plugin for Remmina Remote Desktop Client |
---|
[9257] | 137 | Summary(ja): Remmina の RDP プラグイン |
---|
| 138 | Group: User Interface/Desktops |
---|
| 139 | Requires: %{name}-plugins-common = %{version}-%{release} |
---|
[6956] | 140 | Requires: freerdp |
---|
| 141 | |
---|
| 142 | %description plugins-rdp |
---|
| 143 | Remmina is a remote desktop client written in GTK+, aiming to be |
---|
| 144 | useful for system administrators and travelers, who need to work |
---|
| 145 | with lots of remote computers in front of either large monitors or |
---|
| 146 | tiny netbooks. |
---|
| 147 | |
---|
| 148 | This package contains the Remote Desktop Protocol (RDP) plugin for the |
---|
| 149 | Remmina remote desktop client. |
---|
| 150 | |
---|
| 151 | |
---|
| 152 | %package plugins-telepathy |
---|
| 153 | Summary: Telepathy plugin for Remmina Remote Desktop Client |
---|
[9257] | 154 | Summary(ja): Remmina の Telepathy プラグイン |
---|
| 155 | Group: User Interface/Desktops |
---|
| 156 | Requires: %{name}-plugins-common = %{version}-%{release} |
---|
[6956] | 157 | |
---|
| 158 | %description plugins-telepathy |
---|
| 159 | Remmina is a remote desktop client written in GTK+, aiming to be |
---|
| 160 | useful for system administrators and travelers, who need to work |
---|
| 161 | with lots of remote computers in front of either large monitors or |
---|
| 162 | tiny netbooks. |
---|
| 163 | |
---|
| 164 | This package contains the Telepathy plugin for the Remmina remote |
---|
| 165 | desktop client. |
---|
| 166 | |
---|
| 167 | |
---|
| 168 | %package plugins-vnc |
---|
| 169 | Summary: VNC plugin for Remmina Remote Desktop Client |
---|
[9257] | 170 | Summary(ja): Remmina の VNC プラグイン |
---|
| 171 | Group: User Interface/Desktops |
---|
| 172 | Requires: %{name}-plugins-common = %{version}-%{release} |
---|
[6956] | 173 | |
---|
| 174 | %description plugins-vnc |
---|
| 175 | Remmina is a remote desktop client written in GTK+, aiming to be |
---|
| 176 | useful for system administrators and travelers, who need to work |
---|
| 177 | with lots of remote computers in front of either large monitors or |
---|
| 178 | tiny netbooks. |
---|
| 179 | |
---|
| 180 | This package contains the VNC plugin for the Remmina remote desktop |
---|
| 181 | client. |
---|
| 182 | |
---|
| 183 | |
---|
| 184 | %package plugins-xdmcp |
---|
| 185 | Summary: XDMCP plugin for Remmina Remote Desktop Client |
---|
[9257] | 186 | Summary(ja): Remmina の XDMCP プラグイン |
---|
| 187 | Group: User Interface/Desktops |
---|
| 188 | Requires: %{name}-plugins-common = %{version}-%{release} |
---|
[6956] | 189 | Requires: xorg-x11-server-Xephyr |
---|
| 190 | |
---|
| 191 | %description plugins-xdmcp |
---|
| 192 | Remmina is a remote desktop client written in GTK+, aiming to be |
---|
| 193 | useful for system administrators and travelers, who need to work |
---|
| 194 | with lots of remote computers in front of either large monitors or |
---|
| 195 | tiny netbooks. |
---|
| 196 | |
---|
| 197 | This package contains the XDMCP plugin for the Remmina remote desktop |
---|
| 198 | client. |
---|
| 199 | |
---|
| 200 | |
---|
[2105] | 201 | %prep |
---|
[6956] | 202 | %setup -qn FreeRDP-Remmina-356c033 |
---|
[2105] | 203 | |
---|
[9670] | 204 | cp %{SOURCE10} remmina/po/ja.po |
---|
[2105] | 205 | |
---|
[6956] | 206 | %patch0 -p1 -b .fix-library-name |
---|
| 207 | %patch1 -p1 -b .linker-error |
---|
| 208 | |
---|
| 209 | %patch2 -p1 -b .add-clipboard-support |
---|
| 210 | %patch3 -p1 -b .clipboard-bugfix |
---|
| 211 | %patch4 -p1 -b .some-more-clipboard-fixes |
---|
| 212 | %patch5 -p1 -b .disconnect-signal-handler |
---|
| 213 | |
---|
| 214 | %patch10 -p1 -b .fix-crashes-in-some-cases |
---|
| 215 | %patch11 -p1 -b .fix-memory-leak |
---|
| 216 | |
---|
| 217 | %patch20 -p0 -b .dsofix |
---|
| 218 | |
---|
[9670] | 219 | %patch100 -p1 -b .vte3 |
---|
| 220 | |
---|
[6956] | 221 | # Don't hardcode libdir |
---|
| 222 | sed -i "s,/lib/remmina/plugins,/%{_lib}/remmina/plugins,g" CMakeLists.txt |
---|
| 223 | |
---|
[2105] | 224 | %build |
---|
[6956] | 225 | mkdir -p build |
---|
| 226 | pushd build |
---|
[2105] | 227 | |
---|
[6956] | 228 | LDFLAGS="-Wl,-z,relro -Wl,--no-as-needed" |
---|
| 229 | |
---|
| 230 | %cmake \ |
---|
| 231 | -DWITH_PTHREAD=ON \ |
---|
| 232 | -DWITH_GCRYPT=ON \ |
---|
| 233 | -DWITH_LIBSSH=ON \ |
---|
| 234 | -DWITH_VTE=ON \ |
---|
| 235 | -DWITH_GETTEXT=ON \ |
---|
| 236 | -DWITH_LIBSSH=ON \ |
---|
| 237 | -DWITH_FREERDP=ON \ |
---|
| 238 | -DWITH_TELEPATHY=ON \ |
---|
| 239 | -DWITH_ZLIB=ON \ |
---|
| 240 | -DWITH_GETTEXT=ON \ |
---|
| 241 | -DWITH_AVAHI=ON \ |
---|
| 242 | -DWITH_APPINDICATOR=OFF \ |
---|
| 243 | -LIBVNCSERVER_INCLUDE_DIRS=%{_includedir} \ |
---|
| 244 | -DCMAKE_INSTALL_LIBDIR=%{_libdir} \ |
---|
| 245 | .. |
---|
| 246 | |
---|
| 247 | make %{?_smp_mflags} |
---|
| 248 | popd |
---|
| 249 | |
---|
[2105] | 250 | %install |
---|
[6956] | 251 | rm -rf %{buildroot} |
---|
| 252 | # make install DESTDIR=%{buildroot} |
---|
| 253 | make install/fast DESTDIR=%{buildroot} -C build |
---|
[2105] | 254 | |
---|
[6956] | 255 | |
---|
| 256 | # dirty hack as desktop file does not get built. |
---|
| 257 | sed 's,^_,,g' remmina/desktop/remmina.desktop.in > remmina/desktop/remmina.desktop |
---|
| 258 | |
---|
| 259 | # another dirty hack |
---|
| 260 | mv %{buildroot}/usr/share/remmina/icons %{buildroot}/usr/share/icons |
---|
| 261 | |
---|
| 262 | desktop-file-install --vendor="" --delete-original \ |
---|
[2105] | 263 | --add-category="RemoteAccess" \ |
---|
[6956] | 264 | --remove-key="Actions" \ |
---|
| 265 | --dir %{buildroot}%{_datadir}/applications \ |
---|
| 266 | remmina/desktop/remmina.desktop |
---|
[2105] | 267 | |
---|
[6956] | 268 | %find_lang %{name} |
---|
| 269 | %find_lang %{name}-plugins |
---|
[2105] | 270 | |
---|
| 271 | %clean |
---|
| 272 | rm -rf $RPM_BUILD_ROOT |
---|
| 273 | |
---|
| 274 | %post |
---|
| 275 | update-desktop-database -q |
---|
| 276 | touch --no-create %{_datadir}/icons/hicolor |
---|
| 277 | if [ -x /usr/bin/gtk-update-icon-cache ]; then |
---|
[6956] | 278 | gtk-update-icon-cache -q %{_datadir}/icons/hicolor &>/dev/null ||: |
---|
[2105] | 279 | fi |
---|
| 280 | |
---|
| 281 | %postun |
---|
| 282 | update-desktop-database -q |
---|
| 283 | touch --no-create %{_datadir}/icons/hicolor |
---|
| 284 | if [ -x /usr/bin/gtk-update-icon-cache ]; then |
---|
[6956] | 285 | gtk-update-icon-cache -q %{_datadir}/icons/hicolor &>/dev/null ||: |
---|
[2105] | 286 | fi |
---|
| 287 | |
---|
[6956] | 288 | %posttrans |
---|
| 289 | if [ -x /usr/bin/gtk-update-icon-cache ]; then |
---|
| 290 | gtk-update-icon-cache -q %{_datadir}/icons/hicolor &>/dev/null ||: |
---|
| 291 | fi |
---|
| 292 | |
---|
| 293 | %files -f %{name}.lang |
---|
| 294 | %defattr(-,root,root,-) |
---|
| 295 | # FIXME: Add NEWS if not empty |
---|
| 296 | %doc remmina/AUTHORS remmina/ChangeLog remmina/COPYING README |
---|
[2105] | 297 | %{_bindir}/%{name} |
---|
| 298 | %{_datadir}/applications/*.desktop |
---|
[6956] | 299 | %{_datadir}/icons/hicolor/*/*/*.* |
---|
| 300 | %{_datadir}/%{name}/ |
---|
[2105] | 301 | |
---|
[4616] | 302 | %files devel |
---|
[6956] | 303 | %defattr(-,root,root,-) |
---|
| 304 | %doc |
---|
| 305 | %{_includedir}/%{name}/ |
---|
| 306 | %{_libdir}/pkgconfig/%{name}.pc |
---|
[2105] | 307 | |
---|
[6956] | 308 | %files plugins-common -f %{name}-plugins.lang |
---|
| 309 | %defattr(-,root,root,-) |
---|
| 310 | # FIXME: Add docs once there are some *proper* ones |
---|
| 311 | #%doc remmina-plugins/AUTHORS remmina-plugins/COPYING |
---|
| 312 | %dir %{_libdir}/remmina/ |
---|
| 313 | %dir %{_libdir}/remmina/plugins/ |
---|
[4616] | 314 | |
---|
[6956] | 315 | %files plugins-gnome |
---|
| 316 | %defattr(-,root,root,-) |
---|
| 317 | %{_libdir}/remmina/plugins/remmina-plugins-gnome.so |
---|
| 318 | |
---|
| 319 | %files plugins-nx |
---|
| 320 | %defattr(-,root,root,-) |
---|
| 321 | %{_libdir}/remmina/plugins/remmina-plugin-nx.so |
---|
| 322 | %{_datadir}/icons/hicolor/*/emblems/remmina-nx.png |
---|
| 323 | |
---|
| 324 | %files plugins-rdp |
---|
| 325 | %defattr(-,root,root,-) |
---|
| 326 | %{_libdir}/remmina/plugins/remmina-plugin-rdp.so |
---|
| 327 | %{_datadir}/icons/hicolor/*/emblems/remmina-rdp-ssh.png |
---|
| 328 | %{_datadir}/icons/hicolor/*/emblems/remmina-rdp.png |
---|
| 329 | |
---|
| 330 | %files plugins-telepathy |
---|
| 331 | %defattr(-,root,root,-) |
---|
| 332 | %{_libdir}/remmina/plugins/remmina-plugin-telepathy.so |
---|
| 333 | #%{_datadir}/dbus-1/services/org.freedesktop.Telepathy.Client.Remmina.service |
---|
| 334 | #%{_datadir}/telepathy/clients/Remmina.client |
---|
| 335 | |
---|
| 336 | %files plugins-vnc |
---|
| 337 | %defattr(-,root,root,-) |
---|
| 338 | %{_libdir}/remmina/plugins/remmina-plugin-vnc.so |
---|
| 339 | %{_datadir}/icons/hicolor/*/emblems/remmina-vnc-ssh.png |
---|
| 340 | %{_datadir}/icons/hicolor/*/emblems/remmina-vnc.png |
---|
| 341 | |
---|
| 342 | %files plugins-xdmcp |
---|
| 343 | %defattr(-,root,root,-) |
---|
| 344 | %{_libdir}/remmina/plugins/remmina-plugin-xdmcp.so |
---|
| 345 | %{_datadir}/icons/hicolor/*/emblems/remmina-xdmcp-ssh.png |
---|
| 346 | %{_datadir}/icons/hicolor/*/emblems/remmina-xdmcp.png |
---|
| 347 | |
---|
[2105] | 348 | %changelog |
---|
[9909] | 349 | * Wed Dec 30 2015 Yoji TOYODA <bsyamato@sea.plala.or.jp> 1.0.0-4 |
---|
| 350 | - rebuild with gnutls-3.4.7 |
---|
| 351 | |
---|
[9670] | 352 | * Sun Jul 19 2015 Yoji TOYODA <bsyamato@sea.plala.or.jp> 1.0.0-3 |
---|
| 353 | - change BuildRequires: vte3-devel instead of vte290-devel |
---|
| 354 | - add Pach100 (remmina-1.0.0-vte3.patch) |
---|
| 355 | |
---|
[9257] | 356 | * Mon Jan 12 2015 Ryoichi INAGAKI <ryo1@toki.waseda.jp> 1.0.0-2 |
---|
| 357 | - rebuilt with libgcrypt 1.6.0 and gnutls 3.2.20 |
---|
| 358 | - modified BR: vte290-devel instead of vte3-devel |
---|
| 359 | - moved to User Interface/Desktops Group |
---|
| 360 | |
---|
[6956] | 361 | * Fri Oct 19 2012 Daisuke SUZUKI <daisuke@linux.or.jp> 1.0.0-1 |
---|
| 362 | - Update to 1.0.0 |
---|
| 363 | - add BuildRequires |
---|
| 364 | - add patches from fedora package (upstream patches) |
---|
| 365 | - add subpackage for plugins |
---|
| 366 | |
---|
[4616] | 367 | * Thu Aug 18 2011 Yoji TOYODA <bsyamato@sea.plala.or.jp> 0.9.3-1 |
---|
| 368 | - new upstream release |
---|
| 369 | - add BuildRequires: avahi-ui-devel, vte-devel, unique-devel, desktop-file-utils |
---|
| 370 | - create devel sub package |
---|
| 371 | |
---|
[2105] | 372 | * Wed Mar 17 2010 Daisuke SUZUKI <daisuke@linux.or.jp> 0.7.4-1 |
---|
| 373 | - new upstream release with new name 'remmina' |
---|
| 374 | - add Obsoletes/Provides: grdc |
---|
| 375 | |
---|
| 376 | * Tue Sep 15 2009 Daisuke SUZUKI <daisuke@linux.or.jp> 0.6.0-1 |
---|
| 377 | - initial build for Vine Linux |
---|
| 378 | |
---|
| 379 | * Tue Jul 07 2009 slick50 <lxgator@gmail.com> 0.6.0-1pclos2009 |
---|
| 380 | - new version 0.6.0 |
---|
| 381 | |
---|
| 382 | * Sun May 17 2009 don_crissti <don_crissti@gmx.com> 0.5.1-1pclos2009 |
---|
| 383 | - build for PCLOS |
---|
| 384 | |
---|