diff options
author | Ting-Wei Lan <lantw44@gmail.com> | 2014-12-26 00:03:38 +0800 |
---|---|---|
committer | Ting-Wei Lan <lantw44@gmail.com> | 2014-12-26 00:04:05 +0800 |
commit | c87073c8fe8d30cc07e2bdd5ce82d586e894897b (patch) | |
tree | 1de1754bc33096dfa5fa6fb86b5096d3d3aeeca2 /factor/yafu | |
parent | 75fceab6b5ae45985b9ef577ba80b6953d93097c (diff) | |
download | copr-rpm-spec-c87073c8fe8d30cc07e2bdd5ce82d586e894897b.tar copr-rpm-spec-c87073c8fe8d30cc07e2bdd5ce82d586e894897b.tar.gz copr-rpm-spec-c87073c8fe8d30cc07e2bdd5ce82d586e894897b.tar.bz2 copr-rpm-spec-c87073c8fe8d30cc07e2bdd5ce82d586e894897b.tar.lz copr-rpm-spec-c87073c8fe8d30cc07e2bdd5ce82d586e894897b.tar.xz copr-rpm-spec-c87073c8fe8d30cc07e2bdd5ce82d586e894897b.tar.zst copr-rpm-spec-c87073c8fe8d30cc07e2bdd5ce82d586e894897b.zip |
factor: YAFU 1.34
Diffstat (limited to 'factor/yafu')
-rw-r--r-- | factor/yafu/yafu.spec | 50 |
1 files changed, 50 insertions, 0 deletions
diff --git a/factor/yafu/yafu.spec b/factor/yafu/yafu.spec new file mode 100644 index 0000000..14a8856 --- /dev/null +++ b/factor/yafu/yafu.spec @@ -0,0 +1,50 @@ +Name: yafu +Version: 1.34 +Release: 1%{?dist} +Summary: Automated integer factorization + +Group: Applications/Engineering +License: Public Domain +URL: http://sourceforge.net/projects/yafu +Source0: http://downloads.sourceforge.net/project/yafu/%{version}/%{name}-%{version}-src.zip + +BuildRequires: msieve, gmp-ecm-devel + +%description +YAFU (with assistance from other free software) uses the most powerful modern +algorithms (and implementations of them) to factor input integers in a +completely automated way. The automation within YAFU is state-of-the-art, +combining factorization algorithms in an intelligent and adaptive methodology +that minimizes the time to find the factors of arbitrary input integers. +Most algorithm implementations are multi-threaded, allowing YAFU to fully +utilize multi- or many-core processors (including SNFS, GNFS, SIQS, and ECM). + + +%prep +%setup -qn %{name}-%{version}.3 + + +%build +sed -i 's|-lmsieve|-lmsieve -lz|' Makefile + +%ifarch x86_64 +make %{?_smp_mflags} x86_64 NFS=1 USE_SSE41=1 +%else +false +%endif + + +%install +mkdir -p %{buildroot}%{_bindir} +install -m 755 yafu %{buildroot}%{_bindir} + + +%files +%{_bindir}/yafu +%doc CHANGES docfile.txt README yafu.ini + + + +%changelog +* Thu Dec 25 2014 Ting-Wei Lan <lantw44@gmail.com> - 1.34-1 +- Initial packaging |