]>
Commit | Line | Data |
---|---|---|
3afc98c6 WF |
1 | %define kdeappsver 18.12.0 |
2 | %define qtver 5.9.0 | |
3 | %define kaname kontact | |
4 | Summary: kontact | |
5 | Name: ka5-%{kaname} | |
6 | Version: 18.12.0 | |
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 | |
11 | # Source0-md5: aca8ba0fcb88a91757523f93079bc9c7 | |
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 | |
26 | BuildRequires: ka5-akonadi-devel >= 18.12.0 | |
27 | BuildRequires: ka5-grantleetheme-devel >= 18.12.0 | |
28 | BuildRequires: ka5-kdepim-apps-libs-devel >= 18.12.0 | |
29 | BuildRequires: ka5-kontactinterface-devel >= 18.12.0 | |
30 | BuildRequires: ka5-kpimtextedit-devel >= 18.12.0 | |
31 | BuildRequires: ka5-libkdepim-devel >= 18.12.0 | |
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 | |
39 | BuildRequires: qt5-build >= %{qtver} | |
40 | BuildRequires: rpmbuild(macros) >= 1.164 | |
41 | BuildRequires: shared-mime-info | |
42 | BuildRequires: tar >= 1:1.22 | |
43 | BuildRequires: xz | |
44 | BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n) | |
45 | ||
46 | %description | |
47 | Kontact is the integrated solution to your personal information | |
48 | management (PIM) needs. It combines well-known KDE applications like | |
49 | KMail, KOrganizer and KAddressBook into a single interface to provide | |
50 | easy access to mail, scheduling, address book and other PIM | |
51 | functionality. | |
52 | ||
53 | %prep | |
54 | %setup -q -n %{kaname}-%{version} | |
55 | ||
56 | %build | |
57 | install -d build | |
58 | cd build | |
59 | %cmake \ | |
60 | -DKDE_INSTALL_USE_QT_SYS_PATHS=ON \ | |
61 | .. | |
62 | %{__make} | |
63 | ||
64 | %install | |
65 | rm -rf $RPM_BUILD_ROOT | |
66 | %{__make} -C build install \ | |
67 | DESTDIR=$RPM_BUILD_ROOT | |
68 | ||
69 | %find_lang %{kaname} --all-name --with-kde | |
70 | ||
71 | %clean | |
72 | rm -rf $RPM_BUILD_ROOT | |
73 | ||
74 | %post -p /sbin/ldconfig | |
75 | %postun -p /sbin/ldconfig | |
76 | ||
77 | %files -f %{kaname}.lang | |
78 | %defattr(644,root,root,755) | |
79 | /etc/xdg/kontact.categories | |
80 | /etc/xdg/kontact.renamecategories | |
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 | |
94 | %{_datadir}/kconf_update/kontact-15.08-kickoff.sh | |
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 |