]> git.pld-linux.org Git - packages/ka5-krdc.git/blob - ka5-krdc.spec
- updated to 21.04.3
[packages/ka5-krdc.git] / ka5-krdc.spec
1 %define         kdeappsver      21.04.3
2 %define         kframever       5.56.0
3 %define         qtver           5.9.0
4 %define         kaname          krdc
5 Summary:        krdc
6 Name:           ka5-%{kaname}
7 Version:        21.04.3
8 Release:        1
9 License:        GPL v2+/LGPL v2.1+
10 Group:          X11/Applications
11 Source0:        http://download.kde.org/stable/release-service/%{kdeappsver}/src/%{kaname}-%{version}.tar.xz
12 # Source0-md5:  e5827992c20e206f9ec8e61d43f52dfc
13 URL:            http://www.kde.org/
14 BuildRequires:  Qt5Core-devel >= %{qtver}
15 BuildRequires:  gettext-devel
16 BuildRequires:  kf5-extra-cmake-modules >= %{kframever}
17 BuildRequires:  kf5-kbookmarks-devel >= %{kframever}
18 BuildRequires:  kf5-kcmutils-devel >= %{kframever}
19 BuildRequires:  kf5-kcompletion-devel >= %{kframever}
20 BuildRequires:  kf5-kconfig-devel >= %{kframever}
21 BuildRequires:  kf5-kdnssd-devel >= %{kframever}
22 BuildRequires:  kf5-ki18n-devel >= %{kframever}
23 BuildRequires:  kf5-kiconthemes-devel >= %{kframever}
24 BuildRequires:  kf5-knotifications-devel >= %{kframever}
25 BuildRequires:  kf5-knotifyconfig-devel >= %{kframever}
26 BuildRequires:  kf5-kwallet-devel >= %{kframever}
27 BuildRequires:  kf5-kwidgetsaddons-devel >= %{kframever}
28 BuildRequires:  kf5-kxmlgui-devel >= %{kframever}
29 BuildRequires:  libvncserver-devel
30 BuildRequires:  ninja
31 BuildRequires:  qt5-build >= %{qtver}
32 BuildRequires:  rpmbuild(macros) >= 1.164
33 BuildRequires:  shared-mime-info
34 BuildRequires:  tar >= 1:1.22
35 BuildRequires:  xorg-lib-libX11-devel
36 BuildRequires:  xz
37 BuildRoot:      %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
38
39 %description
40 KRDC is a client application that allows you to view or even control
41 the desktop session on another machine that is running a compatible
42 server. VNC and RDP is supported.
43
44 %package devel
45 Summary:        Header files for %{kaname} development
46 Summary(pl.UTF-8):      Pliki nagłówkowe dla programistów używających %{kaname}
47 Group:          X11/Development/Libraries
48 Requires:       %{name} = %{version}-%{release}
49
50 %description devel
51 Header files for %{kaname} development.
52
53 %description devel -l pl.UTF-8
54 Pliki nagłówkowe dla programistów używających %{kaname}.
55
56 %prep
57 %setup -q -n %{kaname}-%{version}
58
59 %build
60 install -d build
61 cd build
62 %cmake \
63         -G Ninja \
64         -DHTML_INSTALL_DIR=%{_kdedocdir} \
65         -DKDE_INSTALL_USE_QT_SYS_PATHS=ON \
66         ..
67 %ninja_build
68
69 %install
70 rm -rf $RPM_BUILD_ROOT
71 %ninja_install -C build
72
73 rm -rf $RPM_BUILD_ROOT%{_kdedocdir}/sr
74 %find_lang %{kaname} --all-name --with-kde
75
76 %clean
77 rm -rf $RPM_BUILD_ROOT
78
79 %post   -p /sbin/ldconfig
80 %postun -p /sbin/ldconfig
81
82 %files -f %{kaname}.lang
83 %defattr(644,root,root,755)
84 %attr(755,root,root) %{_bindir}/krdc
85 %attr(755,root,root) %{_libdir}/libkrdccore.so.*.*.*
86 %ghost %{_libdir}/libkrdccore.so.5
87 %dir %{_libdir}/qt5/plugins/krdc
88 %attr(755,root,root) %{_libdir}/qt5/plugins/krdc/libkrdc_testplugin.so
89 %{_desktopdir}/org.kde.krdc.desktop
90 %{_datadir}/config.kcfg/krdc.kcfg
91 %dir %{_datadir}/kxmlgui5/krdc
92 %{_datadir}/kxmlgui5/krdc/krdcui.rc
93 %{_datadir}/metainfo/org.kde.krdc.appdata.xml
94 %dir %{_libdir}/qt5/plugins/krdc/kcms
95 %attr(755,root,root) %{_libdir}/qt5/plugins/krdc/kcms/libkcm_krdc_vncplugin.so
96 %attr(755,root,root) %{_libdir}/qt5/plugins/krdc/libkrdc_vncplugin.so
97 %{_datadir}/kservices5/krdc_vnc_config.desktop
98 %{_datadir}/kservices5/vnc.protocol
99
100 %files devel
101 %defattr(644,root,root,755)
102 %{_includedir}/krdc
103 %{_includedir}/krdccore_export.h
104 %attr(755,root,root) %{_libdir}/libkrdccore.so
This page took 0.122172 seconds and 3 git commands to generate.