Brad Bell bb9d874
# ----------------------------------------------------------------------------
Brad Bell 4453011
# Lint
Brad Bell 4453011
# ----------------------------------------------------------------------------
Brad Bell 18cc6cc
# The comamnd 'fedpkg lint' generates the warning:
Brad Bell bb9d874
#
Brad Bell 62ce804
# cppad.spec:89: W: rpm-buildroot-usage
Brad Bell bb9d874
#      %%prep includedir=%%{buildroot}%%{_includedir}
Brad Bell bb9d874
#
Brad Bell 62ce804
# See https://lists.fedoraproject.org/pipermail/devel/2011-January/147969.html
Brad Bell bb9d874
# ----------------------------------------------------------------------------
Brad Bell 4453011
# Preamble
Brad Bell bb9d874
# ----------------------------------------------------------------------------
Brad Bell 58f570f
# CppAD release number starts with zero and last part of version number.
Brad Bell 58f570f
# Fedora Release starts with 1; see
Brad Bell 58f570f
# https://fedoraproject.org/wiki/Packaging:Versioning
dc92a74
Name: cppad
Brad Bell 58f570f
Version: 20180000.0
dc5b085
Release: 2%{?dist}
Brad Bell 0a074d3
Summary: C++ Algorithmic Differentiation (AD), %{name}-devel and %{name}-doc
dc92a74
Brad Bell 25e6f4c
# As of yet, there are no object libraries or executables included in this
Brad Bell 25e6f4c
# package. However, the results of the cmake command depend on the architecture
Brad Bell 58f570f
# so we do not include 'BuildArch: noarch' in this spec file.
Brad Bell 25e6f4c
Brad Bell 25e6f4c
# The user can compile with or without debugging so there is nothing useful in
Brad Bell 25e6f4c
# *debuginfo. If status of cppad_lib changes (and it gets installed), this may
Brad Bell 25e6f4c
# change (see mention of cppad_lib below).
Brad Bell 8784b95
%global debug_package %{nil}
Brad Bell 8784b95
dc92a74
Group: Development/Libraries 
Brad Bell 8784b95
License: GPLv3
dc92a74
URL: http://www.coin-or.org/CppAD/
4348922
Source: http://www.coin-or.org/download/source/CppAD/%{name}-%{version}.gpl.tgz
Igor Gnatenko 7861386
BuildRequires:  gcc
Igor Gnatenko 7861386
BuildRequires:  gcc-c++
Brad Bell bb9d874
BuildRequires: cmake >= 2.8
dc92a74
dc92a74
%description
Brad Bell 0ee1e15
C++ Algorithmic Differentiation (AD), see %{name}-devel, %{name}-doc.
dc92a74
dd9cea5
# ---------------------------------------------------------------------------
dd9cea5
%package devel
Brad Bell 0ee1e15
Summary: The %{name} C++ include files for Algorithmic Differentiation (AD)
dd9cea5
Group: Development/Libraries
6b88b44
Provides: %{name} = %{version}-%{release}
Brad Bell 5a2fbea
# Requested by bug report
Brad Bell 5a2fbea
#     https://bugzilla.redhat.com/show_bug.cgi?id=1197488
Brad Bell 5a2fbea
Provides: coin-or-cppad = %{version}-%{release}
Brad Bell 5a2fbea
Provides: coin-or-cppad-devel = %{version}-%{release}
dd9cea5
dd9cea5
%description devel
6c4c23d
We refer to the step by step conversion from an algorithm that computes 
6c4c23d
function values to an algorithm that computes derivative values as 
6c4c23d
Algorithmic Differentiation (often referred to as Automatic Differentiation.) 
6c4c23d
Given a C++ algorithm that computes function values, %{name} generates an 
6c4c23d
algorithm that computes its derivative values. A brief introduction to 
6c4c23d
Algorithmic Differentiation (AD) can be found at 
Brad Bell 0a074d3
     http://en.wikipedia.org/wiki/Automatic_differentiation
Brad Bell 0ee1e15
See the package %{name}-doc for documentation of this version of %{name}. 
dd9cea5
dc92a74
# ----------------------------------------------------------------------------
dc92a74
%package doc
Brad Bell 8784b95
Summary: Documentation for %{name}-devel
Brad Bell 8784b95
Group: Documentation
Brad Bell 8784b95
BuildArch: noarch
dc92a74
dc92a74
%description doc
Brad Bell 0ee1e15
The %{name}-doc package installs the XML documentation for %{name}-devel in
Brad Bell bb9d874
     %{_docdir}/%{name}
Brad Bell 0ee1e15
Links to an HTML version of the %{name} documentation, for the most recent 
Brad Bell 0ee1e15
version of %{name}, can be found at the web site 
Brad Bell 0a074d3
     http://www.coin-or.org/CppAD/
Brad Bell 0ee1e15
In addition, printable versions of the documentation,
Brad Bell 0ee1e15
as a single web page, in both HTML and XML, can be found at that web site.
dc92a74
Brad Bell 4453011
# -----------------------------------------------------------------------------
Brad Bell 4453011
# prep
Brad Bell 58f570f
# -----------------------------------------------------------------------------
dc92a74
%prep
dc92a74
Brad Bell 7827cd8
%setup -q 
Brad Bell 3555f00
Brad Bell 4453011
# 1. Replace cppad_SOURCE_DIR by the system include directory so that
Brad Bell 8784b95
# installed files, instead of local files, are used for testing.
Brad Bell 4453011
# 2. EPEL7 is using cmake 2.8 so change required version and reply on all
Brad Bell 4453011
# the tests passing for correctness of this change.
Brad Bell bb9d874
#
Brad Bell 8784b95
includedir=%{buildroot}%{_includedir}
Brad Bell bb0f6f5
sed \
Brad Bell bb0f6f5
-e "s|\(INCLUDE_DIRECTORIES(\).*{cppad_SOURCE_DIR}|\1 SYSTEM $includedir|" \
Brad Bell 4453011
-e "s|\(CMAKE_MINIMUM_REQUIRED\)(VERSION 3.1)|\1(VERSION 2.8)|" \
Brad Bell 62ce804
     -i.bak CMakeLists.txt
Brad Bell 7fcb1f5
Brad Bell 4453011
# -----------------------------------------------------------------------------
Brad Bell 4453011
# build
Brad Bell 58f570f
# -----------------------------------------------------------------------------
Brad Bell 58f570f
%build
Brad Bell bb0f6f5
# See https://fedoraproject.org/wiki/Packaging:Cmake?rd=Packaging/cmake
Brad Bell bb9d874
# and http://www.coin-or.org/CppAD/Doc/cmake.htm
Brad Bell bb9d874
#
Brad Bell 62ce804
# Cannot use %%{_includedir}, $${_libdir}, %%{_datadir}, %%{_docdir} 
Brad Bell 62ce804
# because they are absolute paths. Relative values would be more flexible 
Brad Bell 62ce804
# because they can be combined with %%{_prefix} to get absolute values.
Brad Bell 58f570f
cppad_cxx_flags='-Wall -pedantic-errors -std=c++11 -Wshadow -Wconversion'
Brad Bell bb9d874
%cmake --version
Brad Bell bb9d874
%cmake \
Brad Bell bb9d874
    -D CMAKE_VERBOSE_MAKEFILE=0 \
Brad Bell 62ce804
	-G 'Unix Makefiles' \
Brad Bell bb9d874
    \
Brad Bell 18cc6cc
    -D cppad_prefix=%{_prefix} \
Brad Bell 62ce804
	-D cppad_postfix='' \
Brad Bell bb9d874
    -D cmake_install_includedirs=include \
Brad Bell 62ce804
    -D cmake_install_libdirs=lib \
Brad Bell bb9d874
    -D cmake_install_datadir=share \
Brad Bell bb9d874
    -D cmake_install_docdir=share/doc \
Brad Bell bb9d874
    \
Brad Bell 62ce804
	-D adolc_prefix='' \
Brad Bell 62ce804
	-D colpack_prefix='' \
Brad Bell 62ce804
	-D eigen_prefix='' \
Brad Bell 62ce804
	-D fadbad_prefix='' \
Brad Bell 62ce804
	-D ipopt_prefix='' \
Brad Bell 62ce804
	-D sacado_prefix='' \
Brad Bell 62ce804
	\
Brad Bell 58f570f
    -D cppad_cxx_flags="$cppad_cxx_flags" \
Brad Bell 62ce804
	-D cppad_profile_flag='' \
Brad Bell 62ce804
	\
Brad Bell bb9d874
    -D cppad_test_vector=cppad \
Brad Bell bb9d874
    -D cppad_max_num_theads=64 \
Brad Bell bb9d874
    -D cppad_tape_id_type=size_t \
Brad Bell bb9d874
    -D cppad_tape_addr_type=size_t \
Brad Bell 18cc6cc
    -D cppad_deprecated=NO \
Brad Bell 9bce3b4
     .
dc92a74
make %{?_smp_mflags}
dc92a74
Brad Bell 58f570f
# -----------------------------------------------------------------------------
Brad Bell 4453011
# Install
Brad Bell 4453011
# -----------------------------------------------------------------------------
dc92a74
%install
Brad Bell 0a074d3
rm -rf %{buildroot}
Brad Bell 0a074d3
make install DESTDIR=%{buildroot}
dc92a74
dc92a74
dc92a74
%files devel
dc92a74
%defattr(-,root,root,-)
Brad Bell 58f570f
%doc COPYING uw_copy_040507.html
dc92a74
%{_includedir}/%{name}
Brad Bell 0ee1e15
%{_datadir}/pkgconfig/%{name}.pc
dc92a74
dc92a74
%files doc
dc92a74
%defattr(-,root,root,-)
Brad Bell bb9d874
%{_docdir}/%{name}
dc92a74
Brad Bell 4453011
# -----------------------------------------------------------------------------
Brad Bell 4453011
# Check
Brad Bell 4453011
# -----------------------------------------------------------------------------
Brad Bell 4453011
# use the installed include files to compile and run the tests
Brad Bell 4453011
%check
Brad Bell 4453011
make check
Brad Bell 4453011
dc92a74
# ----------------------------------------------------------------------------
dc92a74
%changelog
dc5b085
* Wed Feb 07 2018 Fedora Release Engineering <releng@fedoraproject.org> - 20180000.0-2
dc5b085
- Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild
dc5b085
Brad Bell 4453011
* Tue Jan 02 2018 Brad Bell <bradbell at seanet dot com> - 20180000.0-1
Brad Bell 4453011
- fedpkg lint no longer generates spelling error for use of 'devel'.
Brad Bell 4453011
- Comment out %%clean because only the normal build area is used.
Brad Bell 4453011
- Change minumum cmake version to 2.8 (needed for epel7 branch).
Brad Bell 4453011
- Use comments to better group to sections of the spec file.
Brad Bell 4453011
Brad Bell 58f570f
* Mon Jan 01 2018 Brad Bell <bradbell at seanet dot com> - 20180000.0-1
Brad Bell 58f570f
- Advance to version 2018 of cppad.
Brad Bell 58f570f
Brad Bell ecd535e
* Fri Nov 24 2017 Brad Bell <bradbell at seanet dot com> - 20170000.4-3
Brad Bell ecd535e
- Use sed to add bug fix corresponding to cppad-20170000.8.
Brad Bell ecd535e
de0be60
* Wed Aug 02 2017 Fedora Release Engineering <releng@fedoraproject.org> - 20170000.4-3
de0be60
- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Binutils_Mass_Rebuild
de0be60
b3bd681
* Wed Jul 26 2017 Fedora Release Engineering <releng@fedoraproject.org> - 20170000.4-2
b3bd681
- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild
b3bd681
Brad Bell d445938
* Mon Apr 03 2017 Brad Bell <bradbell at seanet dot com> - 20170000.4-1
Brad Bell d445938
- Advance to 20170000.4 to take advantage of some upstrean bug fixes.
Brad Bell d445938
Brad Bell 25e6f4c
* Tue Mar 07 2017 Brad Bell <bradbell at seanet dot com> - 20170000.3-1
Brad Bell 25e6f4c
- Advance to 20170000.3 to take advantage of some upstrean bug fixes.
Brad Bell 25e6f4c
- The results of cmake comman depend on the architecture, so remove 'noarch'
Brad Bell 25e6f4c
- see https://bugzilla.redhat.com/show_bug.cgi?id=1427391
Brad Bell 25e6f4c
Brad Bell 4ecffef
* Thu Feb 16 2017 Brad Bell <bradbell at seanet dot com> - 20170000.1-3
Brad Bell 4ecffef
- patch source to fix bug in ForSparseHes.
Brad Bell 4ecffef
aa977dc
* Fri Feb 10 2017 Fedora Release Engineering <releng@fedoraproject.org> - 20170000.1-2
aa977dc
- Rebuilt for https://fedoraproject.org/wiki/Fedora_26_Mass_Rebuild
aa977dc
Brad Bell 62ce804
* Fri Jan 20 2017 Brad Bell <bradbell at seanet dot com> - 20170000.1-1
Brad Bell 62ce804
- Advance to version 2017 of cppad.
Brad Bell 62ce804
- New link for discussion of fedpkg lint warning rpm-builroot-usage
Brad Bell 62ce804
- (old link seems to have disappeared).
Brad Bell 62ce804
- Change CMakeLists.txtbak -> CMakeLists.txt.bak.
Brad Bell 62ce804
- Use find to create list of CMakeLists.txt files and check that edit
Brad Bell 62ce804
- of these files goes as expected.
Brad Bell 62ce804
- Include explicit setting of all possible cmake command options
Brad Bell 62ce804
- (empty prefix setting correspond to packages not included).
Brad Bell 62ce804
- cppad_sparse_list=YES removed (YES is now always chosen by upstream source)
Brad Bell 38db2af
- Change some comparisons to properly scale to machine epsilon.
Brad Bell 62ce804
092195a
* Wed Feb 03 2016 Fedora Release Engineering <releng@fedoraproject.org> - 20160000.0-2
092195a
- Rebuilt for https://fedoraproject.org/wiki/Fedora_24_Mass_Rebuild
092195a
Brad Bell 18cc6cc
* Fri Jan 1 2016 Brad Bell <bradbell at seanet do com> - 20160000.0-1
Brad Bell 18cc6cc
- Advance to version 2016 of cppad.
Brad Bell 18cc6cc
- Remove patch for static testing library (fixed upstream).
Brad Bell 18cc6cc
- Remove patch to avoid install of cppad_colpack.cpp (fixed upstream).
Brad Bell 18cc6cc
- Change cmake_install_prefix -> cppad_prefix (changed upstream).
Brad Bell 18cc6cc
- Change c++98 to c++11 so installed version can support both (new capability).
Brad Bell 18cc6cc
- Remove setting cppad_implicit_ctor_from_any type (no longer in upstream).
Brad Bell 18cc6cc
- Add setting cppad_deprecated (new upstream flag).
Brad Bell 18cc6cc
- Change original copy of files from *.stamp to *.bak
Brad Bell 18cc6cc
- Patch CMakeLists.txt files to remove building and use of cppad_lib object.
Brad Bell 18cc6cc
3a1b3d7
* Wed Jun 17 2015 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 20150000.9-3
3a1b3d7
- Rebuilt for https://fedoraproject.org/wiki/Fedora_23_Mass_Rebuild
3a1b3d7
Brad Bell 5a2fbea
* Sat Apr 11 2015 Brad Bell <bradbell at seanet dot com> - 20150000.9-2
Brad Bell 5a2fbea
- Move Provides coin-or-cppad below %%package-devel;
Brad Bell 5a2fbea
- see https://bugzilla.redhat.com/show_bug.cgi?id=1197488
Brad Bell 5a2fbea
Brad Bell ab35867
* Mon Mar 02 2015 Brad Bell <bradbell at seanet dot com> - 20150000.9-1
Brad Bell ab35867
- 1: Advance to newer version of upstream source to fix some bugs.
Brad Bell ab35867
- 2: Remove patch of test_more/optimize.cpp which is no longer necessary.
Brad Bell ab35867
- 3: Add Provides coin-or-cppad.
Brad Bell ab35867
Brad Bell 7fcb1f5
* Mon Feb 09 2015 Brad Bell <bradbell at seanet dot com> - 20150000.4-3
Brad Bell 7fcb1f5
- 1: Change std=c++11 to std=c++98 so works with rel6 (also so works
Brad Bell bb9d874
- in f20 and f21 when std=c++11 is not specified).
Brad Bell 7fcb1f5
- 2: Change speed/src/libspeed_src to be a static library because it is only
Brad Bell bb9d874
- used for testing (shared library was not being found on epl6).
Brad Bell 7fcb1f5
- 3: Cleanup %%{buildroot} at start so it can be used for debugging on failure.
Brad Bell 7fcb1f5
- 4: Fix an exact equal check that should have been a near equal check.
Brad Bell bb0f6f5
Brad Bell bb9d874
* Sun Feb 01 2015 Brad Bell <bradbell at seanet dot com> - 20150000.4-2
Brad Bell bb9d874
- Fix rmplint warning about macro-in-comment.
Brad Bell bb9d874
- Edit comments at top of about warnings that won't be fixed.
Brad Bell bb9d874
Brad Bell bb9d874
* Sat Jan 31 2015 Brad Bell <bradbell at seanet dot com> - 20150000.4-1
Brad Bell bb9d874
- Advance to version 2015 of cppad.
Brad Bell bb9d874
- Ensure cmake >= 2.8; see https://bugzilla.redhat.com/show_bug.cgi?id=896116
Brad Bell bb9d874
- Remove patch for location of docdir (fixed upstream).
Brad Bell bb9d874
- Patch CMakeLists.txt to remove install of cppad_colpack.cpp (it is not used).
Brad Bell bb9d874
- List all cmake options (including defaults) that are used by this install.
Brad Bell d1aec32
Brad Bell bb9d874
* Sat Aug 16 2014 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 20140000.2-3
Brad Bell bb9d874
- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_22_Mass_Rebuild
Brad Bell bb9d874
Brad Bell bb9d874
* Sat Jun 07 2014 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 20140000.2-2
Brad Bell bb9d874
- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_Mass_Rebuild
Brad Bell bb9d874
Brad Bell bb9d874
Brad Bell bb9d874
* Tue Jan 21 2014 Brad Bell <bradbell at seanet dot com> - 20140000.2-1
Brad Bell bb9d874
- Advance to version 2014 of cppad.
Brad Bell bb9d874
- Add link to web discussion about rpm-buildroot-usage warning.
Brad Bell bb9d874
- Fix rpmlint warning about mixing tabs and spaces in spec file.
Brad Bell bb9d874
Brad Bell bb9d874
* Mon Oct 07 2013 Brad Bell <bradbell at seanet doc com> - 20130000.3-1
Brad Bell bb9d874
- 1. Use new upstream source to fix warnings generated by g++ 4.8.1.
Brad Bell bb9d874
- 2. As per https://fedoraproject.org/wiki/Changes/UnversionedDocdirs 
Brad Bell bb9d874
- move xml documentation from /usr/share/doc/%%{name}-%%{version} to
Brad Bell bb9d874
- /usr/share/doc/%%{name}
Brad Bell bb9d874
Brad Bell bb9d874
* Sat Aug 03 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 20130000.2-2
Brad Bell bb9d874
- Rebuilt for https://fedoraproject.org/wiki/Fedora_20_Mass_Rebuild
Brad Bell bb9d874
Brad Bell bb9d874
* Thu Feb 28 2013 Brad Bell <bradbell at seanet doc com> - 20130000.2-1
Brad Bell bb9d874
- Fix bug https://bugzilla.redhat.com/show_bug.cgi?id=913929
Brad Bell bb9d874
- in the upstream soruce and use the corresponding upstream release.
Brad Bell bb9d874
- Note, the previous commit, 20130000.1-3,  could have been avoided using
Brad Bell bb9d874
- https://fedoraproject.org/wiki/Using_the_Koji_build_system#Scratch_Builds
Brad Bell bb9d874
Brad Bell bb9d874
* Wed Feb 13 2013 Brad Bell <bradbell at seanet doc com> - 20130000.1-3
Brad Bell bb9d874
- Attempt to reproduce failure reported in bug id=913929
Brad Bell bb9d874
- (The build logs were deleted because I did not get to this soon enough)
Brad Bell bb9d874
Brad Bell bb9d874
* Wed Feb 13 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 20130000.1-2
Brad Bell bb9d874
- Rebuilt for https://fedoraproject.org/wiki/Fedora_19_Mass_Rebuild
Brad Bell 03c5ce3
Brad Bell 8784b95
* Tue Jan 08 2013 Brad Bell <bradbell at seanet dot com> - 20130000.1-1
Brad Bell 8784b95
- Use a new upstream source.
Brad Bell 8784b95
- Remove the patches that were fixed in the upstream source. 
Brad Bell 8784b95
- Convert tabs to spaces (avoid rpmlint warning).
Brad Bell 8784b95
- Fix rpmlint warning for cppad-doc group warning.
Brad Bell 8784b95
- Add comment for rpmlint warning about using buildroot.
Brad Bell 8784b95
Brad Bell 8784b95
* Sat Jan 05 2013 Brad Bell <bradbell at seanet dot com> - 20130000.0-3
Brad Bell 8784b95
- The patch.sed script in this file is for a final test of a solution on the 
Brad Bell 8784b95
- remote machine. Expect to modify upstream source so it is not necessary.
Brad Bell 8784b95
Brad Bell 8784b95
* Fri Jan 04 2013 Brad Bell <bradbell at seanet dot com> - 20130000.0-2
Brad Bell 8784b95
- Debugging build to try to understand failure of test_more/epsilon.cpp
Brad Bell 8784b95
- on a remote machine that I do not have access to.
Brad Bell 8784b95
Brad Bell 8784b95
* Fri Jan 04 2013 Brad Bell <bradbell at seanet dot com> - 20130000.0-1
Brad Bell 8784b95
- Advance to version 2013 of cppad.
Brad Bell 8784b95
- Remove old patches that are no longer necessary.
Brad Bell 8784b95
- Convert from auto-tools to cmake build system.
Brad Bell 8784b95
- Add new patches (using sed in setup section) that are now necessary.
Brad Bell 8784b95
- Fix some bogus dates in change log by changing day of the week.
Brad Bell 8784b95
- Getting folloing incorrect warning from g++ during rpmbuild:
Brad Bell 8784b95
- .../cppad/thread_alloc.hpp:203:44: ... subsrcipt is above array bounds ... 
Brad Bell 8784b95
Brad Bell 8784b95
* Sun Oct 21 2012 Ralf Cors├ępius <corsepiu@fedoraproject.org> - 20120101.1-3
Brad Bell 8784b95
- Switch to arch'ed BuildArch.
Brad Bell 8784b95
Brad Bell 8784b95
* Wed Jul 18 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 20120101.1-2
Brad Bell 8784b95
- Rebuilt for https://fedoraproject.org/wiki/Fedora_18_Mass_Rebuild
Brad Bell 8784b95
Brad Bell 3555f00
* Wed Jan 18 2012 Brad Bell <bradbell at seanet dot com> - 20120101.1-1 
Brad Bell 3555f00
- Advance to version 2012 of cppad.
Brad Bell 3555f00
- Remove old patches that are no longer necessary.
Brad Bell 3555f00
- Add new patches (using sed in setup section) that are now necessary.
Brad Bell 3555f00
- Change comments about rpmlint output (using more recent version).
7adf3db
Brad Bell 1295bc7
* Mon Oct 17 2011 Brad Bell <bradbell at seanet dot com> - 20110101.5-1
Brad Bell 1295bc7
- Advance to next 2011 release to fix warnings generated by g++ 4.6.1.
Brad Bell 1295bc7
- Fix comment as to when certain sed patching will no longer be necessary.
Brad Bell 1295bc7
- Make sed patching of permissions in doc destination directory more specific.
Brad Bell 1295bc7
dc53af0
* Tue Feb 08 2011 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 20110101.2-4
dc53af0
- Rebuilt for https://fedoraproject.org/wiki/Fedora_15_Mass_Rebuild
dc53af0
Brad Bell 8784b95
* Wed Jan 19 2011 Brad Bell <bradbell at seanet dot com> - 20110101.2-3
Brad Bell 0a074d3
- Remove duplicate test results from build.log
Brad Bell 0a074d3
- Improve comments before patching top level makefile.in.
Brad Bell 0a074d3
- Fix rpmlint warnings about %%{_docdir}, %%{name}, and %%{version} in comments.
Brad Bell 0a074d3
- Fix rpmlint warning by changing tabs to spaces.
Brad Bell 0a074d3
- Fix rpmlint wrning by removing dot at end of Summary.
Brad Bell 0a074d3
- Change RPM_BUILD_ROOT to _builddir.
Brad Bell 0a074d3
- Improve comments (at top) about know rpmlint warnings.
Brad Bell 0a074d3
Brad Bell 0ee1e15
* Tue Jan 18 2011 Brad Bell <bradbell at seanet dot com> - 20110101.2-2
Brad Bell 0ee1e15
- Fix rpmlint error, libdir-macro-in-noarch-package by moving the pkg-config 
Brad Bell 0ee1e15
- file cppad.pc from %%_libdir to %%_datadir.
Brad Bell 0ee1e15
- Improve the %%Summary and %%description entries.
Brad Bell 0ee1e15
- Fix some rpmlint spelling warnings including xml -> XML, html -> HTML. 
Brad Bell 0ee1e15
- Document (at top of spec file) reason for other warnings that are not fixed.
Brad Bell 0ee1e15
Brad Bell 7827cd8
* Mon Jan 17 2011 Brad Bell <bradbell at seanet dot com> - 20110101.2-1 
Brad Bell 7827cd8
- The fedora source 20110101.0 has the worng check sum, get new upstream source.
Brad Bell 7827cd8
- Remove sed patches for problems that were fixed in upstream source.
Brad Bell 7827cd8
- Change makefile.in so tests include from install (not distribute) directory
Brad Bell 7827cd8
- (see comments above `find . -name 'makefile.in` above).
Brad Bell 7827cd8
Brad Bell 8784b95
* Sun Jan 09 2011 Brad Bell <bradbell at seanet dot com> - 20110101.0-2
Brad Bell 5c3d5b3
- Remove include/cppad_ipopt_nlp.hpp from distribution.
Brad Bell 5c3d5b3
- Remove lib/libspeed.a from distribution.
Brad Bell 5c3d5b3
- Add lib/pkgconfig/cppad.pc to files section (because it is installed).
Brad Bell 5c3d5b3
- Use a single sed script file with comments to do all the makefile.in edits.
Brad Bell 5c3d5b3
- Remove edits of makefile.am (not used so not reason to patch it).
Brad Bell 5c3d5b3
Brad Bell a2e0e65
* Sat Jan 08 2011 Brad Bell <bradbell at seanet dot com> - 20110101.0-1
Brad Bell a2e0e65
- Use new major version for 2011.
Brad Bell a2e0e65
- abs_top_builddir is missing from definitions in makefile.in 
Brad Bell a2e0e65
- (should be fixed in future versions of cppad).
Brad Bell a2e0e65
- The single command "make test" now builds and runs all the tests.
Brad Bell a2e0e65
43c5994
* Thu Jul 08 2010 Brad Bell <bradbell at seanet dot com> - 20100101.4-1
43c5994
- Use new upstream source which has bug fix at revision
43c5994
- https://projects.coin-or.org/CppAD/changeset/1698
43c5994
388468f
* Wed Mar 31 2010 Brad Bell <bradbell at seanet dot com> - 20100101.2-1
388468f
- Use new upstream source with bug fixes at revision
388468f
- https://projects.coin-or.org/CppAD/changeset/1664
388468f
- and remove patch from Wed Feb 10 2010. 
388468f
c1d9ba9
* Wed Feb 10 2010 Brad Bell <bradbell at seanet dot com> - 20100101.0-2
c1d9ba9
- Patch sources for bug fix between 20100101.0 and 20100101.1.
c1d9ba9
- This should no longer be necessary once a new upstream source is loaded.
c1d9ba9
Brad Bell 8784b95
* Fri Jan 01 2010 Brad Bell <bradbell at seanet dot com> - 20100101.0-1
a4c1885
- Use new upstream source.
a4c1885
- Remove out of date comment about where this spec file is maintained.
a4c1885
- Remove patches that are no longer necessary in prep section.
a4c1885
- Change calling sequence for correctness of speed tests (we do not run speed
a4c1885
- tests, that requires a computer with no other processes running).
a4c1885
c1f3220
* Fri Jul 24 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 20090303.0-5
c1f3220
- Rebuilt for https://fedoraproject.org/wiki/Fedora_12_Mass_Rebuild
c1f3220
fcdaa09
* Sat Jun 20 2009 Brad Bell <bradbell at seanet dot com> 20090303-4
fcdaa09
- Patch cppad/local/fun_construct.hpp to give a more useful error message
fcdaa09
- (so we can figure out why the Fedora 11 build is failing).
fcdaa09
Brad Bell 8784b95
* Sat Jun 06 2009 Brad Bell <bradbell at seanet dot com> 20090303-3
156b504
- Patch file test_more/jacobian.cpp (required for versions below 20090606).
156b504
- Patch file cppad/local/default.hpp (required for versions below 20090606).
156b504
- Fix version (change 20080303 to 20090303) in previous two log entries.
156b504
156b504
* Mon Mar 30 2009 Brad Bell <bradbell at seanet dot com> 20090303-2
6c4c23d
- Change tabs to spaces in spec file to avoid an rpmlint warning.
6c4c23d
- The base package in previous release had no files, hence did not exist.
6c4c23d
- Use Provides: in cppad-devel to indicate that it provides cppad.
6c4c23d
156b504
* Sun Mar 29 2009 Brad Bell <bradbell at seanet dot com> 20090303-1
dd9cea5
- Change to newer version of cppad.
dd9cea5
- Create a base package that requres both devel and doc sub-packages
dd9cea5
36d20a1
* Tue Feb 24 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 20080826.0-2
36d20a1
- Rebuilt for https://fedoraproject.org/wiki/Fedora_11_Mass_Rebuild
36d20a1
Brad Bell 8784b95
* Wed Oct 08 2008 Brad Bell <bradbell at seanet dot com> 20080826-1
4348922
- Change to newer version of cppad.
4348922
- Change download directory to standard coin-or location.
4348922
- Remove editing of speed/main.cpp (no longer necessary).
1a25585
- Add retape argument to check programs in speed directory.
4348922
8c03175
* Fri Apr 04 2008 Brad Bell <bradbell at seanet dot com> 20080403-3
8c03175
- Patch speed/main.cpp work with newer version of gcc
8c03175
- (speed/main.cpp had not been tested with new version of gcc.)
8c03175
92e5a3d
* Thu Apr 03 2008 Brad Bell <bradbell at seanet dot com> 20080403-2
92e5a3d
- Upload new source with the command
92e5a3d
- make new-sources FILES="cppad-20080403.gpl.tgz"
92e5a3d
5c5c907
* Thu Apr 03 2008 Brad Bell <bradbell at seanet dot com> 20080403-1
5c5c907
- New upstream version
5c5c907
ddb2b17
* Sat Jan 12 2008  Brad Bell <bradbell at seanet dot com> 20071229-6
ddb2b17
- Remove speed estimation correctness test because we are not in control of 
ddb2b17
- which other jobs are on the machine that is doing the rpmbuild.
ddb2b17
ddb2b17
* Fri Jan 11 2008  Brad Bell <bradbell at seanet dot com> 20071229-5
ddb2b17
- Remove introduction/exp_apx/exp_apx from the set of tests 
ddb2b17
- (which should have been done in 20071229-4). 
ddb2b17
- From now on test building rpm locally before making tags.
ddb2b17
ddb2b17
* Thu Jan 10 2008  Brad Bell <bradbell at seanet dot com> 20071229-4
ddb2b17
- Add code to print out DBL_EPSILON at the beginning of the example tests.
ddb2b17
- Remove --with-Introduction (it only checks by hand calculations that are in 
ddb2b17
- AD Introduction section of the documentation). 
ddb2b17
- Remove extra --with-Documentation
ddb2b17
f4fa512
* Wed Jan 09 2008  Brad Bell <bradbell at seanet dot com> 20071229-3
ddb2b17
- I mistakenly tried to make tag 20071229-2 in devel before committing local 
ddb2b17
- changes. It appears tag was partially created, but not sure it is correct.
ddb2b17
- So I am bumping the version number. 
f4fa512
db91459
* Wed Jan 09 2008  Brad Bell <bradbell at seanet dot com> 20071229-2
ddb2b17
- Cygwin's version of md5sum puts a <space><star> between the check sum
ddb2b17
- and the file name. Fedora build tools expect two spaces, so the star has
ddb2b17
- was changed to a space in the devel, F-7, and F-8 sources file.
db91459
dc92a74
* Sat Dec 29 2007  Brad Bell <bradbell at seanet dot com> 20071229-1
dc92a74
- Fix gpl_license.sh in upstream source (missed some special cases).
dc92a74
dc92a74
* Thu Dec 27 2007 Brad Bell <bradbell at seanet dot com> 20071225-2
dc92a74
- Fix spelling errors in this file and day of the week errors in %%changelog.
dc92a74
- Add ChangeLog, AUTHORS, uw_copy_040507.html to devel %%doc files.
dc92a74
 
dc92a74
* Tue Dec 25 2007 Brad Bell <bradbell at seanet dot com> 20071225-1
dc92a74
- %%Source points to newly created directory for archived versions cppad
dc92a74
- modify makefile.in so does not set permissions for documentation files
dc92a74
dc92a74
* Fri Dec 21 2007 Brad Bell <bradbell at seanet dot com> 20071221-1
dc92a74
- Added introduction/exp_apx/exp_apx to the list of correctness tests.
dc92a74
- Use %% to avoid macro expansion in %%changelog.
dc92a74
- Remove tabs from this spec file.
dc92a74
- Remove period from end of base package summary.
dc92a74
- Change upstream makefile.am so that it copies directories instead of files.
dc92a74
dc92a74
* Thu Dec 20 2007 Brad Bell <bradbell at seanet dot com> 20071208-2
dc92a74
- Increment release number each time a new spec file is uploaded.
dc92a74
- Use the commands %%configure, %%check.
dc92a74
- Remove the %%doc command.
dc92a74
- Use more macros, including %%{?_smp_mflags}, %%{_includedir}, %%{_docdir}.
dc92a74
dc92a74
* Thu Dec 20 2007 Brad Bell <bradbell at seanet dot com> 20071208-1
dc92a74
- Remove comments, except for those that are useful to a fedora reviewer. 
dc92a74
- Use different Summary and description for each sub-package.
dc92a74
- Use %%{?dist} in Release entry.
dc92a74
- Use %%(%%{__id_u} -n) in BuildRoot entry. 
dc92a74
- Use noarch in BuildArch entry.
Brad Bell 0a074d3
- Move -rf RPM_BUILD_ROOT from prep entry to install entry.
dc92a74
- Use macros where possible.
dc92a74
dc92a74
* Sat Dec 08 2007 Brad Bell <bradbell at seanet dot com> 20071208-1
dc92a74
- Fix all but one rpmlint warning (see Notes at beginning of this file).
dc92a74
dc92a74
* Mon Dec 03 2007 Brad Bell <bradbell at seanet dot com> 20071203-1
dc92a74
- first version of cppad that included RPM spec file.