rpms/cppad/EL-5 .cvsignore, 1.3, 1.4 cppad.spec, 1.7, 1.8 sources, 1.4, 1.5

Bradley M. Bell bradbell at fedoraproject.org
Thu Jul 8 17:52:05 UTC 2010


Author: bradbell

Update of /cvs/pkgs/rpms/cppad/EL-5
In directory cvs01.phx2.fedoraproject.org:/tmp/cvs-serv23105

Modified Files:
	.cvsignore cppad.spec sources 
Log Message:
copy here from devel branch


Index: .cvsignore
===================================================================
RCS file: /cvs/pkgs/rpms/cppad/EL-5/.cvsignore,v
retrieving revision 1.3
retrieving revision 1.4
diff -u -p -r1.3 -r1.4
--- .cvsignore	4 Apr 2008 07:43:02 -0000	1.3
+++ .cvsignore	8 Jul 2010 17:52:05 -0000	1.4
@@ -1 +1 @@
-cppad-20080403.gpl.tgz
+cppad-20100101.4.gpl.tgz


Index: cppad.spec
===================================================================
RCS file: /cvs/pkgs/rpms/cppad/EL-5/cppad.spec,v
retrieving revision 1.7
retrieving revision 1.8
diff -u -p -r1.7 -r1.8
--- cppad.spec	4 Apr 2008 12:28:25 -0000	1.7
+++ cppad.spec	8 Jul 2010 17:52:05 -0000	1.8
@@ -1,7 +1,3 @@
-# ----------------------------------------------------------------------------
-# RPM source for this version of cppad.spec:
-# http://www.seanet.com/~bradbell/cppad/cppad-%{version}-%{release}.fc7.src.rpm
-# ----------------------------------------------------------------------------
 # Known Problems: 
 #
 # After installation of cppad-doc-%{version} the command
@@ -15,25 +11,25 @@
 # ---------------------------------------------------------------------------- 
 
 Name: cppad
-Version: 20080403
-Release: 3%{?dist}
-Summary: no base package is installed, see %{name}-devel and %{name}-doc
+Version: 20100101.4
+Release: 1%{?dist}
+Summary: No base package is installed, see %{name}-devel 
 
 Group: Development/Libraries 
 License: GPLv2
 URL: http://www.coin-or.org/CppAD/
-Source: http://www.coin-or.org/CppAD/download/%{name}-%{version}.gpl.tgz
+Source: http://www.coin-or.org/download/source/CppAD/%{name}-%{version}.gpl.tgz
 BuildArch: noarch
 BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
 
 %description
-There is no base %{name} package installation, 
-only %{name}-devel and %{name}-doc sub-packages are installed.
+There is no base %{name} package installation, only %{name}-devel is installed.
 
 # ---------------------------------------------------------------------------
 %package devel
-Summary: A Package for Differentiation of C++ Algorithms
+Summary: Development libraries for %{name}
 Group: Development/Libraries
+Provides: %{name} = %{version}-%{release}
 
 %description devel
 We refer to the step by step conversion from an algorithm that computes 
@@ -46,46 +42,42 @@ http://en.wikipedia.org/wiki/Automatic_d
 
 # ----------------------------------------------------------------------------
 %package doc
-Summary: Documentation for %{name}-devel
+Summary: Documentation for %{name}
 Group: Development/Libraries
 
 %description doc
-The %{name}-doc package contains the html and xml documentation for
-the %{name}-devel package.
+The %{name}-doc package contains the xml documentation for
+the %{name}-devel package. 
+Links to an html version of the %{name} documentaiton, 
+for the most recent version of %{name}, can be found at web site 
+http://www.coin-or.org/CppAD/.
+In addition, printable versions of the documentation
+as a single web page, in both html and xml, can be found at that web site.
 
 # ----------------------------------------------------------------------------
 %prep
 %setup -q 
 
-# fix errors errors found by newer version of gcc
-sed -i.stamp speed/main.cpp \
-        -e 's/^# include <cstdlib>/# include <cstring>\n&/' \
-        -e 's/char \*option\[\]=/const &/'
-
 # change example/example.cpp to print out machine epsilon 
 cat << EOF > example.sed
 /^int main(void)/N
 s|^int main(void)\n{|# include <cfloat>\\
 int main(void)\\
-{	// print machine epsilon\\
-	std::cout << "DBL_EPSILON =" << DBL_EPSILON << std::endl;\\
+{       // print machine epsilon\\
+        std::cout << "DBL_EPSILON =" << DBL_EPSILON << std::endl;\\
 \\
 |
 EOF
 sed -i.stamp example/example.cpp -f example.sed
 
-# See Sat Jan 12 2008  log entry
-sed -i.stamp speed/example/example.cpp -e '/Run(speed_test,/d'
-
 # Remove setting of permissions in documentation destination directory.
 # Create the doc_prefix directory (if it does not already exist).
 # (Note we are not using a postfix directory, so can overwrite its case.)
 sed -i.stamp makefile.am \
-	-e '/chmod -R .* $(doc_package)/d'
+        -e '/chmod -R .* $(doc_package)/d'
 sed -i.stamp makefile.in \
-	-e '/chmod -R .* $(doc_package)/d'
+        -e '/chmod -R .* $(doc_package)/d'
 
-	
 %build
 %configure --with-Documentation \
            --with-Example \
@@ -100,10 +92,16 @@ make install DESTDIR=$RPM_BUILD_ROOT
 %check
 example/example 
 test_more/test_more
-speed/cppad/cppad     correct 123
+speed/example/example
 speed/double/double   correct 123
-speed/example/example correct 123
+speed/cppad/cppad     correct 123
+speed/cppad/cppad     correct 123 optimize
+speed/cppad/cppad     correct 123 retape
+speed/cppad/cppad     correct 123 optimize retape
 speed/profile/profile correct 123
+speed/profile/profile correct 123 optimize
+speed/profile/profile correct 123 retape
+speed/profile/profile correct 123 optimize retape
 
 %clean
 # cleanup 
@@ -120,6 +118,56 @@ rm -rf $RPM_BUILD_ROOT
 
 # ----------------------------------------------------------------------------
 %changelog
+* Thu Jul 08 2010 Brad Bell <bradbell at seanet dot com> - 20100101.4-1
+- Use new upstream source which has bug fix at revision
+- https://projects.coin-or.org/CppAD/changeset/1698
+
+* Wed Mar 31 2010 Brad Bell <bradbell at seanet dot com> - 20100101.2-1
+- Use new upstream source with bug fixes at revision
+- https://projects.coin-or.org/CppAD/changeset/1664
+- and remove patch from Wed Feb 10 2010. 
+
+* Wed Feb 10 2010 Brad Bell <bradbell at seanet dot com> - 20100101.0-2
+- Patch sources for bug fix between 20100101.0 and 20100101.1.
+- This should no longer be necessary once a new upstream source is loaded.
+
+* Sat Jan 01 2010 Brad Bell <bradbell at seanet dot com> - 20100101.0-1
+- Use new upstream source.
+- Remove out of date comment about where this spec file is maintained.
+- Remove patches that are no longer necessary in prep section.
+- Change calling sequence for correctness of speed tests (we do not run speed
+- tests, that requires a computer with no other processes running).
+
+* Fri Jul 24 2009 Fedora Release Engineering <rel-eng at lists.fedoraproject.org> - 20090303.0-5
+- Rebuilt for https://fedoraproject.org/wiki/Fedora_12_Mass_Rebuild
+
+* Sat Jun 20 2009 Brad Bell <bradbell at seanet dot com> 20090303-4
+- Patch cppad/local/fun_construct.hpp to give a more useful error message
+- (so we can figure out why the Fedora 11 build is failing).
+
+* Mon Jun 06 2009 Brad Bell <bradbell at seanet dot com> 20090303-3
+- Patch file test_more/jacobian.cpp (required for versions below 20090606).
+- Patch file cppad/local/default.hpp (required for versions below 20090606).
+- Fix version (change 20080303 to 20090303) in previous two log entries.
+
+* Mon Mar 30 2009 Brad Bell <bradbell at seanet dot com> 20090303-2
+- Change tabs to spaces in spec file to avoid an rpmlint warning.
+- The base package in previous release had no files, hence did not exist.
+- Use Provides: in cppad-devel to indicate that it provides cppad.
+
+* Sun Mar 29 2009 Brad Bell <bradbell at seanet dot com> 20090303-1
+- Change to newer version of cppad.
+- Create a base package that requres both devel and doc sub-packages
+
+* Tue Feb 24 2009 Fedora Release Engineering <rel-eng at lists.fedoraproject.org> - 20080826.0-2
+- Rebuilt for https://fedoraproject.org/wiki/Fedora_11_Mass_Rebuild
+
+* Tue Oct 08 2008 Brad Bell <bradbell at seanet dot com> 20080826-1
+- Change to newer version of cppad.
+- Change download directory to standard coin-or location.
+- Remove editing of speed/main.cpp (no longer necessary).
+- Add retape argument to check programs in speed directory.
+
 * Fri Apr 04 2008 Brad Bell <bradbell at seanet dot com> 20080403-3
 - Patch speed/main.cpp work with newer version of gcc
 - (speed/main.cpp had not been tested with new version of gcc.)


Index: sources
===================================================================
RCS file: /cvs/pkgs/rpms/cppad/EL-5/sources,v
retrieving revision 1.4
retrieving revision 1.5
diff -u -p -r1.4 -r1.5
--- sources	4 Apr 2008 07:01:17 -0000	1.4
+++ sources	8 Jul 2010 17:52:05 -0000	1.5
@@ -1 +1 @@
-3e8c389e5097267410eb5c53241eb230  cppad-20080403.gpl.tgz
+ff39d739635985ee78c7572f6ec9b03c  cppad-20100101.4.gpl.tgz



More information about the scm-commits mailing list