rpms/genus2reduction/devel genus2reduction-compile.patch, NONE, 1.1 genus2reduction-header-path.patch, NONE, 1.1 genus2reduction-licenseinfo.txt, NONE, 1.1 genus2reduction.mbox, NONE, 1.1 genus2reduction.spec, NONE, 1.1 import.log, NONE, 1.1 .cvsignore, 1.1, 1.2 sources, 1.1, 1.2

Conrad Meyer konradm at fedoraproject.org
Fri Mar 20 06:03:52 UTC 2009


Author: konradm

Update of /cvs/pkgs/rpms/genus2reduction/devel
In directory cvs1.fedora.phx.redhat.com:/tmp/cvs-serv23085/devel

Modified Files:
	.cvsignore sources 
Added Files:
	genus2reduction-compile.patch 
	genus2reduction-header-path.patch 
	genus2reduction-licenseinfo.txt genus2reduction.mbox 
	genus2reduction.spec import.log 
Log Message:
Import.


genus2reduction-compile.patch:

--- NEW FILE genus2reduction-compile.patch ---
--- genus2reduction.c_org	1998-10-08 10:47:42.000000000 +0300
+++ genus2reduction.c	2006-03-06 02:17:12.000000000 +0200
@@ -1,13 +1,38 @@
 /* genus2reduction 
    by Qing Liu <liu at math.u-bordeaux.fr>
    and Henri Cohen <cohen at math.u-bordeaux.fr>
-   
+
    An algorithm 'à la Tate' for curves of genus 2
+
+   Current maintainer: William Stein (wstein at ucsd.edu)
+   (as part of SAGE: Software for Algebra and Geometry Experimentation)
 */
 
-/* Last modified october 5th 1998 */ 
+/* Qing Liu: Last modified october 5th 1998 */ 
+
+/* 
+   William Stein: Modified 2006-03-05.
+
+*/
 
-#include "genpari.h"
+#include "pari.h"
+
+#ifdef LONG_IS_64BIT
+#  define VERYBIGINT (9223372036854775807L) /* 2^63-1 */
+#  define EXP220 (1099511627776L)          /* 2^40   */
+#  define BIGINT (2147483647)              /* 2^31-1 */
+#else
+#  define VERYBIGINT (2147483647L) /* 2^31-1 */
+#  define EXP220 (1048576L)       /* 2^20   */
+#  define BIGINT (32767)          /* 2^15-1 */
+#endif
+
+GEN
+mppgcd(GEN a, GEN b)
+{
+  if (typ(a) != t_INT || typ(b) != t_INT) err(arither1);
+  return gcdii(a,b);
+}
 
 GEN
 caltheta(GEN pol, GEN p, long lambda);
@@ -1657,7 +1682,8 @@
 	    printf("erreur, racine multiple\n");fflush(stdout);exit(1);
 	  } 
       for(i=1;i<=nb;i++)
-	(GEN)list[i]=gdiv((GEN)list[i],gpuigs(p,polval((GEN)list[i],p)));
+	/* (GEN)list[i] = gdiv((GEN)list[i],gpuigs(p,polval((GEN)list[i],p))); */
+	list[i] = (long) gdiv((GEN)list[i],gpuigs(p,polval((GEN)list[i],p))); 
     }
   return list;
 }

genus2reduction-header-path.patch:

--- NEW FILE genus2reduction-header-path.patch ---
--- Makefile_org	1998-10-08 13:00:36.000000000 +0300
+++ Makefile	2007-12-28 01:28:35.000000000 +0200
@@ -1,6 +1,6 @@
 CC = gcc -O2
-CFLAGS = -I/usr/local/include/pari
-LFLAGS = -lpari -lm 
+CFLAGS = -I/usr/include/pari
+LFLAGS = -lpari -lgmp -lm
 
 SRC=	genus2reduction.c
 


--- NEW FILE genus2reduction-licenseinfo.txt ---
From: http://lists.pardus.org.tr/paketler-commits/2008-January/042349.html


Author: cartman
Date: Thu Jan  3 15:57:14 2008
New Revision: 37934

Modified:
   devel/applications/science/mathematics/genus2reduction/pspec.xml
Log:
Ismail Dönmez a écrit :
> Hi there,
> 
> Since no file mentions this, I want to ask you whats the license for 
> genus2reduction.

Hi,

Thank you for your interest in my program. It is free for use.
If you are really concerned with, the licence is GPL (v2).
Note that Sarge includes genus2reduction and maintains the codes
for compilation compatibility.

Best regards,

Liu



Modified: devel/applications/science/mathematics/genus2reduction/pspec.xml
=================================================================
--- devel/applications/science/mathematics/genus2reduction/pspec.xml    (original)
+++ devel/applications/science/mathematics/genus2reduction/pspec.xml    Thu Jan  3 15:57:14 2008
@@ -8,7 +8,7 @@
             <Name>Ahmet ErdoÄŸan</Name>
             <Email>tuxposta at gmail.com</Email>
         </Packager>
-        <License>public domain</License>
+        <License>GPLv2</License>
         <IsA>app:console</IsA>
         <Summary>Conductor and Reduction Types for Genus 2 Curves</Summary>
         <Archive sha1sum="14f42561d654fc5c3f177f68cb7142baa990aefe" type="targz">http://www.math.u-bordeaux.fr/~liu/G2R/genus2reduction-0.3.tar.gz</Archive>


--- NEW FILE genus2reduction.mbox ---
>From wstein at gmail.com Mon Dec  8 13:00:23 2008
Received: via tmail-2007b.22 (invoked by user cemeyer) for cemeyer; Mon, 8 Dec 2008 13:00:28 -0800 (PST)
Received: from mxe2.u.washington.edu (mxe2.u.washington.edu [140.142.33.14])
	by bp33.u.washington.edu (8.13.7+UW06.06/8.13.7+UW07.09) with ESMTP id mB8L0Pl5012350
	for <cemeyer at bp33.u.washington.edu>; Mon, 8 Dec 2008 13:00:25 -0800
Received: from yx-out-2324.google.com (yx-out-2324.google.com [74.125.44.28])
	by mxe2.u.washington.edu (8.13.7+UW06.06/8.13.7+UW08.06) with ESMTP id mB8L0OpZ012295
	for <cemeyer at u.washington.edu>; Mon, 8 Dec 2008 13:00:24 -0800
Received: by yx-out-2324.google.com with SMTP id 8so591361yxb.77
        for <cemeyer at u.washington.edu>; Mon, 08 Dec 2008 13:00:23 -0800 (PST)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
        d=gmail.com; s=gamma;
        h=domainkey-signature:received:received:message-id:date:from:to
         :subject:in-reply-to:mime-version:content-type:references;
        bh=DcTnfLiyKDTWMNJ2wcrfa6CbmvJWImdaPZutLhADuFI=;
        b=tOMIPXya2+WQw+SevDf0obeMjh3bPPwV3i4BFtmEqf9cUG3WmMgID66u4BDobR60F1
         vnSvT/Bya8BnSmG3YrzMaE5mMOP41JhTeQ/vN8+ZwY0DuGjbQYIgop7m6CIR82N+32GM
         2klrRtdYXrTMt9OjWlvLEMTITlhzFjKuTqqZY=
DomainKey-Signature: a=rsa-sha1; c=nofws;
        d=gmail.com; s=gamma;
        h=message-id:date:from:to:subject:in-reply-to:mime-version
         :content-type:references;
        b=oHV8h30T9sxwCvWGQp2OuMiNCqVp7qTOOO3sUCyZB/oJl0qlCeW3Pp7hWjqOV/yVF1
         FxnUi+Mv276UjZZuaEsj9UGJUrqwurBGyujJeqa1Wf7/JWIwPGM2Eo8R1MTUknLamFoq
         we/ZkKJV1wdOzHXBHbe8ySyOVYvAcVaG8+hbE=
Received: by 10.90.73.16 with SMTP id v16mr1455283aga.65.1228770023768;
        Mon, 08 Dec 2008 13:00:23 -0800 (PST)
Received: by 10.90.79.16 with HTTP; Mon, 8 Dec 2008 13:00:23 -0800 (PST)
Message-ID: <85e81ba30812081300h21062a8fie2dd4e4da2c68740 at mail.gmail.com>
Date: Mon, 8 Dec 2008 13:00:23 -0800
From: "William Stein" <wstein at gmail.com>
To: cemeyer at u.washington.edu
Subject: Fwd: genus2reduction
In-Reply-To: <85e81ba30802171557o280afc1ep6b79f2026caeabce at mail.gmail.com>
MIME-Version: 1.0
Content-Type: multipart/alternative;
  boundary="----=_Part_176460_20041734.1228770023756"
References: <85e81ba30802171504m68f045b2gbab7e6b607894aaa at mail.gmail.com>
	 <47B8C89D.9080801 at math.u-bordeaux1.fr>
	 <85e81ba30802171557o280afc1ep6b79f2026caeabce at mail.gmail.com>
X-PMX-Version: 5.5.0.356843, Antispam-Engine: 2.6.1.350677, Antispam-Data: 2008.12.8.204924
X-Uwash-Spam: Gauge=IIIIIII, Probability=8%, Report='SPF_PASS 0, WEBMAIL_SOURCE 0, __CP_URI_IN_BODY 0, __CT 0, __CTYPE_HAS_BOUNDARY 0, __CTYPE_MULTIPART 0, __CTYPE_MULTIPART_ALT 0, __FRAUD_419_BODY_WEBMAIL 0, __FRAUD_419_WEBMAIL 0, __FRAUD_419_WEBMAIL_FROM 0, __FROM_GMAIL 0, __HAS_HTML 0, __HAS_MSGID 0, __HELO_GMAIL 0, __HTML_BOLD 0, __MIME_HTML 0, __MIME_VERSION 0, __PHISH_SPEAR_HTTP_RECEIVED 0, __RATWARE_SIGNATURE_3_N1 0, __RDNS_GMAIL 0, __SANE_MSGID 0, __STOCK_PHRASE_7 0'
Status: R
X-Bogosity: Ham, tests=bogofilter, spamicity=0.000000, version=1.1.7
X-UID: 
X-Status: NC
X-KMail-EncryptionState:  
X-KMail-SignatureState:  
X-KMail-MDN-Sent:  

------=_Part_176460_20041734.1228770023756
Content-Type: text/plain; charset=ISO-8859-1
Content-Transfer-Encoding: quoted-printable
Content-Disposition: inline

Forwarded conversation
Subject: genus2reduction
------------------------

From: *William Stein* <wstein at gmail.com>
Date: Sun, Feb 17, 2008 at 3:04 PM
To: Qing.Liu at math.u-bordeaux1.fr


Hi Liu,

Sage is getting "big" and your package genus2reduction is of
course still part of Sage.  There are a bunch of people working
now to make Sage a part of Debian, and for this to happen we
need clear license statements for every component of Sage.

Would you be willing to officially release genus2reduction
under the GPL license?

Here's an interesting article about the GPL:
  http://www.dwheeler.com/essays/gpl-compatible.html

 -- William

---------------------------------------------------------------------
>From Qing.Liu at math.u-bordeaux1.fr Sat Jul 16 23:33:18 2005
Return-path: <Qing.Liu at math.u-bordeaux1.fr>

Hi William,

It will be a pleasure for me that you include genus2reduction in SAGE.
Note however that the program is not maintained anymore.  Please
feel free to make any technical modifications to make it compile
in recent systems.

Best regards,

Liu
---------------------------------------------------------------------



--
William Stein
Associate Professor of Mathematics
University of Washington
http://wstein.org

----------
From: *Qing Liu* <Qing.Liu at math.u-bordeaux1.fr>
Date: Sun, Feb 17, 2008 at 3:51 PM
To: William Stein <wstein at gmail.com>


William Stein a =E9crit : Hi William,

Yes I'd like to put the program under GPL.

Best,

Liu Institut de Math=E9matiques de Bordeaux
Universit=E9 Bordeaux 1
http://www.math.u-bordeaux1.fr/~liu/<http://www.math.u-bordeaux1.fr/%7Eliu/=
>



----------
From: *William Stein* <wstein at gmail.com>
Date: Sun, Feb 17, 2008 at 3:57 PM
To: Qing Liu <Qing.Liu at math.u-bordeaux1.fr>


Thanks!

William




--=20
William Stein
Associate Professor of Mathematics
University of Washington
http://wstein.org

------=_Part_176460_20041734.1228770023756
Content-Type: text/html; charset=ISO-8859-1
Content-Transfer-Encoding: quoted-printable
Content-Disposition: inline

<br><br><div class=3D"gmail_quote"><span style=3D"font-size: large; font-we=
ight: bold;">Forwarded conversation</span><br>Subject: <b class=3D"gmail_se=
ndername">genus2reduction</b><br>------------------------<br><br><span clas=
s=3D"undefined"><font color=3D"#000000">From: <b class=3D"undefined">Willia=
m Stein</b> <span dir=3D"ltr"><<a href=3D"mailto:wstein at gmail.com">wstei=
n at gmail.com</a>></span><br>
Date: Sun, Feb 17, 2008 at 3:04 PM<br>To: <a href=3D"mailto:Qing.Liu at math.u=
-bordeaux1.fr">Qing.Liu at math.u-bordeaux1.fr</a><br></font><br></span><br>Hi=
 Liu,<br>
<br>
Sage is getting "big" and your package genus2reduction is of<br>
course still part of Sage.  There are a bunch of people working<br>
now to make Sage a part of Debian, and for this to happen we<br>
need clear license statements for every component of Sage.<br>
<br>
Would you be willing to officially release genus2reduction<br>
under the GPL license?<br>
<br>
Here's an interesting article about the GPL:<br>
   <a href=3D"http://www.dwheeler.com/essays/gpl-compatible.html" targ=
et=3D"_blank">http://www.dwheeler.com/essays/gpl-compatible.html</a><br>
<br>
 -- William<br>
<br>
---------------------------------------------------------------------<br>
>From <a href=3D"mailto:Qing.Liu at math.u-bordeaux1.fr">Qing.Liu at math.u-bordea=
ux1.fr</a> Sat Jul 16 23:33:18 2005<br>
Return-path: <<a href=3D"mailto:Qing.Liu at math.u-bordeaux1.fr">Qing.Liu at m=
ath.u-bordeaux1.fr</a>><br>
<br>
Hi William,<br>
<br>
It will be a pleasure for me that you include genus2reduction in SAGE.<br>
Note however that the program is not maintained anymore.  Please<br>
feel free to make any technical modifications to make it compile<br>
in recent systems.<br>
<br>
Best regards,<br>
<br>
Liu<br>
---------------------------------------------------------------------<br>
<font color=3D"#888888"><br>
<br>
<br>
--<br>
William Stein<br>
Associate Professor of Mathematics<br>
University of Washington<br>
<a href=3D"http://wstein.org" target=3D"_blank">http://wstein.org</a><br>
</font><br>----------<br><span class=3D"undefined"><font color=3D"#000000">=
From: <b class=3D"undefined">Qing Liu</b> <span dir=3D"ltr"><<a href=3D"=
mailto:Qing.Liu at math.u-bordeaux1.fr">Qing.Liu at math.u-bordeaux1.fr</a>></=
span><br>
Date: Sun, Feb 17, 2008 at 3:51 PM<br>To: William Stein <<a href=3D"mail=
to:wstein at gmail.com">wstein at gmail.com</a>><br></font><br></span><br>Will=
iam Stein a =E9crit :
Hi William,<br>
<br>
Yes I'd like to put the program under GPL.<br>
<br>
Best,<br>
<br>
Liu
Institut de Math=E9matiques de Bordeaux<br>
Universit=E9 Bordeaux 1<br>
<a href=3D"http://www.math.u-bordeaux1.fr/%7Eliu/" target=3D"_blank">http:/=
/www.math.u-bordeaux1.fr/~liu/</a><br>
<br>
<br>
<br>----------<br><span class=3D"undefined"><font color=3D"#000000">From: <=
b class=3D"undefined">William Stein</b> <span dir=3D"ltr"><<a href=3D"ma=
ilto:wstein at gmail.com">wstein at gmail.com</a>></span><br>Date: Sun, Feb 17=
, 2008 at 3:57 PM<br>
To: Qing Liu <<a href=3D"mailto:Qing.Liu at math.u-bordeaux1.fr">Qing.Liu at m=
ath.u-bordeaux1.fr</a>><br></font><br></span><br>Thanks!<br>
<font color=3D"#888888"><br>
William<br>
</font><br></div><br><br clear=3D"all"><br>-- <br>William Stein<br>Associat=
e Professor of Mathematics<br>University of Washington<br><a href=3D"http:/=
/wstein.org">http://wstein.org</a><br>

------=_Part_176460_20041734.1228770023756--



--- NEW FILE genus2reduction.spec ---
Name:           genus2reduction
Version:        0.3
Release:        3%{?dist}
Summary:        Computes Reductions of Genus 2 Proper Smooth Curves
Group:          Applications/Engineering
License:        GPLv2
URL:            http://www.math.u-bordeaux.fr/~liu/G2R/
Source0:        http://www.math.u-bordeaux.fr/~liu/G2R/genus2reduction-%{version}.tar.gz
# License clarification:
Source1:        genus2reduction.mbox
# More license clarification:
Source2:        genus2reduction-licenseinfo.txt
# http://svn.pardus.org.tr/viewcvs/devel/applications/science/mathematics/genus2reduction/files/header-path.patch?root=pardus&revision=37446&content-type=text%2Fplain
Patch0:         genus2reduction-header-path.patch
# http://svn.pardus.org.tr/viewcvs/devel/applications/science/mathematics/genus2reduction/files/compile.patch?root=pardus&revision=37446&content-type=text%2Fplain
Patch1:         genus2reduction-compile.patch
BuildRoot:      %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)

BuildRequires:  gmp-devel
BuildRequires:  pari-devel


%description
Determines the reduction of a proper smooth curve of genus 2 at any
prime number p.


%prep
%setup -q
%patch0
%patch1
cp %{SOURCE1} .
cp %{SOURCE2} .


%build
make


%install
rm -rf $RPM_BUILD_ROOT
mkdir -p $RPM_BUILD_ROOT%{_bindir}
install -p -m 755 %{name} $RPM_BUILD_ROOT%{_bindir}/%{name}


%clean
rm -rf $RPM_BUILD_ROOT


%files
%defattr(-,root,root,-)
%doc README %{name}.mbox %{name}-licenseinfo.txt
%{_bindir}/%{name}


%changelog
* Thu Mar 12 2009 Conrad Meyer <konrad at tylerc.org> - 0.3-3
- Add additional license clarification.

* Fri Dec 12 2008 Conrad Meyer <konrad at tylerc.org> - 0.3-2
- Add gmp-devel BR.

* Mon Dec 8 2008 Conrad Meyer <konrad at tylerc.org> - 0.3-1
- Initial package.


--- NEW FILE import.log ---
genus2reduction-0_3-3_fc10:HEAD:genus2reduction-0.3-3.fc10.src.rpm:1237528901


Index: .cvsignore
===================================================================
RCS file: /cvs/pkgs/rpms/genus2reduction/devel/.cvsignore,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -r1.1 -r1.2
--- .cvsignore	20 Mar 2009 01:41:52 -0000	1.1
+++ .cvsignore	20 Mar 2009 06:03:21 -0000	1.2
@@ -0,0 +1 @@
+genus2reduction-0.3.tar.gz


Index: sources
===================================================================
RCS file: /cvs/pkgs/rpms/genus2reduction/devel/sources,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -r1.1 -r1.2
--- sources	20 Mar 2009 01:41:52 -0000	1.1
+++ sources	20 Mar 2009 06:03:21 -0000	1.2
@@ -0,0 +1 @@
+46a5816f6c60edc8b3d047aa24a9f99e  genus2reduction-0.3.tar.gz




More information about the fedora-extras-commits mailing list