2020-05-08 07:14:17 +00:00
|
|
|
#
|
|
|
|
# spec file for package asymptote
|
|
|
|
#
|
|
|
|
# Copyright (c) 2020 SUSE LLC
|
|
|
|
#
|
|
|
|
# All modifications and additions to the file contributed by third parties
|
|
|
|
# remain the property of their copyright owners, unless otherwise agreed
|
|
|
|
# upon. The license for this file, and modifications and additions to the
|
|
|
|
# file, is the same license as for the pristine package itself (unless the
|
|
|
|
# license for the pristine package is not an Open Source License, in which
|
|
|
|
# case the license is the MIT License). An "Open Source License" is a
|
|
|
|
# license that conforms to the Open Source Definition (Version 1.9)
|
|
|
|
# published by the Open Source Initiative.
|
|
|
|
|
|
|
|
# Please submit bugfixes or comments via https://bugs.opensuse.org/
|
|
|
|
#
|
|
|
|
|
|
|
|
|
|
|
|
Name: asymptote
|
2020-12-24 12:02:45 +00:00
|
|
|
Version: 2.68
|
2020-05-08 07:14:17 +00:00
|
|
|
Release: 0
|
|
|
|
Summary: 2D & 3D TeX-Aware vector graphics language
|
|
|
|
License: LGPL-3.0-or-later
|
|
|
|
Group: Productivity/Scientific/Math
|
2020-06-03 19:34:53 +00:00
|
|
|
URL: https://asymptote.sf.net/
|
2020-05-08 07:14:17 +00:00
|
|
|
|
2020-06-03 19:34:53 +00:00
|
|
|
#Git-Clone: https://github.com/vectorgraphics/asymptote
|
2020-12-24 12:02:45 +00:00
|
|
|
#Source: http://downloads.sf.net/asymptote/%name-%version.src.tgz
|
|
|
|
Source: %name-%version.tar.xz
|
2020-12-24 12:24:10 +00:00
|
|
|
BuildRequires: automake
|
2020-05-08 07:14:17 +00:00
|
|
|
BuildRequires: bison
|
|
|
|
BuildRequires: flex
|
|
|
|
BuildRequires: gcc-c++
|
|
|
|
BuildRequires: makeinfo
|
|
|
|
BuildRequires: ncurses-devel
|
|
|
|
BuildRequires: readline-devel
|
|
|
|
BuildRequires: texinfo
|
|
|
|
BuildRequires: texlive-dvips-bin
|
|
|
|
BuildRequires: texlive-kpathsea-bin
|
|
|
|
BuildRequires: texlive-latex-bin-bin
|
2020-12-24 12:02:45 +00:00
|
|
|
BuildRequires: xz
|
2020-05-08 07:14:17 +00:00
|
|
|
BuildRequires: pkgconfig(bdw-gc)
|
|
|
|
BuildRequires: pkgconfig(fftw3)
|
|
|
|
BuildRequires: pkgconfig(gl)
|
|
|
|
BuildRequires: pkgconfig(glm)
|
2020-09-02 12:34:39 +00:00
|
|
|
BuildRequires: pkgconfig(glut)
|
2020-05-08 07:14:17 +00:00
|
|
|
BuildRequires: pkgconfig(gsl)
|
|
|
|
BuildRequires: pkgconfig(libglvnd)
|
|
|
|
BuildRequires: pkgconfig(libtirpc)
|
|
|
|
BuildRequires: pkgconfig(x11)
|
|
|
|
BuildRequires: pkgconfig(zlib)
|
|
|
|
BuildRequires: tex(parskip.sty)
|
2020-06-04 16:31:49 +00:00
|
|
|
Conflicts: texlive-asymptote
|
2020-06-04 16:32:24 +00:00
|
|
|
Conflicts: texlive-asymptote-bin
|
2020-06-04 16:31:49 +00:00
|
|
|
Conflicts: texlive-asymptote-doc
|
2020-05-08 07:14:17 +00:00
|
|
|
|
|
|
|
%description
|
|
|
|
Asymptote is a descriptive vector graphics language for technical
|
|
|
|
drawing, inspired by MetaPost, but with a C++-like syntax. Asymptote
|
|
|
|
provides for figures the same quality of typesetting that LaTeX does
|
|
|
|
for scientific text.
|
|
|
|
|
|
|
|
%prep
|
|
|
|
%autosetup -p1
|
|
|
|
rm -fv libatomic_ops-*.tar.gz gc-*.tar.gz
|
|
|
|
|
|
|
|
%build
|
2020-12-24 12:15:55 +00:00
|
|
|
if [ ! -e configure ]; then autoreconf -fiv; fi
|
2020-05-08 07:14:17 +00:00
|
|
|
%configure --with-docdir="%_docdir/%name"
|
2020-09-02 12:34:39 +00:00
|
|
|
%make_build
|
2020-05-08 07:14:17 +00:00
|
|
|
|
|
|
|
%install
|
|
|
|
%make_install
|
2020-09-02 12:34:39 +00:00
|
|
|
mv "%buildroot/usr/local/share"/* "%buildroot/%_datadir/"
|
2020-05-08 07:14:17 +00:00
|
|
|
|
|
|
|
%files
|
|
|
|
%_bindir/asy
|
|
|
|
%_bindir/xasy
|
|
|
|
%_datadir/%name/
|
|
|
|
%_datadir/texmf/
|
|
|
|
%_docdir/%name/
|
|
|
|
%_infodir/asy*
|
|
|
|
%_mandir/*/*asy.1*
|
|
|
|
%license LICENSE*
|
|
|
|
|
|
|
|
%changelog
|