forked from pool/gap-json
build json.so plugin
OBS-URL: https://build.opensuse.org/package/show/science/gap-json?expand=0&rev=10
This commit is contained in:
parent
1d916da1cf
commit
400e77ff05
@ -25,9 +25,9 @@ Group: Productivity/Scientific/Math
|
||||
URL: http://gap-packages.github.io/json/
|
||||
#Git-Clone: https://github.com/gap-packages/json
|
||||
Source: https://github.com/gap-packages/json/releases/download/v%version/json-%version.tar.gz
|
||||
BuildRequires: c++_compiler
|
||||
BuildRequires: gap-devel
|
||||
BuildRequires: gap-rpm-devel
|
||||
BuildRequires: xz
|
||||
BuildArch: noarch
|
||||
Requires: gap-core >= 4.12
|
||||
Requires: gap-gapdoc >= 1.5
|
||||
|
||||
@ -38,9 +38,14 @@ Enhances GAP by the ability to read and write JSON files.
|
||||
%autosetup -n json-%version
|
||||
|
||||
%build
|
||||
./configure "%gapdir"
|
||||
%make_build
|
||||
|
||||
%install
|
||||
%gappkg_simple_install
|
||||
pushd "%buildroot/$fmoddir/"
|
||||
find src -type f ! -name LICENSE -delete
|
||||
popd
|
||||
|
||||
%files -f %name.files
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user