- Update to release 2.80
OBS-URL: https://build.opensuse.org/package/show/science/asymptote?expand=0&rev=11
This commit is contained in:
@@ -16,13 +16,14 @@
|
||||
#
|
||||
|
||||
|
||||
%bcond_with lsp
|
||||
Name: asymptote
|
||||
Version: 2.70
|
||||
Version: 2.80
|
||||
Release: 0
|
||||
Summary: 2D & 3D TeX-Aware vector graphics language
|
||||
License: LGPL-3.0-or-later
|
||||
Group: Productivity/Scientific/Math
|
||||
URL: https://asymptote.sf.net/
|
||||
URL: https://asymptote.sourceforge.io/
|
||||
|
||||
#Git-Clone: https://github.com/vectorgraphics/asymptote
|
||||
Source: https://github.com/vectorgraphics/asymptote/archive/refs/tags/%version.tar.gz
|
||||
@@ -30,6 +31,14 @@ BuildRequires: automake
|
||||
BuildRequires: bison
|
||||
BuildRequires: flex
|
||||
BuildRequires: gcc-c++
|
||||
%if %{with lsp}
|
||||
BuildRequires: libboost_chrono-devel
|
||||
BuildRequires: libboost_date_time-devel
|
||||
BuildRequires: libboost_filesystem-devel
|
||||
BuildRequires: libboost_program_options-devel
|
||||
BuildRequires: libboost_system-devel
|
||||
BuildRequires: libboost_thread-devel
|
||||
%endif
|
||||
BuildRequires: makeinfo
|
||||
BuildRequires: ncurses-devel
|
||||
BuildRequires: readline-devel
|
||||
@@ -48,6 +57,7 @@ BuildRequires: pkgconfig(libglvnd)
|
||||
BuildRequires: pkgconfig(libtirpc)
|
||||
BuildRequires: pkgconfig(x11)
|
||||
BuildRequires: pkgconfig(zlib)
|
||||
BuildRequires: tex(media9.sty)
|
||||
BuildRequires: tex(parskip.sty)
|
||||
Conflicts: texlive-asymptote
|
||||
Conflicts: texlive-asymptote-bin
|
||||
@@ -60,7 +70,7 @@ provides for figures the same quality of typesetting that LaTeX does
|
||||
for scientific text.
|
||||
|
||||
%prep
|
||||
%autosetup -p1
|
||||
%autosetup
|
||||
rm -fv libatomic_ops-*.tar.gz gc-*.tar.gz
|
||||
|
||||
%build
|
||||
@@ -71,6 +81,9 @@ if [ ! -e configure ]; then autoreconf -fiv; fi
|
||||
%install
|
||||
%make_install
|
||||
mv "%buildroot/usr/local/share"/* "%buildroot/%_datadir/"
|
||||
chmod a-x "%buildroot/%_datadir/asymptote/shaders"/*.glsl
|
||||
find "%buildroot/%_datadir/asymptote/GUI" -type f -name "*.py" \
|
||||
-exec perl -i -lpe 's{^#!/usr/bin/env }{#!/usr/bin/}g' {} +
|
||||
|
||||
%files
|
||||
%_bindir/asy
|
||||
@@ -82,4 +95,5 @@ mv "%buildroot/usr/local/share"/* "%buildroot/%_datadir/"
|
||||
%_mandir/*/*asy.1*
|
||||
%license LICENSE*
|
||||
|
||||
# curated changelog: see https://downloads.sf.net/asymptote/2.80/README
|
||||
%changelog
|
||||
|
Reference in New Issue
Block a user