Accepting request 459066 from editors
- Split lang subpackage and generate/install translations - Suggest MultiMarkdown-5 as well OBS-URL: https://build.opensuse.org/request/show/459066 OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/ghostwriter?expand=0&rev=5
This commit is contained in:
commit
68ebf5b813
@ -1,3 +1,9 @@
|
||||
-------------------------------------------------------------------
|
||||
Sun Feb 19 16:58:13 UTC 2017 - mpluskal@suse.com
|
||||
|
||||
- Split lang subpackage and generate/install translations
|
||||
- Suggest MultiMarkdown-5 as well
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Thu Sep 8 01:06:00 UTC 2016 - luke.nukem.jones@gmail.com
|
||||
|
||||
|
@ -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 @@ Url: https://wereturtle.github.io/ghostwriter
|
||||
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): hicolor-icon-theme
|
||||
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 @@ markup format. For more information about Markdown, please visit John
|
||||
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 @@ provides a relaxing, distraction-free writing environment.
|
||||
%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 @@ provides a relaxing, distraction-free writing environment.
|
||||
%{_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
|
||||
|
Loading…
x
Reference in New Issue
Block a user