1 Summary: A fast math parser library
2 Summary(pl.UTF-8): Biblioteka szybkiego analizatora matematycznego
8 Source0: http://downloads.sourceforge.net/muparser/%{name}_v2_2_3.zip
9 # Source0-md5: 9de40ec1dab5bd2787ee344fce5846ad
10 URL: http://muparser.sourceforge.net/
11 BuildRequires: dos2unix
12 BuildRequires: libstdc++-devel
14 BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
17 Many applications require the parsing of mathematical expressions. The
18 main objective of this project is to provide a fast and easy way of
19 doing this. muParser is an extensible high performance math parser
20 library. It is based on transforming an expression into a bytecode and
21 precalculating constant parts of it.
23 %description -l pl.UTF-8
24 Wiele aplikacji wymaga analizowania wyrażeń matematycznych. Głównym
25 celem tego projektu jest zapewnienie szybkiego i wygodnego sposobu
26 wykonywania tego zadania. muParser to bardzo wydajna, rozszerzalna
27 biblioteka analizatora matematycznego. Opiera się na przekształcaniu
28 wyrażenia na bajtkod oraz wstępnym obliczaniu jego stałych części.
31 Summary: Development and doc files for muParser library
32 Summary(pl.UTF-8): Pliki programistyczne i dokumentacja do biblioteki muParser
33 Group: Development/Libraries
34 Requires: %{name} = %{version}-%{release}
35 Requires: libstdc++-devel
38 Development and doc files for muParser library.
40 %description devel -l pl.UTF-8
41 Pliki programistyczne i dokumentacja do biblioteki muParser.
44 %setup -q -n muparser_v2_2_3
53 CPPFLAGS="%{rpmcppflags}" \
54 CXXFLAGS="%{rpmcxxflags}"
57 rm -rf $RPM_BUILD_ROOT
60 DESTDIR=$RPM_BUILD_ROOT
63 rm -rf $RPM_BUILD_ROOT
65 %post -p /sbin/ldconfig
66 %postun -p /sbin/ldconfig
69 %defattr(644,root,root,755)
70 %doc Changes.txt License.txt
71 %attr(755,root,root) %{_libdir}/libmuparser.so.*.*.*
72 %attr(755,root,root) %ghost %{_libdir}/libmuparser.so.2
75 %defattr(644,root,root,755)
77 %attr(755,root,root) %{_libdir}/libmuparser.so
78 %{_includedir}/muParser*.h
79 %{_pkgconfigdir}/muparser.pc