1 Summary: The ECMNET Project
2 Summary(pl): Projekt ECMNET
8 Source0: http://home.in.tum.de/~kruppa/%{name}-%{version}.tar.gz
9 # Source0-md5: c2541748ece10c368b3d5672406fffbd
10 URL: http://www.loria.fr/~zimmerma/ecmnet/
11 BuildRequires: gmp-devel
12 BuildRequires: sed >= 4.0
13 BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
16 The ECMNET Project - its goals are:
17 - Help to find new factors of Cunningham numbers
18 - Find a record factor
21 Projekt ECMNET, którego celami s±:
22 - pomoc w szukaniu nowych czynników liczb Cunninghama
23 - znalezienie rekordowego czynnika
28 sed -i -e 's#CC=gcc#CC=%{__cc}#g' \
29 -e 's#CXX=gcc#CXX=%{__cxx}#g' \
31 -e 's#CFLAGS=.*#CFLAGS=%{rpmcflags}#' \
32 -e 's#GMP=.*#GMP=/usr#' Makefile
38 rm -rf $RPM_BUILD_ROOT
40 install -D ecm $RPM_BUILD_ROOT%{_bindir}/ecm
43 rm -rf $RPM_BUILD_ROOT
46 %defattr(644,root,root,755)
48 %attr(755,root,root) %{_bindir}/*