]> git.pld-linux.org Git - packages/muparser.git/blame - muparser.spec
- updated to 2.2.5
[packages/muparser.git] / muparser.spec
CommitLineData
67935afd 1Summary: A fast math parser library
24b76bce 2Summary(pl.UTF-8): Biblioteka szybkiego analizatora matematycznego
67935afd 3Name: muparser
53e2a597
WF
4Version: 2.2.5
5Release: 1
67935afd 6License: MIT
24b76bce 7Group: Libraries
53e2a597
WF
8Source0: https://github.com/beltoforion/muparser/archive/v%{version}/%{name}-%{version}.tar.gz
9# Source0-md5: 02dae671aa5ad955fdcbcd3fee313fb7
10URL: http://muparser.beltoforion.de/
7c3beef7 11BuildRequires: libstdc++-devel
20b21927 12BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
67935afd
PG
13
14%description
15Many applications require the parsing of mathematical expressions. The
16main objective of this project is to provide a fast and easy way of
17doing this. muParser is an extensible high performance math parser
18library. It is based on transforming an expression into a bytecode and
19precalculating constant parts of it.
20
24b76bce
JB
21%description -l pl.UTF-8
22Wiele aplikacji wymaga analizowania wyrażeń matematycznych. Głównym
23celem tego projektu jest zapewnienie szybkiego i wygodnego sposobu
24wykonywania tego zadania. muParser to bardzo wydajna, rozszerzalna
25biblioteka analizatora matematycznego. Opiera się na przekształcaniu
26wyrażenia na bajtkod oraz wstępnym obliczaniu jego stałych części.
27
67935afd 28%package devel
24b76bce
JB
29Summary: Development and doc files for muParser library
30Summary(pl.UTF-8): Pliki programistyczne i dokumentacja do biblioteki muParser
67935afd
PG
31Group: Development/Libraries
32Requires: %{name} = %{version}-%{release}
7c3beef7 33Requires: libstdc++-devel
67935afd
PG
34
35%description devel
24b76bce
JB
36Development and doc files for muParser library.
37
38%description devel -l pl.UTF-8
39Pliki programistyczne i dokumentacja do biblioteki muParser.
67935afd
PG
40
41%prep
53e2a597 42%setup -q
67935afd
PG
43
44%build
45%configure \
7c3beef7
JB
46 --disable-debug \
47 --disable-samples \
48 --enable-shared
67935afd 49
24b76bce 50%{__make} \
7c3beef7
JB
51 CPPFLAGS="%{rpmcppflags}" \
52 CXXFLAGS="%{rpmcxxflags}"
67935afd
PG
53
54%install
55rm -rf $RPM_BUILD_ROOT
7c3beef7 56
67935afd 57%{__make} install \
7c3beef7 58 DESTDIR=$RPM_BUILD_ROOT
67935afd 59
67935afd
PG
60%clean
61rm -rf $RPM_BUILD_ROOT
62
24b76bce
JB
63%post -p /sbin/ldconfig
64%postun -p /sbin/ldconfig
65
67935afd
PG
66%files
67%defattr(644,root,root,755)
7c3beef7
JB
68%doc Changes.txt License.txt
69%attr(755,root,root) %{_libdir}/libmuparser.so.*.*.*
70%attr(755,root,root) %ghost %{_libdir}/libmuparser.so.2
67935afd
PG
71
72%files devel
73%defattr(644,root,root,755)
53e2a597 74#%doc docs/html/*
24b76bce 75%attr(755,root,root) %{_libdir}/libmuparser.so
7c3beef7 76%{_includedir}/muParser*.h
24b76bce 77%{_pkgconfigdir}/muparser.pc
This page took 0.101523 seconds and 4 git commands to generate.