Hello community, here is the log from the commit of package focuswriter for openSUSE:Factory checked in at 2017-03-12 20:02:56 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/focuswriter (Old) and /work/SRC/openSUSE:Factory/.focuswriter.new (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "focuswriter" Sun Mar 12 20:02:56 2017 rev:4 rq:477533 version:1.6.3 Changes: -------- --- /work/SRC/openSUSE:Factory/focuswriter/focuswriter.changes 2016-12-26 21:46:20.475639906 +0100 +++ /work/SRC/openSUSE:Factory/.focuswriter.new/focuswriter.changes 2017-03-12 20:03:00.094233729 +0100 @@ -1,0 +2,5 @@ +Tue Feb 28 13:26:12 UTC 2017 - mplus...@suse.com + +- Split lang subpackage + +------------------------------------------------------------------- ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ focuswriter.spec ++++++ --- /var/tmp/diff_new_pack.nMEIZP/_old 2017-03-12 20:03:00.814131863 +0100 +++ /var/tmp/diff_new_pack.nMEIZP/_new 2017-03-12 20:03:00.818131297 +0100 @@ -1,7 +1,7 @@ # # spec file for package focuswriter # -# Copyright (c) 2016 SUSE LINUX GmbH, Nuernberg, Germany. +# Copyright (c) 2017 SUSE LINUX GmbH, Nuernberg, Germany. # Copyright (c) 2015 Graeme Gott <gra...@gottcode.org> # # All modifications and additions to the file contributed by third parties @@ -41,6 +41,7 @@ Requires(post): update-desktop-files Requires(postun): hicolor-icon-theme Requires(postun): update-desktop-files +Recommends: %{name}-lang %description A fullscreen, distraction-free writing program. You can customize your @@ -52,16 +53,20 @@ position you at the end of your document, so that you can immediately jump back in. +%lang_package + %prep %setup -q %build +lrelease-qt5 %{name}.pro %qmake5 PREFIX=%{_prefix} %make_jobs %install %qmake5_install %suse_update_desktop_file %{name} +%find_lang %{name} --with-qt %fdupes -s %{buildroot} %post @@ -76,7 +81,11 @@ %defattr(-,root,root,-) %doc ChangeLog CREDITS NEWS README %{_bindir}/%{name} -%{_datadir}/%{name} +%dir %{_datadir}/%{name} +%{_datadir}/%{name}/icons +%{_datadir}/%{name}/sounds +%{_datadir}/%{name}/themes +%{_datadir}/%{name}/symbols900.dat %{_datadir}/appdata %{_datadir}/appdata/%{name}.appdata.xml %{_datadir}/applications/%{name}.desktop @@ -84,4 +93,9 @@ %{_datadir}/pixmaps/%{name}.xpm %{_mandir}/man1/%{name}.1%{ext_man} +%files lang -f %{name}.lang +%defattr(-,root,root) +%dir %{_datadir}/%{name} +%dir %{_datadir}/%{name}/translations + %changelog