Hello community,

here is the log from the commit of package ghostwriter for openSUSE:Factory 
checked in at 2017-02-20 13:15:32
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/ghostwriter (Old)
 and      /work/SRC/openSUSE:Factory/.ghostwriter.new (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "ghostwriter"

Changes:
--------
--- /work/SRC/openSUSE:Factory/ghostwriter/ghostwriter.changes  2016-09-08 
17:39:57.000000000 +0200
+++ /work/SRC/openSUSE:Factory/.ghostwriter.new/ghostwriter.changes     
2017-02-20 13:15:33.600535652 +0100
@@ -1,0 +2,6 @@
+Sun Feb 19 16:58:13 UTC 2017 - [email protected]
+
+- Split lang subpackage and generate/install translations
+- Suggest MultiMarkdown-5 as well
+
+-------------------------------------------------------------------

++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Other differences:
------------------
++++++ ghostwriter.spec ++++++
--- /var/tmp/diff_new_pack.RgaA7u/_old  2017-02-20 13:15:34.080468174 +0100
+++ /var/tmp/diff_new_pack.RgaA7u/_new  2017-02-20 13:15:34.084467612 +0100
@@ -1,7 +1,7 @@
 #
 # spec file for package ghostwriter
 #
-# Copyright (c) 2016 SUSE LINUX GmbH, Nuernberg, Germany.
+# Copyright (c) 2017 SUSE LINUX GmbH, Nuernberg, Germany.
 #
 # All modifications and additions to the file contributed by third parties
 # remain the property of their copyright owners, unless otherwise agreed
@@ -26,6 +26,7 @@
 Source:         
https://github.com/wereturtle/ghostwriter/archive/v%{version}.tar.gz#/%{name}-%{version}.tar.gz
 BuildRequires:  gcc-c++
 BuildRequires:  hicolor-icon-theme
+BuildRequires:  libqt5-linguist
 BuildRequires:  pkgconfig
 BuildRequires:  update-desktop-files
 BuildRequires:  pkgconfig(Qt5Concurrent)
@@ -41,6 +42,8 @@
 Requires(post): update-desktop-files
 Requires(postun): hicolor-icon-theme
 Requires(postun): update-desktop-files
+Recommends:     %{name}-lang
+Suggests:       MultiMarkdown-5
 Suggests:       cmark
 Suggests:       discount
 Suggests:       pandoc
@@ -51,16 +54,20 @@
 Gruber’s website at http://www.daringfireball.net. ghostwriter
 provides a relaxing, distraction-free writing environment.
 
+%lang_package
+
 %prep
 %setup -q
 
 %build
+lrelease-qt5 %{name}.pro
 %qmake5 PREFIX=%{_prefix}
 %make_jobs
 
 %install
 %qmake5_install
 %suse_update_desktop_file -r %{name} TextEditor
+%find_lang %{name} --with-qt
 
 %post
 %desktop_database_post
@@ -74,7 +81,6 @@
 %defattr(-,root,root)
 %doc README.md CREDITS.md COPYING
 %{_bindir}/ghostwriter
-%{_datadir}/ghostwriter
 %dir %{_datadir}/appdata
 %{_datadir}/appdata/ghostwriter.appdata.xml
 %{_datadir}/applications/ghostwriter.desktop
@@ -82,4 +88,9 @@
 %{_mandir}/man1/ghostwriter.1%{ext_man}
 %{_datadir}/pixmaps/ghostwriter.xpm
 
+%files lang -f %{name}.lang
+%defattr(-,root,root)
+%dir %{_datadir}/ghostwriter
+%dir %{_datadir}/ghostwriter/translations
+
 %changelog


Reply via email to