From 4f4d9e182911ed70333f54789315a60af8c8c9e37b5ec05d2222703e48760642 Mon Sep 17 00:00:00 2001 From: Martin Pluskal Date: Sun, 2 Oct 2016 19:03:58 +0000 Subject: [PATCH] Accepting request 432621 from home:badshah400:branches:Publishing - Add manually created appdata file and install it. OBS-URL: https://build.opensuse.org/request/show/432621 OBS-URL: https://build.opensuse.org/package/show/Publishing/equalx?expand=0&rev=13 --- equalx.appdata.xml | 30 ++++++++++++++++++++++++++++++ equalx.changes | 5 +++++ equalx.spec | 8 +++++++- 3 files changed, 42 insertions(+), 1 deletion(-) create mode 100644 equalx.appdata.xml diff --git a/equalx.appdata.xml b/equalx.appdata.xml new file mode 100644 index 0000000..f0921f6 --- /dev/null +++ b/equalx.appdata.xml @@ -0,0 +1,30 @@ + + + equalx.desktop + CC0-1.0 + EqualX + GPL-3.0+ + Editor for writing and exporting TeX/LaTeX equations + http://equalx.sourceforge.net/ + +

EqualX is a helpful graphical interface to LaTeX programs. +It gives you the power and beauty for writing TeX/LaTeX equations +in a simple to use editor.

+

Features included:

+
    +
  • Highlight find results in the Equation Preview
  • +
  • 3 modes for Refreshing the Preview
  • +
  • Customise the export commands
  • +
  • Professional and customisable window layout
  • +
  • Equation font is computed according to desktop DPI
  • +
  • Reshaping the Symbols toolbar and Templates toolbar
  • +
+
+ + + http://equalx.sourceforge.net/images/mainwindow.png + Main window + + + q.quark_AT_gmail.com +
diff --git a/equalx.changes b/equalx.changes index 7a1c433..738bf3e 100644 --- a/equalx.changes +++ b/equalx.changes @@ -1,3 +1,8 @@ +------------------------------------------------------------------- +Sun Oct 2 17:37:46 UTC 2016 - badshah400@gmail.com + +- Add manually created appdata file and install it. + ------------------------------------------------------------------- Sun Jul 5 14:40:12 UTC 2015 - badshah400@gmail.com diff --git a/equalx.spec b/equalx.spec index efc6c39..0ee5783 100644 --- a/equalx.spec +++ b/equalx.spec @@ -1,7 +1,7 @@ # # spec file for package equalx # -# Copyright (c) 2015 SUSE LINUX GmbH, Nuernberg, Germany. +# Copyright (c) 2016 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 @@ -24,6 +24,7 @@ License: GPL-3.0+ Group: Productivity/Publishing/TeX/Frontends Url: http://equalx.sourceforge.net/ Source0: http://downloads.sourceforge.net/equalx/%{name}-%{version}.tar.gz +Source1: %{name}.appdata.xml # PATCH-FIX-OPENSUSE equalx-fix-desktop-file.patch badshah400@gmail.com -- Fix icon tag in desktop file and categories for compatibility with openSUSE defined ones Patch0: equalx-fix-desktop-file.patch BuildRequires: desktop-file-utils @@ -102,6 +103,9 @@ desktop-file-install resources/%{name}.desktop # REMOVE UNUSED DESKTOP FILE rm %{buildroot}%{_datadir}/%{name}/resources/%{name}.desktop +# INSTALL APPDATA +install -Dm0644 %{S:1} %{buildroot}%{_datadir}/appdata/%{name}.appdata.xml + %fdupes %{buildroot}%{_datadir}/%{name} %post @@ -122,5 +126,7 @@ rm %{buildroot}%{_datadir}/%{name}/resources/%{name}.desktop %{_datadir}/icons/hicolor/*/apps/%{name}.* %{_datadir}/applications/%{name}.desktop %{_datadir}/%{name}/ +%dir %{_datadir}/appdata +%{_datadir}/appdata/%{name}.appdata.xml %changelog