rpms/gmp-ecm/F-10 gmp-ecm.spec, NONE, 1.1 .cvsignore, 1.1, 1.2 sources, 1.1, 1.2

Conrad Meyer konradm at fedoraproject.org
Fri Dec 5 17:56:52 UTC 2008


Author: konradm

Update of /cvs/pkgs/rpms/gmp-ecm/F-10
In directory cvs1.fedora.phx.redhat.com:/tmp/cvs-serv3244

Modified Files:
	.cvsignore sources 
Added Files:
	gmp-ecm.spec 
Log Message:
Import.


--- NEW FILE gmp-ecm.spec ---
Name:           gmp-ecm
Version:        6.2.1
Release:        4%{?dist}
Summary:        Elliptic Curve Method for Integer Factorization
Group:          Applications/Engineering
License:        LGPLv2+ and GPLv2+
URL:            http://gforge.inria.fr/projects/ecm/
Source0:        http://gforge.inria.fr/frs/download.php/4837/ecm-%{version}.tar.gz
BuildRoot:      %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
BuildRequires:  gmp-devel


%description
Programs and libraries employing elliptic curve method for factoring
integers (with GMP for arbitrary precision integers).


%package        devel
Summary:        Files useful for %{name} development
Group:          Development/Libraries
Requires:       %{name} = %{version}-%{release}


%description    devel
The libraries and header files for using %{name} for development.


%package        static
Summary:        Files used for static linking with %{name}
Group:          Development/Libraries
Requires:       %{name} = %{version}-%{release}
Requires:       %{name}-devel = %{version}-%{release}


%description    static
The static libraries for using %{name} for development.


%prep
%setup -q -n ecm-%{version}
for badfile in README AUTHORS ; do
  iconv -f iso-8859-1 -t utf-8 $badfile > $badfile.UTF-8
  touch -r $badfile $badfile.UTF-8
  mv $badfile.UTF-8 $badfile
done


%build
%configure CFLAGS="%{optflags}" --enable-shared
make %{?_smp_mflags}


%install
rm -rf $RPM_BUILD_ROOT
make install DESTDIR=$RPM_BUILD_ROOT INSTALL="install -p"
rm -f $RPM_BUILD_ROOT%{_libdir}/*.la
pushd $RPM_BUILD_ROOT%{_bindir}
  mv ecm %{name}
popd
pushd $RPM_BUILD_ROOT%{_mandir}/man1
  for file in ecm.1*; do
    mv $file ${file/ecm/%{name}}
  done
popd


%post -p /sbin/ldconfig


%postun -p /sbin/ldconfig


%clean
rm -rf $RPM_BUILD_ROOT


%files
%defattr(-,root,root,-)
%doc README COPYING COPYING.LIB AUTHORS ChangeLog NEWS TODO
%{_bindir}/%{name}
%{_mandir}/man1/%{name}.1*
%{_libdir}/libecm.so.*


%files devel
%defattr(-,root,root,-)
%doc README.lib
%{_includedir}/ecm.h
%{_libdir}/libecm.so


%files static
%defattr(-,root,root,-)
%{_libdir}/libecm.a


%changelog
* Sun Nov 30 2008 Conrad Meyer <konrad at tylerc.org> - 6.2.1-4
- Convert AUTHORS to utf-8 as well.
- Really bump release this time.

* Sat Nov 29 2008 Conrad Meyer <konrad at tylerc.org> - 6.2.1-3
- Add some %%docs.
- Add ldconfig (oops).
- Install binary and manpage under gmp-ecm, not ecm.

* Fri Nov 28 2008 Conrad Meyer <konrad at tylerc.org> - 6.2.1-2
- Change name.
- Split out a -static package and build shared libs for -devel.

* Wed Nov 26 2008 Conrad Meyer <konrad at tylerc.org> - 6.2.1-1
- Initial package.


Index: .cvsignore
===================================================================
RCS file: /cvs/pkgs/rpms/gmp-ecm/F-10/.cvsignore,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -r1.1 -r1.2
--- .cvsignore	5 Dec 2008 05:16:30 -0000	1.1
+++ .cvsignore	5 Dec 2008 17:56:22 -0000	1.2
@@ -0,0 +1 @@
+ecm-6.2.1.tar.gz


Index: sources
===================================================================
RCS file: /cvs/pkgs/rpms/gmp-ecm/F-10/sources,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -r1.1 -r1.2
--- sources	5 Dec 2008 05:16:30 -0000	1.1
+++ sources	5 Dec 2008 17:56:22 -0000	1.2
@@ -0,0 +1 @@
+acd90a6063072b2e5d6f7617fee1aab2  ecm-6.2.1.tar.gz




More information about the fedora-extras-commits mailing list