rpms/QuantLib/EL-5 QuantLib.spec,1.18,1.19 sources,1.7,1.8

Tom Callaway (spot) fedora-extras-commits at redhat.com
Fri Jul 20 21:14:40 UTC 2007


Author: spot

Update of /cvs/extras/rpms/QuantLib/EL-5
In directory cvs-int.fedora.redhat.com:/tmp/cvs-serv16946/EL-5

Modified Files:
	QuantLib.spec sources 
Log Message:

Bump to 0.8.1



Index: QuantLib.spec
===================================================================
RCS file: /cvs/extras/rpms/QuantLib/EL-5/QuantLib.spec,v
retrieving revision 1.18
retrieving revision 1.19
diff -u -r1.18 -r1.19
--- QuantLib.spec	19 Jan 2007 05:03:21 -0000	1.18
+++ QuantLib.spec	20 Jul 2007 21:14:08 -0000	1.19
@@ -1,8 +1,8 @@
 %define docdir %{_datadir}/doc/QuantLib-%{version}
 
 Name:		QuantLib
-Version:	0.3.14
-Release:	2%{?dist}
+Version:	0.8.1
+Release:	1%{?dist}
 Summary:	A software framework for quantitative finance
 License:	BSD
 Group:		System Environment/Libraries
@@ -29,11 +29,11 @@
 Requires:	%{name} = %{version}-%{release}
 
 %description test
-The QuantLib-test-suite will validate the compiled code against pre-constructed test
-cases, and helps in validating the library.
+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.
+Summary:	The documentation for QuantLib
 Group:		Documentation
 Requires:	%{name} = %{version}
 BuildRequires:	doxygen >= 1.3, graphviz
@@ -47,6 +47,9 @@
 
 %build
 %configure CFLAGS="$RPM_OPT_FLAGS -fpermissive" CPPFLAGS="$RPM_OPT_FLAGS -fpermissive"
+# Get rid of RPATH
+sed -i 's|^hardcode_libdir_flag_spec=.*|hardcode_libdir_flag_spec=""|g' libtool
+sed -i 's|^runpath_var=LD_RUN_PATH|runpath_var=DIE_RPATH_DIE|g' libtool
 make %{?_smp_mflags}
 make %{?_smp_mflags} docs-man
 # pdf and ps file creation process breaks tetex
@@ -74,6 +77,46 @@
 mv $RPM_BUILD_ROOT/%{_mandir}/man3/error.3 $RPM_BUILD_ROOT/%{_mandir}/man3/ql-error.3
 mv $RPM_BUILD_ROOT/%{_mandir}/man3/y0.3 $RPM_BUILD_ROOT/%{_mandir}/man3/ql-y0.3 
 mv $RPM_BUILD_ROOT/%{_mandir}/man3/floor.3 $RPM_BUILD_ROOT/%{_mandir}/man3/ql-floor.3
+mv $RPM_BUILD_ROOT/%{_mandir}/man3/overview.3 $RPM_BUILD_ROOT/%{_mandir}/man3/ql-overview.3
+mv $RPM_BUILD_ROOT/%{_mandir}/man3/group.3 $RPM_BUILD_ROOT/%{_mandir}/man3/ql-group.3
+mv $RPM_BUILD_ROOT/%{_mandir}/man3/license.3 $RPM_BUILD_ROOT/%{_mandir}/man3/ql-license.3
+
+# Get rid of spaces in man page names
+mv "$RPM_BUILD_ROOT/%{_mandir}/man3/Singleton_ ExchangeRateManager _.3" $RPM_BUILD_ROOT/%{_mandir}/man3/Singleton_ExchangeRateManager.3
+mv "$RPM_BUILD_ROOT/%{_mandir}/man3/Singleton_ IndexManager _.3" $RPM_BUILD_ROOT/%{_mandir}/man3/Singleton_IndexManager.3
+mv "$RPM_BUILD_ROOT/%{_mandir}/man3/operator Type.3" $RPM_BUILD_ROOT/%{_mandir}/man3/operator_Type.3
+mv "$RPM_BUILD_ROOT/%{_mandir}/man3/operator VanillaSwap.3" $RPM_BUILD_ROOT/%{_mandir}/man3/operator_VanillaSwap.3
+mv "$RPM_BUILD_ROOT/%{_mandir}/man3/operator Swap.3" $RPM_BUILD_ROOT/%{_mandir}/man3/operator_Swap.3
+mv "$RPM_BUILD_ROOT/%{_mandir}/man3/Singleton_ Settings _.3" $RPM_BUILD_ROOT/%{_mandir}/man3/Singleton_Settings.3
+mv "$RPM_BUILD_ROOT/%{_mandir}/man3/operator _=.3" $RPM_BUILD_ROOT/%{_mandir}/man3/operator_=.3
+mv "$RPM_BUILD_ROOT/%{_mandir}/man3/operator _.3" $RPM_BUILD_ROOT/%{_mandir}/man3/ql-operator.3
+mv "$RPM_BUILD_ROOT/%{_mandir}/man3/Singleton_ SeedGenerator _.3" $RPM_BUILD_ROOT/%{_mandir}/man3/Singleton_SeedGenerator.3
+mv "$RPM_BUILD_ROOT/%{_mandir}/man3/operator CapFloor.3" $RPM_BUILD_ROOT/%{_mandir}/man3/operator_CapFloor.3
+mv "$RPM_BUILD_ROOT/%{_mandir}/man3/operator Schedule.3" $RPM_BUILD_ROOT/%{_mandir}/man3/operator_Schedule.3
+mv "$RPM_BUILD_ROOT/%{_mandir}/man3/operator Rate.3" $RPM_BUILD_ROOT/%{_mandir}/man3/operator_Rate.3
+mv "$RPM_BUILD_ROOT/%{_mandir}/man3/operator T.3" $RPM_BUILD_ROOT/%{_mandir}/man3/operator_T.3
+
+# Fix file encoding
+recode()
+{
+        iconv -f "$2" -t utf-8 < "$1" > "${1}_"
+        mv -f "${1}_" "$1"
+}
+recode $RPM_BUILD_ROOT%{_mandir}/man3/QuantLib_Matrix.3 iso-8859-1
+recode $RPM_BUILD_ROOT%{_mandir}/man3/QuantLib_DKKCurrency.3 iso-8859-1
+recode $RPM_BUILD_ROOT%{_mandir}/man3/QuantLib_PrimeNumbers.3 iso-8859-1
+recode $RPM_BUILD_ROOT%{_mandir}/man3/QuantLib_SEKCurrency.3 iso-8859-1
+recode $RPM_BUILD_ROOT%{_mandir}/man3/QuantLib_NOKCurrency.3 iso-8859-1
+recode $RPM_BUILD_ROOT%{_mandir}/man3/QuantLib_FIMCurrency.3 iso-8859-1
+recode $RPM_BUILD_ROOT%{_mandir}/man3/QuantLib_Currency.3 iso-8859-1
+recode $RPM_BUILD_ROOT%{_mandir}/man3/QuantLib_Argentina.3 iso-8859-1
+recode $RPM_BUILD_ROOT%{_mandir}/man3/QuantLib_Ukraine.3 iso-8859-1
+recode $RPM_BUILD_ROOT%{_mandir}/man3/QuantLib_HaltonRsg.3 iso-8859-1
+recode $RPM_BUILD_ROOT%{_mandir}/man3/QuantLib_SobolRsg.3 iso-8859-1
+recode $RPM_BUILD_ROOT%{_mandir}/man3/ql-overview.3 iso-8859-1
+recode $RPM_BUILD_ROOT%{_mandir}/man3/ql-group.3 iso-8859-1
+recode $RPM_BUILD_ROOT%{_mandir}/man3/ql-history.3 iso-8859-1
+recode $RPM_BUILD_ROOT%{_mandir}/man3/ql-license.3 iso-8859-1
 
 %clean
 rm -rf $RPM_BUILD_ROOT
@@ -84,11 +127,13 @@
 
 %files
 %defattr(-,root,root)
-%{_libdir}/*.so*
+%doc LICENSE.TXT
+%{_libdir}/libQuantLib-*.so
 
 %files devel
 %defattr(-,root,root)
 %{_includedir}/ql/
+%{_libdir}/libQuantLib.so
 %{_libdir}/libQuantLib*.a
 %{_bindir}/quantlib-config
 %{_mandir}/man1/quantlib-config.*
@@ -103,7 +148,7 @@
 
 %files doc
 %defattr(-,root,root)
-%doc Authors.txt LICENSE.TXT ChangeLog.txt Readme.txt News.txt Contributors.txt
+%doc Authors.txt ChangeLog.txt Readme.txt News.txt Contributors.txt
 %{_mandir}/man3/*
 %{_mandir}/man1/BermudanSwaption.*
 %{_mandir}/man1/ConvertibleBonds.*
@@ -117,6 +162,9 @@
 #%{docdir}/QuantLib-%{version}-docs-refman.ps
 
 %changelog
+* Tue Jul 10 2007 Tom "spot" Callaway <tcallawa at redhat.com> 0.8.1-1
+- bump to 0.8.1
+
 * Thu Jan 18 2007 Tom "spot" Callaway <tcallawa at redhat.com> 0.3.14-2
 - namespace conflicts resolved (210206)
 


Index: sources
===================================================================
RCS file: /cvs/extras/rpms/QuantLib/EL-5/sources,v
retrieving revision 1.7
retrieving revision 1.8
diff -u -r1.7 -r1.8
--- sources	7 Jan 2007 00:11:18 -0000	1.7
+++ sources	20 Jul 2007 21:14:08 -0000	1.8
@@ -1 +1,2 @@
 0f9b75124cb5ac5dec4e5715498f3cc4  QuantLib-0.3.14.tar.gz
+276e67eca30022ebdb66ccd6c5fbd7f7  QuantLib-0.8.1.tar.gz




More information about the scm-commits mailing list