SHA256
1
0
forked from pool/kdnssd
2021-04-19 13:30:56 +00:00
committed by Git OBS Bridge
parent 61adeeccbb
commit 9d977588a3
6 changed files with 41 additions and 31 deletions

View File

@@ -22,32 +22,33 @@
%{!?_kapp_version: %define _kapp_version %(echo %{version}| awk -F. '{print $1"."$2}')}
%bcond_without lang
Name: kdnssd
Version: 21.03.90
Version: 21.04.0
Release: 0
Summary: Zeroconf Support for KIO applications
License: GPL-2.0-or-later
Group: Productivity/Networking/System
URL: https://www.kde.org
Source: https://download.kde.org/unstable/release-service/%{version}/src/%{rname}-%{version}.tar.xz
Source: https://download.kde.org/stable/release-service/%{version}/src/%{rname}-%{version}.tar.xz
%if %{with lang}
Source1: https://download.kde.org/stable/release-service/%{version}/src/%{rname}-%{version}.tar.xz.sig
Source2: applications.keyring
%endif
BuildRequires: extra-cmake-modules
BuildRequires: kf5-filesystem
BuildRequires: cmake(KF5DBusAddons)
BuildRequires: cmake(KF5DNSSD)
BuildRequires: cmake(KF5I18n)
BuildRequires: cmake(KF5KIO)
%if %{with lang}
Source1: https://download.kde.org/unstable/release-service/%{version}/src/%{rname}-%{version}.tar.xz.sig
Source2: applications.keyring
%endif
Recommends: %{name}-lang
%lang_package
%description
This package adds Zeroconf support to KIO, allowing the use of this protocol
in all applications that are using KIO.
%lang_package
%prep
%setup -q -n %{rname}-%{version}
%autosetup -p1 -n %{rname}-%{version}
%build
%ifarch ppc ppc64
@@ -68,13 +69,13 @@ export RPM_OPT_FLAGS="%{optflags} -mminimal-toc"
%files
%license COPYING COPYING.DOC
%{_kf5_appstreamdir}/org.kde.zeroconf-ioslave.metainfo.xml
%{_kf5_plugindir}/kf5/kio/zeroconf.so
%{_kf5_dbusinterfacesdir}/org.kde.kdnssd.xml
%{_kf5_plugindir}/kded_dnssdwatcher.so
%dir %{_kf5_sharedir}/remoteview/
%{_kf5_sharedir}/remoteview/zeroconf.desktop
%{_kf5_plugindir}/kf5/kio/zeroconf.so
%dir %{_kf5_servicesdir}/kded/
%{_kf5_servicesdir}/kded/dnssdwatcher.desktop
%{_kf5_dbusinterfacesdir}/org.kde.kdnssd.xml
%dir %{_kf5_sharedir}/remoteview/
%{_kf5_sharedir}/remoteview/zeroconf.desktop
%if %{with lang}
%files lang -f %{name}.lang