- updated to 18.12.1
[packages/ka5-kldap.git] / ka5-kldap.spec
CommitLineData
00fb901f 1%define kdeappsver 18.12.1
0f8f6463
WF
2%define qtver 5.9.0
3%define kaname kldap
4Summary: LDAP access API for KDE
5Name: ka5-%{kaname}
00fb901f 6Version: 18.12.1
0f8f6463
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
00fb901f 11# Source0-md5: 4a456c9859f5afc61f851b583059c089
0f8f6463
WF
12URL: http://www.kde.org/
13BuildRequires: Qt5Core-devel >= %{qtver}
14BuildRequires: Qt5Gui-devel >= 5.11.1
15BuildRequires: Qt5Test-devel
16BuildRequires: cmake >= 2.8.12
17BuildRequires: cyrus-sasl-devel
18BuildRequires: gettext-devel
19BuildRequires: ka5-kcalcore-devel >= %{kdeappsver}
20BuildRequires: kf5-extra-cmake-modules >= 5.53.0
21BuildRequires: kf5-kcompletion-devel >= 5.51.0
22BuildRequires: kf5-kdoctools-devel >= 5.51.0
23BuildRequires: kf5-ki18n-devel >= 5.51.0
24BuildRequires: kf5-kio-devel >= 5.51.0
25BuildRequires: kf5-kwidgetsaddons-devel >= 5.51.0
26BuildRequires: qt5-build >= %{qtver}
27BuildRequires: rpmbuild(macros) >= 1.164
28BuildRequires: shared-mime-info
29BuildRequires: tar >= 1:1.22
30BuildRequires: xz
31BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
32
33%description
34kldap - an LDAP access API for KDE.
35
36%package devel
37Summary: Header files for %{kaname} development
38Summary(pl.UTF-8): Pliki nagłówkowe dla programistów używających %{kaname}
39Group: X11/Development/Libraries
40Requires: %{name} = %{version}-%{release}
41
42%description devel
43Header files for %{kaname} development.
44
45%description devel -l pl.UTF-8
46Pliki nagłówkowe dla programistów używających %{kaname}.
47
48%prep
49%setup -q -n %{kaname}-%{version}
50
51%build
52install -d build
53cd build
54%cmake \
55 -DKDE_INSTALL_USE_QT_SYS_PATHS=ON \
56 ..
57%{__make}
58
59%install
60rm -rf $RPM_BUILD_ROOT
61%{__make} -C build install \
62 DESTDIR=$RPM_BUILD_ROOT
63
64%find_lang %{kaname}_qt --with-qm --all-name --with-kde
65
66%clean
67rm -rf $RPM_BUILD_ROOT
68
69%post -p /sbin/ldconfig
70%postun -p /sbin/ldconfig
71
72%files -f %{kaname}_qt.lang
73%defattr(644,root,root,755)
74/etc/xdg/kldap.categories
75/etc/xdg/kldap.renamecategories
76%attr(755,root,root) %ghost %{_libdir}/libKF5Ldap.so.5
77%attr(755,root,root) %{_libdir}/libKF5Ldap.so.5.*.*
78%attr(755,root,root) %{_libdir}/qt5/plugins/kf5/kio/ldap.so
79%{_datadir}/kservices5/ldap.protocol
80%{_datadir}/kservices5/ldaps.protocol
81
82%files devel
83%defattr(644,root,root,755)
84%{_includedir}/KF5/KLDAP
85%{_includedir}/KF5/kldap_version.h
86%{_libdir}/cmake/KF5Ldap
87%attr(755,root,root) %{_libdir}/libKF5Ldap.so
88%{_libdir}/qt5/mkspecs/modules/qt_Ldap.pri
This page took 0.119253 seconds and 4 git commands to generate.