forked from pool/muparser
- Specfile modernization.
OBS-URL: https://build.opensuse.org/package/show/science/muparser?expand=0&rev=23
This commit is contained in:
parent
8413ad129f
commit
c6e8909192
@ -1,3 +1,8 @@
|
|||||||
|
-------------------------------------------------------------------
|
||||||
|
Sat Aug 24 16:24:09 UTC 2019 - Jan Engelhardt <jengelh@inai.de>
|
||||||
|
|
||||||
|
- Specfile modernization.
|
||||||
|
|
||||||
-------------------------------------------------------------------
|
-------------------------------------------------------------------
|
||||||
Sat Jul 6 10:37:33 UTC 2019 - Jan Engelhardt <jengelh@inai.de>
|
Sat Jul 6 10:37:33 UTC 2019 - Jan Engelhardt <jengelh@inai.de>
|
||||||
|
|
||||||
|
@ -23,13 +23,12 @@ Release: 0
|
|||||||
Summary: A math parser library
|
Summary: A math parser library
|
||||||
License: MIT
|
License: MIT
|
||||||
Group: Productivity/Scientific/Math
|
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
|
||||||
Source1: baselibs.conf
|
Source1: baselibs.conf
|
||||||
Patch1: muparser-optflags.patch
|
Patch1: muparser-optflags.patch
|
||||||
Patch2: muparser-abiversion.diff
|
Patch2: muparser-abiversion.diff
|
||||||
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
|
||||||
BuildRequires: autoconf
|
BuildRequires: autoconf
|
||||||
BuildRequires: automake
|
BuildRequires: automake
|
||||||
BuildRequires: gcc-c++
|
BuildRequires: gcc-c++
|
||||||
@ -61,8 +60,7 @@ works by transforming a mathematical expression into bytecode and
|
|||||||
precalculating constant parts of the expression.
|
precalculating constant parts of the expression.
|
||||||
|
|
||||||
%prep
|
%prep
|
||||||
%setup -q
|
%autosetup -p1
|
||||||
%patch -P 1 -P 2 -p1
|
|
||||||
|
|
||||||
%build
|
%build
|
||||||
sh build/autoconf/acregen.sh
|
sh build/autoconf/acregen.sh
|
||||||
@ -78,12 +76,10 @@ rm -f "%buildroot/%_libdir"/*.la
|
|||||||
%postun -n %lname -p /sbin/ldconfig
|
%postun -n %lname -p /sbin/ldconfig
|
||||||
|
|
||||||
%files -n %lname
|
%files -n %lname
|
||||||
%defattr(-,root,root)
|
|
||||||
%_libdir/libmuparser.so.2*
|
%_libdir/libmuparser.so.2*
|
||||||
%doc License.txt
|
%license License.txt
|
||||||
|
|
||||||
%files devel
|
%files devel
|
||||||
%defattr(-,root,root)
|
|
||||||
%_includedir/muParser*.h
|
%_includedir/muParser*.h
|
||||||
%_libdir/libmuparser.so
|
%_libdir/libmuparser.so
|
||||||
%_libdir/pkgconfig/muparser.pc
|
%_libdir/pkgconfig/muparser.pc
|
||||||
|
Loading…
Reference in New Issue
Block a user