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