]> git.pld-linux.org Git - packages/ecm.git/blob - ecm.spec
d72fac9dce7484121ee45691e054bcf7a3a72d24
[packages/ecm.git] / ecm.spec
1 Summary:        The ECMNET Project
2 Summary(pl):    Projekt ECMNET
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
12 BuildRequires:  sed >= 4.0
13 BuildRoot:      %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
14
15 %description
16 The ECMNET Project - its goals are:
17 - Help to find new factors of Cunningham numbers
18 - Find a record factor
19
20 %description -l pl
21 Projekt ECMNET, którego celami s±:
22 - pomoc w szukaniu nowych czynników liczb Cunninghama
23 - znalezienie rekordowego czynnika
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
33
34 %build
35 %{__make}
36
37 %install
38 rm -rf $RPM_BUILD_ROOT
39
40 install -D ecm $RPM_BUILD_ROOT%{_bindir}/ecm
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}/*
This page took 0.034394 seconds and 2 git commands to generate.