forked from pool/cadabra2
Accepting request 533391 from science
- 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. - 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. - Add an appdata file and install it to /usr/share/metainfo; BuildRequires on appstream-glib added. OBS-URL: https://build.opensuse.org/request/show/533391 OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/cadabra2?expand=0&rev=2
This commit is contained in:
commit
99d7e47e0a
@ -1,3 +0,0 @@
|
|||||||
version https://git-lfs.github.com/spec/v1
|
|
||||||
oid sha256:89a8dc02f41fcb1061007fc87034975ba2a249ea8e03b2e5f035b8a123459559
|
|
||||||
size 4475773
|
|
3
2.1.5.tar.gz
Normal file
3
2.1.5.tar.gz
Normal file
@ -0,0 +1,3 @@
|
|||||||
|
version https://git-lfs.github.com/spec/v1
|
||||||
|
oid sha256:204bb179484d08f3114deff0279099a231accb39034aa9e4e658ef7923cd8442
|
||||||
|
size 4581968
|
27
cadabra2-gtk.appdata.xml
Normal file
27
cadabra2-gtk.appdata.xml
Normal file
@ -0,0 +1,27 @@
|
|||||||
|
<?xml version='1.0' encoding='UTF-8'?>
|
||||||
|
<component>
|
||||||
|
<id>cadabra2-gtk.desktop</id>
|
||||||
|
<metadata_license>CC0-1.0</metadata_license>
|
||||||
|
<name>Cadabra 2</name>
|
||||||
|
<project_license>GPL-3.0+</project_license>
|
||||||
|
<summary>A computer algebra system for problems in field theory</summary>
|
||||||
|
<url type="homepage">http://cadabra.science/</url>
|
||||||
|
<description>
|
||||||
|
<p>Cadabra2 is a computer algebra system (CAS) designed specifically for
|
||||||
|
the solution of problems encountered in field theory.</p>
|
||||||
|
<p>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.</p>
|
||||||
|
</description>
|
||||||
|
<screenshots>
|
||||||
|
<screenshot type="default">
|
||||||
|
<image height="1440" width="1192">https://cadabra.science/static/images/screenshot.png</image>
|
||||||
|
<caption>Gamma matrix algebra in a Cadabra2 notebook</caption>
|
||||||
|
</screenshot>
|
||||||
|
</screenshots>
|
||||||
|
<update_contact>info@cadabra.science</update_contact>
|
||||||
|
</component>
|
@ -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 <functional>
|
|
||||||
#include "Storage.hh"
|
|
||||||
|
|
||||||
namespace cadabra {
|
|
@ -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
|
Sun Jun 25 11:26:09 UTC 2017 - badshah400@gmail.com
|
||||||
|
|
||||||
|
@ -17,7 +17,7 @@
|
|||||||
|
|
||||||
|
|
||||||
Name: cadabra2
|
Name: cadabra2
|
||||||
Version: 2.1.4
|
Version: 2.1.5
|
||||||
Release: 0
|
Release: 0
|
||||||
Summary: A computer algebra system for solving problems in field theory
|
Summary: A computer algebra system for solving problems in field theory
|
||||||
License: GPL-3.0+
|
License: GPL-3.0+
|
||||||
@ -25,10 +25,10 @@ Group: Productivity/Scientific/Math
|
|||||||
Url: http://cadabra.science/
|
Url: http://cadabra.science/
|
||||||
Source0: https://github.com/kpeeters/cadabra2/archive/%{version}.tar.gz
|
Source0: https://github.com/kpeeters/cadabra2/archive/%{version}.tar.gz
|
||||||
Source1: %{name}-rpmlintrc
|
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
|
# 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
|
Patch0: cadabra2-cmake-error.patch
|
||||||
# PATCH-FIX-UPSTREAM cadabra2-include-functional-header.patch badshah400@gmail.com -- Explicitly include the <functional> header in core/Functional.hh to fix building on openSUSE > 1320; apply without conditionals as it doesn't hurt to have this generally
|
BuildRequires: appstream-glib
|
||||||
Patch1: cadabra2-include-functional-header.patch
|
|
||||||
BuildRequires: cmake
|
BuildRequires: cmake
|
||||||
BuildRequires: doxygen
|
BuildRequires: doxygen
|
||||||
BuildRequires: gcc-c++
|
BuildRequires: gcc-c++
|
||||||
@ -61,6 +61,7 @@ BuildRequires: tex(natbib.sty)
|
|||||||
BuildRequires: tex(pcrr8t.tfm)
|
BuildRequires: tex(pcrr8t.tfm)
|
||||||
BuildRequires: tex(phvr8t.tfm)
|
BuildRequires: tex(phvr8t.tfm)
|
||||||
BuildRequires: tex(psyr.tfm)
|
BuildRequires: tex(psyr.tfm)
|
||||||
|
BuildRequires: tex(rsfs10.tfm)
|
||||||
BuildRequires: tex(sectsty.sty)
|
BuildRequires: tex(sectsty.sty)
|
||||||
BuildRequires: tex(tabu.sty)
|
BuildRequires: tex(tabu.sty)
|
||||||
BuildRequires: tex(textcomp.sty)
|
BuildRequires: tex(textcomp.sty)
|
||||||
@ -68,7 +69,7 @@ BuildRequires: tex(tocloft.sty)
|
|||||||
BuildRequires: tex(wasy7.tfm)
|
BuildRequires: tex(wasy7.tfm)
|
||||||
BuildRequires: tex(wasysym.sty)
|
BuildRequires: tex(wasysym.sty)
|
||||||
BuildRequires: tex(xtab.sty)
|
BuildRequires: tex(xtab.sty)
|
||||||
BuildRequires: tex(zptmcm7t.tfm) tex(rsfs10.tfm)
|
BuildRequires: tex(zptmcm7t.tfm)
|
||||||
Requires(post): texlive-kpathsea-bin
|
Requires(post): texlive-kpathsea-bin
|
||||||
Requires(postun): texlive-kpathsea-bin
|
Requires(postun): texlive-kpathsea-bin
|
||||||
Recommends: %{name}-doc
|
Recommends: %{name}-doc
|
||||||
@ -164,7 +165,6 @@ This package provides documentation in the form of a PDF file for %{name}.
|
|||||||
%prep
|
%prep
|
||||||
%setup -q
|
%setup -q
|
||||||
%patch0 -p1
|
%patch0 -p1
|
||||||
%patch1 -p1
|
|
||||||
|
|
||||||
%build
|
%build
|
||||||
mkdir build && pushd build
|
mkdir build && pushd build
|
||||||
@ -192,6 +192,9 @@ popd
|
|||||||
|
|
||||||
%suse_update_desktop_file cadabra2-gtk
|
%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
|
%post
|
||||||
%{_bindir}/texhash
|
%{_bindir}/texhash
|
||||||
/sbin/ldconfig
|
/sbin/ldconfig
|
||||||
@ -233,6 +236,8 @@ popd
|
|||||||
%{_bindir}/%{name}-gtk
|
%{_bindir}/%{name}-gtk
|
||||||
%{_datadir}/icons/hicolor/*/apps/cadabra2-gtk.*
|
%{_datadir}/icons/hicolor/*/apps/cadabra2-gtk.*
|
||||||
%{_datadir}/applications/cadabra2-gtk.desktop
|
%{_datadir}/applications/cadabra2-gtk.desktop
|
||||||
|
%dir %{_datadir}/metainfo
|
||||||
|
%{_datadir}/metainfo/*.appdata.xml
|
||||||
|
|
||||||
%files examples
|
%files examples
|
||||||
%defattr(-,root,root)
|
%defattr(-,root,root)
|
||||||
|
Loading…
Reference in New Issue
Block a user