]>
Commit | Line | Data |
---|---|---|
0cfd155d | 1 | %define kdeappsver 18.12.1 |
3afc98c6 WF |
2 | %define qtver 5.9.0 |
3 | %define kaname kontact | |
4 | Summary: kontact | |
5 | Name: ka5-%{kaname} | |
0cfd155d | 6 | Version: 18.12.1 |
3afc98c6 WF |
7 | Release: 1 |
8 | License: GPL v2+/LGPL v2.1+ | |
9 | Group: X11/Applications | |
10 | Source0: http://download.kde.org/stable/applications/%{kdeappsver}/src/%{kaname}-%{version}.tar.xz | |
0cfd155d | 11 | # Source0-md5: d67b762bd70590b413c602a8d8f88716 |
3afc98c6 WF |
12 | URL: http://www.kde.org/ |
13 | BuildRequires: Qt5Core-devel >= %{qtver} | |
14 | BuildRequires: Qt5DBus-devel | |
15 | BuildRequires: Qt5Gui-devel >= 5.11.1 | |
16 | BuildRequires: Qt5Network-devel >= 5.11.1 | |
17 | BuildRequires: Qt5Positioning-devel >= 5.11.1 | |
18 | BuildRequires: Qt5PrintSupport-devel >= 5.11.1 | |
19 | BuildRequires: Qt5Qml-devel >= 5.11.1 | |
20 | BuildRequires: Qt5Quick-devel >= 5.11.1 | |
21 | BuildRequires: Qt5WebChannel-devel >= 5.11.1 | |
22 | BuildRequires: Qt5WebEngine-devel | |
23 | BuildRequires: Qt5Widgets-devel | |
24 | BuildRequires: cmake >= 2.8.12 | |
25 | BuildRequires: gettext-devel | |
0cfd155d WF |
26 | BuildRequires: ka5-akonadi-devel >= %{kdeappsver} |
27 | BuildRequires: ka5-grantleetheme-devel >= %{kdeappsver} | |
28 | BuildRequires: ka5-kdepim-apps-libs-devel >= %{kdeappsver} | |
29 | BuildRequires: ka5-kontactinterface-devel >= %{kdeappsver} | |
30 | BuildRequires: ka5-kpimtextedit-devel >= %{kdeappsver} | |
31 | BuildRequires: ka5-libkdepim-devel >= %{kdeappsver} | |
3afc98c6 WF |
32 | BuildRequires: kf5-extra-cmake-modules >= 5.51.0 |
33 | BuildRequires: kf5-kcmutils-devel >= 5.51.0 | |
34 | BuildRequires: kf5-kcrash-devel >= 5.51.0 | |
35 | BuildRequires: kf5-kdbusaddons-devel >= 5.51.0 | |
36 | BuildRequires: kf5-kdoctools-devel >= 5.51.0 | |
37 | BuildRequires: kf5-kiconthemes-devel >= 5.51.0 | |
38 | BuildRequires: kf5-kwindowsystem-devel >= 5.51.0 | |
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 \ |
3afc98c6 WF |
62 | -DKDE_INSTALL_USE_QT_SYS_PATHS=ON \ |
63 | .. | |
0cfd155d | 64 | %ninja_build |
3afc98c6 WF |
65 | |
66 | %install | |
67 | rm -rf $RPM_BUILD_ROOT | |
0cfd155d | 68 | %ninja_install -C build |
3afc98c6 WF |
69 | |
70 | %find_lang %{kaname} --all-name --with-kde | |
71 | ||
72 | %clean | |
73 | rm -rf $RPM_BUILD_ROOT | |
74 | ||
75 | %post -p /sbin/ldconfig | |
76 | %postun -p /sbin/ldconfig | |
77 | ||
78 | %files -f %{kaname}.lang | |
79 | %defattr(644,root,root,755) | |
80 | /etc/xdg/kontact.categories | |
81 | /etc/xdg/kontact.renamecategories | |
82 | %attr(755,root,root) %{_bindir}/kontact | |
83 | %attr(755,root,root) %ghost %{_libdir}/libkontactprivate.so.5 | |
84 | %attr(755,root,root) %{_libdir}/libkontactprivate.so.5.*.* | |
85 | %attr(755,root,root) %{_libdir}/qt5/plugins/kcm_kontact.so | |
86 | %{_desktopdir}/org.kde.kontact.desktop | |
87 | %{_datadir}/config.kcfg/kontact.kcfg | |
88 | %{_iconsdir}/hicolor/128x128/apps/kontact.png | |
89 | %{_iconsdir}/hicolor/16x16/apps/kontact.png | |
90 | %{_iconsdir}/hicolor/22x22/apps/kontact.png | |
91 | %{_iconsdir}/hicolor/32x32/apps/kontact.png | |
92 | %{_iconsdir}/hicolor/48x48/apps/kontact.png | |
93 | %{_iconsdir}/hicolor/64x64/apps/kontact.png | |
94 | %{_iconsdir}/hicolor/scalable/apps/kontact.svg | |
20b62f37 | 95 | %attr(755,root,root) %{_datadir}/kconf_update/kontact-15.08-kickoff.sh |
3afc98c6 WF |
96 | %{_datadir}/kconf_update/kontact.upd |
97 | %{_datadir}/kservices5/kontactconfig.desktop | |
98 | %{_datadir}/messageviewer/about/default/introduction_kontact.html | |
99 | %{_datadir}/messageviewer/about/default/loading_kontact.html | |
100 | %{_datadir}/metainfo/org.kde.kontact.appdata.xml |