1 | %define _unpackaged_files_terminate_build 1 |
---|
2 | |
---|
3 | Summary: Remote Desktop Connection utility |
---|
4 | Summary(ja): リモートデスクトップ接続ユーティリティ |
---|
5 | Name: remmina |
---|
6 | Version: 1.2.32.1 |
---|
7 | Release: 1%{?_dist_release} |
---|
8 | |
---|
9 | License: GPLv2+ and MIT |
---|
10 | Group: User Interface/Desktops |
---|
11 | URL: http://remmina.sourceforge.net/ |
---|
12 | |
---|
13 | Vendor: Project Vine |
---|
14 | Distribution: Vine Linux |
---|
15 | |
---|
16 | Source0: https://gitlab.com/Remmina/Remmina/-/archive/v%{version}/Remmina-v%{version}.tar.bz2 |
---|
17 | |
---|
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 |
---|
23 | |
---|
24 | BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root |
---|
25 | BuildRequires: gtk3-devel |
---|
26 | BuildRequires: vte3-devel |
---|
27 | BuildRequires: libgcrypt-devel |
---|
28 | BuildRequires: libssh-devel |
---|
29 | BuildRequires: avahi-ui-devel |
---|
30 | BuildRequires: libxkbfile-devel |
---|
31 | BuildRequires: desktop-file-utils |
---|
32 | BuildRequires: gnutls-devel |
---|
33 | BuildRequires: libjpeg-devel |
---|
34 | BuildRequires: libvncserver-devel |
---|
35 | BuildRequires: libsecret-devel |
---|
36 | BuildRequires: freerdp-devel >= 1.0.1 |
---|
37 | BuildRequires: telepathy-glib-devel |
---|
38 | BuildRequires: json-glib-devel |
---|
39 | BuildRequires: libsoup-devel |
---|
40 | |
---|
41 | BuildRequires: cmake |
---|
42 | BuildRequires: gettext |
---|
43 | BuildRequires: intltool |
---|
44 | |
---|
45 | Obsoletes: grdc < 0.7.0 |
---|
46 | Provides: grdc = %{version} |
---|
47 | Obsoletes: remmina-gnome <= 0.7.3 |
---|
48 | |
---|
49 | %description |
---|
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. |
---|
54 | |
---|
55 | |
---|
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 | |
---|
68 | %package plugins-exec |
---|
69 | Summary: External execution plugin for Remmina Remote Desktop Client |
---|
70 | Summary(ja): Remmina の外部プロセス実行プラグイン |
---|
71 | Requires: %{name}%{?_isa} = %{version}-%{release} |
---|
72 | |
---|
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. |
---|
77 | |
---|
78 | This package contains the plugin to execute external processes (commands or |
---|
79 | applications) from the Remmina window. |
---|
80 | |
---|
81 | |
---|
82 | %package plugins-secret |
---|
83 | Summary: GNOME keyring integration for Remmina Remote Desktop Client |
---|
84 | Summary(ja): Remmina の GNOMEキーリング統合 |
---|
85 | Group: User Interface/Desktops |
---|
86 | Requires: %{name} = %{version}-%{release} |
---|
87 | Obsoletes: %{name}plugins-gnome < 1.2 |
---|
88 | Provides: %{name}-plugins-gnome = %{version}-%{release} |
---|
89 | |
---|
90 | %description plugins-secret |
---|
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 |
---|
102 | Summary(ja): Remmina の NX プラグイン |
---|
103 | Group: User Interface/Desktops |
---|
104 | Requires: %{name} = %{version}-%{release} |
---|
105 | # temporally disabled |
---|
106 | #Requires: nx |
---|
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 |
---|
120 | Summary(ja): Remmina の RDP プラグイン |
---|
121 | Group: User Interface/Desktops |
---|
122 | Requires: %{name} = %{version}-%{release} |
---|
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 |
---|
137 | Summary(ja): Remmina の Telepathy プラグイン |
---|
138 | Group: User Interface/Desktops |
---|
139 | Requires: %{name} = %{version}-%{release} |
---|
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 | |
---|
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 | |
---|
165 | %package plugins-vnc |
---|
166 | Summary: VNC plugin for Remmina Remote Desktop Client |
---|
167 | Summary(ja): Remmina の VNC プラグイン |
---|
168 | Group: User Interface/Desktops |
---|
169 | Requires: %{name} = %{version}-%{release} |
---|
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 |
---|
183 | Summary(ja): Remmina の XDMCP プラグイン |
---|
184 | Group: User Interface/Desktops |
---|
185 | Requires: %{name} = %{version}-%{release} |
---|
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 | |
---|
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 |
---|
203 | |
---|
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. |
---|
208 | |
---|
209 | This package contains Remmina kiosk mode, including a Gnome Shell session |
---|
210 | that shows up under the display manager session menu. |
---|
211 | |
---|
212 | |
---|
213 | %prep |
---|
214 | %autosetup -n Remmina-v%{version} |
---|
215 | |
---|
216 | %build |
---|
217 | mkdir -p build |
---|
218 | |
---|
219 | LDFLAGS="-Wl,-z,relro -Wl,--no-as-needed" |
---|
220 | |
---|
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 \ |
---|
227 | -DWITH_GCRYPT=ON \ |
---|
228 | -DWITH_GETTEXT=ON \ |
---|
229 | -DWITH_LIBSSH=ON \ |
---|
230 | -DWITH_PTHREAD=ON \ |
---|
231 | -DWITH_LIBSSH=ON \ |
---|
232 | -DWITH_TELEPATHY=ON \ |
---|
233 | -DWITH_VTE=ON \ |
---|
234 | -DWITH_ZLIB=ON \ |
---|
235 | -DWITH_GETTEXT=ON \ |
---|
236 | -LIBVNCSERVER_INCLUDE_DIRS=%{_includedir} \ |
---|
237 | . |
---|
238 | |
---|
239 | make %{?_smp_mflags} |
---|
240 | |
---|
241 | %install |
---|
242 | rm -rf %{buildroot} |
---|
243 | # make install DESTDIR=%{buildroot} |
---|
244 | %makeinstall DESTDIR=%{buildroot} |
---|
245 | |
---|
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}/ |
---|
250 | |
---|
251 | %find_lang %{name} |
---|
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 |
---|
260 | gtk-update-icon-cache -q %{_datadir}/icons/hicolor &>/dev/null ||: |
---|
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 |
---|
267 | gtk-update-icon-cache -q %{_datadir}/icons/hicolor &>/dev/null ||: |
---|
268 | fi |
---|
269 | |
---|
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,-) |
---|
277 | %license LICENSE |
---|
278 | %doc AUTHORS ChangeLog README.md |
---|
279 | %{_bindir}/%{name} |
---|
280 | %{_datadir}/metainfo/*.appdata.xml |
---|
281 | %{_datadir}/applications/*.desktop |
---|
282 | %{_datadir}/icons/hicolor/*/actions/*.* |
---|
283 | %{_datadir}/icons/hicolor/*/apps/*.* |
---|
284 | %{_datadir}/icons/hicolor/*/emblems/remmina-*.svg |
---|
285 | %{_datadir}/mime/packages/*.xml |
---|
286 | %{_datadir}/%{name}/ |
---|
287 | %dir %{_libdir}/remmina/ |
---|
288 | %dir %{_libdir}/remmina/plugins/ |
---|
289 | %{_mandir}/man1/%{name}.* |
---|
290 | |
---|
291 | %files devel |
---|
292 | %defattr(-,root,root,-) |
---|
293 | %doc |
---|
294 | %{_includedir}/%{name}/ |
---|
295 | %{_libdir}/pkgconfig/%{name}.pc |
---|
296 | %{_libdir}/cmake/%{name}/*.cmake |
---|
297 | |
---|
298 | %files plugins-exec |
---|
299 | %{_libdir}/remmina/plugins/remmina-plugin-exec.so |
---|
300 | |
---|
301 | %files plugins-secret |
---|
302 | %defattr(-,root,root,-) |
---|
303 | %{_libdir}/remmina/plugins/remmina-plugin-secret.so |
---|
304 | |
---|
305 | %files plugins-nx |
---|
306 | %defattr(-,root,root,-) |
---|
307 | %{_libdir}/remmina/plugins/remmina-plugin-nx.so |
---|
308 | %{_datadir}/icons/hicolor/*/emblems/remmina-nx-symbolic.svg |
---|
309 | |
---|
310 | %files plugins-rdp |
---|
311 | %defattr(-,root,root,-) |
---|
312 | %{_libdir}/remmina/plugins/remmina-plugin-rdp.so |
---|
313 | %{_datadir}/icons/hicolor/*/emblems/remmina-rdp-ssh-symbolic.svg |
---|
314 | %{_datadir}/icons/hicolor/*/emblems/remmina-rdp-symbolic.svg |
---|
315 | |
---|
316 | %files plugins-telepathy |
---|
317 | %defattr(-,root,root,-) |
---|
318 | %{_libdir}/remmina/plugins/remmina-plugin-telepathy.so |
---|
319 | %{_datadir}/dbus-1/services/org.freedesktop.Telepathy.Client.Remmina.service |
---|
320 | %{_datadir}/telepathy/clients/Remmina.client |
---|
321 | |
---|
322 | %files plugins-st |
---|
323 | %{_libdir}/remmina/plugins/remmina-plugin-st.so |
---|
324 | %{_datadir}/icons/hicolor/*/emblems/remmina-tool-symbolic.svg |
---|
325 | |
---|
326 | %files plugins-vnc |
---|
327 | %defattr(-,root,root,-) |
---|
328 | %{_libdir}/remmina/plugins/remmina-plugin-vnc.so |
---|
329 | %{_datadir}/icons/hicolor/*/emblems/remmina-vnc-ssh-symbolic.svg |
---|
330 | %{_datadir}/icons/hicolor/*/emblems/remmina-vnc-symbolic.svg |
---|
331 | |
---|
332 | %files plugins-xdmcp |
---|
333 | %defattr(-,root,root,-) |
---|
334 | %{_libdir}/remmina/plugins/remmina-plugin-xdmcp.so |
---|
335 | %{_datadir}/icons/hicolor/*/emblems/remmina-xdmcp-ssh-symbolic.svg |
---|
336 | %{_datadir}/icons/hicolor/*/emblems/remmina-xdmcp-symbolic.svg |
---|
337 | |
---|
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 | |
---|
346 | %changelog |
---|
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 | |
---|
356 | * Fri Feb 26 2016 Satoshi IWAMOTO <satoshi.iwamoto@nifty.ne.jp> 1.0.0-5 |
---|
357 | - rebuild with libssh 0.7.3 |
---|
358 | |
---|
359 | * Wed Dec 30 2015 Yoji TOYODA <bsyamato@sea.plala.or.jp> 1.0.0-4 |
---|
360 | - rebuild with gnutls-3.4.7 |
---|
361 | |
---|
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 | |
---|
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 | |
---|
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 | |
---|
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 | |
---|
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 | |
---|