1 Summary: A fast math parser library
2 Summary(pl.UTF-8): Biblioteka szybkiego analizatora matematycznego
8 Source0: http://downloads.sourceforge.net/muparser/%{name}_v130.tar.gz
9 # Source0-md5: f6b4d79aa0f762fd4bfeb38f47cf1d15
10 URL: http://muparser.sourceforge.net/
11 BuildRequires: dos2unix
12 BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
15 Many applications require the parsing of mathematical expressions. The
16 main objective of this project is to provide a fast and easy way of
17 doing this. muParser is an extensible high performance math parser
18 library. It is based on transforming an expression into a bytecode and
19 precalculating constant parts of it.
21 %description -l pl.UTF-8
22 Wiele aplikacji wymaga analizowania wyrażeń matematycznych. Głównym
23 celem tego projektu jest zapewnienie szybkiego i wygodnego sposobu
24 wykonywania tego zadania. muParser to bardzo wydajna, rozszerzalna
25 biblioteka analizatora matematycznego. Opiera się na przekształcaniu
26 wyrażenia na bajtkod oraz wstępnym obliczaniu jego stałych części.
29 Summary: Development and doc files for muParser library
30 Summary(pl.UTF-8): Pliki programistyczne i dokumentacja do biblioteki muParser
31 Group: Development/Libraries
32 Requires: %{name} = %{version}-%{release}
35 Development and doc files for muParser library.
37 %description devel -l pl.UTF-8
38 Pliki programistyczne i dokumentacja do biblioteki muParser.
50 CXXFLAGS="%{rpmcflags}"
53 dos2unix html/sources/*
54 dos2unix html/script/*
57 rm -rf $RPM_BUILD_ROOT
59 libdir=$RPM_BUILD_ROOT%{_libdir} \
60 prefix=$RPM_BUILD_ROOT%{_prefix}
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 Credits.txt License.txt
71 %attr(755,root,root) %{_libdir}/libmuparser.so.0.0.0
72 %attr(755,root,root) %ghost %{_libdir}/libmuparser.so.0
75 %defattr(644,root,root,755)
77 %attr(755,root,root) %{_libdir}/libmuparser.so
79 %{_pkgconfigdir}/muparser.pc