|
|
b00469e |
#
|
|
|
b00469e |
%global mydocs __tmp_docdir
|
|
|
b00469e |
#
|
|
|
b00469e |
Name: simcrs
|
|
|
a6a9fa7 |
Version: 1.01.1
|
|
|
0b8afcd |
Release: 8%{?dist}
|
|
|
b00469e |
|
|
|
b00469e |
Summary: C++ Simulated Travel-Oriented Distribution System library
|
|
|
b00469e |
|
|
|
b00469e |
Group: System Environment/Libraries
|
|
|
b00469e |
License: LGPLv2+
|
|
|
b00469e |
URL: http://%{name}.sourceforge.net
|
|
|
b00469e |
Source0: http://downloads.sourceforge.net/%{name}/%{name}-%{version}.tar.bz2
|
|
|
bf5c643 |
Patch0: 0001-Fix-for-Boost-1.59.0-compatibility.patch
|
|
|
b00469e |
BuildRoot: %(mktemp -ud %{_tmppath}/%{name}-%{version}-%{release}-XXXXXX)
|
|
|
b00469e |
|
|
|
b00469e |
BuildRequires: cmake, python-devel
|
|
|
6f755e2 |
BuildRequires: boost-devel, soci-mysql-devel, soci-sqlite3-devel
|
|
|
34d9666 |
%if 0%{?fedora} >= 22
|
|
|
34d9666 |
BuildRequires: zeromq-devel, cppzmq-devel
|
|
|
34d9666 |
%else
|
|
|
34d9666 |
BuildRequires: zeromq-devel
|
|
|
34d9666 |
%endif
|
|
|
6f755e2 |
BuildRequires: readline-devel
|
|
|
6f755e2 |
BuildRequires: stdair-devel, airtsp-devel, simfqt-devel, sevmgr-devel
|
|
|
b00469e |
BuildRequires: airrac-devel, rmol-devel, airinv-devel
|
|
|
b00469e |
|
|
|
b00469e |
|
|
|
b00469e |
%description
|
|
|
b00469e |
%{name} aims at providing a clean API and a simple implementation, as
|
|
|
b00469e |
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
|
|
|
b00469e |
C++ object model (http://sf.net/projects/stdair).
|
|
|
b00469e |
|
|
|
b00469e |
%{name} makes an extensive use of existing open-source libraries for
|
|
|
b00469e |
increased functionality, speed and accuracy. In particular the
|
|
|
b00469e |
Boost (C++ Standard Extensions: http://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 |
Group: Development/Libraries
|
|
|
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 |
Group: Documentation
|
|
|
b00469e |
%if 0%{?fedora} || 0%{?rhel} > 5
|
|
|
b00469e |
BuildArch: noarch
|
|
|
b00469e |
%endif
|
|
|
b00469e |
BuildRequires: tex(latex)
|
|
|
b00469e |
BuildRequires: doxygen, 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
|
|
|
b00469e |
(http://doxygen.org). The content is the same as what can be browsed
|
|
|
b00469e |
online (http://%{name}.org).
|
|
|
b00469e |
|
|
|
b00469e |
|
|
|
b00469e |
%prep
|
|
|
b00469e |
%setup -q
|
|
|
bf5c643 |
%patch0 -p1
|
|
|
b00469e |
|
|
|
b00469e |
|
|
|
b00469e |
%build
|
|
|
b00469e |
%cmake .
|
|
|
b00469e |
make %{?_smp_mflags}
|
|
|
b00469e |
|
|
|
b00469e |
%install
|
|
|
b00469e |
rm -rf $RPM_BUILD_ROOT
|
|
|
b00469e |
make install DESTDIR=$RPM_BUILD_ROOT
|
|
|
b00469e |
|
|
|
b00469e |
mkdir -p %{mydocs}
|
|
|
6f755e2 |
mv $RPM_BUILD_ROOT%{_docdir}/%{name}/html %{mydocs}
|
|
|
b00469e |
rm -f %{mydocs}/html/installdox
|
|
|
b00469e |
|
|
|
ad513d8 |
# Remove additional documentation files (those files are already available
|
|
|
ad513d8 |
# in the project top directory)
|
|
|
6f755e2 |
rm -f $RPM_BUILD_ROOT%{_docdir}/%{name}/{NEWS,README,AUTHORS}
|
|
|
ad513d8 |
|
|
|
b00469e |
%check
|
|
|
e9a1459 |
#ctest
|
|
|
b00469e |
|
|
|
b00469e |
%clean
|
|
|
b00469e |
rm -rf $RPM_BUILD_ROOT
|
|
|
b00469e |
|
|
|
b00469e |
%post -p /sbin/ldconfig
|
|
|
b00469e |
|
|
|
b00469e |
%postun -p /sbin/ldconfig
|
|
|
b00469e |
|
|
|
b00469e |
|
|
|
b00469e |
%files
|
|
|
b00469e |
%defattr(-,root,root,-)
|
|
|
b00469e |
%doc AUTHORS ChangeLog COPYING NEWS README
|
|
|
b00469e |
%{_bindir}/%{name}
|
|
|
b00469e |
%{_libdir}/lib%{name}.so.*
|
|
|
b00469e |
%{_mandir}/man1/%{name}.1.*
|
|
|
b00469e |
|
|
|
b00469e |
%files devel
|
|
|
b00469e |
%defattr(-,root,root,-)
|
|
|
b00469e |
%{_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}
|
|
|
b00469e |
%{_datadir}/%{name}/CMake
|
|
|
b00469e |
%{_mandir}/man1/%{name}-config.1.*
|
|
|
b00469e |
%{_mandir}/man3/%{name}-library.3.*
|
|
|
b00469e |
|
|
|
b00469e |
%files doc
|
|
|
b00469e |
%defattr(-,root,root,-)
|
|
|
b00469e |
%doc %{mydocs}/html
|
|
|
b00469e |
%doc COPYING
|
|
|
b00469e |
|
|
|
b00469e |
|
|
|
b00469e |
%changelog
|
|
|
0b8afcd |
* Fri Feb 05 2016 Fedora Release Engineering <releng@fedoraproject.org> - 1.01.1-8
|
|
|
0b8afcd |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_24_Mass_Rebuild
|
|
|
0b8afcd |
|
|
|
151f9c2 |
* Mon Jan 18 2016 Jonathan Wakely <jwakely@redhat.com> - 1.01.1-7
|
|
|
151f9c2 |
- Rebuilt for Boost 1.60
|
|
|
151f9c2 |
|
|
|
bf5c643 |
* Sun Aug 30 2015 Jonathan Wakely <jwakely@redhat.com> - 1.01.1-6
|
|
|
bf5c643 |
- Patched and rebuilt for Boost 1.59
|
|
|
bf5c643 |
|
|
|
af8e37d |
* Sat Aug 29 2015 Denis Arnaud <denis.arnaud_fedora@m4x.org> - 1.01.1-5
|
|
|
af8e37d |
- Mass rebuild
|
|
|
af8e37d |
|
|
|
3dc0d82 |
* Wed Jul 29 2015 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.01.1-4
|
|
|
3dc0d82 |
- Rebuilt for https://fedoraproject.org/wiki/Changes/F23Boost159
|
|
|
3dc0d82 |
|
|
|
10e6e45 |
* Wed Jul 22 2015 David Tardon <dtardon@redhat.com> - 1.01.1-3
|
|
|
10e6e45 |
- rebuild for Boost 1.58
|
|
|
10e6e45 |
|
|
Thomas Spura |
0b84104 |
* Tue Jun 23 2015 Thomas Spura <tomspur@fedoraproject.org> - 1.01.1-2
|
|
Thomas Spura |
0b84104 |
- rebuilt for new zeromq 4.1.2
|
|
Thomas Spura |
0b84104 |
|
|
|
a6a9fa7 |
* Sun Jun 21 2015 Denis Arnaud <denis.arnaud_fedora@m4x.org> - 1.01.1-1
|
|
|
6f755e2 |
- Removed the dependency on ZeroMQ (only AirInv is dependent on it, not StdAir)
|
|
|
6f755e2 |
|
|
|
1e1f94d |
* Fri Jun 19 2015 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.00.0-12
|
|
|
1e1f94d |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_23_Mass_Rebuild
|
|
|
1e1f94d |
|
|
|
ebdd852 |
* Mon May 04 2015 Kalev Lember <kalevlember@gmail.com> - 1.00.0-11
|
|
|
ebdd852 |
- Rebuilt for GCC 5 C++11 ABI change
|
|
|
ebdd852 |
|
|
Petr Machata |
1e5adfa |
* Thu Jan 29 2015 Petr Machata <pmachata@redhat.com> - 1.00.0-10
|
|
Petr Machata |
1e5adfa |
- Rebuild for boost 1.57.0
|
|
Petr Machata |
1e5adfa |
- Cmake should look for zmq.h, not zmq.hpp (stdair-1.00.1-cmake.patch)
|
|
Petr Machata |
1e5adfa |
|
|
|
9c8a1dc |
* Mon Aug 18 2014 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.00.0-9
|
|
|
9c8a1dc |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_22_Mass_Rebuild
|
|
|
9c8a1dc |
|
|
|
8443b0c |
* Sun Jun 08 2014 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.00.0-8
|
|
|
8443b0c |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_Mass_Rebuild
|
|
|
8443b0c |
|
|
Petr Machata |
e1004e2 |
* Sun May 25 2014 Petr Machata <pmachata@redhat.com> - 1.00.0-7
|
|
Petr Machata |
e1004e2 |
- Rebuild for boost 1.55.0
|
|
Petr Machata |
e1004e2 |
|
|
|
1da7761 |
* Fri May 23 2014 David Tardon <dtardon@redhat.com> - 1.00.0-6
|
|
|
1da7761 |
- rebuild for boost 1.55.0
|
|
|
1da7761 |
|
|
|
558549c |
* Sun Aug 04 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.00.0-5
|
|
|
558549c |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_20_Mass_Rebuild
|
|
|
558549c |
|
|
|
ad513d8 |
* Mon Jul 29 2013 Denis Arnaud <denis.arnaud_fedora@m4x.org> - 1.00.0-4
|
|
|
ad513d8 |
- Fixed the docdir issue, following the F20 System Wide Change
|
|
|
ad513d8 |
- Rebuild for boost 1.54.0
|
|
|
ad513d8 |
|
|
|
b5460c9 |
* Wed May 22 2013 Denis Arnaud <denis.arnaud_fedora@m4x.org> - 1.00.0-3
|
|
|
b5460c9 |
- Rebuild for Soci-3.2.1
|
|
|
b5460c9 |
|
|
|
6aaa391 |
* Sat Feb 09 2013 Denis Arnaud <denis.arnaud_fedora@m4x.org> - 1.00.0-2
|
|
|
6aaa391 |
- Rebuild for Boost-1.53.0
|
|
|
6aaa391 |
|
|
|
9b482e0 |
* Tue Dec 25 2012 Denis Arnaud <denis.arnaud_fedora@m4x.org> - 1.00.0-1
|
|
|
9b482e0 |
- Upstream update
|
|
|
9b482e0 |
|
|
|
f60dae7 |
* Mon Aug 13 2012 Denis Arnaud <denis.arnaud_fedora@m4x.org> - 0.1.1-3
|
|
|
f60dae7 |
- Rebuilt for new Boost 1.50.0.
|
|
|
f60dae7 |
|
|
|
35b9e00 |
* Sat Jul 21 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.1.1-2
|
|
|
35b9e00 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_18_Mass_Rebuild
|
|
|
35b9e00 |
|
|
|
b00469e |
* Sat Mar 24 2012 Denis Arnaud <denis.arnaud_fedora@m4x.org> 0.1.1-1
|
|
|
b00469e |
- First RPM release
|
|
|
b00469e |
|