]>
Commit | Line | Data |
---|---|---|
710a9bd2 | 1 | %define kdeappsver 20.12.3 |
c5b245cd | 2 | %define kframever 5.56.0 |
3afc98c6 WF |
3 | %define qtver 5.9.0 |
4 | %define kaname kontact | |
5 | Summary: kontact | |
6 | Name: ka5-%{kaname} | |
710a9bd2 | 7 | Version: 20.12.3 |
3afc98c6 WF |
8 | Release: 1 |
9 | License: GPL v2+/LGPL v2.1+ | |
10 | Group: X11/Applications | |
710a9bd2 WF |
11 | Source0: http://download.kde.org/stable/release-service/%{kdeappsver}/src/%{kaname}-%{version}.tar.xz |
12 | # Source0-md5: f3aaf18f380fbb555ec68926f90fe08e | |
3afc98c6 WF |
13 | URL: http://www.kde.org/ |
14 | BuildRequires: Qt5Core-devel >= %{qtver} | |
15 | BuildRequires: Qt5DBus-devel | |
16 | BuildRequires: Qt5Gui-devel >= 5.11.1 | |
17 | BuildRequires: Qt5Network-devel >= 5.11.1 | |
18 | BuildRequires: Qt5Positioning-devel >= 5.11.1 | |
19 | BuildRequires: Qt5PrintSupport-devel >= 5.11.1 | |
20 | BuildRequires: Qt5Qml-devel >= 5.11.1 | |
21 | BuildRequires: Qt5Quick-devel >= 5.11.1 | |
22 | BuildRequires: Qt5WebChannel-devel >= 5.11.1 | |
23 | BuildRequires: Qt5WebEngine-devel | |
24 | BuildRequires: Qt5Widgets-devel | |
25 | BuildRequires: cmake >= 2.8.12 | |
26 | BuildRequires: gettext-devel | |
0cfd155d WF |
27 | BuildRequires: ka5-akonadi-devel >= %{kdeappsver} |
28 | BuildRequires: ka5-grantleetheme-devel >= %{kdeappsver} | |
0cfd155d WF |
29 | BuildRequires: ka5-kontactinterface-devel >= %{kdeappsver} |
30 | BuildRequires: ka5-kpimtextedit-devel >= %{kdeappsver} | |
31 | BuildRequires: ka5-libkdepim-devel >= %{kdeappsver} | |
c5b245cd WF |
32 | BuildRequires: kf5-extra-cmake-modules >= %{kframever} |
33 | BuildRequires: kf5-kcmutils-devel >= %{kframever} | |
34 | BuildRequires: kf5-kcrash-devel >= %{kframever} | |
35 | BuildRequires: kf5-kdbusaddons-devel >= %{kframever} | |
36 | BuildRequires: kf5-kdoctools-devel >= %{kframever} | |
37 | BuildRequires: kf5-kiconthemes-devel >= %{kframever} | |
38 | BuildRequires: kf5-kwindowsystem-devel >= %{kframever} | |
0cfd155d | 39 | BuildRequires: ninja |
3afc98c6 WF |
40 | BuildRequires: qt5-build >= %{qtver} |
41 | BuildRequires: rpmbuild(macros) >= 1.164 | |
42 | BuildRequires: shared-mime-info | |
43 | BuildRequires: tar >= 1:1.22 | |
44 | BuildRequires: xz | |
45 | BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n) | |
46 | ||
47 | %description | |
48 | Kontact is the integrated solution to your personal information | |
49 | management (PIM) needs. It combines well-known KDE applications like | |
50 | KMail, KOrganizer and KAddressBook into a single interface to provide | |
51 | easy access to mail, scheduling, address book and other PIM | |
52 | functionality. | |
53 | ||
54 | %prep | |
55 | %setup -q -n %{kaname}-%{version} | |
56 | ||
57 | %build | |
58 | install -d build | |
59 | cd build | |
60 | %cmake \ | |
0cfd155d | 61 | -G Ninja \ |
c5b245cd | 62 | -DHTML_INSTALL_DIR=%{_kdedocdir} \ |
3afc98c6 WF |
63 | -DKDE_INSTALL_USE_QT_SYS_PATHS=ON \ |
64 | .. | |
0cfd155d | 65 | %ninja_build |
3afc98c6 WF |
66 | |
67 | %install | |
68 | rm -rf $RPM_BUILD_ROOT | |
0cfd155d | 69 | %ninja_install -C build |
3afc98c6 WF |
70 | |
71 | %find_lang %{kaname} --all-name --with-kde | |
72 | ||
73 | %clean | |
74 | rm -rf $RPM_BUILD_ROOT | |
75 | ||
76 | %post -p /sbin/ldconfig | |
77 | %postun -p /sbin/ldconfig | |
78 | ||
79 | %files -f %{kaname}.lang | |
80 | %defattr(644,root,root,755) | |
3afc98c6 WF |
81 | %attr(755,root,root) %{_bindir}/kontact |
82 | %attr(755,root,root) %ghost %{_libdir}/libkontactprivate.so.5 | |
83 | %attr(755,root,root) %{_libdir}/libkontactprivate.so.5.*.* | |
84 | %attr(755,root,root) %{_libdir}/qt5/plugins/kcm_kontact.so | |
85 | %{_desktopdir}/org.kde.kontact.desktop | |
86 | %{_datadir}/config.kcfg/kontact.kcfg | |
87 | %{_iconsdir}/hicolor/128x128/apps/kontact.png | |
88 | %{_iconsdir}/hicolor/16x16/apps/kontact.png | |
89 | %{_iconsdir}/hicolor/22x22/apps/kontact.png | |
90 | %{_iconsdir}/hicolor/32x32/apps/kontact.png | |
91 | %{_iconsdir}/hicolor/48x48/apps/kontact.png | |
92 | %{_iconsdir}/hicolor/64x64/apps/kontact.png | |
93 | %{_iconsdir}/hicolor/scalable/apps/kontact.svg | |
20b62f37 | 94 | %attr(755,root,root) %{_datadir}/kconf_update/kontact-15.08-kickoff.sh |
3afc98c6 WF |
95 | %{_datadir}/kconf_update/kontact.upd |
96 | %{_datadir}/kservices5/kontactconfig.desktop | |
97 | %{_datadir}/messageviewer/about/default/introduction_kontact.html | |
98 | %{_datadir}/messageviewer/about/default/loading_kontact.html | |
99 | %{_datadir}/metainfo/org.kde.kontact.appdata.xml | |
710a9bd2 WF |
100 | %{_datadir}/dbus-1/services/org.kde.kontact.service |
101 | %{_datadir}/qlogging-categories5/kontact.categories | |
102 | %{_datadir}/qlogging-categories5/kontact.renamecategories |