]> git.pld-linux.org Git - packages/muparser.git/blame_incremental - muparser.spec
- updated to 2.2.3
[packages/muparser.git] / muparser.spec
... / ...
CommitLineData
1Summary: A fast math parser library
2Summary(pl.UTF-8): Biblioteka szybkiego analizatora matematycznego
3Name: muparser
4Version: 2.2.3
5Release: 1
6License: MIT
7Group: Libraries
8Source0: http://downloads.sourceforge.net/muparser/%{name}_v2_2_3.zip
9# Source0-md5: 9de40ec1dab5bd2787ee344fce5846ad
10URL: http://muparser.sourceforge.net/
11BuildRequires: dos2unix
12BuildRequires: libstdc++-devel
13BuildRequires: unzip
14BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
15
16%description
17Many applications require the parsing of mathematical expressions. The
18main objective of this project is to provide a fast and easy way of
19doing this. muParser is an extensible high performance math parser
20library. It is based on transforming an expression into a bytecode and
21precalculating constant parts of it.
22
23%description -l pl.UTF-8
24Wiele aplikacji wymaga analizowania wyrażeń matematycznych. Głównym
25celem tego projektu jest zapewnienie szybkiego i wygodnego sposobu
26wykonywania tego zadania. muParser to bardzo wydajna, rozszerzalna
27biblioteka analizatora matematycznego. Opiera się na przekształcaniu
28wyrażenia na bajtkod oraz wstępnym obliczaniu jego stałych części.
29
30%package devel
31Summary: Development and doc files for muParser library
32Summary(pl.UTF-8): Pliki programistyczne i dokumentacja do biblioteki muParser
33Group: Development/Libraries
34Requires: %{name} = %{version}-%{release}
35Requires: libstdc++-devel
36
37%description devel
38Development and doc files for muParser library.
39
40%description devel -l pl.UTF-8
41Pliki programistyczne i dokumentacja do biblioteki muParser.
42
43%prep
44%setup -q -n muparser_v2_2_3
45
46%build
47%configure \
48 --disable-debug \
49 --disable-samples \
50 --enable-shared
51
52%{__make} \
53 CPPFLAGS="%{rpmcppflags}" \
54 CXXFLAGS="%{rpmcxxflags}"
55
56%install
57rm -rf $RPM_BUILD_ROOT
58
59%{__make} install \
60 DESTDIR=$RPM_BUILD_ROOT
61
62%clean
63rm -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 License.txt
71%attr(755,root,root) %{_libdir}/libmuparser.so.*.*.*
72%attr(755,root,root) %ghost %{_libdir}/libmuparser.so.2
73
74%files devel
75%defattr(644,root,root,755)
76%doc docs/html/*
77%attr(755,root,root) %{_libdir}/libmuparser.so
78%{_includedir}/muParser*.h
79%{_pkgconfigdir}/muparser.pc
This page took 0.08275 seconds and 4 git commands to generate.