- updated to 18.12.1
[packages/ka5-libkdepim.git] / ka5-libkdepim.spec
CommitLineData
b1e777a2 1%define kdeappsver 18.12.1
3b3f0742
WF
2%define qtver 5.9.0
3%define kaname libkdepim
4Summary: libkdepim
5Name: ka5-%{kaname}
b1e777a2 6Version: 18.12.1
3b3f0742
WF
7Release: 1
8License: GPL v2+/LGPL v2.1+
9Group: X11/Libraries
10Source0: http://download.kde.org/stable/applications/%{kdeappsver}/src/%{kaname}-%{version}.tar.xz
b1e777a2 11# Source0-md5: 003b9e7af7d50234a23a2d4236694749
3b3f0742
WF
12URL: http://www.kde.org/
13BuildRequires: Qt5Core-devel >= %{qtver}
14BuildRequires: Qt5DBus-devel
15BuildRequires: Qt5Designer-devel
16BuildRequires: Qt5Gui-devel >= 5.11.1
17BuildRequires: Qt5Network-devel
18BuildRequires: Qt5Test-devel
19BuildRequires: Qt5UiTools-devel >= 5.11.1
20BuildRequires: Qt5Widgets-devel
21BuildRequires: cmake >= 2.8.12
22BuildRequires: gettext-devel
23BuildRequires: ka5-akonadi-contacts-devel >= %{kdeappsver}
24BuildRequires: ka5-akonadi-devel >= %{kdeappsver}
25BuildRequires: ka5-akonadi-search-devel >= %{kdeappsver}
26BuildRequires: ka5-kcalcore-devel >= %{kdeappsver}
27BuildRequires: ka5-kcontacts-devel >= %{kdeappsver}
28BuildRequires: ka5-kldap-devel >= %{kdeappsver}
29BuildRequires: kf5-extra-cmake-modules >= 5.53.0
30BuildRequires: kf5-kcmutils-devel >= 5.51.0
31BuildRequires: kf5-kcodecs-devel >= 5.51.0
32BuildRequires: kf5-kcompletion-devel >= 5.51.0
33BuildRequires: kf5-kconfig-devel >= 5.51.0
34BuildRequires: kf5-kconfigwidgets-devel >= 5.51.0
35BuildRequires: kf5-kcoreaddons-devel >= 5.51.0
36BuildRequires: kf5-ki18n-devel >= 5.51.0
37BuildRequires: kf5-kiconthemes-devel >= 5.51.0
38BuildRequires: kf5-kio-devel >= 5.51.0
39BuildRequires: kf5-kitemviews-devel >= 5.51.0
40BuildRequires: kf5-kjobwidgets-devel >= 5.51.0
41BuildRequires: kf5-kwallet-devel >= 5.51.0
42BuildRequires: kf5-kwidgetsaddons-devel >= 5.51.0
43BuildRequires: qt5-build >= %{qtver}
44BuildRequires: rpmbuild(macros) >= 1.164
45BuildRequires: shared-mime-info
46BuildRequires: tar >= 1:1.22
47BuildRequires: xz
48BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
49
50%description
51Library for common kdepim apps.
52
53%package devel
54Summary: Header files for %{kaname} development
55Summary(pl.UTF-8): Pliki nagłówkowe dla programistów używających %{kaname}
56Group: X11/Development/Libraries
57Requires: %{name} = %{version}-%{release}
58
59%description devel
60Header files for %{kaname} development.
61
62%description devel -l pl.UTF-8
63Pliki nagłówkowe dla programistów używających %{kaname}.
64
65%prep
66%setup -q -n %{kaname}-%{version}
67
68%build
69install -d build
70cd build
71%cmake \
72 -DKDE_INSTALL_USE_QT_SYS_PATHS=ON \
73 ..
74%{__make}
75
76%install
77rm -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
84rm -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.196855 seconds and 4 git commands to generate.