|
|
57056b5 |
#
|
|
|
57056b5 |
%global mydocs __tmp_docdir
|
|
|
57056b5 |
#
|
|
|
57056b5 |
Name: airsched
|
|
|
247afd5 |
%global sfname airsim
|
|
|
9ea69e0 |
%global sfalias airsched
|
|
|
9ea69e0 |
Version: 1.00.0
|
|
Thomas Spura |
a68100e |
Release: 14%{?dist}
|
|
|
57056b5 |
|
|
|
57056b5 |
Summary: C++ Simulated Airline Schedule Manager Library
|
|
|
57056b5 |
|
|
|
57056b5 |
Group: System Environment/Libraries
|
|
|
57056b5 |
License: LGPLv2+
|
|
|
c940984 |
URL: http://%{sfname}.sourceforge.net
|
|
|
247afd5 |
Source0: http://downloads.sourceforge.net/%{sfname}/%{sfalias}-%{version}.tar.bz2
|
|
Petr Machata |
3f8312e |
Patch0: stdair-1.00.1-cmake.patch
|
|
|
57056b5 |
BuildRoot: %(mktemp -ud %{_tmppath}/%{name}-%{version}-%{release}-XXXXXX)
|
|
|
57056b5 |
|
|
|
57056b5 |
BuildRequires: cmake, python-devel
|
|
|
57056b5 |
BuildRequires: boost-devel, soci-mysql-devel, zeromq-devel, readline-devel
|
|
|
57056b5 |
BuildRequires: stdair-devel
|
|
|
57056b5 |
|
|
|
57056b5 |
|
|
|
57056b5 |
%description
|
|
|
57056b5 |
%{name} aims at providing a clean API and a simple implementation, as
|
|
|
57056b5 |
a C++ library, of an Airline Schedule Management System. It is intended
|
|
|
57056b5 |
to be used in simulated environments only: it is not designed to work
|
|
|
57056b5 |
in the real-world of Airline IT operations.
|
|
|
57056b5 |
|
|
|
57056b5 |
%{name} makes an extensive use of existing open-source libraries for
|
|
|
57056b5 |
increased functionality, speed and accuracy. In particular the
|
|
|
57056b5 |
Boost (C++ Standard Extensions: http://www.boost.org) library is used.
|
|
|
57056b5 |
|
|
|
57056b5 |
Install the %{name} package if you need a library of basic C++ objects
|
|
|
57056b5 |
for Airline Schedule Management, mainly for simulation purpose.
|
|
|
57056b5 |
|
|
|
57056b5 |
%package devel
|
|
|
57056b5 |
Summary: Header files, libraries and development helper tools for %{name}
|
|
|
57056b5 |
Group: Development/Libraries
|
|
|
57056b5 |
Requires: %{name}%{?_isa} = %{version}-%{release}
|
|
|
57056b5 |
Requires: pkgconfig
|
|
|
57056b5 |
|
|
|
57056b5 |
%description devel
|
|
|
57056b5 |
This package contains the header files, shared libraries and
|
|
|
57056b5 |
development helper tools for %{name}. If you would like to develop
|
|
|
57056b5 |
programs using %{name}, you will need to install %{name}-devel.
|
|
|
57056b5 |
|
|
|
57056b5 |
%package doc
|
|
|
57056b5 |
Summary: HTML documentation for the %{name} library
|
|
|
57056b5 |
Group: Documentation
|
|
|
57056b5 |
%if 0%{?fedora} || 0%{?rhel} > 5
|
|
|
57056b5 |
BuildArch: noarch
|
|
|
57056b5 |
%endif
|
|
|
57056b5 |
BuildRequires: tex(latex)
|
|
|
57056b5 |
BuildRequires: doxygen, ghostscript
|
|
|
57056b5 |
|
|
|
57056b5 |
%description doc
|
|
|
57056b5 |
This package contains HTML pages, as well as a PDF reference manual,
|
|
|
57056b5 |
for %{name}. All that documentation is generated thanks to Doxygen
|
|
|
57056b5 |
(http://doxygen.org). The content is the same as what can be browsed
|
|
|
57056b5 |
online (http://%{name}.org).
|
|
|
57056b5 |
|
|
|
57056b5 |
|
|
|
57056b5 |
%prep
|
|
|
57056b5 |
%setup -q
|
|
Petr Machata |
3f8312e |
%patch0 -p1
|
|
|
57056b5 |
|
|
|
57056b5 |
|
|
|
57056b5 |
%build
|
|
|
57056b5 |
%cmake .
|
|
|
57056b5 |
make %{?_smp_mflags}
|
|
|
57056b5 |
|
|
|
57056b5 |
%install
|
|
|
57056b5 |
rm -rf $RPM_BUILD_ROOT
|
|
|
57056b5 |
make install DESTDIR=$RPM_BUILD_ROOT
|
|
|
57056b5 |
|
|
|
57056b5 |
mkdir -p %{mydocs}
|
|
|
57056b5 |
mv $RPM_BUILD_ROOT%{_docdir}/%{name}-%{version}/html %{mydocs}
|
|
|
57056b5 |
rm -f %{mydocs}/html/installdox
|
|
|
57056b5 |
|
|
|
83e258c |
# Remove additional documentation files (those files are already available
|
|
|
83e258c |
# in the project top directory)
|
|
|
83e258c |
rm -f $RPM_BUILD_ROOT%{_docdir}/%{name}-%{version}/{NEWS,README,AUTHORS}
|
|
|
83e258c |
|
|
|
57056b5 |
%check
|
|
|
57056b5 |
ctest
|
|
|
57056b5 |
|
|
|
57056b5 |
%clean
|
|
|
57056b5 |
rm -rf $RPM_BUILD_ROOT
|
|
|
57056b5 |
|
|
|
57056b5 |
%post -p /sbin/ldconfig
|
|
|
57056b5 |
|
|
|
57056b5 |
%postun -p /sbin/ldconfig
|
|
|
57056b5 |
|
|
|
57056b5 |
|
|
|
57056b5 |
%files
|
|
|
57056b5 |
%defattr(-,root,root,-)
|
|
|
57056b5 |
%doc AUTHORS ChangeLog COPYING NEWS README
|
|
|
57056b5 |
%{_bindir}/%{name}
|
|
|
57056b5 |
%{_libdir}/lib%{name}.so.*
|
|
|
57056b5 |
%{_mandir}/man1/%{name}.1.*
|
|
|
57056b5 |
|
|
|
57056b5 |
%files devel
|
|
|
57056b5 |
%defattr(-,root,root,-)
|
|
|
57056b5 |
%{_includedir}/%{name}
|
|
|
57056b5 |
%{_bindir}/%{name}-config
|
|
|
57056b5 |
%{_libdir}/lib%{name}.so
|
|
|
57056b5 |
%{_libdir}/pkgconfig/%{name}.pc
|
|
|
57056b5 |
%{_datadir}/aclocal/%{name}.m4
|
|
|
57056b5 |
%dir %{_datadir}/%{name}
|
|
|
57056b5 |
%{_datadir}/%{name}/CMake
|
|
|
57056b5 |
%{_mandir}/man1/%{name}-config.1.*
|
|
|
57056b5 |
%{_mandir}/man3/%{name}-library.3.*
|
|
|
57056b5 |
|
|
|
57056b5 |
%files doc
|
|
|
57056b5 |
%defattr(-,root,root,-)
|
|
|
57056b5 |
%doc %{mydocs}/html
|
|
|
57056b5 |
%doc COPYING
|
|
|
57056b5 |
|
|
|
57056b5 |
|
|
|
57056b5 |
%changelog
|
|
Thomas Spura |
a68100e |
* Tue Jun 23 2015 Thomas Spura <tomspur@fedoraproject.org> - 1.00.0-14
|
|
Thomas Spura |
a68100e |
- rebuilt for new zeromq 4.1.2
|
|
Thomas Spura |
a68100e |
|
|
|
7cf73f6 |
* Tue Jun 16 2015 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.00.0-13
|
|
|
7cf73f6 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_23_Mass_Rebuild
|
|
|
7cf73f6 |
|
|
|
524401b |
* Sat May 02 2015 Kalev Lember <kalevlember@gmail.com> - 1.00.0-12
|
|
|
524401b |
- Rebuilt for GCC 5 C++11 ABI change
|
|
|
524401b |
|
|
Petr Machata |
61560c1 |
* Wed Jan 28 2015 Petr Machata <pmachata@redhat.com> - 1.00.0-11
|
|
Petr Machata |
61560c1 |
- Rebuild for boost 1.57.0
|
|
Petr Machata |
3f8312e |
- Cmake should look for zmq.h, not zmq.hpp (stdair-1.00.1-cmake.patch)
|
|
Petr Machata |
61560c1 |
|
|
|
a717278 |
* Fri Aug 15 2014 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.00.0-10
|
|
|
a717278 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_22_Mass_Rebuild
|
|
|
a717278 |
|
|
|
2b5b4c6 |
* Sat Jun 07 2014 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.00.0-9
|
|
|
2b5b4c6 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_Mass_Rebuild
|
|
|
2b5b4c6 |
|
|
|
14447c5 |
* Fri May 23 2014 David Tardon <dtardon@redhat.com> - 1.00.0-8
|
|
|
14447c5 |
- rebuild for boost 1.55.0
|
|
|
14447c5 |
|
|
|
72064a0 |
* Sat Aug 03 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.00.0-7
|
|
|
72064a0 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_20_Mass_Rebuild
|
|
|
72064a0 |
|
|
|
83e258c |
* Mon Jul 29 2013 Denis Arnaud <denis.arnaud_fedora@m4x.org> - 1.00.0-6
|
|
|
83e258c |
- Fixed the docdir issue, following the F20 System Wide Change
|
|
|
83e258c |
|
|
Petr Machata |
4a3d2fb |
* Sun Jul 28 2013 Petr Machata <pmachata@redhat.com> - 1.00.0-5
|
|
Petr Machata |
4a3d2fb |
- Rebuild for boost 1.54.0
|
|
Petr Machata |
4a3d2fb |
|
|
|
297d1e7 |
* Wed May 22 2013 Denis Arnaud <denis.arnaud_fedora@m4x.org> - 1.00.0-4
|
|
|
297d1e7 |
- Rebuild for Soci-3.2.1
|
|
|
297d1e7 |
|
|
|
b8aaf3f |
* Sun Feb 10 2013 Denis Arnaud <denis.arnaud_fedora@m4x.org> - 1.00.0-3
|
|
|
b8aaf3f |
- Rebuild for Boost-1.53.0
|
|
|
b8aaf3f |
|
|
|
b586913 |
* Sat Feb 09 2013 Denis Arnaud <denis.arnaud_fedora@m4x.org> - 1.00.0-2
|
|
|
b586913 |
- Rebuild for Boost-1.53.0
|
|
|
b586913 |
|
|
|
9ea69e0 |
* Tue Dec 25 2012 Denis Arnaud <denis.arnaud_fedora@m4x.org> 1.00.0-1
|
|
|
9ea69e0 |
- Upstream update
|
|
|
9ea69e0 |
|
|
|
427822d |
* Mon Aug 13 2012 Denis Arnaud <denis.arnaud_fedora@m4x.org> - 0.1.4-5
|
|
|
427822d |
- Rebuilt for new Boost 1.50.0.
|
|
|
427822d |
|
|
|
247afd5 |
* Wed Jul 11 2012 Denis Arnaud <denis.arnaud_fedora@m4x.org> 0.1.4-4
|
|
|
247afd5 |
- The project structure and name has changed on SourceForge
|
|
|
247afd5 |
|
|
|
d29b837 |
* Tue Feb 28 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.1.4-3
|
|
|
d29b837 |
- Rebuilt for c++ ABI breakage
|
|
|
d29b837 |
|
|
|
2c30e88 |
* Thu Jan 12 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.1.4-2
|
|
|
2c30e88 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_17_Mass_Rebuild
|
|
|
2c30e88 |
|
|
|
c940984 |
* Mon Dec 05 2011 Denis Arnaud <denis.arnaud_fedora@m4x.org> 0.1.4-1
|
|
|
c940984 |
- Upstream update
|
|
|
c940984 |
|
|
|
125c6b5 |
* Sun Nov 20 2011 Denis Arnaud <denis.arnaud_fedora@m4x.org> 0.1.2-2
|
|
|
125c6b5 |
- Rebuild for the new Boost-1.48.0
|
|
|
125c6b5 |
|
|
|
57056b5 |
* Wed Oct 26 2011 Denis Arnaud <denis.arnaud_fedora@m4x.org> 0.1.2-1
|
|
|
57056b5 |
- Upstream update
|
|
|
57056b5 |
|
|
|
57056b5 |
* Sat Aug 20 2011 Denis Arnaud <denis.arnaud_fedora@m4x.org> 0.1.1-1
|
|
|
57056b5 |
- Upstream update
|
|
|
57056b5 |
- Took into account the feedback from various review requests (bugs #732205,
|
|
|
57056b5 |
#728649, #732218)
|
|
|
57056b5 |
|
|
|
57056b5 |
* Sat Aug 20 2011 Denis Arnaud <denis.arnaud_fedora@m4x.org> 0.1.0-1
|
|
|
57056b5 |
- First RPM release
|
|
|
57056b5 |
|