- updated to 18.12.1
[packages/ka5-libkgapi.git] / ka5-libkgapi.spec
CommitLineData
0c5b1a62 1%define kdeappsver 18.12.1
137496d6
WF
2%define qtver 5.9.0
3%define kaname libkgapi
4Summary: libkgapi
5Name: ka5-%{kaname}
0c5b1a62 6Version: 18.12.1
137496d6
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
0c5b1a62 11# Source0-md5: 4c1586446861dce28820711ae8ecaa7e
137496d6
WF
12URL: http://www.kde.org/
13BuildRequires: Qt5Core-devel >= %{qtver}
14BuildRequires: Qt5Gui-devel >= 5.11.1
15BuildRequires: Qt5Network-devel
16BuildRequires: Qt5Positioning-devel >= 5.11.1
17BuildRequires: Qt5PrintSupport-devel >= 5.11.1
18BuildRequires: Qt5Qml-devel >= 5.11.1
19BuildRequires: Qt5Quick-devel >= 5.11.1
20BuildRequires: Qt5Test-devel
21BuildRequires: Qt5WebChannel-devel >= 5.11.1
22BuildRequires: Qt5WebEngine-devel >= 5.11.1
23BuildRequires: Qt5Widgets-devel
24BuildRequires: Qt5Xml-devel
25BuildRequires: cmake >= 2.8.12
26BuildRequires: cyrus-sasl-devel
27BuildRequires: gettext-devel
28BuildRequires: ka5-kcalcore-devel >= %{kdeappsver}
29BuildRequires: ka5-kcontacts-devel >= %{kdeappsver}
30BuildRequires: kf5-extra-cmake-modules >= 5.53.0
31BuildRequires: kf5-kio-devel >= 5.51.0
32BuildRequires: kf5-kwallet-devel >= 5.51.0
33BuildRequires: kf5-kwindowsystem-devel >= 5.51.0
34BuildRequires: qt5-build >= %{qtver}
35BuildRequires: rpmbuild(macros) >= 1.164
36BuildRequires: shared-mime-info
37BuildRequires: tar >= 1:1.22
38BuildRequires: xz
39BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
40
41%description
42LibKGAPI is a KDE-based library for accessing various Google services
43via their public API.
44
45%package devel
46Summary: Header files for %{kaname} development
47Summary(pl.UTF-8): Pliki nagłówkowe dla programistów używających %{kaname}
48Group: X11/Development/Libraries
49Requires: %{name} = %{version}-%{release}
50
51%description devel
52Header files for %{kaname} development.
53
54%description devel -l pl.UTF-8
55Pliki nagłówkowe dla programistów używających %{kaname}.
56
57%prep
58%setup -q -n %{kaname}-%{version}
59
60%build
61install -d build
62cd build
63%cmake \
64 -DKDE_INSTALL_USE_QT_SYS_PATHS=ON \
65 ..
66%{__make}
67
68%install
69rm -rf $RPM_BUILD_ROOT
70%{__make} -C build install \
71 DESTDIR=$RPM_BUILD_ROOT
72
73%find_lang %{kaname}_qt --with-qm --all-name --with-kde
74
75%clean
76rm -rf $RPM_BUILD_ROOT
77
78%post -p /sbin/ldconfig
79%postun -p /sbin/ldconfig
80
81%files -f %{kaname}_qt.lang
82%defattr(644,root,root,755)
83/etc/xdg/libkgapi.categories
84%attr(755,root,root) %ghost %{_libdir}/libKPimGAPIBlogger.so.5
85%attr(755,root,root) %{_libdir}/libKPimGAPIBlogger.so.5.*.*
86%attr(755,root,root) %ghost %{_libdir}/libKPimGAPICalendar.so.5
87%attr(755,root,root) %{_libdir}/libKPimGAPICalendar.so.5.*.*
88%attr(755,root,root) %ghost %{_libdir}/libKPimGAPIContacts.so.5
89%attr(755,root,root) %{_libdir}/libKPimGAPIContacts.so.5.*.*
90%attr(755,root,root) %ghost %{_libdir}/libKPimGAPICore.so.5
91%attr(755,root,root) %{_libdir}/libKPimGAPICore.so.5.*.*
92%attr(755,root,root) %ghost %{_libdir}/libKPimGAPIDrive.so.5
93%attr(755,root,root) %{_libdir}/libKPimGAPIDrive.so.5.*.*
94%attr(755,root,root) %ghost %{_libdir}/libKPimGAPILatitude.so.5
95%attr(755,root,root) %{_libdir}/libKPimGAPILatitude.so.5.*.*
96%attr(755,root,root) %ghost %{_libdir}/libKPimGAPIMaps.so.5
97%attr(755,root,root) %{_libdir}/libKPimGAPIMaps.so.5.*.*
98%attr(755,root,root) %ghost %{_libdir}/libKPimGAPITasks.so.5
99%attr(755,root,root) %{_libdir}/libKPimGAPITasks.so.5.*.*
100%attr(755,root,root) %ghost %{_libdir}/sasl2/libkdexoauth2.so.3
101%attr(755,root,root) %{_libdir}/sasl2/libkdexoauth2.so.3.*.*
102
103%files devel
104%defattr(644,root,root,755)
105%{_includedir}/KPim/KGAPI
106%{_includedir}/KPim/kgapi_version.h
107%{_libdir}/cmake/KPimGAPI
108%attr(755,root,root) %{_libdir}/libKPimGAPIBlogger.so
109%attr(755,root,root) %{_libdir}/libKPimGAPICalendar.so
110%attr(755,root,root) %{_libdir}/libKPimGAPIContacts.so
111%attr(755,root,root) %{_libdir}/libKPimGAPICore.so
112%attr(755,root,root) %{_libdir}/libKPimGAPIDrive.so
113%attr(755,root,root) %{_libdir}/libKPimGAPIMaps.so
114%attr(755,root,root) %{_libdir}/libKPimGAPILatitude.so
115%attr(755,root,root) %{_libdir}/libKPimGAPITasks.so
116%attr(755,root,root) %{_libdir}/sasl2/libkdexoauth2.so
117%{_libdir}/qt5/mkspecs/modules/qt_KGAPIBlogger.pri
118%{_libdir}/qt5/mkspecs/modules/qt_KGAPICalendar.pri
119%{_libdir}/qt5/mkspecs/modules/qt_KGAPIContacts.pri
120%{_libdir}/qt5/mkspecs/modules/qt_KGAPICore.pri
121%{_libdir}/qt5/mkspecs/modules/qt_KGAPIDrive.pri
122%{_libdir}/qt5/mkspecs/modules/qt_KGAPILatitude.pri
123%{_libdir}/qt5/mkspecs/modules/qt_KGAPIMaps.pri
124%{_libdir}/qt5/mkspecs/modules/qt_KGAPITasks.pri
This page took 0.04898 seconds and 4 git commands to generate.