KDE Applications 17.12 beta

OBS-URL: https://build.opensuse.org/package/show/KDE:Applications/kdnssd?expand=0&rev=57
This commit is contained in:
Fabian Vogt 2017-11-21 22:23:00 +00:00 committed by Git OBS Bridge
parent 583c366d03
commit a8c7600617
4 changed files with 57 additions and 24 deletions

View File

@ -1,3 +1,18 @@
-------------------------------------------------------------------
Mon Nov 20 06:59:09 CET 2017 - lbeltrame@kde.org
- Update to 17.11.80
* New feature release
* For more details please see:
* https://www.kde.org/announcements/announce-applications-17.12-beta.php
- Changes since 17.08.3:
* Normalize the KIO name and use the json file
* Properly set the translation domain and rename it
* Fix error msg: reference the specific library, not KDE
* Add #include to fix the build
* Build with framework compiler settings
* Port to KDE Frameworks 5
-------------------------------------------------------------------
Thu Nov 09 23:11:38 CET 2017 - lbeltrame@kde.org

View File

@ -15,24 +15,37 @@
# Please submit bugfixes or comments via http://bugs.opensuse.org/
#
%bcond_without lang
%define rname zeroconf-ioslave
Name: kdnssd
Version: 17.08.3
Release: 0
%define kf5_version 5.26.0
# Latest stable Applications (e.g. 17.08 in KA, but 17.11.80 in KUA)
%{!?_kapp_version: %global _kapp_version %(echo %{version}| awk -F. '{print $1"."$2}')}
Summary: Zeroconf Support for KDE
Name: kdnssd
Version: 17.11.80
Release: 0
Summary: Zeroconf Support for KIO applications
License: GPL-2.0+
Group: Productivity/Networking/System
Url: http://www.kde.org
Source0: %{rname}-%{version}.tar.xz
BuildRequires: libkde4-devel
BuildRoot: %{_tmppath}/%{name}-%{version}-build
%{kde4_runtime_requires}
BuildRequires: extra-cmake-modules
BuildRequires: kf5-filesystem
BuildRequires: cmake(KF5DBusAddons)
BuildRequires: cmake(KF5DNSSD)
BuildRequires: cmake(KF5I18n)
BuildRequires: cmake(KF5KIO)
%if %{with lang}
Recommends: %{name}-lang
%endif
%if %{with lang}
%lang_package
%endif
%description
This package contains the Zeroconf support for KDE.
This package adds Zeroconf support to KIO, allowing the use of this protocol
in all applications that are using KIO.
%prep
%setup -q -n %{rname}-%{version}
@ -41,26 +54,31 @@ This package contains the Zeroconf support for KDE.
%ifarch ppc ppc64
export RPM_OPT_FLAGS="%{optflags} -mminimal-toc"
%endif
%cmake_kde4 -d build
make
%cmake_kf5 -d build
%make_jobs
%install
cd build
make %{?_smp_mflags} DESTDIR=%{buildroot} install
cd ..
%kde_post_install
%kf5_makeinstall -C build
%if %{with lang}
%find_lang %{name} --with-man --all-name
%endif
%post -p /sbin/ldconfig
%postun -p /sbin/ldconfig
%files
%defattr(-,root,root)
%doc COPYING COPYING.DOC
%{_kde4_modulesdir}/kded_dnssdwatcher.so
%{_kde4_modulesdir}/kio_zeroconf.so
%{_datadir}/dbus-1/interfaces/org.kde.kdnssd.xml
%{_kde4_appsdir}/remoteview/
%{_kde4_servicesdir}/zeroconf.protocol
%{_kde4_servicesdir}/kded/dnssdwatcher.desktop
%{_kf5_plugindir}/kf5/kio/zeroconf.so
%{_kf5_plugindir}/kded_dnssdwatcher.so
%dir %{_kf5_sharedir}/remoteview/
%{_kf5_sharedir}/remoteview/zeroconf.desktop
%dir %{_kf5_servicesdir}/kded/
%{_kf5_servicesdir}/kded/dnssdwatcher.desktop
%{_kf5_dbusinterfacesdir}/org.kde.kdnssd.xml
%if %{with lang}
%files lang -f %{name}.lang
%doc COPYING*
%endif
%changelog

View File

@ -1,3 +0,0 @@
version https://git-lfs.github.com/spec/v1
oid sha256:01f067e072703a613a0ef974569570528a8b14fa48afdfdbcb9d402cf1a9f992
size 25964

View File

@ -0,0 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:11593f30873a1b9deb5f1a67daa3ba4ff2f4f526a8241d656a873dbe184f848a
size 38564