diff options
Diffstat (limited to 'factor/msieve')
-rw-r--r-- | factor/msieve/msieve.spec | 43 |
1 files changed, 43 insertions, 0 deletions
diff --git a/factor/msieve/msieve.spec b/factor/msieve/msieve.spec new file mode 100644 index 0000000..6539334 --- /dev/null +++ b/factor/msieve/msieve.spec @@ -0,0 +1,43 @@ +Name: msieve +Version: 1.52 +Release: 1%{?dist} +Summary: Msieve is a C library to factor large integers. + +Group: Applications/Engineering +License: Public Domain +URL: http://sourceforge.net/projects/msieve +Source0: http://downloads.sourceforge.net/project/msieve/msieve/Msieve v1.52/msieve152.tar.gz + +BuildRequires: gmp-ecm-devel, zlib-devel +Requires: zlib-devel + +%description +Msieve is a C library implementing a suite of algorithms to factor large +integers. It contains an implementation of the SIQS and GNFS algorithms; the +latter has helped complete some of the largest public factorizations known. + +%prep +%setup -qn %{name}-%{version} + + +%build +make %{?_smp_mflags} all ECM=1 + + +%install +mkdir -p %{buildroot}%{_bindir} +mkdir -p %{buildroot}%{_libdir} +install -m 755 msieve %{buildroot}%{_bindir} +install -m 644 libmsieve.a %{buildroot}%{_libdir} + + +%files +%{_bindir}/msieve +%{_libdir}/libmsieve.a +%doc Changes Readme Readme.nfs Readme.qs + + + +%changelog +* Thu Dec 25 2014 Ting-Wei Lan <lantw44@gmail.com> - 1.52-1 +- Initial packaging |