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
This commit is contained in:
parent
2356c69e9a
commit
0035f4243f
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,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
|
Sun Jun 25 11:26:09 UTC 2017 - badshah400@gmail.com
|
||||||
|
|
||||||
|
@ -25,10 +25,12 @@ 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
|
# 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
|
||||||
Patch1: cadabra2-include-functional-header.patch
|
Patch1: cadabra2-include-functional-header.patch
|
||||||
|
BuildRequires: appstream-glib
|
||||||
BuildRequires: cmake
|
BuildRequires: cmake
|
||||||
BuildRequires: doxygen
|
BuildRequires: doxygen
|
||||||
BuildRequires: gcc-c++
|
BuildRequires: gcc-c++
|
||||||
@ -192,6 +194,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 +238,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