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