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