Hi all
Luigi has provided today the latest QuantLib 0.3.4 C++ tarball at http://quantlib.org/gm This version worked fine for the Win32 build. Dirk and Liguo: please go ahead with you packages. Barring last minute problems with Debian/RPM I would like to announce 0.3.4 next Friday, November 21th. Ruby and Guile modules are also OK for me, since I won't provide Win32 packages. Tomorrow I will check Python and MzScheme and will (hopefully) give a green light for Debian/RPM packages thanks everybody ------------ ciao -- Nando |
Hi, Nando,
The RPM for the main packages, including devel, test-suite, and docs, are OK. I just noticed that I named the documentation package as QuantLib-doc, while the tar ball is named QuantLib-docs. I corrected the discrepancy here, and added a item to ChangeLog. Python package doesn't have the spec file. I attached it here, please put it in the CVS or the tar ball. Same for Ruby package. I am still learning my way around CVS, so I am not very confident to mess with the CVS. :) As Guile package doesn't have the prefix option to install in 0.3.4, I am still looking for a hack to get it work. I will keep you posted on the progress. As MzScheme package, there is not MzScheme rpm package available. So it might take much longer to get package it. I wouldn't hold my breath for the RPM package. Sorry. That's about it for today. Best regards. Liguo (Leo) Ferdinando Ametrano wrote: > Hi all > > Luigi has provided today the latest QuantLib 0.3.4 C++ tarball at > http://quantlib.org/gm > This version worked fine for the Win32 build. > Dirk and Liguo: please go ahead with you packages. Barring last minute > problems with Debian/RPM I would like to announce 0.3.4 next Friday, > November 21th. > > Ruby and Guile modules are also OK for me, since I won't provide Win32 > packages. > > Tomorrow I will check Python and MzScheme and will (hopefully) give a > green light for Debian/RPM packages > > thanks everybody > > ------------ > ciao -- Nando > > > ------------------------------------------------------- > This SF.net email is sponsored by: SF.net Giveback Program. > Does SourceForge.net help you be more productive? Does it > help you create better code? SHARE THE LOVE, and help us help > YOU! Click Here: http://sourceforge.net/donate/ > _______________________________________________ > 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.4 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 Summary: The Python wrapper for the QuantLib library. Name: QuantLib-Python Version: 0.3.4 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-Python-%">http://prdownloads.sourceforge.net/quantlib/QuantLib-Python-%{version}.tar.gz URL: http://quantlib.org/ Buildroot: %{_tmppath}/%{name}-%{version}-root BuildRequires: QuantLib-devel == %{version}, python >= 2.1, swig >= 1.3.18 %description QuantLib-Python is the Python wrapper for the QuantLib library. %prep %setup -q %build python setup.py wrap python setup.py build python setup.py test %install rm -rf %{buildroot} python setup.py install --prefix=%{buildroot}%{_prefix} %clean rm -rf %{buildroot} %files %defattr(-,root,root) %{_includedir}/QuantLib-Python %{_libdir}/python2.2/site-packages/QuantLib %changelog * Wed Nov 19 2003 Liguo Song <[hidden email]> - Update to 0.3.4 * Thu Oct 30 2003 Liguo Song <[hidden email]> - Initial QuantLib-Python package # Define some macros for the use of dealing with version dependent install %define ruby %(which ruby) %define crtArch %(%{ruby} -e "require 'rbconfig';puts Config::CONFIG['host_os']") %define rbVersion %(%{ruby} -e "require 'rbconfig';puts Config::CONFIG['ruby_version']") %define rbVMajor %(%{ruby} -e "require 'rbconfig';puts Config::CONFIG['MAJOR']") %define rbVMinor %(%{ruby} -e "require 'rbconfig';puts Config::CONFIG['MINOR']") %define rb_archdir %(%{ruby} -e "require 'rbconfig';puts Config::CONFIG['archdir']") %define rb_libdir %(%{ruby} -e "require 'rbconfig';puts Config::CONFIG['rubylibdir']") %define libdir %(%{ruby} -e "require 'rbconfig';puts Config::CONFIG['libdir']") Summary: The Ruby wrapper for the QuantLib library. Name: QuantLib-Ruby Version: 0.3.4 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-Ruby-%">http://prdownloads.sourceforge.net/quantlib/QuantLib-Ruby-%{version}.tar.gz URL: http://quantlib.org/ Buildroot: %{_tmppath}/%{name}-%{version}-root AutoReq: no Requires: QuantLib-devel == %{version}, ruby BuildRequires: swig >= 1.3.18, textutils, bash, ruby, ruby-libs, QuantLib-devel == %{version} %description QuantLib-Ruby is the Ruby wrapper for the QuantLib library. %prep %setup -q %if %(if [[ %{rbVMajor} -ge 1 ]]; then echo 1; else echo 0; fi) && %(if [[ %{rbVMinor} -ge 8 ]]; then echo 1; else echo 0; fi) %define test 1 %else %define test 0 %endif %build # This is not necessary as the SWIG-generated file is already included. -- Luigi Ballabio #%{ruby} setup.rb wrap %{ruby} setup.rb build %if %{test} %{ruby} setup.rb test %endif %install rm -rf %{buildroot} echo %{buildroot}/usr %{ruby} setup.rb install --prefix=%{buildroot}/usr mkdir %{buildroot}%{libdir}/ruby/QuantLib mv %{buildroot}%{rb_libdir}/QuantLib.rb %{buildroot}%{libdir}/ruby/QuantLib/ mv %{buildroot}%{rb_archdir}/QuantLibc.so %{buildroot}%{libdir}/ruby/QuantLib/ %clean rm -rf %{buildroot} %files %defattr(-,root,root) %(%{ruby} -e "require 'rbconfig';puts Config::CONFIG['libdir']")/ruby/QuantLib %post archdir=`%{ruby} -e "require 'rbconfig';puts Config::CONFIG['archdir']"` rubylibdir=`%{ruby} -e "require 'rbconfig';puts Config::CONFIG['rubylibdir']"` libdir=`%{ruby} -e "require 'rbconfig';puts Config::CONFIG['libdir']"` ln -s $libdir/ruby/QuantLib/QuantLib.rb $rubylibdir/QuantLib.rb ln -s $libdir/ruby/QuantLib/QuantLibc.so $archdir/QuantLibc.so %postun rubylibdir=`%{ruby} -e "require 'rbconfig';puts Config::CONFIG['rubylibdir']"` archdir=`%{ruby} -e "require 'rbconfig';puts Config::CONFIG['archdir']"` rm -f $rubylibdir/QuantLib.rb $archdir/QuantLibc.so %changelog * Wed Nov 19 2003 Liguo Song <[hidden email]> - Update to 0.3.4 * Fri Oct 31 2003 Liguo Song <[hidden email]> - Initial QuantLib-Ruby package |
In reply to this post by Ferdinando M. Ametrano-3
On Tue, Nov 18, 2003 at 07:10:52PM +0100, Ferdinando Ametrano wrote:
> Luigi has provided today the latest QuantLib 0.3.4 C++ tarball at > http://quantlib.org/gm > This version worked fine for the Win32 build. > Dirk and Liguo: please go ahead with you packages. Barring last minute > problems with Debian/RPM I would like to announce 0.3.4 next Friday, > November 21th. Disaster struck yesterday and took something down on my development box. Not quite sure what -- upon I get 'crc error -- system halted' immediately after the uncompressing kernel step. That took up some time last night. Anyway, I am now booting from another partition, and the chroot(8) in which I build the packages wasn't affected at all. Consequently 0.3.4-2 packages are being uploaded now. As I 'accidentally wasted' the 0.3.4 label on the previous golden master, I decided to for once forgo the rule of shipping pristine .orig.tar.gz files and stick with the previous one. The compressed diff is small. And I'll try to avoid that naming trap next time. I think I'll do Python and Ruby tomorrow. Thanks to everybody for the hard work on this. Dirk -- Those are my principles, and if you don't like them... well, I have others. -- Groucho Marx |
In reply to this post by Liguo Song
On Thu, Nov 20, 2003 at 12:23:26PM +0100, Luigi Ballabio wrote:
> > >Consequently 0.3.4-2 packages are being uploaded now. As I > >'accidentally wasted' the 0.3.4 label on the previous golden master, > >I decided to for once forgo the rule of shipping pristine .orig.tar. > >gz files and stick with the previous one. The compressed diff is > >small. > > Dirk, > I'm not sure I follow. The latest tarball (now in gm/) contains I probably wasn't very coherent -- sorry! > actual bug-fixes. Were those included in your upload? Yes. 0.3.4-1: based on the then-current 'gm' QuantLib-0.3.4.tar.gz (which we rename quantlib_0.3.4.orig.tar.gz) released with a .diff.gz which is essentially the debian/ dir 0.3.4-2: based on Nov 18 'gm' QuantLib-0.3.4.tar.gz unpacked it into a fresh QuantLib-0.3.4/ directory copied debian/ from the previous one build debian packages against _previous quantlib_0.3.4.orig.tar.gz_ hence with a .diff.gz which is the difference with respect to the 0.3.4-1 release, i.e. the upstream changes as well as debian/ What I should have done is naming the first one 0.3.3.cvs.20031104-1 instead of 0.3.4-1 which would have left 0.3.4-1 for the actual release. I just checked, the autobuilders already created binaries for six or so more architectures. Regards, Dirk -- Those are my principles, and if you don't like them... well, I have others. -- Groucho Marx |
In reply to this post by Ferdinando M. Ametrano-3
>I just put the packages on the sourceforge ftp's incoming server again.
>They are also available at my website now. Please use whichever >convenient for you. :) done. They are on-line now. Sorry for being late, but ill was not planned :) >I am not talking about the version number but the name of the tar ball, >such as the QuantLib-${VERSION}-src.tar.gz or >QuantLib-${VERSION}.tar.gz. I'd propose that we choose one of the names >and stick to it. I do agree. Luigi, what do you prefer for the makedist output? Currently I guess it is QuantLib-${VERSION}.tar.gz and it's me that in the past manually renamed it to QuantLib-${VERSION}-src.tar.gz Liguo, you picked up QuantLib-${VERSION}.src.rpm: is the .src more common? just let me know and 0.3.5 will be compliant ciao -- Nando |
On 2003.11.25 18:18, Ferdinando Ametrano wrote:
>> I am not talking about the version number but the name of the tar >> ball, >> such as the QuantLib-${VERSION}-src.tar.gz or >> QuantLib-${VERSION}.tar.gz. I'd propose that we choose one of the >> names >> and stick to it. > > I do agree. Luigi, what do you prefer for the makedist output? Well, it's not that I prefer one---"make dist" gives me QuantLib-${VERSION}.tar.gz. If you want to rename it when you release it, it's ok. As the "master" copy of the sources, it makes kind of sense to me the way it is. But that's just me. Later, Luigi |
In reply to this post by Ferdinando M. Ametrano-3
Hi, Nando,
>> I am not talking about the version number but the name of the tar ball, >> such as the QuantLib-${VERSION}-src.tar.gz or >> QuantLib-${VERSION}.tar.gz. I'd propose that we choose one of the names >> and stick to it. > > > I do agree. Luigi, what do you prefer for the makedist output? Currently > I guess it is QuantLib-${VERSION}.tar.gz and it's me that in the past > manually renamed it to QuantLib-${VERSION}-src.tar.gz > Liguo, you picked up QuantLib-${VERSION}.src.rpm: is the .src more common? > > just let me know and 0.3.5 will be compliant release tar ball. And in QuantLib-${VERSION}.src.rpm, src is just saying this is the source package against the i386 - binary package. As for the tar ball name, I do prefer QuantLib-${VERSION}-src.tar.gz as it emphasize on the fact that it is the tar ball of the source code. I have the impression that the tar ball without src in the name could be a binary tar ball without the source code. So, my vote goes to QuantLib-${VERSION}-src.tar.gz for the source code tar ball. Thanks. Liguo (Leo) |
Free forum by Nabble | Edit this page |