rpms/QuantLib/devel QuantLib-0.3.8-installdatahookfix.patch, NONE, 1.1 QuantLib.spec, NONE, 1.1 .cvsignore, 1.1, 1.2 sources, 1.1, 1.2
Tom Callaway (spot)
fedora-extras-commits at redhat.com
Thu Apr 14 14:33:11 UTC 2005
Author: spot
Update of /cvs/extras/rpms/QuantLib/devel
In directory cvs-int.fedora.redhat.com:/tmp/cvs-serv14147/devel
Modified Files:
.cvsignore sources
Added Files:
QuantLib-0.3.8-installdatahookfix.patch QuantLib.spec
Log Message:
auto-import QuantLib-0.3.8-3 on branch devel from QuantLib-0.3.8-3.src.rpm
QuantLib-0.3.8-installdatahookfix.patch:
--- NEW FILE QuantLib-0.3.8-installdatahookfix.patch ---
--- QuantLib-0.3.8/ql/Makefile.am.BAD 2005-04-02 09:55:10.000000000 -0600
+++ QuantLib-0.3.8/ql/Makefile.am 2005-04-02 09:55:17.000000000 -0600
@@ -81,7 +81,7 @@
$(SED) -e "s,HAVE_CONFIG_H,QL_HAVE_CONFIG_H," \
-e "s,/\* install-hook \*/,#define QL_HAVE_CONFIG_H," \
$(includedir)/qldefines.hpp > .qldefines.hpp
- $(INSTALL_DATA) .qldefines.hpp $(includedir)/qldefines.hpp
+ $(INSTALL_DATA) .qldefines.hpp $(DESTDIR)$(includedir)/qldefines.hpp
rm .qldefines.hpp
depend:
makedepend $(INCLUDES) -- $(CFLAGS) -- $(SOURCES)
--- QuantLib-0.3.8/ql/Makefile.in.BAD 2005-04-02 09:54:09.000000000 -0600
+++ QuantLib-0.3.8/ql/Makefile.in 2005-04-02 09:54:26.000000000 -0600
@@ -757,7 +757,7 @@
$(SED) -e "s,HAVE_CONFIG_H,QL_HAVE_CONFIG_H," \
-e "s,/\* install-hook \*/,#define QL_HAVE_CONFIG_H," \
$(includedir)/qldefines.hpp > .qldefines.hpp
- $(INSTALL_DATA) .qldefines.hpp $(includedir)/qldefines.hpp
+ $(INSTALL_DATA) .qldefines.hpp $(DESTDIR)$(includedir)/qldefines.hpp
rm .qldefines.hpp
depend:
makedepend $(INCLUDES) -- $(CFLAGS) -- $(SOURCES)
--- NEW FILE QuantLib.spec ---
%define docdir %{_datadir}/doc/QuantLib-%{version}
Name: QuantLib
Version: 0.3.8
Release: 3
Summary: A software framework for quantitative finance
License: BSD
Group: System Environment/Libraries
URL: http://www.quantlib.org
Source0: http://prdownloads.sourceforge.net/quantlib/QuantLib-%{version}.tar.gz
Patch0: QuantLib-0.3.8-installdatahookfix.patch
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
BuildRequires: boost-devel
%description
QuantLib is a free/open-source library for modeling, trading, and risk management in
real-life.
%package devel
Summary: QuantLib development files
Group: Development/Libraries
Requires: QuantLib = %{version}
%description devel
Static libraries and headers for QuantLib.
%package test
Summary: The test-suite to check the setup of QuantLib
Group: Development/Tools
Requires: QuantLib = %{version}
%description test
The QuantLib-test-suite will validate the compiled code against pre-constructed test
cases, and helps in validating the library.
%package doc
Summary: The documentations for QuantLib.
Group: Documentation
Requires: QuantLib = %{version}
BuildRequires: doxygen >= 1.3, graphviz
%description doc
This package contains documentation files generated from the source code of
QuantLib.
%prep
%setup -q
%patch0 -p1
%build
%configure
make %{?_smp_mflags}
cd Docs
make docs-all
%install
rm -rf $RPM_BUILD_ROOT
make DESTDIR=$RPM_BUILD_ROOT install
mkdir -p $RPM_BUILD_ROOT/%{docdir}
cp -p Docs/latex/refman.pdf $RPM_BUILD_ROOT/%{docdir}/QuantLib-%{version}-docs-refman.pdf
cp -p Docs/latex/refman.ps $RPM_BUILD_ROOT/%{docdir}/QuantLib-%{version}-docs-refman.ps
mkdir -p $RPM_BUILD_ROOT/%{_mandir}/man1/
cp -p man/*.1 $RPM_BUILD_ROOT/%{_mandir}/man1/
cp -pr Docs/man/man3 $RPM_BUILD_ROOT/%{_mandir}/
rm -rf $RPM_BUILD_ROOT/%{_libdir}/*.la
# generic names already used by other packages
mv $RPM_BUILD_ROOT/%{_mandir}/man3/history.3 $RPM_BUILD_ROOT/%{_mandir}/man3/ql-history.3
mv $RPM_BUILD_ROOT/%{_mandir}/man3/gamma.3 $RPM_BUILD_ROOT/%{_mandir}/man3/ql-gamma.3
%clean
rm -rf $RPM_BUILD_ROOT
%post -p /sbin/ldconfig
%postun -p /sbin/ldconfig
%files
%defattr(-,root,root)
%{_libdir}/*.so*
%files devel
%defattr(-,root,root)
%{_includedir}/ql/
%{_libdir}/libQuantLib.a
%{_libdir}/libQuantLibFunctions.a
%{_bindir}/quantlib-config
%{_mandir}/man1/quantlib-config.*
%{_datadir}/aclocal/quantlib.m4
%{_datadir}/emacs/site-lisp/*
%files test
%defattr(-,root,root)
%{_bindir}/quantlib-test-suite
%{_mandir}/man1/quantlib-test-suite.*
%files doc
%defattr(-,root,root)
%doc Authors.txt LICENSE.TXT ChangeLog.txt Readme.txt News.txt Contributors.txt
%{_mandir}/man3/*
%{_mandir}/man1/AmericanOption.*
%{_mandir}/man1/BermudanSwaption.*
%{_mandir}/man1/DiscreteHedging.*
%{_mandir}/man1/EuropeanOption.*
%{_mandir}/man1/SwapValuation.*
%{docdir}/QuantLib-%{version}-docs-refman.pdf
%{docdir}/QuantLib-%{version}-docs-refman.ps
%changelog
* Mon Apr 11 2005 Tom "spot" Callaway <tcallawa at redhat.com> 0.3.8-3
- Cleanup docs handling
* Sat Apr 2 2005 Tom "spot" Callaway <tcallawa at redhat.com> 0.3.8-2
- add $(DESTDIR) to make install-data-hook
- rename two man pages due to generic name conflicts
* Fri Apr 1 2005 Tom "spot" Callaway <tcallawa at redhat.com> 0.3.8-1
- inital package for Fedora Extras
Index: .cvsignore
===================================================================
RCS file: /cvs/extras/rpms/QuantLib/devel/.cvsignore,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -r1.1 -r1.2
--- .cvsignore 14 Apr 2005 14:32:15 -0000 1.1
+++ .cvsignore 14 Apr 2005 14:33:09 -0000 1.2
@@ -0,0 +1 @@
+QuantLib-0.3.8.tar.gz
Index: sources
===================================================================
RCS file: /cvs/extras/rpms/QuantLib/devel/sources,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -r1.1 -r1.2
--- sources 14 Apr 2005 14:32:15 -0000 1.1
+++ sources 14 Apr 2005 14:33:09 -0000 1.2
@@ -0,0 +1 @@
+e823bc1201127c6d12b685185b64f0a4 QuantLib-0.3.8.tar.gz
More information about the fedora-extras-commits
mailing list