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