diff --git a/atanua.appdata.xml b/atanua.appdata.xml new file mode 100644 index 0000000..daaf45a --- /dev/null +++ b/atanua.appdata.xml @@ -0,0 +1,36 @@ + + + + atanua + Atanua + GPL-2.0+ + CC0-1.0 + Real Time Logic Simulator + + + Atanua + EDA + Logic + Simulator + + + +

Real-time logic simulator, designed to help in learning of basic + boolean logic and electronics.

+

It uses OpenGL hardware-accelerated rendering and a custom UI + designed for a fast workflow and a very low learning curve, letting the + students concentrate on learning the subject instead of spending time + learning the tool.

+
+ + + + http://pkgs.fedoraproject.org/cgit/rpms/atanua.git/plain/atanua.png + + + + http://sol.gfxile.net/atanua/ + https://github.com/jarikomppa/atanua/issues + lkundrak@v3.sk + Jari Komppa +
diff --git a/atanua.png b/atanua.png new file mode 100644 index 0000000..4196761 Binary files /dev/null and b/atanua.png differ diff --git a/atanua.spec b/atanua.spec index c2a97e5..4da8785 100644 --- a/atanua.spec +++ b/atanua.spec @@ -3,7 +3,7 @@ Name: atanua Version: 1.3.141220 -Release: 2%{?dist} +Release: 3%{?dist} Summary: Real Time Logic Simulator Group: Applications/Engineering @@ -15,6 +15,8 @@ Source0: https://github.com/jarikomppa/atanua/archive/%{commit}/%{name}-% Source1: http://sol.gfxile.net/zip/atanua141220.zip Source2: atanua.desktop Source3: x-atanua-simulation.xml +Source4: atanua.appdata.xml +Source5: atanua.png # https://github.com/jarikomppa/atanua/pull/4 Patch1: 0001-Don-t-crash-on-file-open-failures.patch @@ -36,6 +38,7 @@ BuildRequires: tinyxml-devel BuildRequires: stbi-devel BuildRequires: GLee-devel BuildRequires: gcc-c++ +BuildRequires: libappstream-glib %description Atanua is a real-time logic simulator, designed to help in learning of basic @@ -67,6 +70,7 @@ install -d %{buildroot}%{_bindir} install -d %{buildroot}%{_datadir} install -d %{buildroot}%{_datadir}/mime/packages install -d %{buildroot}%{_datadir}/pixmaps +install -d %{buildroot}%{_datadir}/appdata install atanua %{buildroot}%{_bindir} cp -a data %{buildroot}%{_datadir}/atanua @@ -75,6 +79,12 @@ cp -a data/icon.png %{buildroot}%{_datadir}/pixmaps/atanua.png install -pm644 %{SOURCE3} %{buildroot}%{_datadir}/mime/packages/ desktop-file-install --dir=%{buildroot}%{_datadir}/applications %{SOURCE2} +install -pm644 %{SOURCE4} %{buildroot}%{_datadir}/appdata/ + + +%check +appstream-util validate-relax --nonet %{buildroot}/%{_datadir}/appdata/*.appdata.xml + %post /bin/touch --no-create %{_datadir}/mime/packages &>/dev/null || : @@ -99,12 +109,16 @@ fi %{_datadir}/applications/atanua.desktop %{_datadir}/mime/packages/x-atanua-simulation.xml %{_datadir}/pixmaps/atanua.png +%{_datadir}/appdata/atanua.appdata.xml %doc readme.md %license LICENSE %license data/vera_copyright.txt %changelog +* Fri Apr 29 2016 Lubomir Rintel - 1.3.141220-3 +- Add AppStream metadata + * Wed Feb 03 2016 Fedora Release Engineering - 1.3.141220-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_24_Mass_Rebuild