1 | Name: krdc |
---|
2 | Summary: VNC client for KDE |
---|
3 | Summary(ja): KDE 用 VNC クライアント |
---|
4 | Version: 4.14.3 |
---|
5 | Release: 2%{?_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 | Source1: krdc-icons.tar.bz2 |
---|
13 | |
---|
14 | Patch0: krdc-4.11.1-kdrc-icon.patch |
---|
15 | |
---|
16 | BuildRoot: %{_tmppath}/%{name}-%{version}-root |
---|
17 | |
---|
18 | BuildRequires: desktop-file-utils |
---|
19 | BuildRequires: kdelibs-devel >= %{version} |
---|
20 | |
---|
21 | Requires(posttrans,postun): desktop-file-utils |
---|
22 | |
---|
23 | Vendor: Project Vine |
---|
24 | Distribution: Vine Linux |
---|
25 | Packager: Takemikaduchi |
---|
26 | |
---|
27 | |
---|
28 | %description |
---|
29 | krdc is a client application that allows you to view or even control |
---|
30 | the desktop session on another machine that is running a compatible |
---|
31 | servers. |
---|
32 | |
---|
33 | |
---|
34 | %package devel |
---|
35 | Summary: Development files for %{name} |
---|
36 | Group: Development/Libraries |
---|
37 | Requires: %{name} = %{version}-%{release} |
---|
38 | Requires: kdelibs-devel |
---|
39 | |
---|
40 | %description devel |
---|
41 | Development files for %{name}. |
---|
42 | |
---|
43 | |
---|
44 | %prep |
---|
45 | %setup -q -a 1 |
---|
46 | %patch0 -p1 -b .icon |
---|
47 | |
---|
48 | %build |
---|
49 | mkdir -p %{_target_platform} |
---|
50 | pushd %{_target_platform} |
---|
51 | %cmake \ |
---|
52 | -DCMAKE_BUILD_TYPE=release \ |
---|
53 | -DCMAKE_INSTALL_PREFIX:PATH=%{_prefix} \ |
---|
54 | -DDATA_INSTALL_DIR:PATH=%{_datadir}/kde4/apps \ |
---|
55 | -DINCLUDE_INSTALL_DIR:PATH=%{_includedir}/kde4 \ |
---|
56 | -DLIB_INSTALL_DIR:PATH=%{_libdir} \ |
---|
57 | -DLIBEXEC_INSTALL_DIR:PATH=%{_libexecdir}/kde4 \ |
---|
58 | -DSYSCONF_INSTALL_DIR:PATH=%{_sysconfdir} \ |
---|
59 | .. |
---|
60 | popd |
---|
61 | |
---|
62 | make %{?_smp_mflags} -C %{_target_platform} |
---|
63 | |
---|
64 | |
---|
65 | %install |
---|
66 | rm -rf $RPM_BUILD_ROOT |
---|
67 | make install/fast DESTDIR=%{buildroot} -C %{_target_platform} |
---|
68 | |
---|
69 | |
---|
70 | %clean |
---|
71 | rm -rf $RPM_BUILD_ROOT |
---|
72 | |
---|
73 | %post |
---|
74 | touch --no-create %{_datadir}/icons/hicolor &> /dev/null ||: |
---|
75 | |
---|
76 | %posttrans |
---|
77 | gtk-update-icon-cache %{_datadir}/icons/hicolor &> /dev/null ||: |
---|
78 | update-desktop-database -q &> /dev/null ||: |
---|
79 | |
---|
80 | %postun |
---|
81 | if [ $1 -eq 0 ] ; then |
---|
82 | touch --no-create %{_datadir}/icons/hicolor &> /dev/null ||: |
---|
83 | gtk-update-icon-cache %{_datadir}/icons/hicolor &> /dev/null ||: |
---|
84 | update-desktop-database -q &> /dev/null ||: |
---|
85 | fi |
---|
86 | |
---|
87 | |
---|
88 | %files |
---|
89 | %defattr(-,root,root,-) |
---|
90 | %doc COPYING COPYING.DOC COPYING.LIB |
---|
91 | %{_bindir}/%{name} |
---|
92 | %{_libdir}/libkrdccore.so.* |
---|
93 | %{_libdir}/kde4/*.so |
---|
94 | %{_datadir}/applications/kde4/%{name}.desktop |
---|
95 | %{_datadir}/config.kcfg/%{name}.kcfg |
---|
96 | %{_datadir}/icons/hicolor/*/*/* |
---|
97 | %{_datadir}/kde4/apps/%{name} |
---|
98 | %{_datadir}/kde4/services/ServiceMenus/smb2rdc.desktop |
---|
99 | %{_datadir}/kde4/services/*.desktop |
---|
100 | %{_datadir}/kde4/services/*.protocol |
---|
101 | %{_datadir}/kde4/servicetypes/krdc_plugin.desktop |
---|
102 | %{_docdir}/HTML/en/%{name} |
---|
103 | |
---|
104 | %files devel |
---|
105 | %defattr(-,root,root,-) |
---|
106 | %{_includedir}/kde4/%{name} |
---|
107 | %{_libdir}/libkrdccore.so |
---|
108 | |
---|
109 | |
---|
110 | %changelog |
---|
111 | * Fri Jul 08 2016 Yoji TOYODA <bsyamato@sea.plala.or.jp> 4.14.3-2 |
---|
112 | - rebuild with gcc-5.4.0 |
---|
113 | |
---|
114 | * Thu Jan 01 2015 Yoji TOYODA <bsyamato@sea.plala.or.jp> 4.14.3-1 |
---|
115 | - new upstream release |
---|
116 | |
---|
117 | * Tue May 06 2014 Yoji TOYODA <bsyamato@sea.plala.or.jp> 4.12.5-1 |
---|
118 | - new upstream release |
---|
119 | |
---|
120 | * Sun Feb 09 2014 Yoji TOYODA <bsyamato@sea.plala.or.jp> 4.12.2-1 |
---|
121 | - new upstream release |
---|
122 | |
---|
123 | * Mon Dec 16 2013 Yoji TOYODA <bsyamato@sea.plala.or.jp> 4.11.4-1 |
---|
124 | - new upstream release |
---|
125 | |
---|
126 | * Sun Sep 15 2013 Yoji TOYODA <bsyamato@sea.plala.or.jp> 4.11.1-1 |
---|
127 | - initial build |
---|
128 | |
---|