2014-02-07 21:42:32 +00:00
|
|
|
#
|
|
|
|
|
# spec file for package kdnssd-framework
|
|
|
|
|
#
|
2021-01-09 12:18:47 +00:00
|
|
|
# Copyright (c) 2021 SUSE LLC
|
2014-02-07 21:42:32 +00: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-16 12:24:44 +00:00
|
|
|
# Please submit bugfixes or comments via https://bugs.opensuse.org/
|
2014-02-07 21:42:32 +00:00
|
|
|
#
|
|
|
|
|
|
|
|
|
|
|
2014-03-01 18:34:06 +00:00
|
|
|
%define lname libKF5DNSSD5
|
2017-09-13 12:32:25 +00:00
|
|
|
# Full KF5 version (e.g. 5.33.0)
|
|
|
|
|
%{!?_kf5_version: %global _kf5_version %{version}}
|
|
|
|
|
# Last major and minor KF5 version (e.g. 5.33)
|
2018-07-17 08:57:54 +00:00
|
|
|
%{!?_kf5_bugfix_version: %define _kf5_bugfix_version %(echo %{_kf5_version} | awk -F. '{print $1"."$2}')}
|
2024-01-15 14:09:11 +00:00
|
|
|
%define qt5_version 5.15.2
|
2022-01-09 10:15:02 +00:00
|
|
|
%bcond_without released
|
2014-02-07 21:42:32 +00:00
|
|
|
Name: kdnssd-framework
|
2024-05-19 09:35:31 +00:00
|
|
|
Version: 5.116.0
|
2014-02-07 21:42:32 +00:00
|
|
|
Release: 0
|
2018-08-20 12:58:38 +00:00
|
|
|
Summary: Network service discovery using Zeroconf
|
|
|
|
|
License: LGPL-2.1-or-later
|
2018-10-16 12:24:44 +00:00
|
|
|
URL: https://www.kde.org
|
2021-11-12 12:20:53 +00:00
|
|
|
Source: kdnssd-%{version}.tar.xz
|
2022-01-09 10:15:02 +00:00
|
|
|
%if %{with released}
|
2021-11-12 12:20:53 +00:00
|
|
|
Source1: kdnssd-%{version}.tar.xz.sig
|
2019-08-11 21:07:17 +00:00
|
|
|
Source2: frameworks.keyring
|
|
|
|
|
%endif
|
2014-02-07 21:42:32 +00:00
|
|
|
BuildRequires: avahi-compat-mDNSResponder-devel
|
2024-01-15 14:09:11 +00:00
|
|
|
BuildRequires: extra-cmake-modules >= %{_kf5_version}
|
2014-02-07 21:42:32 +00:00
|
|
|
BuildRequires: fdupes
|
2024-01-15 14:09:11 +00:00
|
|
|
BuildRequires: cmake(Qt5DBus) >= %{qt5_version}
|
|
|
|
|
BuildRequires: cmake(Qt5LinguistTools) >= %{qt5_version}
|
|
|
|
|
BuildRequires: cmake(Qt5Network) >= %{qt5_version}
|
2014-02-07 21:42:32 +00:00
|
|
|
|
|
|
|
|
%description
|
2014-02-10 23:41:50 +00:00
|
|
|
KDNSSD is a library for handling the DNS-based Service Discovery Protocol
|
|
|
|
|
(DNS-SD), the layer of Zeroconf that allows network
|
|
|
|
|
services, such as printers, to be discovered without any user intervention or
|
|
|
|
|
centralized infrastructure.
|
2014-02-07 21:42:32 +00:00
|
|
|
|
2018-08-20 12:58:38 +00:00
|
|
|
%package -n %{lname}
|
2014-02-10 23:41:50 +00:00
|
|
|
Summary: Network service discovery using Zeroconf
|
2018-08-20 12:58:38 +00:00
|
|
|
%requires_ge libQt5DBus5
|
|
|
|
|
%requires_ge libQt5Network5
|
|
|
|
|
Recommends: nss-mdns
|
2014-02-07 21:42:32 +00:00
|
|
|
|
2018-08-20 12:58:38 +00:00
|
|
|
%description -n %{lname}
|
2014-02-10 23:41:50 +00:00
|
|
|
KDNSSD is a library for handling the DNS-based Service Discovery Protocol
|
|
|
|
|
(DNS-SD), the layer of Zeroconf that allows network
|
|
|
|
|
services, such as printers, to be discovered without any user intervention or
|
|
|
|
|
centralized infrastructure.
|
2014-02-07 21:42:32 +00:00
|
|
|
|
|
|
|
|
%package devel
|
2014-02-10 23:41:50 +00:00
|
|
|
Summary: Network service discovery using Zeroconf
|
2018-08-20 12:58:38 +00:00
|
|
|
Requires: %{lname} = %{version}
|
2024-01-15 14:09:11 +00:00
|
|
|
Requires: cmake(Qt5Network) >= %{qt5_version}
|
2014-02-07 21:42:32 +00:00
|
|
|
|
|
|
|
|
%description devel
|
2014-02-10 23:41:50 +00:00
|
|
|
KDNSSD is a library for handling the DNS-based Service Discovery Protocol
|
|
|
|
|
(DNS-SD), the layer of Zeroconf that allows network
|
|
|
|
|
services, such as printers, to be discovered without any user intervention or
|
|
|
|
|
centralized infrastructure. Development files.
|
2014-02-07 21:42:32 +00:00
|
|
|
|
2018-08-20 12:58:38 +00:00
|
|
|
%lang_package -n %{lname}
|
|
|
|
|
|
2014-02-07 21:42:32 +00:00
|
|
|
%prep
|
2021-05-09 07:41:57 +00:00
|
|
|
%autosetup -p1 -n kdnssd-%{version}
|
2014-02-07 21:42:32 +00:00
|
|
|
|
|
|
|
|
%build
|
2021-05-09 07:41:57 +00:00
|
|
|
%cmake_kf5 -d build -- -Dlconvert_executable=%{_kf5_libdir}/qt5/bin/lconvert
|
|
|
|
|
%cmake_build
|
2014-02-07 21:42:32 +00:00
|
|
|
|
|
|
|
|
%install
|
2021-05-09 07:41:57 +00:00
|
|
|
%kf5_makeinstall -C build
|
|
|
|
|
%fdupes %{buildroot}
|
2014-05-05 08:48:36 +00:00
|
|
|
|
2015-04-05 11:42:52 +00:00
|
|
|
%find_lang kdnssd5 --with-qt --without-mo
|
2014-02-07 21:42:32 +00:00
|
|
|
|
2023-02-12 09:52:57 +00:00
|
|
|
%ldconfig_scriptlets -n %{lname}
|
2014-02-07 21:42:32 +00:00
|
|
|
|
2018-08-20 12:58:38 +00:00
|
|
|
%files -n %{lname}-lang -f kdnssd5.lang
|
2014-05-05 08:48:36 +00:00
|
|
|
|
2018-08-20 12:58:38 +00:00
|
|
|
%files -n %{lname}
|
2020-07-11 10:30:47 +00:00
|
|
|
%license LICENSES/*
|
2018-08-20 12:58:38 +00:00
|
|
|
%doc README*
|
2014-02-07 21:42:32 +00:00
|
|
|
%{_kf5_libdir}/libKF5DNSSD.so.*
|
|
|
|
|
|
|
|
|
|
%files devel
|
2014-08-07 21:03:38 +00:00
|
|
|
%{_kf5_includedir}/
|
2020-07-11 10:30:47 +00:00
|
|
|
%{_kf5_libdir}/cmake/KF5DNSSD/
|
|
|
|
|
%{_kf5_libdir}/libKF5DNSSD.so
|
2014-02-07 21:42:32 +00:00
|
|
|
%{_kf5_mkspecsdir}/qt_KDNSSD.pri
|
|
|
|
|
|
|
|
|
|
%changelog
|