1 Summary: A fast math parser library
6 Group: Development/Libraries
7 Source0: http://dl.sourceforge.net/muparser/%{name}_v130.tar.gz
8 # Source0-md5: f6b4d79aa0f762fd4bfeb38f47cf1d15
9 URL: http://muparser.sourceforge.net/
10 BuildRequires: dos2unix
11 Buildroot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
14 Many applications require the parsing of mathematical expressions. The
15 main objective of this project is to provide a fast and easy way of
16 doing this. muParser is an extensible high performance math parser
17 library. It is based on transforming an expression into a bytecode and
18 precalculating constant parts of it.
21 Summary: Development and doc files for %{name}
22 Group: Development/Libraries
23 Requires: %{name} = %{version}-%{release}
27 Development files and the documentation
38 %{__make} CXXFLAGS="$RPM_OPT_FLAGS" %{?_smp_mflags}
41 dos2unix html/sources/*
42 dos2unix html/script/*
45 rm -rf $RPM_BUILD_ROOT
47 libdir=$RPM_BUILD_ROOT%{_libdir} \
48 prefix=$RPM_BUILD_ROOT%{_prefix}
50 %post -p /sbin/ldconfig
51 %postun -p /sbin/ldconfig
54 rm -rf $RPM_BUILD_ROOT
57 %defattr(644,root,root,755)
58 %doc Changes.txt Credits.txt License.txt
59 %attr(755,root,root) %{_libdir}/libmuparser.so.0.0.0
60 %attr(755,root,root) %ghost %{_libdir}/libmuparser.so.0
63 %defattr(644,root,root,755)
65 %{_libdir}/libmuparser.so
66 %{_pkgconfigdir}/muparser.pc