1998276
# Force out of source build
1998276
%undefine __cmake_in_source_build
1998276
066e71a
#
066e71a
Name:           airrac
0e821fd
Version:        1.00.4
f9ad429
Release:        5%{?dist}
066e71a
066e71a
Summary:        C++ Simulated Revenue Accounting (RAC) System Library
066e71a
066e71a
License:        LGPLv2+
0db5b3e
URL:            https://github.com/airsim/%{name}
09d6726
Source0:        %{url}/archive/%{name}-%{version}.tar.gz
066e71a
Igor Gnatenko c868975
BuildRequires:  gcc-c++
09d6726
BuildRequires:  cmake
09d6726
BuildRequires:  boost-devel
09d6726
BuildRequires:  soci-mysql-devel
09d6726
BuildRequires:  soci-sqlite3-devel
ae3e4ee
BuildRequires:  readline-devel
066e71a
BuildRequires:  stdair-devel
066e71a
066e71a
066e71a
%description
066e71a
%{name} is a C++ library of airline revenue accounting classes and
066e71a
functions, mainly targeting simulation purposes.
066e71a
066e71a
%{name} makes an extensive use of existing open-source libraries for
066e71a
increased functionality, speed and accuracy. In particular the
748d02e
Boost (C++ Standard Extensions: https://www.boost.org) library is used.
066e71a
066e71a
Install the %{name} package if you need a library of basic C++ objects
066e71a
for Airline Revenue Accounting, mainly for simulation purpose.
066e71a
066e71a
%package        devel
7fd7d9d
Summary:        Header files, libraries and development helper tools for %{name}
066e71a
Requires:       %{name}%{?_isa} = %{version}-%{release}
066e71a
Requires:       pkgconfig
066e71a
066e71a
%description    devel
7fd7d9d
This package contains the header files, shared libraries and
7fd7d9d
development helper tools for %{name}. If you would like to develop
066e71a
programs using %{name}, you will need to install %{name}-devel.
066e71a
7fd7d9d
%package        doc
066e71a
Summary:        HTML documentation for the %{name} library
62ef3a1
BuildArch:      noarch
066e71a
BuildRequires:  tex(latex)
142f854
BuildRequires:  texlive-epstopdf
09d6726
BuildRequires:  doxygen
09d6726
BuildRequires:  ghostscript
066e71a
7fd7d9d
%description    doc
7fd7d9d
This package contains HTML pages, as well as a PDF reference manual,
7fd7d9d
for %{name}. All that documentation is generated thanks to Doxygen
7fd7d9d
(http://doxygen.org). The content is the same as what can be browsed
7fd7d9d
online (http://%{name}.org).
066e71a
066e71a
066e71a
%prep
1998276
%autosetup -n %{name}-%{name}-%{version}
066e71a
066e71a
066e71a
%build
1998276
%cmake
1998276
%cmake_build
066e71a
066e71a
%install
1998276
%cmake_install
066e71a
748d02e
# Remove the Doxygen installer
748d02e
rm -f %{buildroot}%{_docdir}/%{name}/html/installdox
066e71a
8aa9b28
# Remove additional documentation files (those files are already available
8aa9b28
# in the project top directory)
09d6726
rm -f $RPM_BUILD_ROOT%{_docdir}/%{name}/{NEWS,README.md,AUTHORS}
8aa9b28
066e71a
%check
1998276
%ctest
066e71a
066e71a
066e71a
%files
9aa5629
%doc AUTHORS ChangeLog NEWS README.md
9aa5629
%license COPYING
066e71a
%{_bindir}/%{name}
7fd7d9d
%{_libdir}/lib%{name}.so.*
066e71a
%{_mandir}/man1/%{name}.1.*
066e71a
066e71a
%files devel
066e71a
%{_includedir}/%{name}
066e71a
%{_bindir}/%{name}-config
066e71a
%{_libdir}/lib%{name}.so
066e71a
%{_libdir}/pkgconfig/%{name}.pc
066e71a
%{_datadir}/aclocal/%{name}.m4
066e71a
%dir %{_datadir}/%{name}
066e71a
%{_datadir}/%{name}/CMake
066e71a
%{_mandir}/man1/%{name}-config.1.*
066e71a
%{_mandir}/man3/%{name}-library.3.*
066e71a
066e71a
%files doc
748d02e
%doc %{_docdir}/%{name}/html
9aa5629
%license COPYING
066e71a
066e71a
066e71a
%changelog
f9ad429
* Fri Jul 31 2020 Fedora Release Engineering <releng@fedoraproject.org> - 1.00.4-5
f9ad429
- Second attempt - Rebuilt for
f9ad429
  https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild
f9ad429
6c7fb0d
* Mon Jul 27 2020 Fedora Release Engineering <releng@fedoraproject.org> - 1.00.4-4
6c7fb0d
- Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild
6c7fb0d
be08d4f
* Sat Jun 06 2020 Denis Arnaud <denis.arnaud_fedora@m4x.org> - 1.00.4-3
be08d4f
- Rebuilt for SOCI 4.0.1.alpha2
be08d4f
0db5b3e
* Wed Jun 03 2020 Denis Arnaud <denis.arnaud_fedora@m4x.org> - 1.00.4-2
0db5b3e
- Rebuilt for Boost 1.73
0db5b3e
0db5b3e
* Sun May 31 2020 Denis Arnaud <denis.arnaud_fedora@m4x.org> - 1.00.4-1
0e821fd
- Upstream update
0e821fd
ae59fa9
* Tue May 26 2020 Miro Hrončok <mhroncok@redhat.com> - 1.00.3-7
ae59fa9
- Rebuilt for Python 3.9
ae59fa9
1fefc5f
* Tue Jan 28 2020 Fedora Release Engineering <releng@fedoraproject.org> - 1.00.3-6
1fefc5f
- Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild
1fefc5f
615e461
* Tue Nov 05 2019 Denis Arnaud <denis.arnaud_fedora@m4x.org> - 1.00.3-5
615e461
- Rebuild for SOCI 4.0.0-rc2
615e461
21e8d0a
* Mon Nov 04 2019 Denis Arnaud <denis.arnaud_fedora@m4x.org> - 1.00.3-4
21e8d0a
- Rebuild for SOCI 4.0.0-rc1
21e8d0a
1964fcd
* Mon Aug 19 2019 Miro Hrončok <mhroncok@redhat.com> - 1.00.3-3
1964fcd
- Rebuilt for Python 3.8
1964fcd
423e62a
* Wed Jul 24 2019 Fedora Release Engineering <releng@fedoraproject.org> - 1.00.3-2
423e62a
- Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild
423e62a
835ae21
* Thu Jul 11 2019 Denis Arnaud <denis.arnaud_fedora@m4x.org> - 1.00.3-1
835ae21
- CMake support files updated for Python 3.8
835ae21
c47a355
* Thu Jan 31 2019 Fedora Release Engineering <releng@fedoraproject.org> - 1.00.2-4
c47a355
- Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild
c47a355
ab1ac88
* Thu Jan 24 2019 Jonathan Wakely <jwakely@redhat.com> - 1.00.2-3
ab1ac88
- Rebuilt for Boost 1.69
ab1ac88
09d6726
* Thu Jan 17 2019 Denis Arnaud <denis.arnaud_fedora@m4x.org> - 1.00.2-2
09d6726
- Fixed a typo in Python library directory
09d6726
82842f0
* Tue Jan 15 2019 Denis Arnaud <denis.arnaud_fedora@m4x.org> - 1.00.2-1
82842f0
- Upstream update
82842f0
b906161
* Thu Jul 12 2018 Fedora Release Engineering <releng@fedoraproject.org> - 1.00.1-17
b906161
- Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild
b906161
49c63c8
* Thu May 10 2018 Jonathan Wakely <jwakely@redhat.com> - 1.00.1-16
49c63c8
- Add BuildRequires: boost-python2-devel to fix build with boost-1.66.0-7.fc29
49c63c8
7dd4223
* Wed Feb 07 2018 Fedora Release Engineering <releng@fedoraproject.org> - 1.00.1-15
7dd4223
- Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild
7dd4223
dceb8cc
* Mon Jan 22 2018 Jonathan Wakely <jwakely@redhat.com> - 1.00.1-14
dceb8cc
- Rebuilt for Boost 1.66
dceb8cc
df3b46a
* Wed Aug 02 2017 Fedora Release Engineering <releng@fedoraproject.org> - 1.00.1-13
df3b46a
- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Binutils_Mass_Rebuild
df3b46a
e3c7ae9
* Wed Jul 26 2017 Fedora Release Engineering <releng@fedoraproject.org> - 1.00.1-12
e3c7ae9
- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild
e3c7ae9
ee53b2e
* Sun Jul 23 2017 Björn Esser <besser82@fedoraproject.org> - 1.00.1-11
ee53b2e
- Rebuilt for Boost 1.64
ee53b2e
4315678
* Fri Feb 10 2017 Fedora Release Engineering <releng@fedoraproject.org> - 1.00.1-10
4315678
- Rebuilt for https://fedoraproject.org/wiki/Fedora_26_Mass_Rebuild
4315678
Igor Gnatenko aa3a5a4
* Thu Jan 12 2017 Igor Gnatenko <ignatenko@redhat.com> - 1.00.1-9
Igor Gnatenko aa3a5a4
- Rebuild for readline 7.x
Igor Gnatenko aa3a5a4
73bf1f6
* Wed Feb 03 2016 Fedora Release Engineering <releng@fedoraproject.org> - 1.00.1-8
73bf1f6
- Rebuilt for https://fedoraproject.org/wiki/Fedora_24_Mass_Rebuild
73bf1f6
b893d1d
* Mon Jan 18 2016 Jonathan Wakely <jwakely@redhat.com> - 1.00.1-7
b893d1d
- Rebuilt for Boost 1.60
b893d1d
c818fb2
* Sun Aug 30 2015 Jonathan Wakely <jwakely@redhat.com> 1.00.1-6
c818fb2
- Patched and rebuilt for Boost 1.59
c818fb2
f33995c
* Sat Aug 29 2015 Denis Arnaud <denis.arnaud_fedora@m4x.org> - 1.00.1-5 
f33995c
- Mass rebuild
f33995c
3b609c5
* Wed Jul 29 2015 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.00.1-4
3b609c5
- Rebuilt for https://fedoraproject.org/wiki/Changes/F23Boost159
3b609c5
7eb6f55
* Wed Jul 22 2015 David Tardon <dtardon@redhat.com> - 1.00.1-3
7eb6f55
- rebuild for Boost 1.58
7eb6f55
d6233b1
* Tue Jun 16 2015 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.00.1-2
d6233b1
- Rebuilt for https://fedoraproject.org/wiki/Fedora_23_Mass_Rebuild
d6233b1
ae3e4ee
* Sun Jun 07 2015 Denis Arnaud <denis.arnaud_fedora@m4x.org> - 1.00.1-1
ae3e4ee
- Removed the dependency on ZeroMQ (only AirInv is dependent on it, not StdAir)
ae3e4ee
4505eb8
* Sat May 02 2015 Kalev Lember <kalevlember@gmail.com> - 1.00.0-12
4505eb8
- Rebuilt for GCC 5 C++11 ABI change
4505eb8
Petr Machata 0e1329f
* Tue Jan 27 2015 Petr Machata <pmachata@redhat.com> - 1.00.0-11
Petr Machata 0e1329f
- Rebuild for boost 1.57.0
Petr Machata 1ef15ee
- Cmake should look for zmq.h, not zmq.hpp (stdair-1.00.1-cmake.patch)
Petr Machata 0e1329f
385be35
* Fri Aug 15 2014 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.00.0-10
385be35
- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_22_Mass_Rebuild
385be35
19b29d3
* Sat Jun 07 2014 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.00.0-9
19b29d3
- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_Mass_Rebuild
19b29d3
1a748d4
* Fri May 23 2014 David Tardon <dtardon@redhat.com> - 1.00.0-8
1a748d4
- rebuild for boost 1.55.0
1a748d4
508e5ba
* Sat Aug 03 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.00.0-7
508e5ba
- Rebuilt for https://fedoraproject.org/wiki/Fedora_20_Mass_Rebuild
508e5ba
8aa9b28
* Mon Jul 29 2013 Denis Arnaud <denis.arnaud_fedora@m4x.org> - 1.00.0-6
8aa9b28
- Fixed the docdir issue, following the F20 System Wide Change
8aa9b28
Petr Machata cf6a617
* Sun Jul 28 2013 Petr Machata <pmachata@redhat.com> - 1.00.0-5
Petr Machata cf6a617
- Rebuild for boost 1.54.0
Petr Machata cf6a617
89f3bb2
* Wed May 22 2013 Denis Arnaud <denis.arnaud_fedora@m4x.org> - 1.00.0-4
89f3bb2
- Rebuild for Soci-3.2.1
89f3bb2
ff01bdb
* Sun Feb 10 2013 Denis Arnaud <denis.arnaud_fedora@m4x.org> - 1.00.0-3
ff01bdb
- Rebuild for Boost-1.53.0
ff01bdb
dbab0e4
* Sat Feb 09 2013 Denis Arnaud <denis.arnaud_fedora@m4x.org> - 1.00.0-2
dbab0e4
- Rebuild for Boost-1.53.0
dbab0e4
3260fdf
* Tue Dec 25 2012 Denis Arnaud <denis.arnaud_fedora@m4x.org> - 1.00.0-1
3260fdf
- Upstream update
3260fdf
a840363
* Sun Aug 12 2012 Kevin Fenzi <kevin@scrye.com> - 0.2.3-5
a840363
- Rebuild for new boost
a840363
9b288c7
* Wed Jul 18 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.2.3-4
9b288c7
- Rebuilt for https://fedoraproject.org/wiki/Fedora_18_Mass_Rebuild
9b288c7
df9e139
* Tue Feb 28 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.2.3-3
df9e139
- Rebuilt for c++ ABI breakage
df9e139
1f2aec9
* Thu Jan 12 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.2.3-2
1f2aec9
- Rebuilt for https://fedoraproject.org/wiki/Fedora_17_Mass_Rebuild
1f2aec9
581d04b
* Mon Dec 05 2011 Denis Arnaud <denis.arnaud_fedora@m4x.org> 0.2.3-1
581d04b
- Upstream update
581d04b
6175f76
* Sun Nov 20 2011 Denis Arnaud <denis.arnaud_fedora@m4x.org> 0.2.1-2
6175f76
- Rebuild for the new Boost-1.48.0
6175f76
fc1a12b
* Wed Nov 02 2011 Denis Arnaud <denis.arnaud_fedora@m4x.org> 0.2.1-1
fc1a12b
- Upstream update
fc1a12b
d231c71
* Wed Nov 02 2011 Denis Arnaud <denis.arnaud_fedora@m4x.org> 0.2.0-3
d63c638
- Rebuilt for the new soci-3.1.0 and stdair-0.44.0 packages
d63c638
39c67dc
* Sat Oct 15 2011 Denis Arnaud <denis.arnaud_fedora@m4x.org> 0.2.0-1
39c67dc
- Upstream update
39c67dc
7fd7d9d
* Tue Aug 30 2011 Denis Arnaud <denis.arnaud_fedora@m4x.org> 0.1.2-1
2bb8d53
- Upstream update
e6a7547
7fd7d9d
* Sat Aug 20 2011 Denis Arnaud <denis.arnaud_fedora@m4x.org> 0.1.1-1
7fd7d9d
- Removed the need for Graphviz: the class diagrams are no longer
7fd7d9d
  built with it
7fd7d9d
066e71a
* Fri Aug 19 2011 Denis Arnaud <denis.arnaud_fedora@m4x.org> 0.1.0-2
066e71a
- Took into account the feedback from the package review (#728649)
066e71a
066e71a
* Fri Aug 05 2011 Denis Arnaud <denis.arnaud_fedora@m4x.org> 0.1.0-1
066e71a
- First package