diff --git a/2.1.4.tar.gz b/2.1.4.tar.gz deleted file mode 100644 index 8c11584..0000000 --- a/2.1.4.tar.gz +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:89a8dc02f41fcb1061007fc87034975ba2a249ea8e03b2e5f035b8a123459559 -size 4475773 diff --git a/2.1.5.tar.gz b/2.1.5.tar.gz new file mode 100644 index 0000000..12a50de --- /dev/null +++ b/2.1.5.tar.gz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:204bb179484d08f3114deff0279099a231accb39034aa9e4e658ef7923cd8442 +size 4581968 diff --git a/cadabra2-gtk.appdata.xml b/cadabra2-gtk.appdata.xml new file mode 100644 index 0000000..fbfaede --- /dev/null +++ b/cadabra2-gtk.appdata.xml @@ -0,0 +1,27 @@ + + + cadabra2-gtk.desktop + CC0-1.0 + Cadabra 2 + GPL-3.0+ + A computer algebra system for problems in field theory + http://cadabra.science/ + +

Cadabra2 is a computer algebra system (CAS) designed specifically for +the solution of problems encountered in field theory.

+

It has been designed specifically for the solution of problems encountered +in quantum and classical field theory. It has extensive functionality +for tensor computer algebra, tensor polynomial simplification +including multi-term symmetries, fermions and anti-commuting +variables, Clifford algebras and Fierz transformations, implicit +coordinate dependence, multiple index types and many more. The input +format is a subset of TeX.

+
+ + + https://cadabra.science/static/images/screenshot.png + Gamma matrix algebra in a Cadabra2 notebook + + + info@cadabra.science +
diff --git a/cadabra2-include-functional-header.patch b/cadabra2-include-functional-header.patch deleted file mode 100644 index ffbd216..0000000 --- a/cadabra2-include-functional-header.patch +++ /dev/null @@ -1,12 +0,0 @@ -Index: cadabra2-2.1.4/core/Functional.hh -=================================================================== ---- cadabra2-2.1.4.orig/core/Functional.hh -+++ cadabra2-2.1.4/core/Functional.hh -@@ -1,6 +1,7 @@ - - #pragma once - -+#include - #include "Storage.hh" - - namespace cadabra { diff --git a/cadabra2.changes b/cadabra2.changes index 49846a8..9fa35e3 100644 --- a/cadabra2.changes +++ b/cadabra2.changes @@ -1,3 +1,25 @@ +------------------------------------------------------------------- +Wed Oct 11 12:04:47 UTC 2017 - badshah400@gmail.com + +- Refresh source tarball from upstream: upstream might have pushed + out a new tarball without changes to the versioning, making the + source validator service complain about the mismatch. + +------------------------------------------------------------------- +Sun Aug 6 18:20:17 UTC 2017 - badshah400@gmail.com + +- Update to version 2.1.5: + * Interim release with as its main feature the map_sympy command + which makes it much easier to apply sympy algorithms to + component expressions. +- Drop cadabra2-include-functional-header.patch; fixed upstream. + +------------------------------------------------------------------- +Thu Jul 20 22:52:55 UTC 2017 - badshah400@gmail.com + +- Add an appdata file and install it to /usr/share/metainfo; + BuildRequires on appstream-glib added. + ------------------------------------------------------------------- Sun Jun 25 11:26:09 UTC 2017 - badshah400@gmail.com diff --git a/cadabra2.spec b/cadabra2.spec index 83303cf..0091b02 100644 --- a/cadabra2.spec +++ b/cadabra2.spec @@ -17,7 +17,7 @@ Name: cadabra2 -Version: 2.1.4 +Version: 2.1.5 Release: 0 Summary: A computer algebra system for solving problems in field theory License: GPL-3.0+ @@ -25,10 +25,10 @@ Group: Productivity/Scientific/Math Url: http://cadabra.science/ Source0: https://github.com/kpeeters/cadabra2/archive/%{version}.tar.gz Source1: %{name}-rpmlintrc +Source2: %{name}-gtk.appdata.xml # PATCH-FIX-UPSTREAM cadabra2-cmake-error.patch badshah400@gmail.com -- Cmake needs to call "execute_process" instead of "execute"; fixes build failures Patch0: cadabra2-cmake-error.patch -# PATCH-FIX-UPSTREAM cadabra2-include-functional-header.patch badshah400@gmail.com -- Explicitly include the header in core/Functional.hh to fix building on openSUSE > 1320; apply without conditionals as it doesn't hurt to have this generally -Patch1: cadabra2-include-functional-header.patch +BuildRequires: appstream-glib BuildRequires: cmake BuildRequires: doxygen BuildRequires: gcc-c++ @@ -61,6 +61,7 @@ BuildRequires: tex(natbib.sty) BuildRequires: tex(pcrr8t.tfm) BuildRequires: tex(phvr8t.tfm) BuildRequires: tex(psyr.tfm) +BuildRequires: tex(rsfs10.tfm) BuildRequires: tex(sectsty.sty) BuildRequires: tex(tabu.sty) BuildRequires: tex(textcomp.sty) @@ -68,7 +69,7 @@ BuildRequires: tex(tocloft.sty) BuildRequires: tex(wasy7.tfm) BuildRequires: tex(wasysym.sty) BuildRequires: tex(xtab.sty) -BuildRequires: tex(zptmcm7t.tfm) tex(rsfs10.tfm) +BuildRequires: tex(zptmcm7t.tfm) Requires(post): texlive-kpathsea-bin Requires(postun): texlive-kpathsea-bin Recommends: %{name}-doc @@ -164,7 +165,6 @@ This package provides documentation in the form of a PDF file for %{name}. %prep %setup -q %patch0 -p1 -%patch1 -p1 %build mkdir build && pushd build @@ -192,6 +192,9 @@ popd %suse_update_desktop_file cadabra2-gtk +# INSTALL APPDATA TO /usr/share/metainfo +install -D -m0644 %{S:2} %{buildroot}%{_datadir}/metainfo/%{name}-gtk.appdata.xml + %post %{_bindir}/texhash /sbin/ldconfig @@ -233,6 +236,8 @@ popd %{_bindir}/%{name}-gtk %{_datadir}/icons/hicolor/*/apps/cadabra2-gtk.* %{_datadir}/applications/cadabra2-gtk.desktop +%dir %{_datadir}/metainfo +%{_datadir}/metainfo/*.appdata.xml %files examples %defattr(-,root,root)