kio/kio.spec

184 lines
6.4 KiB
RPMSpec
Raw Normal View History

#
# 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
Version: 4.96.0
Release: 0
BuildRequires: cmake >= 2.8.12
BuildRequires: extra-cmake-modules >= 0.0.10
BuildRequires: fdupes
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}
BuildRequires: kf5-filesystem
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}
BuildRequires: krb5-devel
BuildRequires: kservice-devel >= %{_kf5_version}
BuildRequires: ktextwidgets-devel >= %{_kf5_version}
BuildRequires: kwidgetsaddons-devel >= %{_kf5_version}
BuildRequires: kwindowsystem-devel >= %{_kf5_version}
BuildRequires: kxmlgui-devel >= %{_kf5_version}
BuildRequires: libacl-devel
BuildRequires: libattr-devel
BuildRequires: solid-devel >= %{_kf5_version}
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)
Summary: KDE Base Libraries
License: LGPL-2.1+
Group: System/GUI/KDE
Url: http://www.kde.org
Source0: kio-%{version}.tar.xz
BuildRoot: %{_tmppath}/%{name}-%{version}-build
%description
This package contains the core libraries of the K Desktop Environment.
This package is absolutely necessary for using KDE applications.
%package devel
Summary: KDE Core Libraries: Build Environment
Group: Development/Libraries/KDE
Requires: %{name} = %{version}
Requires: extra-cmake-modules
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}
Requires: pkgconfig(Qt5Network) >= 5.2.0
%description devel
This package contains all necessary include files and libraries needed
to develop non-graphical KDE applications.
%prep
%setup -q
%build
%cmake_kf5 -d build -- -DSYSCONF_INSTALL_DIR=%{_kf5_sysconfdir}
%make_jobs
%install
%kf5_makeinstall -C build
%fdupes -s %{buildroot}
%post -p /sbin/ldconfig
%postun -p /sbin/ldconfig
%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
%{_kf5_servicetypesdir}/kfileitemactionplugin.desktop
%{_kf5_servicetypesdir}/kpropertiesdialogplugin.desktop
%{_kf5_servicetypesdir}/kurifilterplugin.desktop
%{_kf5_plugindir}/kio_file.so
%{_kf5_servicesdir}/file.protocol
%{_kf5_plugindir}/kio_help.so
%{_kf5_plugindir}/kio_ghelp.so
%{_kf5_servicesdir}/help.protocol
%{_kf5_servicesdir}/ghelp.protocol
%{_kf5_libexecdir}/kio_http_cache_cleaner
%{_kf5_plugindir}/kio_http.so
%{_kf5_servicesdir}/http_cache_cleaner.desktop
%{_kf5_servicesdir}/http.protocol
%{_kf5_servicesdir}/https.protocol
%{_kf5_servicesdir}/webdav.protocol
%{_kf5_servicesdir}/webdavs.protocol
%{_kf5_bindir}/kcookiejar5
%{_kf5_plugindir}/kded_kcookiejar.so
%dir %{_kf5_datadir}/khtml
%{_kf5_datadir}/khtml/domain_info
%dir %{_kf5_servicesdir}/kded
%{_kf5_servicesdir}/kded/kcookiejar.desktop
%dir %{_kf5_datadir}/kconf_update
%{_kf5_datadir}/kconf_update/kcookiescfg.upd
%{_kf5_datadir}/kconf_update/kcookiescfg.pl
%{_kf5_plugindir}/kio_ftp.so
%{_kf5_servicesdir}/ftp.protocol
%{_kf5_applicationsdir}/kmailservice5.desktop
%{_kf5_applicationsdir}/ktelnetservice5.desktop
%{_kf5_servicesdir}/data.protocol
%{_kf5_servicesdir}/rtsp.protocol
%{_kf5_servicesdir}/mms.protocol
%{_kf5_servicesdir}/mmst.protocol
%{_kf5_servicesdir}/mmsu.protocol
%{_kf5_servicesdir}/pnm.protocol
%{_kf5_servicesdir}/rtspt.protocol
%{_kf5_servicesdir}/rtspu.protocol
%{_kf5_plugindir}/kded_kssld.so
%{_kf5_servicesdir}/kded/kssld.desktop
%{_kf5_plugindir}/kded_proxyscout.so
%{_kf5_libexecdir}/kpac_dhcp_helper
%{_kf5_libexecdir}/kioslave
%dir %{_kf5_datadir}/proxyscout
%{_kf5_datadir}/proxyscout/proxyscout.notifyrc
%{_kf5_servicesdir}/kded/proxyscout.desktop
%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}
%{_kf5_htmldir}/en/kioslave/
%{_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