]>
Commit | Line | Data |
---|---|---|
4db1c477 | 1 | %define kdeappsver 18.04.3 |
4a9bff1a WF |
2 | %define qtver 5.3.2 |
3 | %define kaname akonadi-contacts | |
4 | Summary: Akonadi Contacts | |
5 | Name: ka5-%{kaname} | |
4db1c477 | 6 | Version: 18.04.3 |
4a9bff1a WF |
7 | Release: 1 |
8 | License: GPL v2+/LGPL v2.1+ | |
9 | Group: X11/Libraries | |
10 | Source0: http://download.kde.org/stable/applications/%{kdeappsver}/src/%{kaname}-%{version}.tar.xz | |
4db1c477 | 11 | # Source0-md5: 076e2c2749bd06fb6f94297eedd3f07b |
4a9bff1a WF |
12 | URL: http://www.kde.org/ |
13 | BuildRequires: Qt5Core-devel >= %{qtver} | |
14 | #BuildRequires: Qt5WebEngine-devel >= %{qtver} | |
15 | BuildRequires: cmake >= 2.8.12 | |
16 | BuildRequires: ka5-akonadi-mime-devel >= %{kdeappsver} | |
17 | BuildRequires: kf5-extra-cmake-modules >= 1.4.0 | |
18 | BuildRequires: kf5-prison-devel >= 5.44.0 | |
19 | BuildRequires: qt5-build >= %{qtver} | |
20 | BuildRequires: rpmbuild(macros) >= 1.164 | |
21 | BuildRequires: shared-mime-info | |
22 | BuildRequires: tar >= 1:1.22 | |
23 | BuildRequires: xz | |
24 | BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n) | |
25 | ||
26 | %description | |
27 | Akonadi Contacts is a library that effectively bridges the | |
28 | type-agnostic API of the Akonadi client libraries and the | |
29 | domain-specific KContacts library. It provides jobs, models and other | |
30 | helpers to make working with contacts and addressbooks through Akonadi | |
31 | easier. | |
32 | ||
33 | %package devel | |
34 | Summary: Header files for %{kaname} development | |
35 | Summary(pl.UTF-8): Pliki nagłówkowe dla programistów używających %{kpname} | |
36 | Group: X11/Development/Libraries | |
37 | Requires: %{name} = %{version}-%{release} | |
38 | ||
39 | %description devel | |
40 | Header files for %{kaname} development. | |
41 | ||
42 | %description devel -l pl.UTF-8 | |
43 | Pliki nagłówkowe dla programistów używających %{kaname}. | |
44 | ||
45 | %prep | |
46 | %setup -q -n %{kaname}-%{version} | |
47 | ||
48 | %build | |
49 | install -d build | |
50 | cd build | |
51 | %cmake \ | |
52 | -DKDE_INSTALL_USE_QT_SYS_PATHS=ON \ | |
53 | .. | |
54 | %{__make} | |
55 | ||
56 | %install | |
57 | rm -rf $RPM_BUILD_ROOT | |
58 | %{__make} -C build install \ | |
59 | DESTDIR=$RPM_BUILD_ROOT | |
60 | ||
61 | %find_lang %{kaname} --all-name --with-kde | |
62 | ||
63 | %clean | |
64 | rm -rf $RPM_BUILD_ROOT | |
65 | ||
66 | %post -p /sbin/ldconfig | |
67 | %postun -p /sbin/ldconfig | |
68 | ||
69 | %files -f %{kaname}.lang | |
70 | %defattr(644,root,root,755) | |
71 | /etc/xdg/akonadi-contacts.categories | |
72 | /etc/xdg/akonadi-contacts.renamecategories | |
73 | /etc/xdg/contact-editor.categories | |
74 | %ghost %{_libdir}/libKF5AkonadiContact.so.5 | |
75 | %{_libdir}/libKF5AkonadiContact.so.5.*.* | |
76 | %ghost %{_libdir}/libKF5ContactEditor.so.5 | |
77 | %{_libdir}/libKF5ContactEditor.so.5.*.* | |
78 | %{_libdir}/qt5/plugins/akonadi/contacts | |
79 | %{_libdir}/qt5/plugins/akonadi_serializer_addressee.so | |
80 | %{_libdir}/qt5/plugins/akonadi_serializer_contactgroup.so | |
81 | %{_libdir}/qt5/plugins/kcm_akonadicontact_actions.so | |
82 | %{_datadir}/akonadi/plugins/serializer/akonadi_serializer_addressee.desktop | |
83 | %{_datadir}/akonadi/plugins/serializer/akonadi_serializer_contactgroup.desktop | |
84 | %{_datadir}/kf5/akonadi/contact | |
85 | %{_datadir}/kservices5/akonadi | |
86 | %{_datadir}/kservices5/akonadicontact_actions.desktop | |
87 | %{_datadir}/kservicetypes5/kaddressbookimprotocol.desktop | |
88 | ||
89 | %files devel | |
90 | %defattr(644,root,root,755) | |
91 | %{_includedir}/KF5/Akonadi/Contact | |
92 | %{_includedir}/KF5/ContactEditor | |
93 | %{_includedir}/KF5/akonadi/contact | |
94 | %{_includedir}/KF5/contacteditor | |
95 | %{_libdir}/cmake/KF5AkonadiContact | |
96 | %{_libdir}/cmake/KF5ContactEditor | |
97 | %{_libdir}/libKF5AkonadiContact.so | |
98 | %{_libdir}/libKF5ContactEditor.so | |
99 | %{_libdir}/qt5/mkspecs/modules/qt_AkonadiContact.pri | |
100 | %{_libdir}/qt5/mkspecs/modules/qt_ContactEditor.pri |