|
|
b00469e |
#
|
|
|
b00469e |
Name: simcrs
|
|
|
ee59b39 |
Version: 1.01.9
|
|
|
ee59b39 |
Release: %autorelease
|
|
|
b00469e |
|
|
|
b00469e |
Summary: C++ Simulated Travel-Oriented Distribution System library
|
|
|
b00469e |
|
|
|
ee59b39 |
License: LGPL-2.1-or-later
|
|
|
d165aff |
URL: https://github.com/airsim/%{name}
|
|
|
ee59b39 |
Source0: %{url}/archive/refs/tags/v%{version}.tar.gz#/%{name}-%{version}.tar.gz
|
|
|
b00469e |
|
|
Igor Gnatenko |
70604fc |
BuildRequires: gcc-c++
|
|
|
398b4ea |
BuildRequires: cmake
|
|
|
398b4ea |
BuildRequires: boost-devel
|
|
|
ee59b39 |
BuildRequires: pkgconfig(readline)
|
|
|
ee59b39 |
BuildRequires: pkgconfig(libzmq)
|
|
|
423bc20 |
BuildRequires: cppzmq-devel
|
|
|
398b4ea |
BuildRequires: soci-mysql-devel
|
|
|
398b4ea |
BuildRequires: soci-sqlite3-devel
|
|
|
ee59b39 |
BuildRequires: pkgconfig(stdair)
|
|
|
ee59b39 |
BuildRequires: pkgconfig(airrac)
|
|
|
ee59b39 |
BuildRequires: pkgconfig(rmol)
|
|
|
ee59b39 |
BuildRequires: pkgconfig(sevmgr)
|
|
|
ee59b39 |
BuildRequires: pkgconfig(airtsp)
|
|
|
ee59b39 |
BuildRequires: pkgconfig(simfqt)
|
|
|
ee59b39 |
BuildRequires: pkgconfig(airinv)
|
|
|
b00469e |
|
|
|
b00469e |
%description
|
|
|
9082ced |
%{name} aims at providing a clean API and a simple implementation,
|
|
|
9082ced |
as a C++ library, of a Travel-oriented Distribution System. It
|
|
|
b00469e |
corresponds to the simulated version of the real-world Computerized
|
|
|
b00469e |
Reservation Systems (CRS). That library uses the Standard Airline IT
|
|
|
4a1c8d0 |
C++ object model (https://www.stdair.org).
|
|
|
b00469e |
|
|
|
b00469e |
%{name} makes an extensive use of existing open-source libraries for
|
|
|
b00469e |
increased functionality, speed and accuracy. In particular the
|
|
|
9082ced |
Boost (C++ Standard Extensions: https://www.boost.org) library is used.
|
|
|
b00469e |
|
|
|
b00469e |
Install the %{name} package if you need a library of basic C++ objects
|
|
|
b00469e |
for airline-related booking distribution system, mainly for simulation purpose.
|
|
|
b00469e |
|
|
|
b00469e |
%package devel
|
|
|
b00469e |
Summary: Header files, libraries and development helper tools for %{name}
|
|
|
b00469e |
Requires: %{name}%{?_isa} = %{version}-%{release}
|
|
|
b00469e |
Requires: pkgconfig
|
|
|
b00469e |
|
|
|
b00469e |
%description devel
|
|
|
b00469e |
This package contains the header files, shared libraries and
|
|
|
b00469e |
development helper tools for %{name}. If you would like to develop
|
|
|
b00469e |
programs using %{name}, you will need to install %{name}-devel.
|
|
|
b00469e |
|
|
|
b00469e |
%package doc
|
|
|
b00469e |
Summary: HTML documentation for the %{name} library
|
|
|
b00469e |
BuildArch: noarch
|
|
|
9042209 |
BuildRequires: tex(latex)
|
|
|
9082ced |
BuildRequires: texlive-epstopdf
|
|
|
398b4ea |
BuildRequires: doxygen
|
|
|
398b4ea |
BuildRequires: ghostscript
|
|
|
b00469e |
|
|
|
b00469e |
%description doc
|
|
|
b00469e |
This package contains HTML pages, as well as a PDF reference manual,
|
|
|
b00469e |
for %{name}. All that documentation is generated thanks to Doxygen
|
|
|
9082ced |
(https://doxygen.org). The content is the same as what can be browsed
|
|
|
9082ced |
online (https://%{name}.org).
|
|
|
b00469e |
|
|
|
b00469e |
|
|
|
b00469e |
%prep
|
|
|
ee59b39 |
%autosetup
|
|
|
b00469e |
|
|
|
b00469e |
|
|
|
b00469e |
%build
|
|
|
4a1c8d0 |
%cmake
|
|
|
4a1c8d0 |
%cmake_build
|
|
|
b00469e |
|
|
|
b00469e |
%install
|
|
|
4a1c8d0 |
%cmake_install
|
|
|
b00469e |
|
|
|
4a1c8d0 |
# Remove the Doxygen installer
|
|
|
4a1c8d0 |
rm -f %{buildroot}%{_docdir}/%{name}/html/installdox
|
|
|
b00469e |
|
|
|
ad513d8 |
# Remove additional documentation files (those files are already available
|
|
|
ad513d8 |
# in the project top directory)
|
|
|
4a1c8d0 |
rm -f %{buildroot}%{_docdir}/%{name}/{NEWS,README.md,AUTHORS}
|
|
|
ad513d8 |
|
|
|
b00469e |
%check
|
|
|
e9a1459 |
#ctest
|
|
|
b00469e |
|
|
|
b00469e |
|
|
|
b00469e |
%files
|
|
|
398b4ea |
%doc AUTHORS ChangeLog COPYING NEWS README.md
|
|
|
b00469e |
%{_bindir}/%{name}
|
|
|
b00469e |
%{_libdir}/lib%{name}.so.*
|
|
|
b00469e |
%{_mandir}/man1/%{name}.1.*
|
|
|
b00469e |
|
|
|
b00469e |
%files devel
|
|
|
ee59b39 |
%{_includedir}/%{name}/
|
|
|
b00469e |
%{_bindir}/%{name}-config
|
|
|
b00469e |
%{_libdir}/lib%{name}.so
|
|
|
b00469e |
%{_libdir}/pkgconfig/%{name}.pc
|
|
|
b00469e |
%{_datadir}/aclocal/%{name}.m4
|
|
|
b00469e |
%dir %{_datadir}/%{name}
|
|
|
ee59b39 |
%{_datadir}/%{name}/CMake/
|
|
|
b00469e |
%{_mandir}/man1/%{name}-config.1.*
|
|
|
b00469e |
%{_mandir}/man3/%{name}-library.3.*
|
|
|
b00469e |
|
|
|
b00469e |
%files doc
|
|
|
ee59b39 |
%doc %{_docdir}/%{name}/
|
|
|
4a1c8d0 |
%license COPYING
|
|
|
b00469e |
|
|
|
b00469e |
|
|
|
b00469e |
%changelog
|
|
|
ec4ed50 |
%autochangelog
|
|
|
7992dfd |
|