]> git.pld-linux.org Git - packages/muparser.git/blob - muparser.spec
42e3c5bfabe9c262286af7a91620f6283e324442
[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:        1.30
5 Release:        1
6 License:        MIT
7 Group:          Libraries
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)
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
34 %description devel
35 Development and doc files for muParser library.
36
37 %description devel -l pl.UTF-8
38 Pliki programistyczne i dokumentacja do biblioteki muParser.
39
40 %prep
41 %setup -q -n muparser
42
43 %build
44 %configure \
45         --enable-shared=yes \
46         --enable-debug=no \
47         --enable-samples=no \
48
49 %{__make} \
50         CXXFLAGS="%{rpmcflags}"
51 mv docs/html .
52 dos2unix *.txt
53 dos2unix html/sources/*
54 dos2unix html/script/*
55
56 %install
57 rm -rf $RPM_BUILD_ROOT
58 %{__make} install \
59         libdir=$RPM_BUILD_ROOT%{_libdir} \
60         prefix=$RPM_BUILD_ROOT%{_prefix}
61
62 %clean
63 rm -rf $RPM_BUILD_ROOT
64
65 %post   -p /sbin/ldconfig
66 %postun -p /sbin/ldconfig
67
68 %files
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
73
74 %files devel
75 %defattr(644,root,root,755)
76 %doc html
77 %attr(755,root,root) %{_libdir}/libmuparser.so
78 %{_includedir}/*
79 %{_pkgconfigdir}/muparser.pc
This page took 0.072212 seconds and 3 git commands to generate.