1 | Name: krfb |
---|
2 | Summary: VNC server for KDE |
---|
3 | Summary(ja): KDE 用 VNC サーバー |
---|
4 | Version: 4.14.3 |
---|
5 | Release: 1%{?_dist_release} |
---|
6 | |
---|
7 | License: GPLv2, LGPLv2 |
---|
8 | Group: Applications/Internet |
---|
9 | URL: http://www.kde.org/ |
---|
10 | |
---|
11 | Source: ftp://ftp.kde.org/pub/kde/stable/%{version}/src/%{name}-%{version}.tar.xz |
---|
12 | |
---|
13 | BuildRoot: %{_tmppath}/%{name}-%{version}-root |
---|
14 | |
---|
15 | BuildRequires: desktop-file-utils |
---|
16 | BuildRequires: kdelibs-devel >= %{version} |
---|
17 | |
---|
18 | Requires(posttrans,postun): desktop-file-utils |
---|
19 | |
---|
20 | Vendor: Project Vine |
---|
21 | Distribution: Vine Linux |
---|
22 | Packager: Takemikaduchi |
---|
23 | |
---|
24 | |
---|
25 | %description |
---|
26 | krfb is a server application that allows you to share your current |
---|
27 | session with a user on another machine, who can use a VNC client to |
---|
28 | view or even control the desktop. |
---|
29 | |
---|
30 | |
---|
31 | %prep |
---|
32 | %setup -q |
---|
33 | |
---|
34 | %build |
---|
35 | mkdir -p %{_target_platform} |
---|
36 | pushd %{_target_platform} |
---|
37 | %cmake \ |
---|
38 | -DCMAKE_BUILD_TYPE=release \ |
---|
39 | -DCMAKE_INSTALL_PREFIX:PATH=%{_prefix} \ |
---|
40 | -DDATA_INSTALL_DIR:PATH=%{_datadir}/kde4/apps \ |
---|
41 | -DINCLUDE_INSTALL_DIR:PATH=%{_includedir}/kde4 \ |
---|
42 | -DLIB_INSTALL_DIR:PATH=%{_libdir} \ |
---|
43 | -DLIBEXEC_INSTALL_DIR:PATH=%{_libexecdir}/kde4 \ |
---|
44 | -DSYSCONF_INSTALL_DIR:PATH=%{_sysconfdir} \ |
---|
45 | .. |
---|
46 | popd |
---|
47 | |
---|
48 | make %{?_smp_mflags} -C %{_target_platform} |
---|
49 | |
---|
50 | |
---|
51 | %install |
---|
52 | rm -rf $RPM_BUILD_ROOT |
---|
53 | make install/fast DESTDIR=%{buildroot} -C %{_target_platform} |
---|
54 | |
---|
55 | |
---|
56 | %clean |
---|
57 | rm -rf $RPM_BUILD_ROOT |
---|
58 | |
---|
59 | %posttrans |
---|
60 | update-desktop-database -q &> /dev/null ||: |
---|
61 | |
---|
62 | %postun |
---|
63 | if [ $1 -eq 0 ] ; then |
---|
64 | update-desktop-database -q &> /dev/null ||: |
---|
65 | fi |
---|
66 | |
---|
67 | |
---|
68 | %files |
---|
69 | %defattr(-,root,root,-) |
---|
70 | %doc AUTHORS COPYING COPYING.DOC COPYING.LIB README |
---|
71 | %{_bindir}/%{name} |
---|
72 | %{_libdir}/libkrfbprivate.so.* |
---|
73 | %{_libdir}/kde4/krfb_framebuffer_qt.so |
---|
74 | %{_libdir}/kde4/krfb_framebuffer_x11.so |
---|
75 | %{_datadir}/applications/kde4/%{name}.desktop |
---|
76 | %{_datadir}/kde4/apps/%{name} |
---|
77 | %{_datadir}/kde4/services/krfb_framebuffer_qt.desktop |
---|
78 | %{_datadir}/kde4/services/krfb_framebuffer_x11.desktop |
---|
79 | %{_datadir}/kde4/servicetypes/krfb-framebuffer.desktop |
---|
80 | %{_docdir}/HTML/en/%{name} |
---|
81 | |
---|
82 | |
---|
83 | %changelog |
---|
84 | * Thu Jan 01 2015 Yoji TOYODA <bsyamato@sea.plala.or.jp> 4.14.3-1 |
---|
85 | - new upstream release |
---|
86 | |
---|
87 | * Tue May 06 2014 Yoji TOYODA <bsyamato@sea.plala.or.jp> 4.12.5-1 |
---|
88 | - new upstream release |
---|
89 | |
---|
90 | * Sun Feb 09 2014 Yoji TOYODA <bsyamato@sea.plala.or.jp> 4.12.2-1 |
---|
91 | - new upstream release |
---|
92 | |
---|
93 | * Mon Dec 16 2013 Yoji TOYODA <bsyamato@sea.plala.or.jp> 4.11.4-1 |
---|
94 | - new upstream release |
---|
95 | |
---|
96 | * Sun Sep 15 2013 Yoji TOYODA <bsyamato@sea.plala.or.jp> 4.11.1-1 |
---|
97 | - initial build |
---|
98 | |
---|