Accepting request 538338 from science
OBS-URL: https://build.opensuse.org/request/show/538338 OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/cadabra2?expand=0&rev=3
This commit is contained in:
commit
82a71260b7
@ -1,3 +0,0 @@
|
|||||||
version https://git-lfs.github.com/spec/v1
|
|
||||||
oid sha256:204bb179484d08f3114deff0279099a231accb39034aa9e4e658ef7923cd8442
|
|
||||||
size 4581968
|
|
3
2.1.6.tar.gz
Normal file
3
2.1.6.tar.gz
Normal file
@ -0,0 +1,3 @@
|
|||||||
|
version https://git-lfs.github.com/spec/v1
|
||||||
|
oid sha256:462d902393a7d17637846debcd7205478f46465d418fe3359a450168ad8810e0
|
||||||
|
size 4595203
|
@ -1,13 +0,0 @@
|
|||||||
Index: cadabra2-2.1.4/CMakeLists.txt
|
|
||||||
===================================================================
|
|
||||||
--- cadabra2-2.1.4.orig/CMakeLists.txt
|
|
||||||
+++ cadabra2-2.1.4/CMakeLists.txt
|
|
||||||
@@ -17,7 +17,7 @@ endif()
|
|
||||||
if(GIT_COMMIT_DATE)
|
|
||||||
set(CADABRA_VERSION_DATE "${GIT_COMMIT_DATE}")
|
|
||||||
else()
|
|
||||||
- execute(COMMAND date -I OUTPUT_VARIABLE THE_DATE OUTPUT_STRIP_TRAILING_WHITESPACE)
|
|
||||||
+ execute_process(COMMAND date -I OUTPUT_VARIABLE THE_DATE OUTPUT_STRIP_TRAILING_WHITESPACE)
|
|
||||||
set(CADABRA_VERSION_DATE "${THE_DATE}")
|
|
||||||
endif()
|
|
||||||
message("-- Building ${CADABRA_VERSION_MAJOR}.${CADABRA_VERSION_MINOR}.${CADABRA_VERSION_PATCH}")
|
|
@ -1,3 +1,15 @@
|
|||||||
|
-------------------------------------------------------------------
|
||||||
|
Thu Nov 2 09:19:33 UTC 2017 - badshah400@gmail.com
|
||||||
|
|
||||||
|
- Update to version 2.1.5:
|
||||||
|
* Interim release to get a number of bug fixes out to everyone,
|
||||||
|
and to use as basis for binary packages for several new
|
||||||
|
distributions.
|
||||||
|
- Drop cadabra2-cmake-error.patch; fixed upstream.
|
||||||
|
- Fix Group for cadabra2-doc-pdf: Documentation/PDF doesn't exist,
|
||||||
|
use Documentation/Other
|
||||||
|
- Change hashbang "/usr/bin/env python3" to "/usr/bn/python3".
|
||||||
|
|
||||||
-------------------------------------------------------------------
|
-------------------------------------------------------------------
|
||||||
Wed Oct 11 12:04:47 UTC 2017 - badshah400@gmail.com
|
Wed Oct 11 12:04:47 UTC 2017 - badshah400@gmail.com
|
||||||
|
|
||||||
|
@ -17,7 +17,7 @@
|
|||||||
|
|
||||||
|
|
||||||
Name: cadabra2
|
Name: cadabra2
|
||||||
Version: 2.1.5
|
Version: 2.1.6
|
||||||
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+
|
||||||
@ -26,8 +26,6 @@ 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
|
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
|
|
||||||
BuildRequires: appstream-glib
|
BuildRequires: appstream-glib
|
||||||
BuildRequires: cmake
|
BuildRequires: cmake
|
||||||
BuildRequires: doxygen
|
BuildRequires: doxygen
|
||||||
@ -153,8 +151,7 @@ This package provides html documentation for %{name}.
|
|||||||
|
|
||||||
%package doc-pdf
|
%package doc-pdf
|
||||||
Summary: A computer algebra system for solving problems in field theory
|
Summary: A computer algebra system for solving problems in field theory
|
||||||
# FIXME: use correct group, see "https://en.opensuse.org/openSUSE:Package_group_guidelines"
|
Group: Documentation/Other
|
||||||
Group: Documentation/PDF
|
|
||||||
|
|
||||||
%description doc-pdf
|
%description doc-pdf
|
||||||
Cadabra2 is a computer algebra system (CAS) designed specifically for
|
Cadabra2 is a computer algebra system (CAS) designed specifically for
|
||||||
@ -164,7 +161,6 @@ This package provides documentation in the form of a PDF file for %{name}.
|
|||||||
|
|
||||||
%prep
|
%prep
|
||||||
%setup -q
|
%setup -q
|
||||||
%patch0 -p1
|
|
||||||
|
|
||||||
%build
|
%build
|
||||||
mkdir build && pushd build
|
mkdir build && pushd build
|
||||||
@ -195,6 +191,9 @@ popd
|
|||||||
# INSTALL APPDATA TO /usr/share/metainfo
|
# INSTALL APPDATA TO /usr/share/metainfo
|
||||||
install -D -m0644 %{S:2} %{buildroot}%{_datadir}/metainfo/%{name}-gtk.appdata.xml
|
install -D -m0644 %{S:2} %{buildroot}%{_datadir}/metainfo/%{name}-gtk.appdata.xml
|
||||||
|
|
||||||
|
# Replace "/usr/bin/env python3" hashbang by "/usr/bin/python3"
|
||||||
|
sed -E -i "s|^#!/usr/bin/env python3|#!/usr/bin/python3|" %{buildroot}%{_bindir}/cadabra2
|
||||||
|
|
||||||
%post
|
%post
|
||||||
%{_bindir}/texhash
|
%{_bindir}/texhash
|
||||||
/sbin/ldconfig
|
/sbin/ldconfig
|
||||||
|
Loading…
Reference in New Issue
Block a user