kio-extras/kio-extras.spec

182 lines
5.8 KiB
RPMSpec

%define majver %(echo %version | cut -d. -f1-2)
Name: kio-extras
Version: 17.04.3
Release: 1mamba
Summary: KDE Frameworks 5 extra KIO slaves
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/applications/%{version}/src/kio-extras-%{version}.tar.xz
# Source: http://download.kde.org/stable/frameworks/%{majver}/...-%{version}.tar.xz
License: GPL
## AUTOBUILDREQ-BEGIN
BuildRequires: glibc-devel
BuildRequires: libexiv2-devel
BuildRequires: libgcc
BuildRequires: libilmbase-devel
BuildRequires: libjpeg-devel
BuildRequires: libkactivities5-devel
BuildRequires: libkarchive-devel
BuildRequires: libkauth-devel
BuildRequires: libkbookmarks-devel
BuildRequires: libkcodecs-devel
BuildRequires: libkcompletion-devel
BuildRequires: libkconfig-devel
BuildRequires: libkconfigwidgets-devel
BuildRequires: libkcoreaddons-devel
BuildRequires: libkcrash-devel
BuildRequires: libkdbusaddons-devel
BuildRequires: libkdelibs4support-devel
BuildRequires: libkdnssd-devel
BuildRequires: libkemoticons-devel
BuildRequires: libkguiaddons-devel
BuildRequires: libkhtml-devel
BuildRequires: libki18n-devel
BuildRequires: libkiconthemes-devel
BuildRequires: libkio-devel
BuildRequires: libkitemmodels-devel
BuildRequires: libkitemviews-devel
BuildRequires: libkjobwidgets-devel
BuildRequires: libkjs-devel
BuildRequires: libknotifications-devel
BuildRequires: libkparts-devel
BuildRequires: libkpty-devel
BuildRequires: libkservice-devel
BuildRequires: libktextwidgets-devel
BuildRequires: libkunitconversion-devel
BuildRequires: libkwidgetsaddons-devel
BuildRequires: libkwindowsystem-devel
BuildRequires: libkxmlgui-devel
BuildRequires: libmtp-devel
BuildRequires: libopenexr-devel
BuildRequires: libopenslp-devel
BuildRequires: libphonon-qt5-devel
BuildRequires: libqt5-devel
BuildRequires: libsmbclient-devel
BuildRequires: libsolid-devel
BuildRequires: libsonnet-devel
BuildRequires: libssh-devel
BuildRequires: libstdc++6-devel
BuildRequires: perl-devel
## AUTOBUILDREQ-END
BuildRequires: cmake
BuildRequires: rpm-macros-kde5
BuildRequires: extra-cmake-modules
Requires: lib%{name} = %{?epoch:%epoch:}%{version}-%{release}
BuildRoot: %{_tmppath}/%{name}-%{version}-root
%description
KDE Frameworks 5 extra KIO slaves.
%package -n lib%{name}
Group: System/Libraries
Summary: Shared libraries for %{name}
%description -n lib%{name}
This package contains shared libraries for %{name}.
%debug_package
%prep
%setup -q
%build
%cmake_kde5 -d build
%make
%install
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
%makeinstall -C build
%find_lang %{name}5_qt --with-qt --all-name || touch %{name}5_qt.lang
%clean
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
%post -n lib%{name}
/sbin/ldconfig
exit 0
%postun -n lib%{name}
/sbin/ldconfig
exit 0
%files -f %{name}5_qt.lang
%defattr(-,root,root)
%{_datadir}/config.kcfg/jpegcreatorsettings5.kcfg
%{_datadir}/dbus-1/interfaces/kf5_org.kde.network.kioslavenotifier.xml
%{_datadir}/kio_bookmarks/*
%{_datadir}/kio_docfilter/*
%{_datadir}/kio_info/*
%{_datadir}/konqsidebartng/virtual_folders/remote/virtualfolder_network.desktop
%{_datadir}/konqueror/dirtree/remote/*.desktop
%{_datadir}/kservices5/*.protocol
%{_datadir}/kservices5/*.desktop
%{_kde5_servicetypesdir}/*.desktop
%{_datadir}/mime/packages/kf5_network.xml
%{_datadir}/remoteview/*.desktop
%{_datadir}/solid/actions/solid_mtp.desktop
%{_datadir}/doc/HTML/en/kioslave5
%lang(ca) %{_datadir}/doc/HTML/ca/kioslave5
%lang(de) %{_datadir}/doc/HTML/de/kioslave5
%lang(es) %{_datadir}/doc/HTML/es/kioslave5
%lang(et) %{_datadir}/doc/HTML/et/kioslave5
%lang(it) %{_datadir}/doc/HTML/it/kioslave5
%lang(nb) %{_datadir}/doc/HTML/nb/kioslave5
%lang(nl) %{_datadir}/doc/HTML/nl/kioslave5
%lang(pt_BR) %{_datadir}/doc/HTML/pt_BR/kioslave5
%lang(ru) %{_datadir}/doc/HTML/ru/kioslave5
%lang(sr) %{_datadir}/doc/HTML/sr/kioslave5
%lang(sv) %{_datadir}/doc/HTML/sv/kioslave5
%lang(uk) %{_datadir}/doc/HTML/uk/kioslave5
%files -n lib%{name}
%defattr(-,root,root)
%{_libdir}/libmolletnetwork5.so.*
%{_libdir}/qt5/plugins/*.so
%{_libdir}/qt5/plugins/kf5/kded/*.so
%{_libdir}/qt5/plugins/kf5/kio/*.so
%changelog
* Sun Aug 06 2017 Automatic Build System <autodist@mambasoft.it> 17.04.3-1mamba
- automatic version update by autodist
* Fri Mar 10 2017 Automatic Build System <autodist@mambasoft.it> 16.12.3-1mamba
- automatic version update by autodist
* Fri Feb 10 2017 Automatic Build System <autodist@mambasoft.it> 16.12.2-1mamba
- automatic version update by autodist
* Fri Jan 13 2017 Automatic Build System <autodist@mambasoft.it> 16.12.1-1mamba
- automatic version update by autodist
* Mon Dec 19 2016 Automatic Build System <autodist@mambasoft.it> 16.12.0-1mamba
- automatic version update by autodist
* Fri Nov 11 2016 Automatic Build System <autodist@mambasoft.it> 16.08.3-1mamba
- automatic version update by autodist
* Fri Oct 14 2016 Automatic Build System <autodist@mambasoft.it> 16.08.2-1mamba
- automatic version update by autodist
* Fri Sep 09 2016 Automatic Build System <autodist@mambasoft.it> 16.08.1-1mamba
- automatic version update by autodist
* Fri Aug 26 2016 Silvan Calarco <silvan.calarco@mambasoft.it> 16.08.0-1mamba
- automatic version update by autodist
* Wed Jul 13 2016 Automatic Build System <autodist@mambasoft.it> 16.04.3-1mamba
- automatic version update by autodist
* Wed Jun 15 2016 Automatic Build System <autodist@mambasoft.it> 16.04.2-1mamba
- automatic version update by autodist
* Wed May 11 2016 Automatic Build System <autodist@mambasoft.it> 16.04.1-1mamba
- automatic version update by autodist
* Thu May 05 2016 Silvan Calarco <silvan.calarco@mambasoft.it> 16.04.0-1mamba
- package created using the webbuild interface