]>
Commit | Line | Data |
---|---|---|
6f47e122 | 1 | Summary: The ECMNET Project |
8ee890a1 | 2 | Summary(pl.UTF-8): Projekt ECMNET |
6f47e122 | 3 | Name: ecm |
4 | Version: 5.0.3 | |
5 | Release: 0.1 | |
6 | License: GPL | |
7 | Group: Applications | |
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 | |
230a58d3 | 12 | BuildRequires: sed >= 4.0 |
6f47e122 | 13 | BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n) |
14 | ||
15 | %description | |
230a58d3 JB |
16 | The ECMNET Project - its goals are: |
17 | - Help to find new factors of Cunningham numbers | |
18 | - Find a record factor | |
19 | ||
e2f5eb54 JR |
20 | %description -l pl.UTF-8 |
21 | Projekt ECMNET, którego celami są: | |
22 | - pomoc w szukaniu nowych czynników liczb Cunninghama | |
230a58d3 | 23 | - znalezienie rekordowego czynnika |
6f47e122 | 24 | |
25 | %prep | |
26 | %setup -q | |
27 | ||
28 | sed -i -e 's#CC=gcc#CC=%{__cc}#g' \ | |
29 | -e 's#CXX=gcc#CXX=%{__cxx}#g' \ | |
30 | -e 's#-static# #' \ | |
31 | -e 's#CFLAGS=.*#CFLAGS=%{rpmcflags}#' \ | |
32 | -e 's#GMP=.*#GMP=/usr#' Makefile | |
6f47e122 | 33 | |
230a58d3 | 34 | %build |
6f47e122 | 35 | %{__make} |
36 | ||
37 | %install | |
38 | rm -rf $RPM_BUILD_ROOT | |
39 | ||
230a58d3 | 40 | install -D ecm $RPM_BUILD_ROOT%{_bindir}/ecm |
6f47e122 | 41 | |
42 | %clean | |
43 | rm -rf $RPM_BUILD_ROOT | |
44 | ||
45 | %files | |
46 | %defattr(644,root,root,755) | |
47 | %doc ChangeLog README | |
48 | %attr(755,root,root) %{_bindir}/* |