[11966] | 1 | %define _unpackaged_files_terminate_build 1 |
---|
| 2 | |
---|
[6956] | 3 | Summary: Remote Desktop Connection utility |
---|
| 4 | Summary(ja): リモートデスクトップ接続ユーティリティ |
---|
[2105] | 5 | Name: remmina |
---|
[11966] | 6 | Version: 1.2.32.1 |
---|
| 7 | Release: 1%{?_dist_release} |
---|
[2105] | 8 | |
---|
[9257] | 9 | License: GPLv2+ and MIT |
---|
| 10 | Group: User Interface/Desktops |
---|
| 11 | URL: http://remmina.sourceforge.net/ |
---|
| 12 | |
---|
[11966] | 13 | Vendor: Project Vine |
---|
| 14 | Distribution: Vine Linux |
---|
[2105] | 15 | |
---|
[11966] | 16 | Source0: https://gitlab.com/Remmina/Remmina/-/archive/v%{version}/Remmina-v%{version}.tar.bz2 |
---|
[6956] | 17 | |
---|
[11966] | 18 | # Cmake helper file to easy build plugins outside remmina source tree |
---|
| 19 | # See http://www.muflone.com/remmina-plugin-rdesktop/english/install.html which |
---|
| 20 | # use http://www.muflone.com/remmina-plugin-builder/ with remmina bundled source. |
---|
| 21 | # So we can't use it directly only as instructions. |
---|
| 22 | Source1: pluginBuild-CMakeLists.txt |
---|
[6956] | 23 | |
---|
[2105] | 24 | BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root |
---|
[6956] | 25 | BuildRequires: gtk3-devel |
---|
[9670] | 26 | BuildRequires: vte3-devel |
---|
[2105] | 27 | BuildRequires: libgcrypt-devel |
---|
| 28 | BuildRequires: libssh-devel |
---|
[4616] | 29 | BuildRequires: avahi-ui-devel |
---|
[6956] | 30 | BuildRequires: libxkbfile-devel |
---|
[4616] | 31 | BuildRequires: desktop-file-utils |
---|
[6956] | 32 | BuildRequires: gnutls-devel |
---|
| 33 | BuildRequires: libjpeg-devel |
---|
| 34 | BuildRequires: libvncserver-devel |
---|
[11966] | 35 | BuildRequires: libsecret-devel |
---|
[9257] | 36 | BuildRequires: freerdp-devel >= 1.0.1 |
---|
| 37 | BuildRequires: telepathy-glib-devel |
---|
[11966] | 38 | BuildRequires: json-glib-devel |
---|
| 39 | BuildRequires: libsoup-devel |
---|
[2105] | 40 | |
---|
[6956] | 41 | BuildRequires: cmake |
---|
| 42 | BuildRequires: gettext |
---|
| 43 | BuildRequires: intltool |
---|
| 44 | |
---|
[2105] | 45 | Obsoletes: grdc < 0.7.0 |
---|
| 46 | Provides: grdc = %{version} |
---|
[6956] | 47 | Obsoletes: remmina-gnome <= 0.7.3 |
---|
[2105] | 48 | |
---|
| 49 | %description |
---|
[9257] | 50 | Remmina is a remote desktop client written in GTK+, aiming to be |
---|
| 51 | useful for system administrators and travelers, who need to work |
---|
| 52 | with lots of remote computers in front of either large monitors or |
---|
| 53 | tiny netbooks. |
---|
[2105] | 54 | |
---|
| 55 | |
---|
[4616] | 56 | %package devel |
---|
| 57 | Summary: Development tools for remmina |
---|
| 58 | Summary(ja): remmina の開発環境 |
---|
| 59 | Group: Development/Libraries |
---|
| 60 | Requires: %{name} = %{version}-%{release} |
---|
| 61 | Requires: pkgconfig |
---|
| 62 | |
---|
| 63 | %description devel |
---|
| 64 | Header files and libraries for building a extension library for the |
---|
| 65 | remmina. |
---|
| 66 | |
---|
| 67 | |
---|
[11966] | 68 | %package plugins-exec |
---|
| 69 | Summary: External execution plugin for Remmina Remote Desktop Client |
---|
| 70 | Summary(ja): Remmina の外部プロセス実行プラグイン |
---|
| 71 | Requires: %{name}%{?_isa} = %{version}-%{release} |
---|
[6956] | 72 | |
---|
[11966] | 73 | %description plugins-exec |
---|
| 74 | Remmina is a remote desktop client written in GTK+, aiming to be useful for |
---|
| 75 | system administrators and travelers, who need to work with lots of remote |
---|
| 76 | computers in front of either large monitors or tiny net-books. |
---|
[6956] | 77 | |
---|
[11966] | 78 | This package contains the plugin to execute external processes (commands or |
---|
| 79 | applications) from the Remmina window. |
---|
[6956] | 80 | |
---|
[11966] | 81 | |
---|
| 82 | %package plugins-secret |
---|
[6956] | 83 | Summary: GNOME keyring integration for Remmina Remote Desktop Client |
---|
[9257] | 84 | Summary(ja): Remmina の GNOMEキーリング統合 |
---|
| 85 | Group: User Interface/Desktops |
---|
[11966] | 86 | Requires: %{name} = %{version}-%{release} |
---|
| 87 | Obsoletes: %{name}plugins-gnome < 1.2 |
---|
| 88 | Provides: %{name}-plugins-gnome = %{version}-%{release} |
---|
[6956] | 89 | |
---|
[11966] | 90 | %description plugins-secret |
---|
[6956] | 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 the plugin with GNOME keyring support for the |
---|
| 97 | Remmina remote desktop client. |
---|
| 98 | |
---|
| 99 | |
---|
| 100 | %package plugins-nx |
---|
| 101 | Summary: NX plugin for Remmina Remote Desktop Client |
---|
[9257] | 102 | Summary(ja): Remmina の NX プラグイン |
---|
| 103 | Group: User Interface/Desktops |
---|
[11966] | 104 | Requires: %{name} = %{version}-%{release} |
---|
[9257] | 105 | # temporally disabled |
---|
| 106 | #Requires: nx |
---|
[6956] | 107 | |
---|
| 108 | %description plugins-nx |
---|
| 109 | Remmina is a remote desktop client written in GTK+, aiming to be |
---|
| 110 | useful for system administrators and travelers, who need to work |
---|
| 111 | with lots of remote computers in front of either large monitors or |
---|
| 112 | tiny netbooks. |
---|
| 113 | |
---|
| 114 | This package contains the NX plugin for the Remmina remote desktop |
---|
| 115 | client. |
---|
| 116 | |
---|
| 117 | |
---|
| 118 | %package plugins-rdp |
---|
| 119 | Summary: RDP plugin for Remmina Remote Desktop Client |
---|
[9257] | 120 | Summary(ja): Remmina の RDP プラグイン |
---|
| 121 | Group: User Interface/Desktops |
---|
[11966] | 122 | Requires: %{name} = %{version}-%{release} |
---|
[6956] | 123 | Requires: freerdp |
---|
| 124 | |
---|
| 125 | %description plugins-rdp |
---|
| 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 Remote Desktop Protocol (RDP) plugin for the |
---|
| 132 | Remmina remote desktop client. |
---|
| 133 | |
---|
| 134 | |
---|
| 135 | %package plugins-telepathy |
---|
| 136 | Summary: Telepathy plugin for Remmina Remote Desktop Client |
---|
[9257] | 137 | Summary(ja): Remmina の Telepathy プラグイン |
---|
| 138 | Group: User Interface/Desktops |
---|
[11966] | 139 | Requires: %{name} = %{version}-%{release} |
---|
[6956] | 140 | |
---|
| 141 | %description plugins-telepathy |
---|
| 142 | Remmina is a remote desktop client written in GTK+, aiming to be |
---|
| 143 | useful for system administrators and travelers, who need to work |
---|
| 144 | with lots of remote computers in front of either large monitors or |
---|
| 145 | tiny netbooks. |
---|
| 146 | |
---|
| 147 | This package contains the Telepathy plugin for the Remmina remote |
---|
| 148 | desktop client. |
---|
| 149 | |
---|
| 150 | |
---|
[11966] | 151 | %package plugins-st |
---|
| 152 | Summary: Simple Terminal plugin for Remmina Remote Desktop Client |
---|
| 153 | Summary(ja): Remmina のシンプルな端末プラグイン |
---|
| 154 | Requires: %{name}%{?_isa} = %{version}-%{release} |
---|
| 155 | |
---|
| 156 | %description plugins-st |
---|
| 157 | Remmina is a remote desktop client written in GTK+, aiming to be useful for |
---|
| 158 | system administrators and travelers, who need to work with lots of remote |
---|
| 159 | computers in front of either large monitors or tiny net-books. |
---|
| 160 | |
---|
| 161 | This package contains the Simple Terminal plugin for the Remmina remote desktop |
---|
| 162 | client. |
---|
| 163 | |
---|
| 164 | |
---|
[6956] | 165 | %package plugins-vnc |
---|
| 166 | Summary: VNC plugin for Remmina Remote Desktop Client |
---|
[9257] | 167 | Summary(ja): Remmina の VNC プラグイン |
---|
| 168 | Group: User Interface/Desktops |
---|
[11966] | 169 | Requires: %{name} = %{version}-%{release} |
---|
[6956] | 170 | |
---|
| 171 | %description plugins-vnc |
---|
| 172 | Remmina is a remote desktop client written in GTK+, aiming to be |
---|
| 173 | useful for system administrators and travelers, who need to work |
---|
| 174 | with lots of remote computers in front of either large monitors or |
---|
| 175 | tiny netbooks. |
---|
| 176 | |
---|
| 177 | This package contains the VNC plugin for the Remmina remote desktop |
---|
| 178 | client. |
---|
| 179 | |
---|
| 180 | |
---|
| 181 | %package plugins-xdmcp |
---|
| 182 | Summary: XDMCP plugin for Remmina Remote Desktop Client |
---|
[9257] | 183 | Summary(ja): Remmina の XDMCP プラグイン |
---|
| 184 | Group: User Interface/Desktops |
---|
[11966] | 185 | Requires: %{name} = %{version}-%{release} |
---|
[6956] | 186 | Requires: xorg-x11-server-Xephyr |
---|
| 187 | |
---|
| 188 | %description plugins-xdmcp |
---|
| 189 | Remmina is a remote desktop client written in GTK+, aiming to be |
---|
| 190 | useful for system administrators and travelers, who need to work |
---|
| 191 | with lots of remote computers in front of either large monitors or |
---|
| 192 | tiny netbooks. |
---|
| 193 | |
---|
| 194 | This package contains the XDMCP plugin for the Remmina remote desktop |
---|
| 195 | client. |
---|
| 196 | |
---|
| 197 | |
---|
[11966] | 198 | %package gnome-session |
---|
| 199 | Summary: Gnome Shell session for Remmina kiosk mode |
---|
| 200 | Summary(ja): Remmina の GNOME Shell セッション |
---|
| 201 | Requires: %{name}%{?_isa} = %{version}-%{release} |
---|
| 202 | Requires: gnome-session |
---|
[2105] | 203 | |
---|
[11966] | 204 | %description gnome-session |
---|
| 205 | Remmina is a remote desktop client written in GTK+, aiming to be useful for |
---|
| 206 | system administrators and travelers, who need to work with lots of remote |
---|
| 207 | computers in front of either large monitors or tiny net-books. |
---|
[2105] | 208 | |
---|
[11966] | 209 | This package contains Remmina kiosk mode, including a Gnome Shell session |
---|
| 210 | that shows up under the display manager session menu. |
---|
[6956] | 211 | |
---|
| 212 | |
---|
[11966] | 213 | %prep |
---|
| 214 | %autosetup -n Remmina-v%{version} |
---|
[6956] | 215 | |
---|
[2105] | 216 | %build |
---|
[6956] | 217 | mkdir -p build |
---|
[2105] | 218 | |
---|
[6956] | 219 | LDFLAGS="-Wl,-z,relro -Wl,--no-as-needed" |
---|
| 220 | |
---|
[11966] | 221 | %cmake --build=build \ |
---|
| 222 | -DCMAKE_INSTALL_LIBDIR=%{_lib} \ |
---|
| 223 | -DCMAKE_INSTALL_PREFIX=%{_prefix} \ |
---|
| 224 | -DWITH_APPINDICATOR=NO \ |
---|
| 225 | -DWITH_AVAHI=ON \ |
---|
| 226 | -DWITH_FREERDP=ON \ |
---|
[6956] | 227 | -DWITH_GCRYPT=ON \ |
---|
| 228 | -DWITH_GETTEXT=ON \ |
---|
| 229 | -DWITH_LIBSSH=ON \ |
---|
[11966] | 230 | -DWITH_PTHREAD=ON \ |
---|
| 231 | -DWITH_LIBSSH=ON \ |
---|
[6956] | 232 | -DWITH_TELEPATHY=ON \ |
---|
[11966] | 233 | -DWITH_VTE=ON \ |
---|
[6956] | 234 | -DWITH_ZLIB=ON \ |
---|
| 235 | -DWITH_GETTEXT=ON \ |
---|
| 236 | -LIBVNCSERVER_INCLUDE_DIRS=%{_includedir} \ |
---|
[11966] | 237 | . |
---|
[6956] | 238 | |
---|
| 239 | make %{?_smp_mflags} |
---|
| 240 | |
---|
[2105] | 241 | %install |
---|
[6956] | 242 | rm -rf %{buildroot} |
---|
| 243 | # make install DESTDIR=%{buildroot} |
---|
[11966] | 244 | %makeinstall DESTDIR=%{buildroot} |
---|
[2105] | 245 | |
---|
[11966] | 246 | mkdir -p %{buildroot}/%{_libdir}/cmake/%{name}/ |
---|
| 247 | cp -pr cmake/*.cmake %{buildroot}/%{_libdir}/cmake/%{name}/ |
---|
| 248 | cp -pr config.h.in %{buildroot}/%{_includedir}/%{name}/ |
---|
| 249 | cp -p %{SOURCE1} %{buildroot}/%{_includedir}/%{name}/ |
---|
[6956] | 250 | |
---|
| 251 | %find_lang %{name} |
---|
[2105] | 252 | |
---|
| 253 | %clean |
---|
| 254 | rm -rf $RPM_BUILD_ROOT |
---|
| 255 | |
---|
| 256 | %post |
---|
| 257 | update-desktop-database -q |
---|
| 258 | touch --no-create %{_datadir}/icons/hicolor |
---|
| 259 | if [ -x /usr/bin/gtk-update-icon-cache ]; then |
---|
[6956] | 260 | gtk-update-icon-cache -q %{_datadir}/icons/hicolor &>/dev/null ||: |
---|
[2105] | 261 | fi |
---|
| 262 | |
---|
| 263 | %postun |
---|
| 264 | update-desktop-database -q |
---|
| 265 | touch --no-create %{_datadir}/icons/hicolor |
---|
| 266 | if [ -x /usr/bin/gtk-update-icon-cache ]; then |
---|
[6956] | 267 | gtk-update-icon-cache -q %{_datadir}/icons/hicolor &>/dev/null ||: |
---|
[2105] | 268 | fi |
---|
| 269 | |
---|
[6956] | 270 | %posttrans |
---|
| 271 | if [ -x /usr/bin/gtk-update-icon-cache ]; then |
---|
| 272 | gtk-update-icon-cache -q %{_datadir}/icons/hicolor &>/dev/null ||: |
---|
| 273 | fi |
---|
| 274 | |
---|
| 275 | %files -f %{name}.lang |
---|
| 276 | %defattr(-,root,root,-) |
---|
[11966] | 277 | %license LICENSE |
---|
| 278 | %doc AUTHORS ChangeLog README.md |
---|
[2105] | 279 | %{_bindir}/%{name} |
---|
[11966] | 280 | %{_datadir}/metainfo/*.appdata.xml |
---|
[2105] | 281 | %{_datadir}/applications/*.desktop |
---|
[11966] | 282 | %{_datadir}/icons/hicolor/*/actions/*.* |
---|
| 283 | %{_datadir}/icons/hicolor/*/apps/*.* |
---|
| 284 | %{_datadir}/icons/hicolor/*/emblems/remmina-*.svg |
---|
| 285 | %{_datadir}/mime/packages/*.xml |
---|
[6956] | 286 | %{_datadir}/%{name}/ |
---|
[11966] | 287 | %dir %{_libdir}/remmina/ |
---|
| 288 | %dir %{_libdir}/remmina/plugins/ |
---|
| 289 | %{_mandir}/man1/%{name}.* |
---|
[2105] | 290 | |
---|
[4616] | 291 | %files devel |
---|
[6956] | 292 | %defattr(-,root,root,-) |
---|
| 293 | %doc |
---|
| 294 | %{_includedir}/%{name}/ |
---|
| 295 | %{_libdir}/pkgconfig/%{name}.pc |
---|
[11966] | 296 | %{_libdir}/cmake/%{name}/*.cmake |
---|
[2105] | 297 | |
---|
[11966] | 298 | %files plugins-exec |
---|
| 299 | %{_libdir}/remmina/plugins/remmina-plugin-exec.so |
---|
[4616] | 300 | |
---|
[11966] | 301 | %files plugins-secret |
---|
[6956] | 302 | %defattr(-,root,root,-) |
---|
[11966] | 303 | %{_libdir}/remmina/plugins/remmina-plugin-secret.so |
---|
[6956] | 304 | |
---|
| 305 | %files plugins-nx |
---|
| 306 | %defattr(-,root,root,-) |
---|
| 307 | %{_libdir}/remmina/plugins/remmina-plugin-nx.so |
---|
[11966] | 308 | %{_datadir}/icons/hicolor/*/emblems/remmina-nx-symbolic.svg |
---|
[6956] | 309 | |
---|
| 310 | %files plugins-rdp |
---|
| 311 | %defattr(-,root,root,-) |
---|
| 312 | %{_libdir}/remmina/plugins/remmina-plugin-rdp.so |
---|
[11966] | 313 | %{_datadir}/icons/hicolor/*/emblems/remmina-rdp-ssh-symbolic.svg |
---|
| 314 | %{_datadir}/icons/hicolor/*/emblems/remmina-rdp-symbolic.svg |
---|
[6956] | 315 | |
---|
| 316 | %files plugins-telepathy |
---|
| 317 | %defattr(-,root,root,-) |
---|
| 318 | %{_libdir}/remmina/plugins/remmina-plugin-telepathy.so |
---|
[11966] | 319 | %{_datadir}/dbus-1/services/org.freedesktop.Telepathy.Client.Remmina.service |
---|
| 320 | %{_datadir}/telepathy/clients/Remmina.client |
---|
[6956] | 321 | |
---|
[11966] | 322 | %files plugins-st |
---|
| 323 | %{_libdir}/remmina/plugins/remmina-plugin-st.so |
---|
| 324 | %{_datadir}/icons/hicolor/*/emblems/remmina-tool-symbolic.svg |
---|
| 325 | |
---|
[6956] | 326 | %files plugins-vnc |
---|
| 327 | %defattr(-,root,root,-) |
---|
| 328 | %{_libdir}/remmina/plugins/remmina-plugin-vnc.so |
---|
[11966] | 329 | %{_datadir}/icons/hicolor/*/emblems/remmina-vnc-ssh-symbolic.svg |
---|
| 330 | %{_datadir}/icons/hicolor/*/emblems/remmina-vnc-symbolic.svg |
---|
[6956] | 331 | |
---|
| 332 | %files plugins-xdmcp |
---|
| 333 | %defattr(-,root,root,-) |
---|
| 334 | %{_libdir}/remmina/plugins/remmina-plugin-xdmcp.so |
---|
[11966] | 335 | %{_datadir}/icons/hicolor/*/emblems/remmina-xdmcp-ssh-symbolic.svg |
---|
| 336 | %{_datadir}/icons/hicolor/*/emblems/remmina-xdmcp-symbolic.svg |
---|
[6956] | 337 | |
---|
[11966] | 338 | %files gnome-session |
---|
| 339 | %{_bindir}/gnome-session-remmina |
---|
| 340 | %{_bindir}/remmina-gnome |
---|
| 341 | %{_datadir}/gnome-session/sessions/remmina-gnome.session |
---|
| 342 | %{_datadir}/xsessions/remmina-gnome.desktop |
---|
| 343 | %{_mandir}/man1/gnome-session-remmina.1.* |
---|
| 344 | %{_mandir}/man1/remmina-gnome.1.* |
---|
| 345 | |
---|
[2105] | 346 | %changelog |
---|
[11966] | 347 | * Sun Dec 02 2018 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> 1.2.32.1-1 |
---|
| 348 | - new upstream release. |
---|
| 349 | - dropped all patches. |
---|
| 350 | - dropped Source10. |
---|
| 351 | - added Source1. |
---|
| 352 | - droped a subpackage 'remmina-plugins-common'. |
---|
| 353 | - renamed a subpackage 'remmina-plugins-gnome' to 'remmina-plugins-secret'. |
---|
| 354 | - added subpackages 'remmina-{plugins-{exec,st},gnome-session}'. |
---|
| 355 | |
---|
[10049] | 356 | * Fri Feb 26 2016 Satoshi IWAMOTO <satoshi.iwamoto@nifty.ne.jp> 1.0.0-5 |
---|
| 357 | - rebuild with libssh 0.7.3 |
---|
| 358 | |
---|
[9909] | 359 | * Wed Dec 30 2015 Yoji TOYODA <bsyamato@sea.plala.or.jp> 1.0.0-4 |
---|
| 360 | - rebuild with gnutls-3.4.7 |
---|
| 361 | |
---|
[9670] | 362 | * Sun Jul 19 2015 Yoji TOYODA <bsyamato@sea.plala.or.jp> 1.0.0-3 |
---|
| 363 | - change BuildRequires: vte3-devel instead of vte290-devel |
---|
| 364 | - add Pach100 (remmina-1.0.0-vte3.patch) |
---|
| 365 | |
---|
[9257] | 366 | * Mon Jan 12 2015 Ryoichi INAGAKI <ryo1@toki.waseda.jp> 1.0.0-2 |
---|
| 367 | - rebuilt with libgcrypt 1.6.0 and gnutls 3.2.20 |
---|
| 368 | - modified BR: vte290-devel instead of vte3-devel |
---|
| 369 | - moved to User Interface/Desktops Group |
---|
| 370 | |
---|
[6956] | 371 | * Fri Oct 19 2012 Daisuke SUZUKI <daisuke@linux.or.jp> 1.0.0-1 |
---|
| 372 | - Update to 1.0.0 |
---|
| 373 | - add BuildRequires |
---|
| 374 | - add patches from fedora package (upstream patches) |
---|
| 375 | - add subpackage for plugins |
---|
| 376 | |
---|
[4616] | 377 | * Thu Aug 18 2011 Yoji TOYODA <bsyamato@sea.plala.or.jp> 0.9.3-1 |
---|
| 378 | - new upstream release |
---|
| 379 | - add BuildRequires: avahi-ui-devel, vte-devel, unique-devel, desktop-file-utils |
---|
| 380 | - create devel sub package |
---|
| 381 | |
---|
[2105] | 382 | * Wed Mar 17 2010 Daisuke SUZUKI <daisuke@linux.or.jp> 0.7.4-1 |
---|
| 383 | - new upstream release with new name 'remmina' |
---|
| 384 | - add Obsoletes/Provides: grdc |
---|
| 385 | |
---|
| 386 | * Tue Sep 15 2009 Daisuke SUZUKI <daisuke@linux.or.jp> 0.6.0-1 |
---|
| 387 | - initial build for Vine Linux |
---|
| 388 | |
---|
| 389 | * Tue Jul 07 2009 slick50 <lxgator@gmail.com> 0.6.0-1pclos2009 |
---|
| 390 | - new version 0.6.0 |
---|
| 391 | |
---|
| 392 | * Sun May 17 2009 don_crissti <don_crissti@gmx.com> 0.5.1-1pclos2009 |
---|
| 393 | - build for PCLOS |
---|
| 394 | |
---|