Accepting request 359119 from home:wolfi323:test

- Install "Create New" templates to %{_kf5_sharedir}/templates/ as a workaround until kde#356198 is fixed (boo#963680)

OBS-URL: https://build.opensuse.org/request/show/359119
OBS-URL: https://build.opensuse.org/package/show/KDE:Frameworks5/kio?expand=0&rev=121
This commit is contained in:
Hrvoje Senjan 2016-02-13 00:37:51 +00:00 committed by Git OBS Bridge
parent 7da048e911
commit 585a074c39
2 changed files with 19 additions and 0 deletions

View File

@ -1,3 +1,9 @@
-------------------------------------------------------------------
Fri Feb 12 22:00:55 UTC 2016 - wbauer@tmo.at
- Install "Create New" templates to %{_kf5_sharedir}/templates/ as
a workaround until kde#356198 is fixed (boo#963680)
-------------------------------------------------------------------
Sat Feb 6 18:03:41 UTC 2016 - hrvoje.senjan@gmail.com

View File

@ -141,6 +141,18 @@ echo "%doc %lang(sv) %{_kf5_mandir}/sv" >>%{name}5.lang
echo "%doc %lang(uk) %{_kf5_mandir}/uk" >>%{name}5.lang
%endif
# install "Create New" templates to %{_kf5_sharedir}/templates/ as a workaround until kde#963680 is fixed (boo#963680)
mkdir -p %{buildroot}%{_kf5_sharedir}/templates/.source
cd src/new_file_templates
for i in link* Directory.desktop HTMLFile.desktop TextFile.desktop
do
cp $i %{buildroot}%{_kf5_sharedir}/templates/
done
for i in HTMLFile.html Program.desktop TextFile.txt URL.desktop
do
cp $i %{buildroot}%{_kf5_sharedir}/templates/.source/
done
%post core -p /sbin/ldconfig
%postun core -p /sbin/ldconfig
@ -235,6 +247,7 @@ echo "%doc %lang(uk) %{_kf5_mandir}/uk" >>%{name}5.lang
%{_kf5_servicesdir}/webshortcuts.desktop
%{_kf5_sharedir}/dbus-1/services/org.kde.kpasswdserver.service
%{_kf5_sharedir}/dbus-1/services/org.kde.kcookiejar5.service
%{_kf5_sharedir}/templates/
%doc %lang(en) %{_kf5_mandir}/*/kcookiejar5.*
%dir %{_kf5_htmldir}/en
%dir %{_kf5_htmldir}