RPM spec file for QuantLib-0.3.3

classic Classic list List threaded Threaded
4 messages Options
Reply | Threaded
Open this post in threaded view
|

RPM spec file for QuantLib-0.3.3

Liguo Song
The first working RPM spec file for QuantLib-0.3.3 is attached. There are
two ways that you can make use of it:
    1. Put this spec file into the SPEC dir under the RPM build root dir,
and the QuantLib-0.3.3.tar.gz into the SOURCE dir, then rpmbuild -ba
QuantLib-0.3.3-beta.spec, and you will get the src rpm and the binary rpm.
    2. Put this spec file into the tar ball. Then rpmbuild -ta
QuantLib-0.3.3.tar.gz will compile both the src rpm and the binary rpm.

REQUIREMENT: automake >= 1.7, autoconf >= 2.54, cppunit >= 1.8.0 and
cppunit-devel >= 1.8.0

In case that you install these softwares with tar balls, you can use rpm
-Uvh --nodeps QuantLib-0.3.3-beta.i386.rpm to install it.

The RPM package of automake and autoconf can be easily found at
www.rpmfind.net, while there is only cppunit RPM packages for PLD Linux
available right now. I have adopted them to Red Hat Linux. Please let me
know if you need them. Also, if people prefer to get the compiled src and
binary package, please let me know.

There are still a lot to improve with this spec file, and I'd like to hear
some opinions about the following issues:
    1. It is conventional to separate the dynamic libs, static libs, and
header files into separate packages. Should we do the same thing here?
    2. Cppunit is only needed for the test-suite, so should we still make it
required? Or just drop the test-suite if no cppunit is available?
    3. The documents for QuantLib is not included in the tar ball right now,
should I put the docs into the RPM package?
    4. A relative minor point about the name, is quantlib better than
QuantLib? As the Unix name of the project is quantlib.

At last, please let me know if you have any problem with it.

Later.


Liguo (Leo)


QuantLib-0.3.3-beta.spec (1K) Download Attachment
Reply | Threaded
Open this post in threaded view
|

Re: RPM spec file for QuantLib-0.3.3

Luigi Ballabio-2
On 2003.08.23 04:22, Liguo Song wrote:
> The first working RPM spec file for QuantLib-0.3.3 is attached.

Too bad QuantLib 0.3.3 isn't out yet :)
To the other members of QuantLib-users: we're planning to release in a
couple of weeks. Be patient...

Later,
        Luigi


Reply | Threaded
Open this post in threaded view
|

RE: RPM spec file for QuantLib-0.3.3

Liguo Song
Oops. I am sorry to blow the surprise. :)

To make it worse, let me tell you that QuantLib 0.3.3 is more than twice the
size of QuantLib 0.3.1. You should be really patient now. :)

-----Original Message-----
From: [hidden email]
[mailto:[hidden email]] On Behalf Of Luigi
Ballabio
Sent: 23 August 2003 08:16
To: [hidden email]
Subject: Re: [Quantlib-users] RPM spec file for QuantLib-0.3.3


On 2003.08.23 04:22, Liguo Song wrote:
> The first working RPM spec file for QuantLib-0.3.3 is attached.

Too bad QuantLib 0.3.3 isn't out yet :)
To the other members of QuantLib-users: we're planning to release in a
couple of weeks. Be patient...

Later,
        Luigi


-------------------------------------------------------
This SF.net email is sponsored by: VM Ware
With VMware you can run multiple operating systems on a single machine.
WITHOUT REBOOTING! Mix Linux / Windows / Novell virtual machines
at the same time. Free trial click here:http://www.vmware.com/wl/offer/358/0
_______________________________________________
Quantlib-users mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/quantlib-users




Reply | Threaded
Open this post in threaded view
|

Re: RPM spec file for QuantLib-0.3.3

Dirk Eddelbuettel
On Sat, Aug 23, 2003 at 09:18:54AM -0500, Liguo Song wrote:
> Oops. I am sorry to blow the surprise. :)
>
> To make it worse, let me tell you that QuantLib 0.3.3 is more than twice the
> size of QuantLib 0.3.1. You should be really patient now. :)

Yes, we know:

edd@sonny:~/debian> ls -oh libquantlib0_0.3.2.20030727-1_i386.deb Ready/libquantlib0_0.3.1-1_i386.deb
-rw-r--r--    1 edd          556k Jan 28  2003 Ready/libquantlib0_0.3.1-1_i386.deb
-rw-r--r--    1 edd         1002k Jul 27 23:00 libquantlib0_0.3.2.20030727-1_i386.deb

Also caught me by suprise when I looked at the size of the example binaries:

edd@sonny:~/debian> ls -oh quantlib-examples_0.3.2.20030727-1_i386.deb Ready/quantlib-examples_0.3.1-1_i386.deb
-rw-r--r--    1 edd          245k Jan 28  2003 Ready/quantlib-examples_0.3.1-1_i386.deb
-rw-r--r--    1 edd          703k Jul 27 23:01 quantlib-examples_0.3.2.20030727-1_i386.deb

At first I thought I had them built statically :-) but it "merely" is a lot
of new code.

This will be a mighty fine release.  BTW, all the Debian packages on all the
architectures built fine for the golden master from last month:

-- QuantLib itself was built on ten additional architectures by July 29
   http://buildd.debian.org/build.php?pkg=quantlib

-- QL-Python and QL-Ruby, which I uploaded a few days later, also built fine:
   http://buildd.debian.org/build.php?pkg=quantlib-python
   (and I just re-uploaded these to make the python 2.2 -> 2.3 transition)
   http://buildd.debian.org/build.php?pkg=quantlib-ruby
   (this seems to have failed with a timeout on mips as the build daemon
   was too impatient)
   
Dirk

--
Those are my principles, and if you don't like them... well, I have others.
                                                -- Groucho Marx