Sisyphus repositório
Última atualização: 1 outubro 2023 | SRPMs: 18631 | Visitas: 37869719
en ru br
ALT Linux repositórios
S:7.0.5-alt1

Group :: Ciências/Matemática
RPM: gmp-ecm

 Main   Changelog   Spec   Patches   Sources   Download   Gear   Bugs e FR  Repocop 

%define so_version 1

Name: gmp-ecm
Version: 7.0.5
Release: alt1

Summary: Elliptic Curve Method for Integer Factorization

License: GPL-3.0
Group: Sciences/Mathematics
Url: https://gitlab.inria.fr/zimmerma/ecm

Source: https://gitlab.inria.fr/zimmerma/ecm/-/archive/git-%version/ecm-git-%version.tar.gz

BuildRequires: libgmp-devel

%description
GMP-ECM reads the numbers to be factored from stdin (one number on each
line) and requires a numerical parameter, the stage 1 bound B1. A reasonable
stage 2 bound B2 for the given B1 is chosen by default, but can be overridden
by a second numerical parameter. By default, GMP-ECM uses the ECM factoring
algorithm.

%package -n libecm%so_version
Summary: Library for Elliptic Curve Integer Factorization
Group: System/Libraries

%description -n libecm%so_version
Library for ecm. To use the library, you need to install ecm-devel, include
"ecm.h" in your source file and link with -lecm.

%package -n libecm-devel
Summary: Development files for the gmp-ecm package
Group: Development/C++

%description -n libecm-devel
This package contains header files required when building applications which
use the libecm library.

%prep
%setup -n ecm-git-%version

%build
%autoreconf
%configure \
%ifnarch x86_64
   --disable-sse2 \
%endif
   --disable-shellcmd \
   --enable-shared \
   --disable-static

# Eliminate hardcoded rpaths; workaround libtool reordering -Wl,--as-needed

# after all the libraries.
sed -e 's|^hardcode_libdir_flag_spec=.*|hardcode_libdir_flag_spec=""|g' \
   -e 's|^runpath_var=LD_RUN_PATH|runpath_var=DIE_RPATH_DIE|g' \
   -i libtool

%make_build

%install
%makeinstall_std

%check
export LD_LIBRARY_PATH=$PWD/.libs
make check

%files
%doc AUTHORS COPYING COPYING.LIB NEWS README README.lib
%_bindir/ecm
%_man1dir/ecm.1.xz

%files -n libecm-devel
%_includedir/ecm.h
%_libdir/libecm.so

%files -n libecm%so_version
%_libdir/libecm.so.%{so_version}*

%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