2017-05-08 18:49:23 +02:00
|
|
|
#
|
|
|
|
# spec file for package kdav
|
|
|
|
#
|
2020-01-11 14:40:18 +01:00
|
|
|
# Copyright (c) 2020 SUSE LLC
|
2017-05-08 18:49:23 +02:00
|
|
|
#
|
|
|
|
# All modifications and additions to the file contributed by third parties
|
|
|
|
# remain the property of their copyright owners, unless otherwise agreed
|
|
|
|
# upon. The license for this file, and modifications and additions to the
|
|
|
|
# file, is the same license as for the pristine package itself (unless the
|
|
|
|
# license for the pristine package is not an Open Source License, in which
|
|
|
|
# case the license is the MIT License). An "Open Source License" is a
|
|
|
|
# license that conforms to the Open Source Definition (Version 1.9)
|
|
|
|
# published by the Open Source Initiative.
|
|
|
|
|
2018-10-15 09:24:37 +02:00
|
|
|
# Please submit bugfixes or comments via https://bugs.opensuse.org/
|
2017-05-08 18:49:23 +02:00
|
|
|
#
|
|
|
|
|
2017-05-22 10:39:46 +02:00
|
|
|
|
2018-08-22 14:12:39 +02:00
|
|
|
%bcond_without lang
|
2017-05-08 18:49:23 +02:00
|
|
|
Name: kdav
|
2020-01-11 14:40:18 +01:00
|
|
|
Version: 19.12.1
|
2017-05-08 18:49:23 +02:00
|
|
|
Release: 0
|
|
|
|
Summary: DAV protocol implementation
|
2018-03-20 21:37:42 +01:00
|
|
|
License: GPL-2.0-only
|
2017-05-08 18:49:23 +02:00
|
|
|
Group: Productivity/Other
|
2019-07-26 12:26:47 +02:00
|
|
|
URL: https://www.kde.org
|
2019-12-13 12:02:22 +01:00
|
|
|
Source: https://download.kde.org/stable/release-service/%{version}/src/%{name}-%{version}.tar.xz
|
2019-08-16 15:36:40 +02:00
|
|
|
%if %{with lang}
|
2019-12-13 12:02:22 +01:00
|
|
|
Source1: https://download.kde.org/stable/release-service/%{version}/src/%{name}-%{version}.tar.xz.sig
|
2019-08-16 15:36:40 +02:00
|
|
|
Source2: applications.keyring
|
|
|
|
%endif
|
2017-05-08 18:49:23 +02:00
|
|
|
BuildRequires: extra-cmake-modules
|
|
|
|
BuildRequires: cmake(KF5CoreAddons)
|
2018-04-25 09:48:55 +02:00
|
|
|
BuildRequires: cmake(KF5I18n)
|
2017-05-08 18:49:23 +02:00
|
|
|
BuildRequires: cmake(KF5KIO)
|
|
|
|
BuildRequires: cmake(Qt5Core)
|
|
|
|
BuildRequires: cmake(Qt5Gui)
|
|
|
|
BuildRequires: cmake(Qt5Test)
|
|
|
|
BuildRequires: cmake(Qt5XmlPatterns)
|
2017-08-24 17:43:48 +02:00
|
|
|
Recommends: %{name}-lang
|
2017-05-08 18:49:23 +02:00
|
|
|
|
|
|
|
%description
|
|
|
|
kdav is a library providing a KJob-based implementation of DAV protocols such as
|
|
|
|
CardDAV, WebDAV, and CalDAV.
|
|
|
|
|
|
|
|
%package -n libKPimKDAV5
|
|
|
|
Summary: Core library for kdav
|
|
|
|
Group: System/Libraries
|
|
|
|
Requires: %{name} >= %{version}
|
|
|
|
|
|
|
|
%description -n libKPimKDAV5
|
|
|
|
kdav is a library providing a KJob-based implementation of DAV protocols such as
|
|
|
|
CardDAV, WebDAV, and CalDAV.
|
|
|
|
|
|
|
|
%package devel
|
|
|
|
Summary: Development package for kdav
|
|
|
|
Group: Development/Libraries/KDE
|
|
|
|
Requires: libKPimKDAV5 = %{version}
|
|
|
|
|
|
|
|
%description devel
|
|
|
|
This package contains development files needed to use kdav in other applications.
|
|
|
|
|
2018-04-25 09:48:55 +02:00
|
|
|
%lang_package
|
|
|
|
|
2017-05-08 18:49:23 +02:00
|
|
|
%prep
|
|
|
|
%setup -q
|
|
|
|
|
|
|
|
%build
|
|
|
|
%cmake_kf5 -d build
|
|
|
|
%make_jobs
|
|
|
|
|
|
|
|
%install
|
|
|
|
%kf5_makeinstall -C build
|
2018-04-25 09:48:55 +02:00
|
|
|
%if %{with lang}
|
|
|
|
%find_lang %{name} --with-man --all-name
|
|
|
|
%endif
|
2017-05-08 18:49:23 +02:00
|
|
|
|
|
|
|
%post -n libKPimKDAV5 -p /sbin/ldconfig
|
|
|
|
%postun -n libKPimKDAV5 -p /sbin/ldconfig
|
|
|
|
|
|
|
|
%files
|
2018-12-19 13:33:30 +01:00
|
|
|
%license COPYING
|
2019-12-13 12:02:22 +01:00
|
|
|
%doc README.md
|
2019-07-26 12:26:47 +02:00
|
|
|
%{_kf5_debugdir}/kdav.categories
|
2017-05-08 18:49:23 +02:00
|
|
|
|
|
|
|
%files -n libKPimKDAV5
|
2018-12-19 13:33:30 +01:00
|
|
|
%license COPYING
|
2019-12-13 12:02:22 +01:00
|
|
|
%doc README.md
|
2017-08-24 17:43:48 +02:00
|
|
|
%{_kf5_libdir}/libKPimKDAV.so.*
|
2017-05-08 18:49:23 +02:00
|
|
|
|
|
|
|
%files devel
|
2018-12-19 13:33:30 +01:00
|
|
|
%license COPYING
|
2019-12-13 12:02:22 +01:00
|
|
|
%doc README.md
|
2017-05-08 18:49:23 +02:00
|
|
|
%{_includedir}/KPim/
|
2017-08-24 17:43:48 +02:00
|
|
|
%{_kf5_libdir}/cmake/KPimKDAV/
|
|
|
|
%{_kf5_libdir}/libKPimKDAV.so
|
2017-05-08 18:49:23 +02:00
|
|
|
%{_kf5_mkspecsdir}/qt_kdav.pri
|
|
|
|
|
2018-04-25 09:48:55 +02:00
|
|
|
%if %{with lang}
|
|
|
|
%files lang -f %{name}.lang
|
|
|
|
%license COPYING*
|
|
|
|
%endif
|
|
|
|
|
2017-05-08 18:49:23 +02:00
|
|
|
%changelog
|