]> git.pld-linux.org Git - packages/ka5-akonadi-contacts.git/blob - ka5-akonadi-contacts.spec
- updated to 21.08.0
[packages/ka5-akonadi-contacts.git] / ka5-akonadi-contacts.spec
1 %define         kdeappsver      21.08.0
2 %define         qtver           5.9.0
3 %define         kaname          akonadi-contacts
4 Summary:        Akonadi Contacts
5 Name:           ka5-%{kaname}
6 Version:        21.08.0
7 Release:        1
8 License:        GPL v2+/LGPL v2.1+
9 Group:          X11/Libraries
10 Source0:        http://download.kde.org/stable/release-service/%{kdeappsver}/src/%{kaname}-%{version}.tar.xz
11 # Source0-md5:  4ffc6422ea2954af362a89fbd820faf2
12 URL:            http://www.kde.org/
13 BuildRequires:  Qt5Core-devel >= %{qtver}
14 BuildRequires:  Qt5Gui-devel >= 5.11.1
15 BuildRequires:  Qt5Test-devel
16 BuildRequires:  Qt5Widgets-devel
17 BuildRequires:  cmake >= 2.8.12
18 BuildRequires:  gettext-devel
19 BuildRequires:  ka5-akonadi-devel >= %{kdeappsver}
20 BuildRequires:  ka5-grantleetheme-devel >= %{kdeappsver}
21 BuildRequires:  ka5-kmime-devel >= %{kdeappsver}
22 BuildRequires:  ka5-libkleo-devel >= %{kdeappsver}
23 BuildRequires:  kf5-extra-cmake-modules >= 5.51.0
24 BuildRequires:  kf5-kcodecs-devel >= 5.51.0
25 BuildRequires:  kf5-kcompletion-devel >= 5.51.0
26 BuildRequires:  kf5-kcontacts-devel >= 5.65.0
27 BuildRequires:  kf5-kdbusaddons-devel >= 5.51.0
28 BuildRequires:  kf5-ki18n-devel >= 5.51.0
29 BuildRequires:  kf5-kiconthemes-devel >= 5.51.0
30 BuildRequires:  kf5-kio-devel >= 5.51.0
31 BuildRequires:  kf5-ktextwidgets-devel >= 5.51.0
32 BuildRequires:  kf5-prison-devel >= 5.51.0
33 BuildRequires:  ninja
34 BuildRequires:  tar >= 1:1.22
35 BuildRequires:  xz
36 BuildRoot:      %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
37
38 %description
39 Akonadi Contacts is a library that effectively bridges the
40 type-agnostic API of the Akonadi client libraries and the
41 domain-specific KContacts library. It provides jobs, models and other
42 helpers to make working with contacts and addressbooks through Akonadi
43 easier.
44
45 %package devel
46 Summary:        Header files for %{kaname} development
47 Summary(pl.UTF-8):      Pliki nagłówkowe dla programistów używających %{kpname}
48 Group:          X11/Development/Libraries
49 Requires:       %{name} = %{version}-%{release}
50
51 %description devel
52 Header files for %{kaname} development.
53
54 %description devel -l pl.UTF-8
55 Pliki nagłówkowe dla programistów używających %{kaname}.
56
57 %prep
58 %setup -q -n %{kaname}-%{version}
59
60 %build
61 install -d build
62 cd build
63 %cmake -G Ninja \
64         -DHTML_INSTALL_DIR=%{_kdedocdir} \
65         -DKDE_INSTALL_USE_QT_SYS_PATHS=ON \
66         ..
67 %ninja_build
68
69 %install
70 rm -rf $RPM_BUILD_ROOT
71 %ninja_install -C build
72
73 %find_lang %{kaname} --all-name --with-kde
74
75 %clean
76 rm -rf $RPM_BUILD_ROOT
77
78 %post   -p /sbin/ldconfig
79 %postun -p /sbin/ldconfig
80
81 %files -f %{kaname}.lang
82 %defattr(644,root,root,755)
83 %ghost %{_libdir}/libKF5AkonadiContact.so.5
84 %{_libdir}/libKF5AkonadiContact.so.5.*.*
85 %ghost %{_libdir}/libKF5ContactEditor.so.5
86 %{_libdir}/libKF5ContactEditor.so.5.*.*
87 %{_libdir}/qt5/plugins/akonadi/contacts
88 %{_libdir}/qt5/plugins/akonadi_serializer_addressee.so
89 %{_libdir}/qt5/plugins/akonadi_serializer_contactgroup.so
90 %{_libdir}/qt5/plugins/pim/kcms/kaddressbook/kcm_akonadicontact_actions.so
91 %{_datadir}/akonadi/plugins/serializer/akonadi_serializer_addressee.desktop
92 %{_datadir}/akonadi/plugins/serializer/akonadi_serializer_contactgroup.desktop
93 %{_datadir}/kf5/akonadi/contact
94 %{_datadir}/kservices5/akonadicontact_actions.desktop
95 %{_datadir}/qlogging-categories5/akonadi-contacts.categories
96 %{_datadir}/qlogging-categories5/akonadi-contacts.renamecategories
97
98 %files devel
99 %defattr(644,root,root,755)
100 %{_includedir}/KF5/Akonadi/Contact
101 %{_includedir}/KF5/ContactEditor
102 %{_includedir}/KF5/akonadi/contact
103 %{_includedir}/KF5/contacteditor
104 %{_libdir}/cmake/KF5AkonadiContact
105 %{_libdir}/cmake/KF5ContactEditor
106 %{_libdir}/libKF5AkonadiContact.so
107 %{_libdir}/libKF5ContactEditor.so
108 %{_libdir}/qt5/mkspecs/modules/qt_AkonadiContact.pri
109 %{_libdir}/qt5/mkspecs/modules/qt_ContactEditor.pri
This page took 0.093886 seconds and 3 git commands to generate.