2013-07-08 09:55:55 +00:00
|
|
|
#
|
2013-07-22 15:15:51 +00:00
|
|
|
# spec file for package kdnssd
|
2013-07-08 09:55:55 +00:00
|
|
|
#
|
2023-03-02 14:21:04 +00:00
|
|
|
# Copyright (c) 2023 SUSE LLC
|
2013-07-08 09:55:55 +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-11-24 23:44:39 +00:00
|
|
|
# Please submit bugfixes or comments via https://bugs.opensuse.org/
|
2013-07-08 09:55:55 +00:00
|
|
|
#
|
|
|
|
|
2013-07-22 15:15:51 +00:00
|
|
|
|
2022-08-09 14:12:33 +00:00
|
|
|
%define rname kio-zeroconf
|
2022-01-06 12:44:40 +00:00
|
|
|
%bcond_without released
|
2017-11-21 22:23:00 +00:00
|
|
|
Name: kdnssd
|
2023-10-12 12:22:04 +00:00
|
|
|
Version: 23.08.2
|
2017-11-21 22:23:00 +00:00
|
|
|
Release: 0
|
|
|
|
Summary: Zeroconf Support for KIO applications
|
2018-11-24 23:44:39 +00:00
|
|
|
License: GPL-2.0-or-later
|
2019-08-15 14:00:35 +00:00
|
|
|
URL: https://www.kde.org
|
2023-08-24 10:28:27 +00:00
|
|
|
Source: https://download.kde.org/stable/release-service/%{version}/src/%{rname}-%{version}.tar.xz
|
2022-01-06 12:44:40 +00:00
|
|
|
%if %{with released}
|
2023-08-24 10:28:27 +00:00
|
|
|
Source1: https://download.kde.org/stable/release-service/%{version}/src/%{rname}-%{version}.tar.xz.sig
|
2021-04-19 13:30:56 +00:00
|
|
|
Source2: applications.keyring
|
|
|
|
%endif
|
2017-11-21 22:23:00 +00:00
|
|
|
BuildRequires: extra-cmake-modules
|
|
|
|
BuildRequires: kf5-filesystem
|
|
|
|
BuildRequires: cmake(KF5DBusAddons)
|
|
|
|
BuildRequires: cmake(KF5DNSSD)
|
|
|
|
BuildRequires: cmake(KF5I18n)
|
|
|
|
BuildRequires: cmake(KF5KIO)
|
2013-07-08 09:55:55 +00:00
|
|
|
|
|
|
|
%description
|
2017-11-21 22:23:00 +00:00
|
|
|
This package adds Zeroconf support to KIO, allowing the use of this protocol
|
|
|
|
in all applications that are using KIO.
|
2013-07-08 09:55:55 +00:00
|
|
|
|
2021-04-19 13:30:56 +00:00
|
|
|
%lang_package
|
|
|
|
|
2013-07-08 09:55:55 +00:00
|
|
|
%prep
|
2021-04-19 13:30:56 +00:00
|
|
|
%autosetup -p1 -n %{rname}-%{version}
|
2013-07-08 09:55:55 +00:00
|
|
|
|
|
|
|
%build
|
|
|
|
%ifarch ppc ppc64
|
|
|
|
export RPM_OPT_FLAGS="%{optflags} -mminimal-toc"
|
|
|
|
%endif
|
2017-11-21 22:23:00 +00:00
|
|
|
%cmake_kf5 -d build
|
2020-02-07 08:42:44 +00:00
|
|
|
%cmake_build
|
2013-07-08 09:55:55 +00:00
|
|
|
|
|
|
|
%install
|
2017-11-21 22:23:00 +00:00
|
|
|
%kf5_makeinstall -C build
|
2022-11-17 22:58:18 +00:00
|
|
|
|
|
|
|
%find_lang %{name} --with-man --all-name
|
2013-07-08 09:55:55 +00:00
|
|
|
|
2023-03-02 14:21:04 +00:00
|
|
|
%ldconfig_scriptlets
|
2013-07-08 09:55:55 +00:00
|
|
|
|
|
|
|
%files
|
2021-07-27 09:35:46 +00:00
|
|
|
%license LICENSES/*
|
2022-08-09 14:12:33 +00:00
|
|
|
%{_kf5_appstreamdir}/org.kde.kio_zeroconf.metainfo.xml
|
2021-04-19 13:30:56 +00:00
|
|
|
%{_kf5_dbusinterfacesdir}/org.kde.kdnssd.xml
|
2021-07-27 09:35:46 +00:00
|
|
|
%dir %{_kf5_plugindir}/kf5/
|
|
|
|
%dir %{_kf5_plugindir}/kf5/kded
|
|
|
|
%{_kf5_plugindir}/kf5/kded/dnssdwatcher.so
|
2021-04-19 13:30:56 +00:00
|
|
|
%{_kf5_plugindir}/kf5/kio/zeroconf.so
|
|
|
|
%dir %{_kf5_sharedir}/remoteview/
|
|
|
|
%{_kf5_sharedir}/remoteview/zeroconf.desktop
|
2017-11-21 22:23:00 +00:00
|
|
|
|
|
|
|
%files lang -f %{name}.lang
|
2013-07-08 09:55:55 +00:00
|
|
|
|
|
|
|
%changelog
|