From 0035f4243f0cac4c8d36a00c3261f6d2a1220e0e62154f164f287a4498b9365c Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Ismail=20D=C3=B6nmez?= Date: Mon, 31 Jul 2017 14:09:09 +0000 Subject: [PATCH 1/4] Accepting request 512716 from home:badshah400:branches:science - Add an appdata file and install it to /usr/share/metainfo; BuildRequires on appstream-glib added. OBS-URL: https://build.opensuse.org/request/show/512716 OBS-URL: https://build.opensuse.org/package/show/science/cadabra2?expand=0&rev=3 --- cadabra2-gtk.appdata.xml | 27 +++++++++++++++++++++++++++ cadabra2.changes | 6 ++++++ cadabra2.spec | 7 +++++++ 3 files changed, 40 insertions(+) create mode 100644 cadabra2-gtk.appdata.xml 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.changes b/cadabra2.changes index 49846a8..32ccad5 100644 --- a/cadabra2.changes +++ b/cadabra2.changes @@ -1,3 +1,9 @@ +------------------------------------------------------------------- +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..6194d7d 100644 --- a/cadabra2.spec +++ b/cadabra2.spec @@ -25,10 +25,12 @@ 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++ @@ -192,6 +194,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 +238,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) From 18633ff645dcef0ef602447972e0c8dcbf1736e7f5322b424c68a19eff2361fa Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Matthias=20Mail=C3=A4nder?= Date: Sun, 6 Aug 2017 20:44:18 +0000 Subject: [PATCH 2/4] Accepting request 514822 from home:badshah400:branches:science - 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. OBS-URL: https://build.opensuse.org/request/show/514822 OBS-URL: https://build.opensuse.org/package/show/science/cadabra2?expand=0&rev=4 --- 2.1.4.tar.gz | 3 --- 2.1.5.tar.gz | 3 +++ cadabra2.changes | 9 +++++++++ cadabra2.spec | 5 +---- 4 files changed, 13 insertions(+), 7 deletions(-) delete mode 100644 2.1.4.tar.gz create mode 100644 2.1.5.tar.gz 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..e1f7d0d --- /dev/null +++ b/2.1.5.tar.gz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:a21f2db951fee83c403e4627ca7deb9982601a610b295586014169c58efc48df +size 4581957 diff --git a/cadabra2.changes b/cadabra2.changes index 32ccad5..bd2a152 100644 --- a/cadabra2.changes +++ b/cadabra2.changes @@ -1,3 +1,12 @@ +------------------------------------------------------------------- +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 diff --git a/cadabra2.spec b/cadabra2.spec index 6194d7d..ef87816 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+ @@ -28,8 +28,6 @@ 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 @@ -166,7 +164,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 From 5d72ea03a9e60cce35879fa91a8050d09352b729b3296b6acbc2a5e56e9fac5c Mon Sep 17 00:00:00 2001 From: Atri Bhattacharya Date: Wed, 11 Oct 2017 11:22:08 +0000 Subject: [PATCH 3/4] OBS-URL: https://build.opensuse.org/package/show/science/cadabra2?expand=0&rev=6 --- cadabra2-include-functional-header.patch | 12 ------------ 1 file changed, 12 deletions(-) delete mode 100644 cadabra2-include-functional-header.patch 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 { From d7cfaf9fdf77f99b0009227d35795a72a7574783f805f16edbbb78f6b0cdcc47 Mon Sep 17 00:00:00 2001 From: Atri Bhattacharya Date: Wed, 11 Oct 2017 12:06:39 +0000 Subject: [PATCH 4/4] - 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. OBS-URL: https://build.opensuse.org/package/show/science/cadabra2?expand=0&rev=7 --- 2.1.5.tar.gz | 4 ++-- cadabra2.changes | 7 +++++++ cadabra2.spec | 3 ++- 3 files changed, 11 insertions(+), 3 deletions(-) diff --git a/2.1.5.tar.gz b/2.1.5.tar.gz index e1f7d0d..12a50de 100644 --- a/2.1.5.tar.gz +++ b/2.1.5.tar.gz @@ -1,3 +1,3 @@ version https://git-lfs.github.com/spec/v1 -oid sha256:a21f2db951fee83c403e4627ca7deb9982601a610b295586014169c58efc48df -size 4581957 +oid sha256:204bb179484d08f3114deff0279099a231accb39034aa9e4e658ef7923cd8442 +size 4581968 diff --git a/cadabra2.changes b/cadabra2.changes index bd2a152..9fa35e3 100644 --- a/cadabra2.changes +++ b/cadabra2.changes @@ -1,3 +1,10 @@ +------------------------------------------------------------------- +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 diff --git a/cadabra2.spec b/cadabra2.spec index ef87816..0091b02 100644 --- a/cadabra2.spec +++ b/cadabra2.spec @@ -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