Prepare for version 1.9.0

1. Update ceres-solver.spec with version bump
   and a new package description.
2. Update the docs to refer to 1.9.0
3. Update version history.
4. Change build requirements for Android to be r9d.

Change-Id: Ibab27976b214a11549cb2688b91f791a6388b0b5
diff --git a/docs/source/building.rst b/docs/source/building.rst
index 2e7be2b..fb20c68 100644
--- a/docs/source/building.rst
+++ b/docs/source/building.rst
@@ -9,7 +9,7 @@
 .. _section-source:
 
 You can start with the `latest stable release
-<http://ceres-solver.org/ceres-solver-1.8.0.tar.gz>`_ . Or if you want
+<http://ceres-solver.org/ceres-solver-1.9.0.tar.gz>`_ . Or if you want
 the latest version, you can clone the git repository
 
 .. code-block:: bash
@@ -114,10 +114,10 @@
 
 .. code-block:: bash
 
- tar zxf ceres-solver-1.8.0.tar.gz
+ tar zxf ceres-solver-1.9.0.tar.gz
  mkdir ceres-bin
  cd ceres-bin
- cmake ../ceres-solver-1.8.0
+ cmake ../ceres-solver-1.9.0
  make -j3
  make test
 
@@ -127,7 +127,7 @@
 
 .. code-block:: bash
 
- bin/simple_bundle_adjuster ../ceres-solver-1.8.0/data/problem-16-22106-pre.txt
+ bin/simple_bundle_adjuster ../ceres-solver-1.9.0/data/problem-16-22106-pre.txt
 
 This runs Ceres for a maximum of 10 iterations using the
 ``DENSE_SCHUR`` linear solver. The output should look something like
@@ -233,10 +233,10 @@
 
 .. code-block:: bash
 
-   tar zxf ceres-solver-1.8.0.tar.gz
+   tar zxf ceres-solver-1.9.0.tar.gz
    mkdir ceres-bin
    cd ceres-bin
-   cmake ../ceres-solver-1.8.0
+   cmake ../ceres-solver-1.9.0
    make -j3
    make test
 
@@ -341,8 +341,9 @@
 Building on Android
 ===================
 
-Download the ``Android NDK``. Run ``ndk-build`` from inside the
-``jni`` directory. Use the ``libceres.a`` that gets created.
+Download the ``Android NDK`` version ``r9d`` or later. Run
+``ndk-build`` from inside the ``jni`` directory. Use the
+``libceres.a`` that gets created.
 
 .. _section-ios:
 
diff --git a/docs/source/conf.py b/docs/source/conf.py
index 544e142..478682f 100644
--- a/docs/source/conf.py
+++ b/docs/source/conf.py
@@ -48,9 +48,9 @@
 # built documents.
 #
 # The short X.Y version.
-version = '1.8'
+version = '1.9'
 # The full version, including alpha/beta/rc tags.
-release = '1.8.0'
+release = '1.9.0'
 
 # The language for content autogenerated by Sphinx. Refer to documentation
 # for a list of supported languages.
diff --git a/docs/source/index.rst b/docs/source/index.rst
index 901d51a..3c05b0d 100644
--- a/docs/source/index.rst
+++ b/docs/source/index.rst
@@ -54,7 +54,7 @@
 ---------------
 
 * Download the `latest stable release
-  <http://ceres-solver.org/ceres-solver-1.8.0.tar.gz>`_ or clone the
+  <http://ceres-solver.org/ceres-solver-1.9.0.tar.gz>`_ or clone the
   Git repository for the latest development version.
 
   .. code-block:: bash
diff --git a/docs/source/version_history.rst b/docs/source/version_history.rst
index 953a9d6..b8ff6ff 100644
--- a/docs/source/version_history.rst
+++ b/docs/source/version_history.rst
@@ -4,8 +4,8 @@
 Releases
 ========
 
-HEAD
-====
+1.9.0
+=====
 
 New Features
 ------------
@@ -40,7 +40,8 @@
    DynamicAutoDiffCostFunction. (Joydeep Biswas)
 #. Homography estimation example from Blender demonstrating the use of
    a custom ``IterationCallback``. (Sergey Sharybin)
-
+#. Support user passing a custom CMAKE_MODULE_PATH (for BLAS /
+   LAPACK).
 
 Backward Incompatible API Changes
 ---------------------------------
@@ -90,6 +91,7 @@
 Bug Fixes
 ---------
 
+#. Disabled warning C4251. (Björn Piltz)
 #. Do not propagate 3d party libs through
    `IMPORTED_LINK_INTERFACE_LIBRARIES_[DEBUG/RELEASE]` mechanism when
    building shared libraries. (Björn Piltz)
diff --git a/scripts/ceres-solver.spec b/scripts/ceres-solver.spec
index 5d4a786..1e5c7c0 100644
--- a/scripts/ceres-solver.spec
+++ b/scripts/ceres-solver.spec
@@ -3,13 +3,13 @@
 # Release candidate versions are messy. Give them a release of
 # e.g. "0.1.0%{?dist}" for RC1 (and remember to adjust the Source0
 # URL). Non-RC releases go back to incrementing integers starting at 1.
-Release:        0.1.0%{?dist}
+Release:        0.2.0%{?dist}
 Summary:        A non-linear least squares minimizer
 
 Group:          Development/Libraries
 License:        BSD
 URL:            http://ceres-solver.org/
-Source0:        http://%{name}.org/%{name}-%{version}rc1.tar.gz
+Source0:        http://%{name}.org/%{name}-%{version}.tar.gz
 BuildRoot:      %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
 
 %if (0%{?rhel} == 06)
@@ -35,16 +35,17 @@
 large complicated nonlinear least squares problems. Features include:
 
   - A friendly API: build your objective function one term at a time
-  - Automatic differentiation
+  - Automatic and numeric differentiation
   - Robust loss functions
   - Local parameterizations
   - Threaded Jacobian evaluators and linear solvers
-  - Levenberg-Marquardt and Dogleg (Powell & Subspace) solvers
+  - Trust region solvers with non-monotonic steps (Levenberg-Marquardt and Dogleg (Powell & Subspace))
+  - Line search solvers (L-BFGS and Nonlinear CG)
   - Dense QR and Cholesky factorization (using Eigen) for small problems
   - Sparse Cholesky factorization (using SuiteSparse) for large sparse problems
   - Specialized solvers for bundle adjustment problems in computer vision
   - Iterative linear solvers for general sparse and bundle adjustment problems
-  - Runs on Linux, Windows, Mac OS X and Android. An iOS port is underway
+  - Runs on Linux, Windows, Mac OS X, Android, and iOS
 
 Notable use of Ceres Solver is for the image alignment in Google Maps and for
 vehicle pose in Google Street View.
@@ -110,7 +111,10 @@
 
 
 %changelog
-* Fri May 16 2013 Sameer Agarwal <sameeragarwal@google.com> - 1.9.0-0.1.0
+* Mon May 27 2014 Sameer Agarwal <sameeragarwal@google.com> - 1.9.0-0.2.0
+- Bump version
+
+* Fri May 16 2014 Sameer Agarwal <sameeragarwal@google.com> - 1.9.0-0.1.0
 - Bump version
 
 * Tue Nov 12 2013 Sameer Agarwal <sameeragarwal@google.com> - 1.8.0-0.3.0