]> git.pld-linux.org Git - packages/ecm.git/blame - ecm.spec
- converted to UTF-8
[packages/ecm.git] / ecm.spec
CommitLineData
6f47e122 1Summary: The ECMNET Project
e2f5eb54 2Summary(pl.UTF-8): Projekt ECMNET
6f47e122 3Name: ecm
4Version: 5.0.3
5Release: 0.1
6License: GPL
7Group: Applications
8Source0: http://home.in.tum.de/~kruppa/%{name}-%{version}.tar.gz
9# Source0-md5: c2541748ece10c368b3d5672406fffbd
10URL: http://www.loria.fr/~zimmerma/ecmnet/
11BuildRequires: gmp-devel
230a58d3 12BuildRequires: sed >= 4.0
6f47e122 13BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
14
15%description
230a58d3
JB
16The 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
21Projekt 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
28sed -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
38rm -rf $RPM_BUILD_ROOT
39
230a58d3 40install -D ecm $RPM_BUILD_ROOT%{_bindir}/ecm
6f47e122 41
42%clean
43rm -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.06938 seconds and 4 git commands to generate.