- raw PLD spec
authorareq <areq@pld-linux.org>
Sun, 5 Sep 2004 18:01:01 +0000 (18:01 +0000)
committercvs2git <feedback@pld-linux.org>
Sun, 24 Jun 2012 12:13:13 +0000 (12:13 +0000)
Changed files:
    ecm.spec -> 1.1

ecm.spec [new file with mode: 0644]

diff --git a/ecm.spec b/ecm.spec
new file mode 100644 (file)
index 0000000..4923b88
--- /dev/null
+++ b/ecm.spec
@@ -0,0 +1,40 @@
+Summary:       The ECMNET Project
+Name:          ecm
+Version:       5.0.3
+Release:       0.1
+License:       GPL
+Group:         Applications
+Source0:       http://home.in.tum.de/~kruppa/%{name}-%{version}.tar.gz
+# Source0-md5: c2541748ece10c368b3d5672406fffbd
+URL:           http://www.loria.fr/~zimmerma/ecmnet/
+BuildRequires: gmp-devel
+BuildRoot:     %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
+
+%description
+The ECMNET Project
+
+%prep
+%setup -q
+
+sed -i -e 's#CC=gcc#CC=%{__cc}#g' \
+       -e 's#CXX=gcc#CXX=%{__cxx}#g' \
+       -e 's#-static# #' \
+       -e 's#CFLAGS=.*#CFLAGS=%{rpmcflags}#' \
+       -e 's#GMP=.*#GMP=/usr#'  Makefile
+       
+%build
+
+%{__make}
+
+%install
+rm -rf $RPM_BUILD_ROOT
+
+install -D ecm $RPM_BUILD_ROOT/%{_bindir}/ecm
+
+%clean
+rm -rf $RPM_BUILD_ROOT
+
+%files
+%defattr(644,root,root,755)
+%doc ChangeLog README
+%attr(755,root,root) %{_bindir}/*
This page took 0.088535 seconds and 4 git commands to generate.