SHA256
1
0
forked from pool/muparser

- Trim bias from descriptions.

OBS-URL: https://build.opensuse.org/package/show/science/muparser?expand=0&rev=21
This commit is contained in:
Jan Engelhardt 2019-07-06 10:38:54 +00:00 committed by Git OBS Bridge
parent 7e4769aa90
commit 8413ad129f
3 changed files with 14 additions and 21 deletions

View File

@ -1,3 +1,8 @@
-------------------------------------------------------------------
Sat Jul 6 10:37:33 UTC 2019 - Jan Engelhardt <jengelh@inai.de>
- Trim bias from descriptions.
------------------------------------------------------------------- -------------------------------------------------------------------
Mon Oct 22 13:11:56 UTC 2018 - badshah400@gmail.com Mon Oct 22 13:11:56 UTC 2018 - badshah400@gmail.com

View File

@ -1,7 +1,7 @@
# #
# spec file for package muparser # spec file for package muparser
# #
# Copyright (c) 2018 SUSE LINUX GmbH, Nuernberg, Germany. # Copyright (c) 2019 SUSE LINUX GmbH, Nuernberg, Germany.
# #
# All modifications and additions to the file contributed by third parties # All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed # remain the property of their copyright owners, unless otherwise agreed
@ -12,7 +12,7 @@
# license that conforms to the Open Source Definition (Version 1.9) # license that conforms to the Open Source Definition (Version 1.9)
# published by the Open Source Initiative. # published by the Open Source Initiative.
# Please submit bugfixes or comments via http://bugs.opensuse.org/ # Please submit bugfixes or comments via https://bugs.opensuse.org/
# #
@ -26,7 +26,6 @@ Group: Productivity/Scientific/Math
Url: http://muparser.beltoforion.de/ Url: http://muparser.beltoforion.de/
Source: https://github.com/beltoforion/muparser/archive/v%{version}.tar.gz Source: https://github.com/beltoforion/muparser/archive/v%{version}.tar.gz
Source9: prepare-tar.sh
Source1: baselibs.conf Source1: baselibs.conf
Patch1: muparser-optflags.patch Patch1: muparser-optflags.patch
Patch2: muparser-abiversion.diff Patch2: muparser-abiversion.diff
@ -38,8 +37,8 @@ BuildRequires: libtool
BuildRequires: pkg-config BuildRequires: pkg-config
%description %description
muParser is an extensible high performance math parser library written in muParser is an extensible math parser library written in C++. It
C++. It works by transforming a mathematical expression into bytecode and works by transforming a mathematical expression into bytecode and
precalculating constant parts of the expression. precalculating constant parts of the expression.
%package -n %lname %package -n %lname
@ -47,8 +46,8 @@ Summary: Library to evaluate strings as mathematical functions
Group: System/Libraries Group: System/Libraries
%description -n %lname %description -n %lname
muParser is an extensible high performance math parser library written in muParser is an extensible math parser library written in C++. It
C++. It works by transforming a mathematical expression into bytecode and works by transforming a mathematical expression into bytecode and
precalculating constant parts of the expression. precalculating constant parts of the expression.
%package devel %package devel
@ -57,8 +56,8 @@ Group: Development/Libraries/C and C++
Requires: %lname = %version Requires: %lname = %version
%description devel %description devel
muParser is an extensible high performance math parser library written in muParser is an extensible math parser library written in C++. It
C++. It works by transforming a mathematical expression into bytecode and works by transforming a mathematical expression into bytecode and
precalculating constant parts of the expression. precalculating constant parts of the expression.
%prep %prep
@ -72,7 +71,7 @@ sh build/autoconf/acregen.sh
make -j1 make -j1
%install %install
make install DESTDIR="%buildroot" %make_install
rm -f "%buildroot/%_libdir"/*.la rm -f "%buildroot/%_libdir"/*.la
%post -n %lname -p /sbin/ldconfig %post -n %lname -p /sbin/ldconfig

View File

@ -1,11 +0,0 @@
#!/bin/sh -ex
in="2_2_4";
out="2.2.4";
unzip "muparser_v$in.zip";
mv "muparser_v$in" "muparser-$out";
find "muparser-$out" -type f "(" -iname "*.dll" -o -iname "*.lib" ")" \
-print -delete;
tar --owner=root --group=root --use=xz -cf \
"muparser-$out.tar.xz" "muparser-$out";
rm -Rf "muparser-$out";