Accepting request 221014 from home:jengelh:branches:science
OBS-URL: https://build.opensuse.org/request/show/221014 OBS-URL: https://build.opensuse.org/package/show/science/gp2c?expand=0&rev=1
This commit is contained in:
commit
94b4b2baff
23
.gitattributes
vendored
Normal file
23
.gitattributes
vendored
Normal file
@ -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
|
1
.gitignore
vendored
Normal file
1
.gitignore
vendored
Normal file
@ -0,0 +1 @@
|
||||
.osc
|
24
0001-build-stop-misplacing-documentation.patch
Normal file
24
0001-build-stop-misplacing-documentation.patch
Normal file
@ -0,0 +1,24 @@
|
||||
From 5d7d7e7ad9502f0bf59aac12dc8eb2a0f7a9d30b Mon Sep 17 00:00:00 2001
|
||||
From: Jan Engelhardt <jengelh@inai.de>
|
||||
Date: Wed, 5 Feb 2014 03:13:37 +0100
|
||||
Subject: [PATCH 1/2] build: stop misplacing documentation
|
||||
|
||||
docdir must not be statically set as it would override what the
|
||||
user gave to ./configure --docdir=...
|
||||
---
|
||||
doc/Makefile.am | 1 -
|
||||
1 file changed, 1 deletion(-)
|
||||
|
||||
diff --git a/doc/Makefile.am b/doc/Makefile.am
|
||||
index ccaf3a7..f710a4d 100644
|
||||
--- a/doc/Makefile.am
|
||||
+++ b/doc/Makefile.am
|
||||
@@ -1,5 +1,4 @@
|
||||
all:
|
||||
-docdir=$(datadir)/doc
|
||||
pkgdocdir=$(docdir)/$(PACKAGE)
|
||||
man_MANS = gp2c.1 gp2c-run.1 $(GP2C_DBG1)
|
||||
EXTRA_MANS = gp2c-dbg.1
|
||||
--
|
||||
1.8.4.5
|
||||
|
3
gp2c-0.0.8.tar.gz
Normal file
3
gp2c-0.0.8.tar.gz
Normal file
@ -0,0 +1,3 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:642c2026d4ade973267fdf80500bfd1a51114df4823ff7c72346442d3c8fcf0d
|
||||
size 361677
|
7
gp2c-0.0.8.tar.gz.asc
Normal file
7
gp2c-0.0.8.tar.gz.asc
Normal file
@ -0,0 +1,7 @@
|
||||
-----BEGIN PGP SIGNATURE-----
|
||||
Version: GnuPG v1.4.12 (GNU/Linux)
|
||||
|
||||
iEYEABECAAYFAlI8RR0ACgkQeDPs8bVESBUqEwCdGW0jIVOxD/P2tYHurD11XIH/
|
||||
M8gAn13cxXpl1JIl3QMW3tLhkbSOiaRa
|
||||
=//mB
|
||||
-----END PGP SIGNATURE-----
|
6
gp2c.changes
Normal file
6
gp2c.changes
Normal file
@ -0,0 +1,6 @@
|
||||
-------------------------------------------------------------------
|
||||
Wed Feb 5 02:09:23 UTC 2014 - jengelh@inai.de
|
||||
|
||||
- Initial package (version 0.0.8) for build.opensuse.org
|
||||
- Add 0001-build-stop-misplacing-documentation.patch,
|
||||
0002-build-replace-outdated-autotools-calls.patch
|
64
gp2c.spec
Normal file
64
gp2c.spec
Normal file
@ -0,0 +1,64 @@
|
||||
#
|
||||
# spec file for package pari
|
||||
#
|
||||
# Copyright (c) 2014 SUSE LINUX Products GmbH, Nuernberg, Germany.
|
||||
#
|
||||
# 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 http://bugs.opensuse.org/
|
||||
#
|
||||
|
||||
|
||||
Name: gp2c
|
||||
Version: 0.0.8
|
||||
Release: 0
|
||||
Summary: GP script to PARI C program compiler
|
||||
License: GPL-2.0
|
||||
Group: Productivity/Scientific/Math
|
||||
Url: http://pari.math.u-bordeaux.fr/
|
||||
|
||||
#Git-Clone: http://pari.math.u-bordeaux.fr/git/gp2c.git
|
||||
#Git-Web: http://pari.math.u-bordeaux.fr/cgi-bin/gitweb.cgi
|
||||
Source: http://pari.math.u-bordeaux.fr/pub/pari/GP2C/gp2c-%version.tar.gz
|
||||
Source2: http://pari.math.u-bordeaux.fr/pub/pari/GP2C/gp2c-%version.tar.gz.asc
|
||||
Patch1: 0001-build-stop-misplacing-documentation.patch
|
||||
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
||||
BuildRequires: autoconf, automake, libtool
|
||||
|
||||
%description
|
||||
The gp2c compiler is a package for translating GP routines into the C
|
||||
programming language, so that they can be compiled and used with the PARI
|
||||
system or the GP calculator.
|
||||
|
||||
The main advantage of doing this is to speed up computations and to include
|
||||
your own routines within the preexisting GP ones. It may also find bugs in GP
|
||||
scripts.
|
||||
|
||||
%prep
|
||||
%setup -q
|
||||
%patch -P 1 -p1
|
||||
|
||||
%build
|
||||
autoreconf -fi
|
||||
%configure --docdir="%_docdir/%name"
|
||||
make %{?_smp_mflags}
|
||||
|
||||
%install
|
||||
b="%buildroot";
|
||||
make install DESTDIR="$b";
|
||||
|
||||
%files
|
||||
%defattr(-,root,root)
|
||||
%_bindir/gp2c*
|
||||
%_docdir/%name/
|
||||
%_datadir/%name/
|
||||
%_mandir/man1/gp2c*
|
||||
|
||||
%changelog
|
Loading…
Reference in New Issue
Block a user