SHA256
1
0
forked from pool/kio
Luca Beltrame
2017-05-15 18:19:47 +00:00
committed by Git OBS Bridge
parent 981105277d
commit f68de77c03
5 changed files with 33 additions and 74 deletions

View File

@@ -17,9 +17,9 @@
%bcond_without lang
%define _tar_path 5.33
%define _tar_path 5.34
Name: kio
Version: 5.33.0
Version: 5.34.0
Release: 0
%define kf5_version %{version}
BuildRequires: cmake >= 3.0
@@ -75,8 +75,6 @@ Source: http://download.kde.org/stable/frameworks/%{_tar_path}/%{name}-%
Source1: baselibs.conf
# PATCH-FIX-OPENSUSE kio_help-fallback-to-kde4-docs.patch -- allow kio_help to see into kde4 documentation, needed especially for khelpcenter5
Patch0: kio_help-fallback-to-kde4-docs.patch
# PATCH-FIX-UPSTREAM enable-natural-sorting-in-KDirSortFilterProxyModel.patch wbauer@tmo.at boo#1033668, kde#343452 -- use natural sorting by default in the KDE file dialog and gwenview
Patch1: enable-natural-sorting-in-KDirSortFilterProxyModel.patch
BuildRoot: %{_tmppath}/%{name}-%{version}-build
%description
@@ -123,7 +121,6 @@ Development files.
%prep
%setup -q
%patch0 -p1
%patch1 -p1
%build
%cmake_kf5 -d build
@@ -134,15 +131,8 @@ Development files.
%fdupes %{buildroot}
%if %{with lang}
%find_lang %{name}5 %{name}5.lang
echo "%doc %lang(ca) %{_kf5_mandir}/ca" >>%{name}5.lang
echo "%doc %lang(de) %{_kf5_mandir}/de" >>%{name}5.lang
echo "%doc %lang(es) %{_kf5_mandir}/es" >>%{name}5.lang
echo "%doc %lang(it) %{_kf5_mandir}/it" >>%{name}5.lang
echo "%doc %lang(nl) %{_kf5_mandir}/nl" >>%{name}5.lang
echo "%doc %lang(pt_BR) %{_kf5_mandir}/pt_BR" >>%{name}5.lang
echo "%doc %lang(sv) %{_kf5_mandir}/sv" >>%{name}5.lang
echo "%doc %lang(uk) %{_kf5_mandir}/uk" >>%{name}5.lang
%find_lang %{name} --with-man --all-name
%kf5_find_htmldocs
%endif
%post core -p /sbin/ldconfig
@@ -154,23 +144,7 @@ echo "%doc %lang(uk) %{_kf5_mandir}/uk" >>%{name}5.lang
%postun -p /sbin/ldconfig
%if %{with lang}
%files lang -f %{name}5.lang
%dir %{_kf5_htmldir}
%doc %lang(ca) %{_kf5_htmldir}/ca
%doc %lang(de) %{_kf5_htmldir}/de
%doc %lang(es) %{_kf5_htmldir}/es
%doc %lang(et) %{_kf5_htmldir}/et
%doc %lang(it) %{_kf5_htmldir}/it
%doc %lang(nb) %{_kf5_htmldir}/nb
%doc %lang(nl) %{_kf5_htmldir}/nl
%doc %lang(pt_BR) %{_kf5_htmldir}/pt_BR
%doc %lang(ru) %{_kf5_htmldir}/ru
%doc %lang(sr) %{_kf5_htmldir}/sr
%doc %lang(sr@latin) %{_kf5_htmldir}/sr@latin
%doc %lang(sv) %{_kf5_htmldir}/sv
%doc %lang(uk) %{_kf5_htmldir}/uk
%exclude %dir %{_kf5_htmldir}/en
%exclude %{_kf5_htmldir}/en/*/
%files lang -f %{name}.lang
%endif
%files core
@@ -206,6 +180,7 @@ echo "%doc %lang(uk) %{_kf5_mandir}/uk" >>%{name}5.lang
%dir %{_kf5_plugindir}/kf5/kiod
%{_kf5_plugindir}/kf5/kiod/kssld.so
%{_kf5_sharedir}/dbus-1/services/org.kde.kssld5.service
%{_kf5_sharedir}/dbus-1/services/org.kde.kioexecd.service
%files
%defattr(-,root,root)
@@ -228,6 +203,7 @@ echo "%doc %lang(uk) %{_kf5_mandir}/uk" >>%{name}5.lang
%{_kf5_plugindir}/kf5/kded/proxyscout.so
%{_kf5_plugindir}/kf5/kded/remotenotifier.so
%{_kf5_plugindir}/kf5/kiod/kpasswdserver.so
%{_kf5_plugindir}/kf5/kiod/kioexecd.so
%{_kf5_plugindir}/kf5/urifilters/
%{_kf5_plugindir}/kf5/kio/remote.so
%{_kf5_servicesdir}/cache.desktop