2014-02-07 22:43:14 +01:00
|
|
|
#
|
|
|
|
# spec file for package kio
|
|
|
|
#
|
|
|
|
# Copyright (c) 2014 SUSE LINUX Products GmbH, Nuernberg, Germany.
|
|
|
|
#
|
|
|
|
# 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.
|
|
|
|
|
|
|
|
# Please submit bugfixes or comments via http://bugs.opensuse.org/
|
|
|
|
#
|
|
|
|
|
|
|
|
|
|
|
|
Name: kio
|
2014-09-09 12:14:49 +02:00
|
|
|
Version: 5.2.0
|
2014-02-07 22:43:14 +01:00
|
|
|
Release: 0
|
2014-07-11 11:58:09 +02:00
|
|
|
%define kf5_version %{version}
|
2014-02-07 22:43:14 +01:00
|
|
|
BuildRequires: cmake >= 2.8.12
|
2014-09-09 12:14:49 +02:00
|
|
|
BuildRequires: extra-cmake-modules >= 1.2.0
|
2014-02-07 22:43:14 +01:00
|
|
|
BuildRequires: fdupes
|
2014-07-11 11:58:09 +02:00
|
|
|
BuildRequires: karchive-devel >= %{kf5_version}
|
|
|
|
BuildRequires: kbookmarks-devel >= %{kf5_version}
|
|
|
|
BuildRequires: kcompletion-devel >= %{kf5_version}
|
|
|
|
BuildRequires: kconfigwidgets-devel >= %{kf5_version}
|
|
|
|
BuildRequires: kcoreaddons-devel >= %{kf5_version}
|
|
|
|
BuildRequires: kcrash-devel >= %{kf5_version}
|
|
|
|
BuildRequires: kdbusaddons-devel >= %{kf5_version}
|
|
|
|
BuildRequires: kdoctools-devel >= %{kf5_version}
|
2014-02-07 22:43:14 +01:00
|
|
|
BuildRequires: kf5-filesystem
|
2014-07-11 11:58:09 +02:00
|
|
|
BuildRequires: kguiaddons-devel >= %{kf5_version}
|
|
|
|
BuildRequires: ki18n-devel >= %{kf5_version}
|
|
|
|
BuildRequires: kiconthemes-devel >= %{kf5_version}
|
|
|
|
BuildRequires: kitemviews-devel >= %{kf5_version}
|
|
|
|
BuildRequires: kjobwidgets-devel >= %{kf5_version}
|
|
|
|
BuildRequires: knotifications-devel >= %{kf5_version}
|
2014-02-07 22:43:14 +01:00
|
|
|
BuildRequires: krb5-devel
|
2014-07-11 11:58:09 +02:00
|
|
|
BuildRequires: kservice-devel >= %{kf5_version}
|
|
|
|
BuildRequires: ktextwidgets-devel >= %{kf5_version}
|
|
|
|
BuildRequires: kwallet-devel >= %{kf5_version}
|
|
|
|
BuildRequires: kwidgetsaddons-devel >= %{kf5_version}
|
|
|
|
BuildRequires: kwindowsystem-devel >= %{kf5_version}
|
|
|
|
BuildRequires: kxmlgui-devel >= %{kf5_version}
|
2014-02-07 22:43:14 +01:00
|
|
|
BuildRequires: libacl-devel
|
|
|
|
BuildRequires: libattr-devel
|
2014-07-11 11:58:09 +02:00
|
|
|
BuildRequires: solid-devel >= %{kf5_version}
|
2014-02-07 22:43:14 +01:00
|
|
|
BuildRequires: pkgconfig(Qt5Concurrent) >= 5.2.0
|
|
|
|
BuildRequires: pkgconfig(Qt5Core) >= 5.2.0
|
|
|
|
BuildRequires: pkgconfig(Qt5DBus) >= 5.2.0
|
|
|
|
BuildRequires: pkgconfig(Qt5Network) >= 5.2.0
|
|
|
|
BuildRequires: pkgconfig(Qt5Script) >= 5.2.0
|
|
|
|
BuildRequires: pkgconfig(Qt5Test) >= 5.2.0
|
|
|
|
BuildRequires: pkgconfig(Qt5Widgets) >= 5.2.0
|
|
|
|
BuildRequires: pkgconfig(Qt5Xml) >= 5.2.0
|
|
|
|
BuildRequires: pkgconfig(openssl)
|
|
|
|
BuildRequires: pkgconfig(x11)
|
2014-06-01 21:54:34 +02:00
|
|
|
Recommends: %{name}-lang = %{version}
|
2014-06-03 23:44:27 +02:00
|
|
|
Recommends: kio-extras5
|
2014-02-11 03:39:35 +01:00
|
|
|
Summary: Network transparent access to files and data
|
2014-02-07 22:43:14 +01:00
|
|
|
License: LGPL-2.1+
|
|
|
|
Group: System/GUI/KDE
|
|
|
|
Url: http://www.kde.org
|
2014-07-02 00:28:13 +02:00
|
|
|
Source: http://download.kde.org/stable/frameworks/%{version}/%{name}-%{version}.tar.xz
|
2014-06-03 23:42:58 +02:00
|
|
|
Source1: baselibs.conf
|
2014-09-09 12:14:49 +02:00
|
|
|
# PATCH-FIX-UPSTREAM 0001-Fix-thumbnails-for-mimetype-groups.patch -- https://git.reviewboard.kde.org/r/119958/
|
|
|
|
Patch0: 0001-Fix-thumbnails-for-mimetype-groups.patch
|
2014-09-10 17:16:16 +02:00
|
|
|
# PATCH-FIX-UPSTREAM 0002-Fix-relative-paths-being-turned-into-http-urls-by-fr.patch
|
|
|
|
Patch1: 0002-Fix-relative-paths-being-turned-into-http-urls-by-fr.patch
|
2014-09-26 03:05:26 +02:00
|
|
|
# PATCH-FIX-UPSTREAM 0001-Add-new-KIO-job-KIO-fileSystemFreeSpace-that-allows-.patch
|
|
|
|
Patch2: 0001-Add-new-KIO-job-KIO-fileSystemFreeSpace-that-allows-.patch
|
2014-02-07 22:43:14 +01:00
|
|
|
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
|
|
|
|
|
|
|
%description
|
2014-02-11 03:39:35 +01:00
|
|
|
This framework implements almost all the file management functions you
|
|
|
|
will ever need. In fact, the KDE file manager (Dolphin) and the KDE
|
|
|
|
file dialog also uses this to provide its network-enabled file management.
|
2014-02-07 22:43:14 +01:00
|
|
|
|
|
|
|
%package devel
|
2014-02-11 03:39:35 +01:00
|
|
|
Summary: Network transparent access to files and data
|
2014-02-07 22:43:14 +01:00
|
|
|
Group: Development/Libraries/KDE
|
|
|
|
Requires: %{name} = %{version}
|
|
|
|
Requires: extra-cmake-modules
|
2014-07-11 11:58:09 +02:00
|
|
|
Requires: kbookmarks-devel >= %{kf5_version}
|
|
|
|
Requires: kcompletion-devel >= %{kf5_version}
|
|
|
|
Requires: kjobwidgets-devel >= %{kf5_version}
|
|
|
|
Requires: kservice-devel >= %{kf5_version}
|
|
|
|
Requires: kxmlgui-devel >= %{kf5_version}
|
|
|
|
Requires: solid-devel >= %{kf5_version}
|
2014-02-07 22:43:14 +01:00
|
|
|
Requires: pkgconfig(Qt5Network) >= 5.2.0
|
|
|
|
|
|
|
|
%description devel
|
2014-02-11 03:39:35 +01:00
|
|
|
This framework implements almost all the file management functions you
|
|
|
|
will ever need. In fact, the KDE file manager (Dolphin) and the KDE
|
|
|
|
file dialog also uses this to provide its network-enabled file management.
|
|
|
|
Development files.
|
2014-02-07 22:43:14 +01:00
|
|
|
|
2014-06-01 21:57:12 +02:00
|
|
|
%lang_package
|
2014-02-07 22:43:14 +01:00
|
|
|
%prep
|
|
|
|
%setup -q
|
2014-09-09 12:14:49 +02:00
|
|
|
%patch0 -p1
|
2014-09-10 17:16:16 +02:00
|
|
|
%patch1 -p1
|
2014-09-26 03:05:26 +02:00
|
|
|
%patch2 -p1
|
2014-02-07 22:43:14 +01:00
|
|
|
|
|
|
|
%build
|
2014-02-11 03:39:35 +01:00
|
|
|
%cmake_kf5 -d build
|
2014-02-07 22:43:14 +01:00
|
|
|
%make_jobs
|
|
|
|
|
|
|
|
%install
|
|
|
|
%kf5_makeinstall -C build
|
|
|
|
%fdupes -s %{buildroot}
|
|
|
|
|
2014-06-01 21:54:34 +02:00
|
|
|
%find_lang %{name}5
|
|
|
|
|
2014-02-07 22:43:14 +01:00
|
|
|
%post -p /sbin/ldconfig
|
|
|
|
|
|
|
|
%postun -p /sbin/ldconfig
|
|
|
|
|
2014-06-01 21:54:34 +02:00
|
|
|
%files lang -f %{name}5.lang
|
|
|
|
|
2014-02-07 22:43:14 +01:00
|
|
|
%files
|
|
|
|
%defattr(-,root,root)
|
|
|
|
%doc COPYING* README*
|
|
|
|
%{_kf5_bindir}/ktelnetservice5
|
|
|
|
%{_kf5_bindir}/kmailservice5
|
|
|
|
%{_kf5_libdir}/libKF5KIOCore.so.*
|
|
|
|
%{_kf5_libdir}/libKF5KIOWidgets.so.*
|
|
|
|
%{_kf5_libdir}/libKF5KIOFileWidgets.so.*
|
|
|
|
%{_kf5_libdir}/libKF5KIONTLM.so.*
|
|
|
|
%{_kf5_configdir}/accept-languages.codes
|
2014-06-01 21:54:34 +02:00
|
|
|
%{_kf5_configdir}/kshorturifilterrc
|
|
|
|
%{_kf5_servicetypesdir}/
|
|
|
|
%{_kf5_plugindir}/
|
|
|
|
%{_kf5_servicesdir}/
|
2014-02-07 22:43:14 +01:00
|
|
|
%{_kf5_libexecdir}/kio_http_cache_cleaner
|
|
|
|
%{_kf5_bindir}/kcookiejar5
|
2014-05-04 03:36:11 +02:00
|
|
|
%{_kf5_datadir}/kcookiejar/
|
2014-02-07 22:43:14 +01:00
|
|
|
%{_kf5_applicationsdir}/kmailservice5.desktop
|
|
|
|
%{_kf5_applicationsdir}/ktelnetservice5.desktop
|
|
|
|
%{_kf5_libexecdir}/kpac_dhcp_helper
|
|
|
|
%{_kf5_libexecdir}/kioslave
|
2014-03-29 13:40:01 +01:00
|
|
|
%{_kf5_libexecdir}/kioexec
|
2014-05-04 03:36:11 +02:00
|
|
|
%{_kf5_notifydir}/proxyscout.notifyrc
|
2014-02-07 22:43:14 +01:00
|
|
|
|
|
|
|
%files devel
|
|
|
|
%defattr(-,root,root)
|
|
|
|
%{_kf5_libdir}/libKF5KIOCore.so
|
|
|
|
%{_kf5_libdir}/libKF5KIOWidgets.so
|
|
|
|
%{_kf5_libdir}/libKF5KIOFileWidgets.so
|
|
|
|
%{_kf5_libdir}/libKF5KIONTLM.so
|
|
|
|
%{_kf5_libdir}/cmake/KF5KIO/
|
|
|
|
%{_kf5_includedir}/*.h
|
|
|
|
%dir %{_kf5_includedir}/*/
|
|
|
|
%{_kf5_includedir}/*/
|
|
|
|
%{_kf5_mandir}/man8/kcookiejar5.*
|
|
|
|
%dir %{_kf5_htmldir}/en
|
|
|
|
%dir %{_kf5_htmldir}
|
2014-05-04 03:36:11 +02:00
|
|
|
%{_kf5_htmldir}/en/kioslave5/
|
2014-02-07 22:43:14 +01:00
|
|
|
%{_kf5_dbusinterfacesdir}/kf5_org.kde.KDirNotify.xml
|
|
|
|
%{_kf5_dbusinterfacesdir}/kf5_org.kde.KPasswdServer.xml
|
|
|
|
%{_kf5_dbusinterfacesdir}/kf5_org.kde.KSlaveLauncher.xml
|
|
|
|
%{_kf5_dbusinterfacesdir}/kf5_org.kde.kio.FileUndoManager.xml
|
|
|
|
%{_kf5_dbusinterfacesdir}/kf5_org.kde.KCookieServer.xml
|
|
|
|
%{_kf5_mkspecsdir}/qt_KIOCore.pri
|
|
|
|
%{_kf5_mkspecsdir}/qt_KIOFileWidgets.pri
|
|
|
|
%{_kf5_mkspecsdir}/qt_KNTLM.pri
|
|
|
|
%{_kf5_mkspecsdir}/qt_KIOWidgets.pri
|
|
|
|
|
|
|
|
%changelog
|