Uses Boost-1.48, as the native (Boost-1.41) is buggy.

This commit is contained in:
Denis Arnaud 2015-06-13 22:39:18 +02:00
parent b1a9060850
commit ce03579c63
1 changed files with 6 additions and 4 deletions

View File

@ -14,7 +14,7 @@ Source0: http://downloads.sourceforge.net/%{name}/%{name}-%{version}.tar.
BuildRoot: %(mktemp -ud %{_tmppath}/%{name}-%{version}-%{release}-XXXXXX)
BuildRequires: cmake, python-devel
BuildRequires: boost-devel, soci-mysql-devel, soci-sqlite3-devel
BuildRequires: boost148-devel, soci-mysql-devel, soci-sqlite3-devel
BuildRequires: readline-devel
@ -22,8 +22,8 @@ BuildRequires: readline-devel
%{name} aims at providing a clean API, and the corresponding C++
implementation, for the basis of Airline IT and travel distribution
Business Object Model (BOM), that is, to be used by several other open
source projects, such as AirRAC, RMOL, AirInv, AvlCal, AirSched, SimFQT,
SimLFS, SimCRS, TravelCCM, SEvMgr, TraDemGen, DSim, OpenTREP, etc.
source projects, such as AirRAC, RMOL, AirInv, AvlCal, AirTSP, SimFQT,
SimLFS, SimCRS, TravelCCM, SEvMgr, TraDemGen, TvlSim, etc.
Install the %{name} package if you need a library of basic C++ objects
for Airline IT (e.g., schedule management, inventory, revenue management,
@ -64,7 +64,9 @@ online (http://%{name}.org).
%build
mkdir -p build
pushd build
%cmake ..
%cmake -DBOOST_LIBRARYDIR=%{_libdir}/boost148 \
-DBOOST_INCLUDEDIR=%{_includedir}/boost148 \
-DBoost_ADDITIONAL_VERSIONS="1.48 1.48.0" ..
make %{?_smp_mflags}
popd