Группа :: Система/Библиотеки
Пакет: libmuparser
Главная Изменения Спек Патчи Sources Загрузить Gear Bugs and FR Repocop
%define oname muparser
%define oversion 128
%define tarname %{oname}_v%oversion
Name: lib%oname
Version: 1.30
Release: alt2
Summary: a fast math parser library
License: MIT
Group: System/Libraries
Url: http://muparser.sourceforge.net/
Packager: Vitaly Lipatov <lav at altlinux.ru>
Source: http://prdownloads.sf.net/%oname/%tarname.tar.bz2
Patch: %name.patch
Patch1: %name-gcc4.3.patch
# manually removed: libnss-mysql
# Automatically added by buildreq on Sun Feb 03 2008
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 devel
Summary: Header files for %name
Group: Development/Other
Requires: %name = %version-%release
%description devel
Header files for %name library.
%prep
%setup -q -n %oname
%patch
%patch1
%build
%configure --enable-shared=yes --disable-static
%make_build || %make
%install
mkdir -p %buildroot%_pkgconfigdir
%makeinstall_std
%files
%doc Changes.txt Credits.txt License.txt
%_libdir/%{name}*.so.*
%files devel
#doc examples
%_libdir/%name.so
%_includedir/*
%_pkgconfigdir/*
%changelog
…
Полный changelog можно просмотреть здесь
%define oversion 128
%define tarname %{oname}_v%oversion
Name: lib%oname
Version: 1.30
Release: alt2
Summary: a fast math parser library
License: MIT
Group: System/Libraries
Url: http://muparser.sourceforge.net/
Packager: Vitaly Lipatov <lav at altlinux.ru>
Source: http://prdownloads.sf.net/%oname/%tarname.tar.bz2
Patch: %name.patch
Patch1: %name-gcc4.3.patch
# manually removed: libnss-mysql
# Automatically added by buildreq on Sun Feb 03 2008
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 devel
Summary: Header files for %name
Group: Development/Other
Requires: %name = %version-%release
%description devel
Header files for %name library.
%prep
%setup -q -n %oname
%patch
%patch1
%build
%configure --enable-shared=yes --disable-static
%make_build || %make
%install
mkdir -p %buildroot%_pkgconfigdir
%makeinstall_std
%files
%doc Changes.txt Credits.txt License.txt
%_libdir/%{name}*.so.*
%files devel
#doc examples
%_libdir/%name.so
%_includedir/*
%_pkgconfigdir/*
%changelog
…
Полный changelog можно просмотреть здесь