- updated to 18.12.1
[packages/ka5-libkdepim.git] / ka5-libkdepim.spec
1 %define         kdeappsver      18.12.1
2 %define         qtver           5.9.0
3 %define         kaname          libkdepim
4 Summary:        libkdepim
5 Name:           ka5-%{kaname}
6 Version:        18.12.1
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
11 # Source0-md5:  003b9e7af7d50234a23a2d4236694749
12 URL:            http://www.kde.org/
13 BuildRequires:  Qt5Core-devel >= %{qtver}
14 BuildRequires:  Qt5DBus-devel
15 BuildRequires:  Qt5Designer-devel
16 BuildRequires:  Qt5Gui-devel >= 5.11.1
17 BuildRequires:  Qt5Network-devel
18 BuildRequires:  Qt5Test-devel
19 BuildRequires:  Qt5UiTools-devel >= 5.11.1
20 BuildRequires:  Qt5Widgets-devel
21 BuildRequires:  cmake >= 2.8.12
22 BuildRequires:  gettext-devel
23 BuildRequires:  ka5-akonadi-contacts-devel >= %{kdeappsver}
24 BuildRequires:  ka5-akonadi-devel >= %{kdeappsver}
25 BuildRequires:  ka5-akonadi-search-devel >= %{kdeappsver}
26 BuildRequires:  ka5-kcalcore-devel >= %{kdeappsver}
27 BuildRequires:  ka5-kcontacts-devel >= %{kdeappsver}
28 BuildRequires:  ka5-kldap-devel >= %{kdeappsver}
29 BuildRequires:  kf5-extra-cmake-modules >= 5.53.0
30 BuildRequires:  kf5-kcmutils-devel >= 5.51.0
31 BuildRequires:  kf5-kcodecs-devel >= 5.51.0
32 BuildRequires:  kf5-kcompletion-devel >= 5.51.0
33 BuildRequires:  kf5-kconfig-devel >= 5.51.0
34 BuildRequires:  kf5-kconfigwidgets-devel >= 5.51.0
35 BuildRequires:  kf5-kcoreaddons-devel >= 5.51.0
36 BuildRequires:  kf5-ki18n-devel >= 5.51.0
37 BuildRequires:  kf5-kiconthemes-devel >= 5.51.0
38 BuildRequires:  kf5-kio-devel >= 5.51.0
39 BuildRequires:  kf5-kitemviews-devel >= 5.51.0
40 BuildRequires:  kf5-kjobwidgets-devel >= 5.51.0
41 BuildRequires:  kf5-kwallet-devel >= 5.51.0
42 BuildRequires:  kf5-kwidgetsaddons-devel >= 5.51.0
43 BuildRequires:  qt5-build >= %{qtver}
44 BuildRequires:  rpmbuild(macros) >= 1.164
45 BuildRequires:  shared-mime-info
46 BuildRequires:  tar >= 1:1.22
47 BuildRequires:  xz
48 BuildRoot:      %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
49
50 %description
51 Library for common kdepim apps.
52
53 %package devel
54 Summary:        Header files for %{kaname} development
55 Summary(pl.UTF-8):      Pliki nagłówkowe dla programistów używających %{kaname}
56 Group:          X11/Development/Libraries
57 Requires:       %{name} = %{version}-%{release}
58
59 %description devel
60 Header files for %{kaname} development.
61
62 %description devel -l pl.UTF-8
63 Pliki nagłówkowe dla programistów używających %{kaname}.
64
65 %prep
66 %setup -q -n %{kaname}-%{version}
67
68 %build
69 install -d build
70 cd build
71 %cmake \
72         -DKDE_INSTALL_USE_QT_SYS_PATHS=ON \
73         ..
74 %{__make}
75
76 %install
77 rm -rf $RPM_BUILD_ROOT
78 %{__make} -C build install \
79         DESTDIR=$RPM_BUILD_ROOT
80
81 %find_lang %{kaname}_qt --with-qm --all-name --with-kde
82
83 %clean
84 rm -rf $RPM_BUILD_ROOT
85
86 %post   -p /sbin/ldconfig
87 %postun -p /sbin/ldconfig
88
89 %files -f %{kaname}_qt.lang
90 %defattr(644,root,root,755)
91 /etc/xdg/libkdepim.categories
92 /etc/xdg/libkdepim.renamecategories
93 %attr(755,root,root) %ghost %{_libdir}/libKF5Libkdepim.so.5
94 %attr(755,root,root) %{_libdir}/libKF5Libkdepim.so.5.*.*
95 %attr(755,root,root) %ghost %{_libdir}/libKF5LibkdepimAkonadi.so.5
96 %attr(755,root,root) %{_libdir}/libKF5LibkdepimAkonadi.so.5.*.*
97 %attr(755,root,root) %{_libdir}/qt5/plugins/designer/kdepimakonadiwidgets.so
98 %attr(755,root,root) %{_libdir}/qt5/plugins/designer/kdepimwidgets.so
99 %attr(755,root,root) %{_libdir}/qt5/plugins/kcm_ldap.so
100 %{_datadir}/dbus-1/interfaces/org.kde.addressbook.service.xml
101 %{_datadir}/dbus-1/interfaces/org.kde.mailtransport.service.xml
102 %dir %{_datadir}/kdepimwidgets
103 %dir %{_datadir}/kdepimwidgets/pics
104 %{_datadir}/kdepimwidgets/pics/addresseelineedit.png
105 %{_datadir}/kdepimwidgets/pics/clicklineedit.png
106 %{_datadir}/kdepimwidgets/pics/kdateedit.png
107 %{_datadir}/kdepimwidgets/pics/ktimeedit.png
108 %{_datadir}/kservices5/kcmldap.desktop
109
110 %files devel
111 %defattr(644,root,root,755)
112 %{_includedir}/KF5/Libkdepim
113 %{_includedir}/KF5/LibkdepimAkonadi
114 %{_includedir}/KF5/libkdepim
115 %{_includedir}/KF5/libkdepim_version.h
116 %{_includedir}/KF5/libkdepimakonadi
117 %{_includedir}/KF5/libkdepimakonadi_version.h
118 %{_libdir}/cmake/KF5Libkdepim
119 %{_libdir}/cmake/KF5LibkdepimAkonadi
120 %{_libdir}/cmake/MailTransportDBusService
121 %attr(755,root,root) %{_libdir}/libKF5Libkdepim.so
122 %attr(755,root,root) %{_libdir}/libKF5LibkdepimAkonadi.so
123 %{_libdir}/qt5/mkspecs/modules/qt_Libkdepim.pri
124 %{_libdir}/qt5/mkspecs/modules/qt_LibkdepimAkonadi.pri
This page took 0.100669 seconds and 3 git commands to generate.