2014-05-20 14:22:36 +02:00
|
|
|
#
|
|
|
|
# spec file for package kio-extras5
|
|
|
|
#
|
2018-11-25 00:44:48 +01:00
|
|
|
# Copyright (c) 2018 SUSE LINUX GmbH, Nuernberg, Germany.
|
2014-05-20 14:22:36 +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:48 +01:00
|
|
|
# Please submit bugfixes or comments via https://bugs.opensuse.org/
|
2014-05-20 14:22:36 +02:00
|
|
|
#
|
|
|
|
|
2017-08-12 00:56:45 +02:00
|
|
|
|
2019-08-15 16:00:43 +02:00
|
|
|
%define rname kio-extras
|
2016-12-03 16:10:33 +01:00
|
|
|
%define kf5_version 5.26.0
|
2017-08-12 00:56:45 +02:00
|
|
|
# Latest stable Applications (e.g. 17.08 in KA, but 17.11.80 in KUA)
|
2018-07-28 15:35:11 +02:00
|
|
|
%{!?_kapp_version: %define _kapp_version %(echo %{version}| awk -F. '{print $1"."$2}')}
|
2018-11-25 00:44:48 +01:00
|
|
|
%bcond_without lang
|
|
|
|
Name: kio-extras5
|
2019-09-06 12:14:29 +02:00
|
|
|
Version: 19.08.1
|
2018-11-25 00:44:48 +01:00
|
|
|
Release: 0
|
2017-07-08 14:29:44 +02:00
|
|
|
Summary: Additional KIO slaves for KDE applications
|
2018-11-25 00:44:48 +01:00
|
|
|
License: GPL-2.0-or-later
|
2014-05-20 14:22:36 +02:00
|
|
|
Group: System/GUI/KDE
|
2019-08-15 16:00:43 +02:00
|
|
|
URL: https://www.kde.org
|
|
|
|
Source: https://download.kde.org/stable/applications/%{version}/src/%{rname}-%{version}.tar.xz
|
|
|
|
%if %{with lang}
|
|
|
|
Source1: https://download.kde.org/stable/applications/%{version}/src/%{rname}-%{version}.tar.xz.sig
|
|
|
|
Source2: applications.keyring
|
|
|
|
%endif
|
2014-10-01 11:22:44 +02:00
|
|
|
Source99: %{name}-rpmlintrc
|
2014-05-20 14:22:36 +02:00
|
|
|
BuildRequires: OpenEXR-devel
|
2016-12-03 16:10:33 +01:00
|
|
|
BuildRequires: flac-devel
|
2017-05-24 07:30:30 +02:00
|
|
|
BuildRequires: gperf
|
2016-12-03 16:10:33 +01:00
|
|
|
BuildRequires: kactivities5-devel
|
2014-05-20 14:22:36 +02:00
|
|
|
BuildRequires: karchive-devel
|
|
|
|
BuildRequires: kconfig-devel
|
|
|
|
BuildRequires: kconfigwidgets-devel
|
|
|
|
BuildRequires: kcoreaddons-devel
|
|
|
|
BuildRequires: kdbusaddons-devel
|
|
|
|
BuildRequires: kdelibs4support-devel
|
|
|
|
BuildRequires: kdnssd-framework-devel
|
|
|
|
BuildRequires: kdoctools-devel
|
|
|
|
BuildRequires: kf5-filesystem
|
|
|
|
BuildRequires: khtml-devel
|
|
|
|
BuildRequires: ki18n-devel
|
|
|
|
BuildRequires: kiconthemes-devel
|
|
|
|
BuildRequires: kio-devel
|
2014-11-13 09:21:51 +01:00
|
|
|
BuildRequires: kpty-devel
|
2014-05-20 14:22:36 +02:00
|
|
|
BuildRequires: libjpeg-devel
|
2015-01-29 13:16:13 +01:00
|
|
|
BuildRequires: libmtp-devel
|
2014-05-20 14:22:36 +02:00
|
|
|
BuildRequires: libssh-devel
|
2016-12-03 16:10:33 +01:00
|
|
|
BuildRequires: libtag-devel
|
2014-05-20 14:22:36 +02:00
|
|
|
BuildRequires: openslp-devel
|
2014-06-10 14:37:12 +02:00
|
|
|
BuildRequires: phonon4qt5-devel
|
2016-12-03 16:10:33 +01:00
|
|
|
BuildRequires: pkgconfig
|
2017-08-12 00:56:45 +02:00
|
|
|
BuildRequires: solid-devel
|
2019-04-03 10:52:09 +02:00
|
|
|
BuildRequires: syntax-highlighting-devel
|
2017-08-12 00:56:45 +02:00
|
|
|
BuildRequires: xz
|
2015-05-11 19:29:38 +02:00
|
|
|
BuildRequires: pkgconfig(Qt5DBus) >= 5.4.0
|
|
|
|
BuildRequires: pkgconfig(Qt5Network) >= 5.4.0
|
2016-12-03 16:10:33 +01:00
|
|
|
BuildRequires: pkgconfig(Qt5Sql)
|
2015-05-11 19:29:38 +02:00
|
|
|
BuildRequires: pkgconfig(Qt5Svg) >= 5.4.0
|
|
|
|
BuildRequires: pkgconfig(Qt5Test) >= 5.4.0
|
|
|
|
BuildRequires: pkgconfig(Qt5Widgets) >= 5.4.0
|
2014-05-20 14:22:36 +02:00
|
|
|
BuildRequires: pkgconfig(bzip2)
|
|
|
|
BuildRequires: pkgconfig(exiv2)
|
|
|
|
BuildRequires: pkgconfig(smbclient)
|
2018-11-25 00:44:48 +01:00
|
|
|
Recommends: %{name}-lang
|
2016-12-03 16:10:33 +01:00
|
|
|
Recommends: kimageformats
|
2014-08-16 15:42:34 +02:00
|
|
|
# we want some imageformats in
|
|
|
|
Recommends: libqt5-qtimageformats
|
2014-06-10 14:37:12 +02:00
|
|
|
Provides: kfileaudiopreview = 4.100.0
|
2017-07-08 14:32:11 +02:00
|
|
|
Obsoletes: kfileaudiopreview < 4.100.0
|
2018-11-25 00:44:48 +01:00
|
|
|
Provides: kde-odf-thumbnail = %{version}
|
|
|
|
Obsoletes: kde-odf-thumbnail < %{version}
|
2014-05-20 14:22:36 +02:00
|
|
|
|
|
|
|
%description
|
2017-08-12 00:56:45 +02:00
|
|
|
Additional KIO-slaves for KDE applications.
|
2014-05-20 14:22:36 +02:00
|
|
|
|
2017-08-06 00:56:10 +02:00
|
|
|
%package -n libkioarchive5
|
|
|
|
Summary: The archiver base class library
|
2017-08-12 00:56:45 +02:00
|
|
|
Group: System/Libraries
|
2017-08-06 00:56:10 +02:00
|
|
|
|
|
|
|
%description -n libkioarchive5
|
2017-08-18 18:11:18 +02:00
|
|
|
The archiver base class, used by specific archive formats, is made
|
|
|
|
available as a library in its own right so that support for other
|
|
|
|
archive formats can be built outside the kio-extras source tree.
|
2017-08-06 00:56:10 +02:00
|
|
|
|
|
|
|
%package -n libkioarchive-devel
|
|
|
|
Summary: Development package for libkioarchive5
|
2017-08-12 00:56:45 +02:00
|
|
|
Group: Development/Libraries/C and C++
|
2017-08-06 00:56:10 +02:00
|
|
|
Requires: libkioarchive5 = %{version}
|
|
|
|
|
|
|
|
%description -n libkioarchive-devel
|
|
|
|
This is the development package for libkioarchive
|
|
|
|
|
2017-04-15 15:28:23 +02:00
|
|
|
%if %{with lang}
|
|
|
|
%lang_package
|
|
|
|
%endif
|
|
|
|
|
2014-05-20 14:22:36 +02:00
|
|
|
%prep
|
2019-08-15 16:00:43 +02:00
|
|
|
%setup -q -n %{rname}-%{version}
|
2014-05-20 14:22:36 +02:00
|
|
|
sed -i '/^add_subdirectory( doc )/d' CMakeLists.txt
|
|
|
|
|
|
|
|
%build
|
2014-10-01 11:22:44 +02:00
|
|
|
%cmake_kf5 -d build -- -DCMAKE_INSTALL_LOCALEDIR=share/locale/kf5
|
2014-05-20 14:22:36 +02:00
|
|
|
%make_jobs
|
|
|
|
|
|
|
|
%install
|
|
|
|
%kf5_makeinstall -C build
|
2017-04-15 15:28:23 +02:00
|
|
|
%if %{with lang}
|
2018-11-25 00:44:48 +01:00
|
|
|
%{kf5_find_lang}
|
|
|
|
%{kf5_find_htmldocs}
|
2017-04-15 15:28:23 +02:00
|
|
|
%endif
|
2014-05-20 14:22:36 +02:00
|
|
|
# we don't need nor want devel symlink, and dbus interface -- kio-extras don't install any headers,
|
|
|
|
# nor are meant for development
|
|
|
|
rm -rf %{buildroot}%{_kf5_sharedir}/dbus-1/
|
2014-06-10 14:37:12 +02:00
|
|
|
|
2014-05-20 14:22:36 +02:00
|
|
|
%post -p /sbin/ldconfig
|
|
|
|
%postun -p /sbin/ldconfig
|
2017-08-06 00:56:10 +02:00
|
|
|
%post -n libkioarchive5 -p /sbin/ldconfig
|
|
|
|
%postun -n libkioarchive5 -p /sbin/ldconfig
|
|
|
|
|
2014-05-20 14:22:36 +02:00
|
|
|
%files
|
2018-09-07 10:11:59 +02:00
|
|
|
%license COPYING.*
|
2017-08-12 00:56:45 +02:00
|
|
|
%{_kf5_configkcfgdir}/
|
2015-05-11 19:29:38 +02:00
|
|
|
%{_kf5_libdir}/libmolletnetwork5.so.*
|
2014-05-20 14:22:36 +02:00
|
|
|
%{_kf5_plugindir}/
|
|
|
|
%{_kf5_servicesdir}/
|
|
|
|
%{_kf5_servicetypesdir}/
|
|
|
|
%{_kf5_sharedir}/kio_bookmarks/
|
|
|
|
%{_kf5_sharedir}/kio_docfilter/
|
|
|
|
%{_kf5_sharedir}/kio_info/
|
|
|
|
%{_kf5_sharedir}/konqsidebartng/
|
|
|
|
%{_kf5_sharedir}/konqueror/
|
2017-08-12 00:56:45 +02:00
|
|
|
%{_kf5_sharedir}/mime/packages/kf5_network.xml
|
2014-05-20 14:22:36 +02:00
|
|
|
%{_kf5_sharedir}/remoteview/
|
2015-01-29 13:16:13 +01:00
|
|
|
%{_kf5_sharedir}/solid/
|
2018-11-25 00:44:48 +01:00
|
|
|
%{_kf5_debugdir}/kio-extras.categories
|
2014-05-20 14:22:36 +02:00
|
|
|
|
2017-08-06 00:56:10 +02:00
|
|
|
%files -n libkioarchive-devel
|
2017-08-12 00:56:45 +02:00
|
|
|
%{_kf5_includedir}/kio_archivebase.h
|
|
|
|
%{_kf5_includedir}/libkioarchive_export.h
|
2017-08-06 00:56:10 +02:00
|
|
|
%{_libdir}/cmake/KioArchive/
|
|
|
|
|
|
|
|
%files -n libkioarchive5
|
2018-09-07 10:11:59 +02:00
|
|
|
%license COPYING.*
|
2017-08-06 00:56:10 +02:00
|
|
|
%{_libdir}/libkioarchive.so.5*
|
|
|
|
|
2017-04-15 15:28:23 +02:00
|
|
|
%if %{with lang}
|
|
|
|
%files lang -f %{name}.lang
|
|
|
|
%endif
|
|
|
|
|
2014-05-20 14:22:36 +02:00
|
|
|
%changelog
|