SHA256
1
0
forked from pool/ceres-solver

Accepting request 662266 from home:jengelh:branches:science

- Rename %soname to %sover to better reflect its use.
- Trim filler wording from description.

OBS-URL: https://build.opensuse.org/request/show/662266
OBS-URL: https://build.opensuse.org/package/show/science/ceres-solver?expand=0&rev=4
This commit is contained in:
Stanislav Brabec 2019-01-08 16:39:18 +00:00 committed by Git OBS Bridge
parent 96edd29a0d
commit a477dbb4e9
2 changed files with 27 additions and 25 deletions

View File

@ -1,3 +1,9 @@
-------------------------------------------------------------------
Tue Jan 1 10:17:10 UTC 2019 - Jan Engelhardt <jengelh@inai.de>
- Rename %soname to %sover to better reflect its use.
- Trim filler wording from description.
-------------------------------------------------------------------
Fri Jun 29 22:10:34 UTC 2018 - herbert@graeber-clan.de
@ -26,4 +32,3 @@ Fri Jun 29 22:10:34 UTC 2018 - herbert@graeber-clan.de
Sat Mar 25 17:35:10 UTC 2017 - herbert@graeber-clan.de
- Initial package (Eigen-only)

View File

@ -15,15 +15,15 @@
# Please submit bugfixes or comments via http://bugs.opensuse.org/
#
%define soname 1
%define sover 1
Name: ceres-solver
Version: 1.14.0
Release: 0
License: BSD-3-Clause
Summary: C++ library for modeling and solving optimization problems
Url: http://ceres-solver.org/
Group: System/Libraries
URL: http://ceres-solver.org/
Group: Development/Libraries/C and C++
Source: http://ceres-solver.org/%{name}-%{version}.tar.gz
BuildRequires: cmake >= 2.8.0
BuildRequires: gcc-c++
@ -34,41 +34,39 @@ BuildRequires: libcxsparse3
BuildRoot: %{_tmppath}/%{name}-%{version}-build
%description
Ceres Solver is an open source C++ library for modeling and solving large,
Ceres Solver is a C++ library for modeling and solving large,
complicated optimization problems. It can be used to solve Non-linear Least
Squares problems with bounds constraints and general unconstrained optimization
problems. It is a mature, feature rich, and performant library that has been
used in production at Google since 2010.
problems.
This package is build with Eigen only.
This package is built with Eigen only.
%package -n libceres-devel
Summary: Ceres Solver header files
Group: Development/Libraries/C and C++
Requires: libceres%{soname} = %{version}
Requires: libceres%{sover} = %{version}
%description -n libceres-devel
Ceres Solver is an open source C++ library for modeling and solving large,
Ceres Solver is a C++ library for modeling and solving large,
complicated optimization problems. It can be used to solve Non-linear Least
Squares problems with bounds constraints and general unconstrained optimization
problems. It is a mature, feature rich, and performant library that has been
used in production at Google since 2010.
problems.
This package is build with Eigen only.
This package is built with Eigen only.
%package -n libceres%{soname}
%package -n libceres%{sover}
Summary: Ceres Solver shared library
Group: System/Libraries
License: LGPL-2.1
%description -n libceres%{soname}
Ceres Solver is an open source C++ library for modeling and solving large,
%description -n libceres%{sover}
Ceres Solver is a C++ library for modeling and solving large,
complicated optimization problems. It can be used to solve Non-linear Least
Squares problems with bounds constraints and general unconstrained optimization
problems. It is a mature, feature rich, and performant library that has been
used in production at Google since 2010.
problems.
This package is build with Eigen only.
This package is built with Eigen only.
%prep
@ -81,9 +79,9 @@ make
%install
%cmake_install
%post -n libceres%{soname} -p /sbin/ldconfig
%post -n libceres%{sover} -p /sbin/ldconfig
%postun -n libceres%{soname} -p /sbin/ldconfig
%postun -n libceres%{sover} -p /sbin/ldconfig
%files -n libceres-devel
%defattr(-,root,root)
@ -91,7 +89,6 @@ make
%{_libdir}/cmake/Ceres/
%{_libdir}/libceres.so
%files -n libceres%{soname}
%files -n libceres%{sover}
%defattr(-,root,root)
%{_libdir}/libceres.so.*