]> git.pld-linux.org Git - packages/muparser.git/blob - muparser.spec
- updated to 2.2.5
[packages/muparser.git] / muparser.spec
1 Summary:        A fast math parser library
2 Summary(pl.UTF-8):      Biblioteka szybkiego analizatora matematycznego
3 Name:           muparser
4 Version:        2.2.5
5 Release:        1
6 License:        MIT
7 Group:          Libraries
8 Source0:        https://github.com/beltoforion/muparser/archive/v%{version}/%{name}-%{version}.tar.gz
9 # Source0-md5:  02dae671aa5ad955fdcbcd3fee313fb7
10 URL:            http://muparser.beltoforion.de/
11 BuildRequires:  libstdc++-devel
12 BuildRoot:      %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
13
14 %description
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.
20
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.
27
28 %package devel
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}
33 Requires:       libstdc++-devel
34
35 %description devel
36 Development and doc files for muParser library.
37
38 %description devel -l pl.UTF-8
39 Pliki programistyczne i dokumentacja do biblioteki muParser.
40
41 %prep
42 %setup -q
43
44 %build
45 %configure \
46         --disable-debug \
47         --disable-samples \
48         --enable-shared
49
50 %{__make} \
51         CPPFLAGS="%{rpmcppflags}" \
52         CXXFLAGS="%{rpmcxxflags}"
53
54 %install
55 rm -rf $RPM_BUILD_ROOT
56
57 %{__make} install \
58         DESTDIR=$RPM_BUILD_ROOT
59
60 %clean
61 rm -rf $RPM_BUILD_ROOT
62
63 %post   -p /sbin/ldconfig
64 %postun -p /sbin/ldconfig
65
66 %files
67 %defattr(644,root,root,755)
68 %doc Changes.txt License.txt
69 %attr(755,root,root) %{_libdir}/libmuparser.so.*.*.*
70 %attr(755,root,root) %ghost %{_libdir}/libmuparser.so.2
71
72 %files devel
73 %defattr(644,root,root,755)
74 #%doc docs/html/*
75 %attr(755,root,root) %{_libdir}/libmuparser.so
76 %{_includedir}/muParser*.h
77 %{_pkgconfigdir}/muparser.pc
This page took 0.057889 seconds and 3 git commands to generate.