Sisyphus repositório
Última atualização: 1 outubro 2023 | SRPMs: 18631 | Visitas: 37430581
en ru br
ALT Linux repositórios
S:6.3.0-alt1
5.0: 4.2.4-alt1
4.1: 4.2.2-alt1
4.0: 4.1.4-alt5
3.0: 4.1.4-alt2

Group :: Sistema/Bibliotecas
RPM: gmp

 Main   Changelog   Spec   Patches   Sources   Download   Gear   Bugs e FR  Repocop 

Name: gmp
Version: 4.1.4
Release: alt2

Summary: A GNU arbitrary precision library
License: LGPL
Group: System/Libraries
Url: http://www.gnu.org/software/gmp/
Packager: Stanislav Ievlev <inger at altlinux.org>

Source: ftp://ftp.gnu.org/pub/gnu/%name/%name-%version.tar.bz2

Patch1: gmp-4.1.4-alt-texinfo.patch
Patch2: gmp-4.1.2-alt-build-bte.patch
Patch3: gmp-4.1.4-deb-fixes.patch

%set_automake_version 1.7

# Automatically added by buildreq on Mon Jun 16 2003

BuildRequires: flex gcc-c++ libreadline-devel libstdc++-devel

%description
The %name package

%package -n lib%name
Summary: A GNU arbitrary precision library
Group: System/Libraries
Provides: %name = %version
Obsoletes: %name

%package -n lib%name-devel
Summary: Development tools for the GNU MP arbitrary precision library
Group: Development/C
Requires: lib%name = %version-%release
Provides: %name-devel = %version
Obsoletes: %name-devel
PreReq: %__install_info

%package -n lib%name-devel-static
Summary: Development tools for the GNU MP arbitrary precision library
Group: Development/C
Requires: lib%name-devel = %version-%release

%package -n lib%{name}_cxx
Summary: Development tools for the GNU MP arbitrary precision library
Group: Development/C++
Requires: lib%name = %version-%release

%package -n lib%{name}_cxx-devel
Summary: Development tools for the GNU MP arbitrary precision library
Group: Development/C++
Requires: lib%{name}_cxx = %version-%release
Requires: lib%{name}-devel = %version-%release

%package -n lib%{name}_cxx-devel-static
Summary: Development tools for the GNU MP arbitrary precision library
Group: Development/C++
Requires: lib%{name}_cxx-devel = %version-%release
Requires: lib%{name}-devel-static = %version-%release


%description -n lib%name
This package contains GNU MP, a library for arbitrary precision
arithmetic, signed integers operations, rational numbers and
floating point numbers. GNU MP is designed for speed, for both
small and very large operands. GNU MP is fast for several reasons:
It uses fullwords as the basic arithmetic type, it uses fast
algorithms, it carefully optimizes assembly code for many CPUs'
most common inner loops and it generally emphasizes speed over
simplicity/elegance in its operations.

%description -n lib%name-devel
The libraries, header files and documentation for using the GNU
MP arbitrary precision library in applications.

%description -n lib%name-devel-static
The static libraries for using the GNU MP arbitrary precision library
in applications.

%description -n lib%{name}_cxx
C++ API for lib%name

%description -n lib%{name}_cxx-devel
C++ API for lib%name: development libraries, header files

%description -n lib%{name}_cxx-devel-static
C++ API for lib%name: static libraries

%prep
%setup -q
#%undefine __libtoolize

%patch1 -p1
%patch2 -p1
%patch3 -p1

%__rm -f *.info*

%build
automake ||:
%configure --enable-mpbsd --enable-cxx
#NO SMP
%make
%{?!__buildreqs:%{?!_without_check:%{?!_disable_check:make -k check}}}

%install
#special hack
%__subst 's,-L/usr/lib\(64\)*,-L.libs/,' libgmpxx.la
#special hack
%make_install DESTDIR=$RPM_BUILD_ROOT install
install -p -m644 gmp-mparam.h gmpxx.h $RPM_BUILD_ROOT%_includedir/
bzip2 -9fk ChangeLog

%post -n lib%name -p %post_ldconfig
%postun -n lib%name -p %postun_ldconfig

%post -n lib%{name}_cxx -p %post_ldconfig
%postun -n lib%{name}_cxx -p %postun_ldconfig

%post -n lib%name-devel
%install_info %name.info

%preun -n lib%name-devel
%uninstall_info %name.info

%files -n lib%name
%doc AUTHORS README NEWS
%_libdir/*.so.*
%exclude %_libdir/*xx*.so.*

%files -n lib%name-devel
%_libdir/*.so
%exclude %_libdir/*xx*.so
#%_libdir/*.la
#%exclude %_libdir/*xx*.la
%_includedir/*
%exclude %_includedir/*xx*
%_infodir/*.info*
%doc ChangeLog.bz2 doc/*

%files -n lib%name-devel-static
%_libdir/*.a
%exclude %_libdir/*xx*.a

%files -n lib%{name}_cxx
%_libdir/*xx*.so.*

%files -n lib%{name}_cxx-devel
%_libdir/*xx*.so
#%_libdir/*xx*.la
%_includedir/*xx*

%files -n lib%{name}_cxx-devel-static
%_libdir/*xx*.a

%changelog

Todas as alterações você pod ver aqui

 
projeto & código: Vladimir Lettiev aka crux © 2004-2005, Andrew Avramenko aka liks © 2007-2008
mantenedor atual: Michael Shigorin
mantenedor da tradução: Fernando Martini aka fmartini © 2009