]> git.pld-linux.org Git - packages/muparser.git/blame - muparser.spec
- pl, unified
[packages/muparser.git] / muparser.spec
CommitLineData
67935afd 1Summary: A fast math parser library
24b76bce 2Summary(pl.UTF-8): Biblioteka szybkiego analizatora matematycznego
67935afd
PG
3Name: muparser
4Version: 1.30
5Release: 1
6License: MIT
24b76bce
JB
7Group: Libraries
8Source0: http://downloads.sourceforge.net/muparser/%{name}_v130.tar.gz
67935afd
PG
9# Source0-md5: f6b4d79aa0f762fd4bfeb38f47cf1d15
10URL: http://muparser.sourceforge.net/
11BuildRequires: dos2unix
20b21927 12BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
67935afd
PG
13
14%description
15Many applications require the parsing of mathematical expressions. The
16main objective of this project is to provide a fast and easy way of
17doing this. muParser is an extensible high performance math parser
18library. It is based on transforming an expression into a bytecode and
19precalculating constant parts of it.
20
24b76bce
JB
21%description -l pl.UTF-8
22Wiele aplikacji wymaga analizowania wyrażeń matematycznych. Głównym
23celem tego projektu jest zapewnienie szybkiego i wygodnego sposobu
24wykonywania tego zadania. muParser to bardzo wydajna, rozszerzalna
25biblioteka analizatora matematycznego. Opiera się na przekształcaniu
26wyrażenia na bajtkod oraz wstępnym obliczaniu jego stałych części.
27
67935afd 28%package devel
24b76bce
JB
29Summary: Development and doc files for muParser library
30Summary(pl.UTF-8): Pliki programistyczne i dokumentacja do biblioteki muParser
67935afd
PG
31Group: Development/Libraries
32Requires: %{name} = %{version}-%{release}
67935afd
PG
33
34%description devel
24b76bce
JB
35Development and doc files for muParser library.
36
37%description devel -l pl.UTF-8
38Pliki programistyczne i dokumentacja do biblioteki muParser.
67935afd
PG
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
24b76bce
JB
49%{__make} \
50 CXXFLAGS="%{rpmcflags}"
67935afd
PG
51mv docs/html .
52dos2unix *.txt
53dos2unix html/sources/*
54dos2unix html/script/*
55
56%install
57rm -rf $RPM_BUILD_ROOT
58%{__make} install \
59 libdir=$RPM_BUILD_ROOT%{_libdir} \
60 prefix=$RPM_BUILD_ROOT%{_prefix}
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)
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
24b76bce 77%attr(755,root,root) %{_libdir}/libmuparser.so
67935afd 78%{_includedir}/*
24b76bce 79%{_pkgconfigdir}/muparser.pc
This page took 0.094027 seconds and 4 git commands to generate.