Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
openSUSE:Leap:15.1
gmp-ecm
gmp-ecm.spec
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File gmp-ecm.spec of Package gmp-ecm
# # spec file for package gmp-ecm # # Copyright (c) 2017 SUSE LINUX GmbH, Nuernberg, Germany. # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed # upon. The license for this file, and modifications and additions to the # file, is the same license as for the pristine package itself (unless the # license for the pristine package is not an Open Source License, in which # case the license is the MIT License). An "Open Source License" is a # license that conforms to the Open Source Definition (Version 1.9) # published by the Open Source Initiative. # Please submit bugfixes or comments via http://bugs.opensuse.org/ # Name: gmp-ecm Version: 7.0.4 Release: 0 Summary: Elliptic Curve Method for Integer Factorization License: GPL-3.0 Group: Productivity/Scientific/Math %define so_version 1 Source0: https://gforge.inria.fr/frs/download.php/36224/ecm-%{version}.tar.gz # PATCH-FIX-UPSTREAM ecm-auxi.c.patch -- Add missing stdlib.h include BuildRequires: gmp-devel >= 5.0.0 BuildRequires: m4 Url: https://gforge.inria.fr/projects/ecm BuildRoot: %{_tmppath}/%{name}-%{version}-build %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 devel Requires: libecm%{so_version} = %{version} Summary: Development files for the gmp-ecm package Group: Development/Libraries/C and C++ %description devel This package contains header files required when building applications which use the libecm library. %prep %setup -q -n ecm-%{version} %build %configure \ %ifnarch x86_64 --disable-sse2 \ %endif --disable-shellcmd \ --enable-shared \ --disable-static make %{?_smp_mflags} %install %makeinstall rm %{buildroot}/%{_libdir}/libecm.la %check make check %post -n libecm%{so_version} -p /sbin/ldconfig %postun -n libecm%{so_version} -p /sbin/ldconfig %files %defattr(-,root,root,-) %doc AUTHORS COPYING COPYING.LIB NEWS README README.lib %{_bindir}/ecm %{_mandir}/man1/ecm.1.gz %files devel %defattr(-,root,root,-) %{_includedir}/ecm.h %{_libdir}/libecm.so %files -n libecm%{so_version} %defattr(-,root,root,-) %{_libdir}/libecm.so.* %changelog
Locations
Projects
Search
Status Monitor
Help
OpenBuildService.org
Documentation
API Documentation
Code of Conduct
Contact
Support
@OBShq
Terms
openSUSE Build Service is sponsored by
The Open Build Service is an
openSUSE project
.
Sign Up
Log In
Places
Places
All Projects
Status Monitor