From ac25bc8a1af7ea9c7d80b233b68f1728b2cd120f44c25b590b0b4c7484b80dbc Mon Sep 17 00:00:00 2001 From: Dirk Stoecker Date: Fri, 8 May 2020 07:14:17 +0000 Subject: [PATCH] Accepting request 801360 from home:jengelh:dev freeglut->glut OBS-URL: https://build.opensuse.org/request/show/801360 OBS-URL: https://build.opensuse.org/package/show/science/asymptote?expand=0&rev=1 --- .gitattributes | 23 +++++++++++++ .gitignore | 1 + asymptote-2.64.src.tgz | 3 ++ asymptote.changes | 4 +++ asymptote.spec | 78 ++++++++++++++++++++++++++++++++++++++++++ 5 files changed, 109 insertions(+) create mode 100644 .gitattributes create mode 100644 .gitignore create mode 100644 asymptote-2.64.src.tgz create mode 100644 asymptote.changes create mode 100644 asymptote.spec diff --git a/.gitattributes b/.gitattributes new file mode 100644 index 0000000..9b03811 --- /dev/null +++ b/.gitattributes @@ -0,0 +1,23 @@ +## Default LFS +*.7z filter=lfs diff=lfs merge=lfs -text +*.bsp filter=lfs diff=lfs merge=lfs -text +*.bz2 filter=lfs diff=lfs merge=lfs -text +*.gem filter=lfs diff=lfs merge=lfs -text +*.gz filter=lfs diff=lfs merge=lfs -text +*.jar filter=lfs diff=lfs merge=lfs -text +*.lz filter=lfs diff=lfs merge=lfs -text +*.lzma filter=lfs diff=lfs merge=lfs -text +*.obscpio filter=lfs diff=lfs merge=lfs -text +*.oxt filter=lfs diff=lfs merge=lfs -text +*.pdf filter=lfs diff=lfs merge=lfs -text +*.png filter=lfs diff=lfs merge=lfs -text +*.rpm filter=lfs diff=lfs merge=lfs -text +*.tbz filter=lfs diff=lfs merge=lfs -text +*.tbz2 filter=lfs diff=lfs merge=lfs -text +*.tgz filter=lfs diff=lfs merge=lfs -text +*.ttf filter=lfs diff=lfs merge=lfs -text +*.txz filter=lfs diff=lfs merge=lfs -text +*.whl filter=lfs diff=lfs merge=lfs -text +*.xz filter=lfs diff=lfs merge=lfs -text +*.zip filter=lfs diff=lfs merge=lfs -text +*.zst filter=lfs diff=lfs merge=lfs -text diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..57affb6 --- /dev/null +++ b/.gitignore @@ -0,0 +1 @@ +.osc diff --git a/asymptote-2.64.src.tgz b/asymptote-2.64.src.tgz new file mode 100644 index 0000000..069022d --- /dev/null +++ b/asymptote-2.64.src.tgz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:8091fe58e8a7eb42dd7c697e5632cfbc1532c0bbf6d5016a755db44fe7af96f4 +size 4640368 diff --git a/asymptote.changes b/asymptote.changes new file mode 100644 index 0000000..d025a24 --- /dev/null +++ b/asymptote.changes @@ -0,0 +1,4 @@ +------------------------------------------------------------------- +Thu Mar 5 16:22:57 UTC 2020 - Jan Engelhardt + +- Initial package (version 2.64) for build.opensuse.org diff --git a/asymptote.spec b/asymptote.spec new file mode 100644 index 0000000..f6715dd --- /dev/null +++ b/asymptote.spec @@ -0,0 +1,78 @@ +# +# 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 +Version: 2.64 +Release: 0 +Summary: 2D & 3D TeX-Aware vector graphics language +License: LGPL-3.0-or-later +Group: Productivity/Scientific/Math +URL: https://sourceforge.net/projects/asymptote/ + +Source: http://downloads.sf.net/asymptote/%name-%version.src.tgz +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 +BuildRequires: pkgconfig(bdw-gc) +BuildRequires: pkgconfig(fftw3) +BuildRequires: pkgconfig(glut) +BuildRequires: pkgconfig(gl) +BuildRequires: pkgconfig(glm) +BuildRequires: pkgconfig(gsl) +BuildRequires: pkgconfig(libglvnd) +BuildRequires: pkgconfig(libtirpc) +BuildRequires: pkgconfig(x11) +BuildRequires: pkgconfig(zlib) +BuildRequires: tex(parskip.sty) + +%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 +%configure --with-docdir="%_docdir/%name" +make %{?_smp_mflags} + +%install +%make_install +mv "%buildroot/usr/local/share"/* "%buildroot/usr/share/" + +%files +%_bindir/asy +%_bindir/xasy +%_datadir/%name/ +%_datadir/texmf/ +%_docdir/%name/ +%_infodir/asy* +%_mandir/*/*asy.1* +%license LICENSE* + +%changelog