Группа :: Система/Библиотеки
Пакет: libmuparser
Главная Изменения Спек Патчи Sources Загрузить Gear Bugs and FR Repocop
Name: libmuparser
Version: 2.2.6.1
Release: alt2
Summary: a fast math parser library
License: MIT
Group: System/Libraries
Url: http://muparser.beltoforion.de/
# Source-url: https://github.com/beltoforion/muparser/archive/v%version.tar.gz
Source: %name-%version.tar
Packager: Vitaly Lipatov <lav at altlinux.ru>
# Automatically added by buildreq on Wed Mar 03 2010
BuildRequires: gcc-c++
%description
The main objective of this project is to provide a fast and easy way
of doing this. muParser is an extensible high performance math parser
library. It is based on transforming an expression into a bytecode and
precalculating constant parts of it.
%package -n %{name}2
Summary: %summary
Group: Development/Other
%description -n %{name}2
The main objective of this project is to provide a fast and easy way
of doing this. muParser is an extensible high performance math parser
library. It is based on transforming an expression into a bytecode and
precalculating constant parts of it.
%package devel
Summary: Header files for %name
Group: Development/Other
Requires: %{name}2 = %version-%release
%description devel
Header files for %name library.
%prep
%setup
sed -i 's|^\(CXXFLAGS.*\)|\1 -g|' Makefile.in
%build
%ifarch %e2k
# -std=c++03 by default as of lcc 1.23.20
%add_optflags -std=c++11
%endif
%configure --enable-shared=yes --disable-samples
%make_build
%install
%makeinstall_std
%files -n %{name}2
%doc Changes.txt License.txt
%_libdir/%{name}*.so.*
%files devel
#doc examples
%_libdir/%name.so
%_includedir/*
%_pkgconfigdir/*
%changelog
…
Полный changelog можно просмотреть здесь
Version: 2.2.6.1
Release: alt2
Summary: a fast math parser library
License: MIT
Group: System/Libraries
Url: http://muparser.beltoforion.de/
# Source-url: https://github.com/beltoforion/muparser/archive/v%version.tar.gz
Source: %name-%version.tar
Packager: Vitaly Lipatov <lav at altlinux.ru>
# Automatically added by buildreq on Wed Mar 03 2010
BuildRequires: gcc-c++
%description
The main objective of this project is to provide a fast and easy way
of doing this. muParser is an extensible high performance math parser
library. It is based on transforming an expression into a bytecode and
precalculating constant parts of it.
%package -n %{name}2
Summary: %summary
Group: Development/Other
%description -n %{name}2
The main objective of this project is to provide a fast and easy way
of doing this. muParser is an extensible high performance math parser
library. It is based on transforming an expression into a bytecode and
precalculating constant parts of it.
%package devel
Summary: Header files for %name
Group: Development/Other
Requires: %{name}2 = %version-%release
%description devel
Header files for %name library.
%prep
%setup
sed -i 's|^\(CXXFLAGS.*\)|\1 -g|' Makefile.in
%build
%ifarch %e2k
# -std=c++03 by default as of lcc 1.23.20
%add_optflags -std=c++11
%endif
%configure --enable-shared=yes --disable-samples
%make_build
%install
%makeinstall_std
%files -n %{name}2
%doc Changes.txt License.txt
%_libdir/%{name}*.so.*
%files devel
#doc examples
%_libdir/%name.so
%_includedir/*
%_pkgconfigdir/*
%changelog
…
Полный changelog можно просмотреть здесь