remmina-vl.spec 12 KB

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