kio/kio.spec

182 lines
6.0 KiB
RPMSpec

%define majver %(echo %version | cut -d. -f1-2)
Name: kio
Version: 5.9.0
Release: 1mamba
Summary: Network transparent access to files and data
Group: System/Libraries
Vendor: openmamba
Distribution: openmamba
Packager: Silvan Calarco <silvan.calarco@mambasoft.it>
URL: http://www.kde.org
Source: http://download.kde.org/stable/frameworks/%{majver}/kio-%{version}.tar.xz
Patch0: kio-5.6.0-fix-cmake-prefix.patch
License: GPL
## AUTOBUILDREQ-BEGIN
BuildRequires: glibc-devel
BuildRequires: kconfig-devel
BuildRequires: libacl-devel
BuildRequires: libattr-devel
BuildRequires: libe2fs-devel
BuildRequires: libgcc
BuildRequires: libkarchive-devel
BuildRequires: libkauth-devel
BuildRequires: libkbookmarks-devel
BuildRequires: libkcodecs-devel
BuildRequires: libkcompletion-devel
BuildRequires: libkconfigwidgets-devel
BuildRequires: libkcoreaddons-devel
BuildRequires: libkdbusaddons-devel
BuildRequires: libki18n-devel
BuildRequires: libkiconthemes-devel
BuildRequires: libkitemviews-devel
BuildRequires: libkjobwidgets-devel
BuildRequires: libknotifications-devel
BuildRequires: libkrb5-devel
BuildRequires: libkservice-devel
BuildRequires: libktextwidgets-devel
BuildRequires: libkwallet-devel
BuildRequires: libkwidgetsaddons-devel
BuildRequires: libkwindowsystem-devel
BuildRequires: libkxmlgui-devel
BuildRequires: libqt5-devel
BuildRequires: libsolid-devel
BuildRequires: libsonnet-devel
BuildRequires: libstdc++6-devel
BuildRequires: libxml2-devel
BuildRequires: libxslt-devel
BuildRequires: libz-devel
## AUTOBUILDREQ-END
BuildRequires: extra-cmake-modules
BuildRequires: cmake
Requires: lib%{name} = %{?epoch:%epoch:}%{version}-%{release}
BuildRoot: %{_tmppath}/%{name}-%{version}-root
%description
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.
It supports accessing files locally as well as via HTTP and FTP out of the box and can be extended by plugins to support other protocols as well. There is a variety of plugins available, e.g. to support access via SSH.
The framework can also be used to bridge a native protocol to a file-based interface. This makes the data accessible in all applications using the KDE file dialog or any other KIO enabled infrastructure.
%package -n lib%{name}
Group: System/Libraries
Summary: Shared libraries for %{name}
%description -n lib%{name}
This package contains shared libraries for %{name}.
%package -n lib%{name}-devel
Group: Development/Libraries
Summary: Development files for %{name}
Requires: lib%{name} = %{?epoch:%epoch:}%{version}-%{release}
%description -n lib%{name}-devel
This package contains libraries and header files for developing applications that use %{name}.
%debug_package
%prep
%setup -q
#%patch0 -p1
%build
%cmake_kde5 -d build
%make
%install
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
%makeinstall -C build
%find_lang kio5
%clean
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
%post -n lib%{name} -p /sbin/ldconfig
%postun -n lib%{name} -p /sbin/ldconfig
%files -f kio5.lang
%defattr(-,root,root)
%{_sysconfdir}/xdg/accept-languages.codes
%{_sysconfdir}/xdg/kshorturifilterrc
%{_bindir}/kcookiejar5
%{_bindir}/kmailservice5
%{_bindir}/ktelnetservice5
%{_bindir}/ktrash5
%{_datadir}/applications/kmailservice5.desktop
%{_datadir}/applications/ktelnetservice5.desktop
%{_datadir}/dbus-1/services/org.kde.kiod5.service
%{_datadir}/dbus-1/interfaces/kf5_org.kde.KCookieServer.xml
%{_datadir}/dbus-1/interfaces/kf5_org.kde.KDirNotify.xml
%{_datadir}/dbus-1/interfaces/kf5_org.kde.KPasswdServer.xml
%{_datadir}/dbus-1/interfaces/kf5_org.kde.KSlaveLauncher.xml
%{_datadir}/dbus-1/interfaces/kf5_org.kde.kio.FileUndoManager.xml
%dir %{_datadir}/doc/HTML/en/kioslave5
%{_datadir}/doc/HTML/en/kioslave5/*
%{_datadir}/kf5/kcookiejar/domain_info
%{_datadir}/knotifications5/proxyscout.notifyrc
%{_datadir}/kservices5/*
%{_datadir}/kservicetypes5/*
%{_mandir}/it/man8/kcookiejar5.8*
%{_mandir}/man8/kcookiejar5.8*
%{_mandir}/nl/man8/kcookiejar5.8*
%{_mandir}/pt_BR/man8/kcookiejar5.8*
%{_mandir}/sv/man8/kcookiejar5.8*
%{_mandir}/uk/man8/kcookiejar5.8*
%files -n lib%{name}
%defattr(-,root,root)
%{_libdir}/libKF5KIOCore.so.*
%{_libdir}/libKF5KIOFileWidgets.so.*
%{_libdir}/libKF5KIONTLM.so.*
%{_libdir}/libKF5KIOWidgets.so.*
%dir %{_kde5_libexecdir}
%{_kde5_libexecdir}/*
%{_qt5_plugindir}/kcm_*.so
%dir %{_kde5_pluginsdir}/kded
%{_kde5_pluginsdir}/kded/*.so
%dir %{_kde5_pluginsdir}/kiod
%{_kde5_pluginsdir}/kiod/kssld.so
%dir %{_kde5_pluginsdir}/kio
%{_kde5_pluginsdir}/kio/*.so
%dir %{_kde5_pluginsdir}/urifilters
%{_kde5_pluginsdir}/urifilters/*.so
%doc COPYING.LIB
%files -n lib%{name}-devel
%defattr(-,root,root)
%dir %{_includedir}/KF5/KIOCore
%{_includedir}/KF5/KIOCore/*
%dir %{_includedir}/KF5/KIOFileWidgets
%{_includedir}/KF5/KIOFileWidgets/*
%dir %{_includedir}/KF5/KIOWidgets/
%{_includedir}/KF5/KIOWidgets/*
%dir %{_includedir}/KF5/kio
%{_includedir}/KF5/kio/*
%{_includedir}/KF5/kio_version.h
%dir %{_libdir}/cmake/KF5KIO/
%{_libdir}/cmake/KF5KIO/KF5KIO*.cmake
%{_libdir}/libKF5KIOCore.so
%{_libdir}/libKF5KIOFileWidgets.so
%{_libdir}/libKF5KIONTLM.so
%{_libdir}/libKF5KIOWidgets.so
%{_kde5_mkspecsdir}/qt_KIOCore.pri
%{_kde5_mkspecsdir}/qt_KIOFileWidgets.pri
%{_kde5_mkspecsdir}/qt_KIOWidgets.pri
%{_kde5_mkspecsdir}/qt_KNTLM.pri
#%doc README.md
%changelog
* Tue Apr 21 2015 Automatic Build System <autodist@mambasoft.it> 5.9.0-1mamba
- automatic version update by autodist
* Fri Mar 27 2015 Automatic Build System <autodist@mambasoft.it> 5.8.0-1mamba
- automatic version update by autodist
* Thu Mar 12 2015 Automatic Build System <autodist@mambasoft.it> 5.7.0-1mamba
- automatic version update by autodist
* Mon Feb 16 2015 Silvan Calarco <silvan.calarco@mambasoft.it> 5.6.0-2mamba
- patched to fix path in cmake
* Sat Feb 14 2015 Silvan Calarco <silvan.calarco@mambasoft.it> 5.6.0-1mamba
- package created using the webbuild interface