Preliminary 0.3.5 tarballs

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

Preliminary 0.3.5 tarballs

Luigi Ballabio-2
Hi all,
        I just uploaded tentative tarballs for release 0.3.5 into
http://quantlib.org/gm/
Please play with them if your computer has a few spare cycles.

Dirk and Liguo: the final tarballs will come later, but can you check  
that your Debian/RPM thing works correctly?

Thanks,
        Luigi


Reply | Threaded
Open this post in threaded view
|

Re: Preliminary 0.3.5 tarballs

Dirk Eddelbuettel
On Tue, Mar 16, 2004 at 10:24:11AM +0100, Luigi Ballabio wrote:
>
> Hi all,
> I just uploaded tentative tarballs for release 0.3.5 into
> http://quantlib.org/gm/
> Please play with them if your computer has a few spare cycles.
>
> Dirk and Liguo: the final tarballs will come later, but can you check  
> that your Debian/RPM thing works correctly?

It built flawlessly in my pbuilder(8) chroot, and I'll upload it right now
version 0.3.4.20040316-1 to Debian.

Dirk

--
The relationship between the computed price and reality is as yet unknown.  
                                             -- From the pac(8) manual page


Reply | Threaded
Open this post in threaded view
|

Re: Preliminary 0.3.5 tarballs

Liguo Song
In reply to this post by Luigi Ballabio-2
Hi, guys,

Sorry to be less responsive recently. I just finished my Ph.D. thesis
defense yesterday. :)

I am testing the RPM packaging now. The requirement for automake, and
doxygen now requires me to upgrade these packages. I will let you guys
know when I get it through.

Later.


Liguo



Luigi Ballabio wrote:

>
> Hi all,
>     I just uploaded tentative tarballs for release 0.3.5 into
> http://quantlib.org/gm/
> Please play with them if your computer has a few spare cycles.
>
> Dirk and Liguo: the final tarballs will come later, but can you check  
> that your Debian/RPM thing works correctly?
>
> Thanks,
>     Luigi
>
>
> -------------------------------------------------------
> This SF.Net email is sponsored by: IBM Linux Tutorials
> Free Linux tutorial presented by Daniel Robbins, President and CEO of
> GenToo technologies. Learn everything from fundamentals to system
> administration.http://ads.osdn.com/?ad_id=1470&alloc_id=3638&op=click
> _______________________________________________
> Quantlib-dev mailing list
> [hidden email]
> https://lists.sourceforge.net/lists/listinfo/quantlib-dev




Reply | Threaded
Open this post in threaded view
|

Re: Preliminary 0.3.5 tarballs

Luigi Ballabio-2
On 2004.03.16 18:38, Liguo Song wrote:
> Sorry to be less responsive recently. I just finished my Ph.D. thesis  
> defense yesterday. :)

Great! How did it go? What was the subject?


> I am testing the RPM packaging now. The requirement for automake, and  
> doxygen now requires me to upgrade these packages. I will let you  
> guys know when I get it through.

Automake? You shouldn't need it to build from the distribution...

Later,
        Luigi


Reply | Threaded
Open this post in threaded view
|

QuantLib.spec with minor modification Re: Preliminary 0.3.5 tarballs

Liguo Song
Here comes the spec file for QuantLib, which removed the wrong building
requirement. I am not able to check it into the CVS as the CVS tree is
not setup properly on my box right now. :(

Thanks for Luigi to point it out for me. :)

Let me know if anyone has problem building or installing the rpm package.


Liguo



Luigi Ballabio wrote:

> On 2004.03.16 18:38, Liguo Song wrote:
>
>> Sorry to be less responsive recently. I just finished my Ph.D.
>> thesis  defense yesterday. :)
>
>
> Great! How did it go? What was the subject?
>
>
>> I am testing the RPM packaging now. The requirement for automake,
>> and  doxygen now requires me to upgrade these packages. I will let
>> you  guys know when I get it through.
>
>
> Automake? You shouldn't need it to build from the distribution...
>
> Later,
>     Luigi
>
>
> -------------------------------------------------------
> This SF.Net email is sponsored by: IBM Linux Tutorials
> Free Linux tutorial presented by Daniel Robbins, President and CEO of
> GenToo technologies. Learn everything from fundamentals to system
> administration.http://ads.osdn.com/?ad_id=1470&alloc_id=3638&op=click
> _______________________________________________
> Quantlib-dev mailing list
> [hidden email]
> https://lists.sourceforge.net/lists/listinfo/quantlib-dev


# Define some specific macros
%define _aclocaldir %{_datadir}/aclocal
%define docdir %{_prefix}/doc/QuantLib-%{version}

# Check whether cppunit is install. If it is then
# build the test-suite package
%define test %(if rpm -q cppunit cppunit-static cppunit-devel 2>&1 > /dev/null; then echo 1; else echo 0;fi)

Summary: The free/open-source library for quantitative finance.
Name: QuantLib
Version: 0.3.5
Epoch: 0
Release: 0
License: BSD License
Group: System Environment/Libraries
Packager: Liguo Song (Leo) <[hidden email]>
Vendor: QuantLib.org
Source0: <a href="http://prdownloads.sourceforge.net/quantlib/QuantLib-%">http://prdownloads.sourceforge.net/quantlib/QuantLib-%{version}.tar.gz
URL: http://quantlib.org/
Buildroot: %{_tmppath}/%{name}-%{version}-root
#BuildRequires: automake >= 1.7, autoconf >= 2.54

%description
QuantLib is an open source C++ library for financial quantitative analysts
and developers.

%package devel
Summary: The header files and the static library.
Group: Development/Libraries
Requires: QuantLib = %{version}
#BuildRequires: automake >= 1.7, autoconf >= 2.54

%description devel
QuantLib is an open source C++ library for financial quantitative analysts
and developers.

Install QuantLib-devel if you are going to develop programs which will
use the standard C libraries.

%if %test
%package test-suite
Summary: The test-suite to check the setup of quantlib installation.
Group: Development/Tools
Requires: QuantLib = %{version}, cppunit >= 1.8.0, cppunit-devel >= 1.8.0, cppunit-static >= 1.8.0

%description test-suite
QuantLib is an open source C++ library for financial quantitative analysts
and developers.

The QuantLib-test-suite will validate the compiled code against pre-constructed test
cases, and helps in validating the library.
%endif

%package docs
Summary: The documentations for QuantLib.
Group: Documentation
Requires: QuantLib = %{version}
BuildRequires: doxygen >= 1.3, graphviz
Obsoletes: QuantLib-doc

%description docs
QuantLib is an open source C++ library for financial quantitative analysts
and developers.

This package contains documentation files generated from the source code of
QuantLib.

You'll want to install this package if you need a reference to QuantLib.

%prep
%setup -q
%if !%test
rm %{buildroot}%{_prefix}/bin/quantlib-test-suite
rm %{buildroot}%{_prefix}/man/man1/quantlib-test-suite.1
%endif

%build
CFLAGS="${CFLAGS:-%optflags}" ; export CFLAGS ; \
CXXFLAGS="${CXXFLAGS:-%optflags}" ; export CXXFLAGS ; \
FFLAGS="${FFLAGS:-%optflags}" ; export FFLAGS ; \
./configure --prefix=%{_prefix}
make
# make documentations
cd Docs
make docs-all

%install
rm -rf %{buildroot}
make prefix=%{buildroot}%{_prefix} install
%if !%test
rm -f %{buildroot}%{_prefix}/bin/quantlib-test-suite
rm -f %{buildroot}%{_prefix}/man/man1/quantlib-test-suite.1
echo "Warning: quantlib-test-suite is not built!"
echo "Warning: cppunit, cppunit-devel and cppunit-static are needed!"
%endif
# install the documentation
mkdir -p %{buildroot}%{docdir}
cp -p Authors.txt LICENSE.TXT ChangeLog.txt Readme.txt %{buildroot}%{docdir}
cp -p Contributors.txt History.txt INSTALL.txt TODO.txt %{buildroot}%{docdir}
cp -p News.txt  %{buildroot}%{docdir}
cp -pr Examples %{buildroot}%{docdir}
cp -pr Docs/html %{buildroot}%{docdir}
rm -f %{buildroot}%{docdir}/html/*.dot
cp -p Docs/latex/refman.pdf %{buildroot}%{docdir}/QuantLib-%{version}-docs-refman.pdf
cp -p Docs/latex/refman.ps %{buildroot}%{docdir}/QuantLib-%{version}-docs-refman.ps
cp -pr Docs/man/man3 %{buildroot}%{_mandir}/

%clean
rm -rf %{buildroot}

%post -p /sbin/ldconfig

%postun -p /sbin/ldconfig

%files
%defattr(-,root,root)
%{docdir}/Authors.txt
%{docdir}/LICENSE.TXT
%{docdir}/ChangeLog.txt
%{docdir}/Readme.txt
%{docdir}/News.txt
%{docdir}/Contributors.txt
%{docdir}/History.txt
%{docdir}/INSTALL.txt
%{docdir}/TODO.txt
%{_libdir}/libQuantLib.la
%{_libdir}/libQuantLib.so.0
%{_libdir}/libQuantLib.so.0.0.0

%files devel
%defattr(-,root,root)
%{docdir}/Examples
%{_includedir}/ql/
%{_libdir}/libQuantLib.a
%{_libdir}/libQuantLib.so
%{_datadir}/aclocal/*
%{_datadir}/emacs/site-lisp/*
%{_bindir}/quantlib-config
%{_mandir}/man1/quantlib-config.1

%if %test
%files test-suite
%defattr(-,root,root)
%{_mandir}/man1/quantlib-test-suite.1
%{_bindir}/quantlib-test-suite
%endif

%files docs
%defattr(-,root,root)
%{_mandir}/man3/*
%{docdir}/html
%{docdir}/QuantLib-%{version}-docs-refman.pdf
%{docdir}/QuantLib-%{version}-docs-refman.ps

%changelog
* Tue Nov 18 2003 Liguo Song <[hidden email]>
- Initial release of 0.3.4
- Rename QuantLib-doc to QuantLib-docs for consistency with the docs tar package

* Thu Oct 2 2003 Liguo Song <[hidden email]>
- Add docs package
- Modified Makefile.am and Makefile.in in Docs/:
    $(DVIPS) refman -> $(DVIPS) -o refman.ps refman

* Tue Aug 22 2003 Liguo Song <[hidden email]>
- Initial package. Refer to Changelog.txt for previous changes.
- RPM package beta test
Reply | Threaded
Open this post in threaded view
|

Re: Preliminary 0.3.5 tarballs

Dirk Eddelbuettel
In reply to this post by Dirk Eddelbuettel
On Tue, Mar 16, 2004 at 07:53:47AM -0600, Dirk Eddelbuettel wrote:

> On Tue, Mar 16, 2004 at 10:24:11AM +0100, Luigi Ballabio wrote:
> >
> > Hi all,
> > I just uploaded tentative tarballs for release 0.3.5 into
> > http://quantlib.org/gm/
> > Please play with them if your computer has a few spare cycles.
> >
> > Dirk and Liguo: the final tarballs will come later, but can you check  
> > that your Debian/RPM thing works correctly?
>
> It built flawlessly in my pbuilder(8) chroot, and I'll upload it right now
> version 0.3.4.20040316-1 to Debian.

As a follow-up, QuantLib as well as Quantlib-Python and QuantLib-Ruby also
built flawlessly on all other architectures and, unless I make a new upload
before then, it scheduled to move from Debian 'unstable' to 'testing' in a
few days.  We don't have a problem with that, do we?

Congrats to all for such a smooth pre-release.

Dirk

--
The relationship between the computed price and reality is as yet unknown.  
                                             -- From the pac(8) manual page


Reply | Threaded
Open this post in threaded view
|

Re: Preliminary 0.3.5 tarballs

Luigi Ballabio-2
On 2004.03.24 15:48, Dirk Eddelbuettel wrote:
> As a follow-up, QuantLib as well as Quantlib-Python and QuantLib-Ruby
> also built flawlessly on all other architectures and, unless I make a  
> new upload before then, it scheduled to move from Debian 'unstable'  
> to 'testing' in a few days.  We don't have a problem with that, do  
> we?

I guess we don't. But then again, you'll make a new upload in a few  
days :)

> Congrats to all for such a smooth pre-release.

Thanks,
        Luigi