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
|
Thu Sep 8 01:06:00 UTC 2016 - luke.nukem.jones@gmail.com
|
||||||
|
|
||||||
|
@ -1,7 +1,7 @@
|
|||||||
#
|
#
|
||||||
# spec file for package ghostwriter
|
# 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
|
# All modifications and additions to the file contributed by third parties
|
||||||
# remain the property of their copyright owners, unless otherwise agreed
|
# 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
|
Source: https://github.com/wereturtle/ghostwriter/archive/v%{version}.tar.gz#/%{name}-%{version}.tar.gz
|
||||||
BuildRequires: gcc-c++
|
BuildRequires: gcc-c++
|
||||||
BuildRequires: hicolor-icon-theme
|
BuildRequires: hicolor-icon-theme
|
||||||
|
BuildRequires: libqt5-linguist
|
||||||
BuildRequires: pkgconfig
|
BuildRequires: pkgconfig
|
||||||
BuildRequires: update-desktop-files
|
BuildRequires: update-desktop-files
|
||||||
BuildRequires: pkgconfig(Qt5Concurrent)
|
BuildRequires: pkgconfig(Qt5Concurrent)
|
||||||
@ -41,6 +42,8 @@ Requires(post): hicolor-icon-theme
|
|||||||
Requires(post): update-desktop-files
|
Requires(post): update-desktop-files
|
||||||
Requires(postun): hicolor-icon-theme
|
Requires(postun): hicolor-icon-theme
|
||||||
Requires(postun): update-desktop-files
|
Requires(postun): update-desktop-files
|
||||||
|
Recommends: %{name}-lang
|
||||||
|
Suggests: MultiMarkdown-5
|
||||||
Suggests: cmark
|
Suggests: cmark
|
||||||
Suggests: discount
|
Suggests: discount
|
||||||
Suggests: pandoc
|
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
|
Gruber’s website at http://www.daringfireball.net. ghostwriter
|
||||||
provides a relaxing, distraction-free writing environment.
|
provides a relaxing, distraction-free writing environment.
|
||||||
|
|
||||||
|
%lang_package
|
||||||
|
|
||||||
%prep
|
%prep
|
||||||
%setup -q
|
%setup -q
|
||||||
|
|
||||||
%build
|
%build
|
||||||
|
lrelease-qt5 %{name}.pro
|
||||||
%qmake5 PREFIX=%{_prefix}
|
%qmake5 PREFIX=%{_prefix}
|
||||||
%make_jobs
|
%make_jobs
|
||||||
|
|
||||||
%install
|
%install
|
||||||
%qmake5_install
|
%qmake5_install
|
||||||
%suse_update_desktop_file -r %{name} TextEditor
|
%suse_update_desktop_file -r %{name} TextEditor
|
||||||
|
%find_lang %{name} --with-qt
|
||||||
|
|
||||||
%post
|
%post
|
||||||
%desktop_database_post
|
%desktop_database_post
|
||||||
@ -74,7 +81,6 @@ provides a relaxing, distraction-free writing environment.
|
|||||||
%defattr(-,root,root)
|
%defattr(-,root,root)
|
||||||
%doc README.md CREDITS.md COPYING
|
%doc README.md CREDITS.md COPYING
|
||||||
%{_bindir}/ghostwriter
|
%{_bindir}/ghostwriter
|
||||||
%{_datadir}/ghostwriter
|
|
||||||
%dir %{_datadir}/appdata
|
%dir %{_datadir}/appdata
|
||||||
%{_datadir}/appdata/ghostwriter.appdata.xml
|
%{_datadir}/appdata/ghostwriter.appdata.xml
|
||||||
%{_datadir}/applications/ghostwriter.desktop
|
%{_datadir}/applications/ghostwriter.desktop
|
||||||
@ -82,4 +88,9 @@ provides a relaxing, distraction-free writing environment.
|
|||||||
%{_mandir}/man1/ghostwriter.1%{ext_man}
|
%{_mandir}/man1/ghostwriter.1%{ext_man}
|
||||||
%{_datadir}/pixmaps/ghostwriter.xpm
|
%{_datadir}/pixmaps/ghostwriter.xpm
|
||||||
|
|
||||||
|
%files lang -f %{name}.lang
|
||||||
|
%defattr(-,root,root)
|
||||||
|
%dir %{_datadir}/ghostwriter
|
||||||
|
%dir %{_datadir}/ghostwriter/translations
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
Loading…
x
Reference in New Issue
Block a user