|
|
840c7e7 |
#
|
|
|
840c7e7 |
%global mydocs __tmp_docdir
|
|
|
840c7e7 |
#
|
|
|
840c7e7 |
Name: airinv
|
|
|
1984438 |
Version: 1.00.1
|
|
|
5856871 |
Release: 2%{?dist}
|
|
|
840c7e7 |
|
|
|
840c7e7 |
Summary: C++ Simulated Airline Inventory Management System library
|
|
|
840c7e7 |
|
|
|
840c7e7 |
Group: System Environment/Libraries
|
|
|
840c7e7 |
License: LGPLv2+
|
|
|
840c7e7 |
URL: http://%{name}.sourceforge.net
|
|
|
840c7e7 |
Source0: http://downloads.sourceforge.net/%{name}/%{name}-%{version}.tar.bz2
|
|
|
840c7e7 |
BuildRoot: %(mktemp -ud %{_tmppath}/%{name}-%{version}-%{release}-XXXXXX)
|
|
|
840c7e7 |
|
|
|
840c7e7 |
BuildRequires: cmake, python-devel
|
|
|
1984438 |
BuildRequires: boost-devel, soci-mysql-devel, soci-sqlite3-devel
|
|
|
1bb7cd3 |
# FIXME: Workaround to RHBZ#1190463
|
|
|
1bb7cd3 |
%if 0%{?fedora} >= 22
|
|
|
1984438 |
BuildRequires: zeromq-devel, cppzmq-devel
|
|
|
1bb7cd3 |
%else
|
|
|
1bb7cd3 |
BuildRequires: zeromq-devel
|
|
|
1bb7cd3 |
%endif
|
|
|
1bb7cd3 |
BuildRequires: readline-devel
|
|
|
6ae8ef4 |
BuildRequires: stdair-devel, airrac-devel, rmol-devel, sevmgr-devel
|
|
|
1bb7cd3 |
BuildRequires: /usr/bin/epstopdf
|
|
|
840c7e7 |
|
|
|
840c7e7 |
|
|
|
840c7e7 |
%description
|
|
|
840c7e7 |
%{name} is a C++ library of airline inventory management classes and
|
|
|
840c7e7 |
functions, mainly targeting simulation purposes.
|
|
|
840c7e7 |
|
|
|
840c7e7 |
%{name} makes an extensive use of existing open-source libraries for
|
|
|
840c7e7 |
increased functionality, speed and accuracy. In particular the
|
|
|
840c7e7 |
Boost (C++ Standard Extensions: http://www.boost.org) library is used.
|
|
|
840c7e7 |
|
|
|
840c7e7 |
Install the %{name} package if you need a library of basic C++ objects
|
|
|
840c7e7 |
for Airline Inventory Management, mainly for simulation purpose.
|
|
|
840c7e7 |
|
|
|
840c7e7 |
%package devel
|
|
|
840c7e7 |
Summary: Header files, libraries and development helper tools for %{name}
|
|
|
840c7e7 |
Group: Development/Libraries
|
|
|
840c7e7 |
Requires: %{name}%{?_isa} = %{version}-%{release}
|
|
|
840c7e7 |
Requires: pkgconfig
|
|
|
840c7e7 |
|
|
|
840c7e7 |
%description devel
|
|
|
840c7e7 |
This package contains the header files, shared libraries and
|
|
|
840c7e7 |
development helper tools for %{name}. If you would like to develop
|
|
|
840c7e7 |
programs using %{name}, you will need to install %{name}-devel.
|
|
|
840c7e7 |
|
|
|
840c7e7 |
%package doc
|
|
|
840c7e7 |
Summary: HTML documentation for the %{name} library
|
|
|
840c7e7 |
Group: Documentation
|
|
|
840c7e7 |
%if 0%{?fedora} || 0%{?rhel} > 5
|
|
|
840c7e7 |
BuildArch: noarch
|
|
|
840c7e7 |
%endif
|
|
|
840c7e7 |
BuildRequires: tex(latex)
|
|
|
840c7e7 |
BuildRequires: doxygen, ghostscript
|
|
|
840c7e7 |
|
|
|
840c7e7 |
%description doc
|
|
|
840c7e7 |
This package contains HTML pages, as well as a PDF reference manual,
|
|
|
840c7e7 |
for %{name}. All that documentation is generated thanks to Doxygen
|
|
|
840c7e7 |
(http://doxygen.org). The content is the same as what can be browsed
|
|
|
840c7e7 |
online (http://%{name}.org).
|
|
|
840c7e7 |
|
|
|
840c7e7 |
|
|
|
840c7e7 |
%prep
|
|
|
840c7e7 |
%setup -q
|
|
|
840c7e7 |
|
|
|
840c7e7 |
|
|
|
840c7e7 |
%build
|
|
|
840c7e7 |
%cmake .
|
|
|
840c7e7 |
make %{?_smp_mflags}
|
|
|
840c7e7 |
|
|
|
840c7e7 |
%install
|
|
|
840c7e7 |
rm -rf $RPM_BUILD_ROOT
|
|
|
840c7e7 |
make install DESTDIR=$RPM_BUILD_ROOT
|
|
|
840c7e7 |
|
|
|
840c7e7 |
mkdir -p %{mydocs}
|
|
|
1984438 |
mv $RPM_BUILD_ROOT%{_docdir}/%{name}/html %{mydocs}
|
|
|
840c7e7 |
rm -f %{mydocs}/html/installdox
|
|
|
840c7e7 |
|
|
|
fe8f27a |
# Remove additional documentation files (those files are already available
|
|
|
fe8f27a |
# in the project top directory)
|
|
|
1984438 |
rm -f $RPM_BUILD_ROOT%{_docdir}/%{name}/{NEWS,README,AUTHORS}
|
|
|
fe8f27a |
|
|
|
840c7e7 |
%check
|
|
|
c37c0be |
ctest
|
|
|
840c7e7 |
|
|
|
840c7e7 |
%clean
|
|
|
840c7e7 |
rm -rf $RPM_BUILD_ROOT
|
|
|
840c7e7 |
|
|
|
840c7e7 |
%post -p /sbin/ldconfig
|
|
|
840c7e7 |
|
|
|
840c7e7 |
%postun -p /sbin/ldconfig
|
|
|
840c7e7 |
|
|
|
840c7e7 |
|
|
|
840c7e7 |
%files
|
|
|
840c7e7 |
%defattr(-,root,root,-)
|
|
|
840c7e7 |
%doc AUTHORS ChangeLog COPYING NEWS README
|
|
|
840c7e7 |
%{_bindir}/%{name}
|
|
|
840c7e7 |
%{_bindir}/%{name}_parseInventory
|
|
|
c37c0be |
%{_bindir}/AirInvClient
|
|
|
c37c0be |
%{_bindir}/AirInvServer
|
|
|
840c7e7 |
%{_libdir}/lib%{name}.so.*
|
|
|
840c7e7 |
%{_mandir}/man1/%{name}.1.*
|
|
|
840c7e7 |
%{_mandir}/man1/%{name}_parseInventory.1.*
|
|
|
c37c0be |
%{_mandir}/man1/AirInvClient.1.*
|
|
|
c37c0be |
%{_mandir}/man1/AirInvServer.1.*
|
|
|
840c7e7 |
|
|
|
840c7e7 |
%files devel
|
|
|
840c7e7 |
%defattr(-,root,root,-)
|
|
|
840c7e7 |
%{_includedir}/%{name}
|
|
|
840c7e7 |
%{_bindir}/%{name}-config
|
|
|
840c7e7 |
%{_libdir}/lib%{name}.so
|
|
|
840c7e7 |
%{_libdir}/pkgconfig/%{name}.pc
|
|
|
840c7e7 |
%{_datadir}/aclocal/%{name}.m4
|
|
|
840c7e7 |
%dir %{_datadir}/%{name}
|
|
|
840c7e7 |
%{_datadir}/%{name}/CMake
|
|
|
840c7e7 |
%{_mandir}/man1/%{name}-config.1.*
|
|
|
840c7e7 |
%{_mandir}/man3/%{name}-library.3.*
|
|
|
840c7e7 |
|
|
|
840c7e7 |
%files doc
|
|
|
840c7e7 |
%defattr(-,root,root,-)
|
|
|
840c7e7 |
%doc %{mydocs}/html
|
|
|
840c7e7 |
%doc COPYING
|
|
|
840c7e7 |
|
|
|
840c7e7 |
|
|
|
840c7e7 |
%changelog
|
|
|
5856871 |
* Tue Jun 16 2015 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.00.1-2
|
|
|
5856871 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_23_Mass_Rebuild
|
|
|
5856871 |
|
|
|
1984438 |
* Sun Jun 14 2015 Denis Arnaud <denis.arnaud_fedora@m4x.org> - 1.00.1-1
|
|
|
1984438 |
- Removed the dependency on ZeroMQ (only AirInv is dependent on it, not StdAir)
|
|
|
1984438 |
|
|
|
b2a9fe0 |
* Mon May 04 2015 Kalev Lember <kalevlember@gmail.com> - 1.00.0-13
|
|
|
b2a9fe0 |
- Rebuilt for GCC 5 C++11 ABI change
|
|
|
b2a9fe0 |
|
|
|
1bb7cd3 |
* Sun Feb 08 2015 Ralf Cors├ępius <corsepiu@fedoraproject.org> - 1.00.0-12
|
|
|
1bb7cd3 |
- BR: zeromq2-devel (Work around RHBZ#1190463; Fix boost-1.57 FTBFS).
|
|
|
1bb7cd3 |
- BR: /usr/bin/epstopdf.
|
|
|
1bb7cd3 |
|
|
Petr Machata |
4ddffb4 |
* Thu Jan 29 2015 Petr Machata <pmachata@redhat.com> - 1.00.0-11
|
|
Petr Machata |
4ddffb4 |
- Rebuild for boost 1.57.0
|
|
Petr Machata |
e851d45 |
- Cmake should look for zmq.h, not zmq.hpp (stdair-1.00.1-cmake.patch)
|
|
Petr Machata |
4ddffb4 |
|
|
|
572bafd |
* Fri Aug 15 2014 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.00.0-10
|
|
|
572bafd |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_22_Mass_Rebuild
|
|
|
572bafd |
|
|
|
9ffd8c1 |
* Sat Jun 07 2014 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.00.0-9
|
|
|
9ffd8c1 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_Mass_Rebuild
|
|
|
9ffd8c1 |
|
|
Petr Machata |
6e5b436 |
* Sun May 25 2014 Petr Machata <pmachata@redhat.com> - 1.00.0-8
|
|
Petr Machata |
6e5b436 |
- Rebuild for boost 1.55.0
|
|
Petr Machata |
6e5b436 |
|
|
|
c9b8489 |
* Fri May 23 2014 David Tardon <dtardon@redhat.com> - 1.00.0-7
|
|
|
c9b8489 |
- rebuild for boost 1.55.0
|
|
|
c9b8489 |
|
|
|
adc887f |
* Sat Aug 03 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.00.0-6
|
|
|
adc887f |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_20_Mass_Rebuild
|
|
|
adc887f |
|
|
|
fe8f27a |
* Mon Jul 29 2013 Denis Arnaud <denis.arnaud_fedora@m4x.org> - 1.00.0-5
|
|
|
fe8f27a |
- Fixed the docdir issue, following the F20 System Wide Change
|
|
|
fe8f27a |
- Rebuild for boost 1.54.0
|
|
|
fe8f27a |
|
|
|
156dada |
* Wed May 22 2013 Denis Arnaud <denis.arnaud_fedora@m4x.org> - 1.00.0-4
|
|
|
156dada |
- Rebuild for Soci-3.2.1
|
|
|
156dada |
|
|
|
456ec87 |
* Sun Feb 10 2013 Denis Arnaud <denis.arnaud_fedora@m4x.org> - 1.00.0-3
|
|
|
456ec87 |
- Rebuild for Boost-1.53.0
|
|
|
456ec87 |
|
|
|
0a98c12 |
* Sat Feb 09 2013 Denis Arnaud <denis.arnaud_fedora@m4x.org> - 1.00.0-2
|
|
|
0a98c12 |
- Rebuild for Boost-1.53.0
|
|
|
0a98c12 |
|
|
|
9dd1832 |
* Tue Dec 25 2012 Denis Arnaud <denis.arnaud_fedora@m4x.org> 1.00.0-1
|
|
|
9dd1832 |
- Upstream update
|
|
|
9dd1832 |
|
|
|
b9c9e30 |
* Sun Aug 12 2012 Kevin Fenzi <kevin@scrye.com> - 0.1.2-5
|
|
|
b9c9e30 |
- Rebuilt for new boost
|
|
|
b9c9e30 |
|
|
|
e32ecd4 |
* Wed Jul 18 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.1.2-4
|
|
|
e32ecd4 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_18_Mass_Rebuild
|
|
|
e32ecd4 |
|
|
|
f230f76 |
* Tue Feb 28 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.1.2-3
|
|
|
f230f76 |
- Rebuilt for c++ ABI breakage
|
|
|
f230f76 |
|
|
|
20cf132 |
* Thu Jan 12 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.1.2-2
|
|
|
20cf132 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_17_Mass_Rebuild
|
|
|
20cf132 |
|
|
|
840c7e7 |
* Sun Dec 04 2011 Denis Arnaud <denis.arnaud_fedora@m4x.org> 0.1.2-1
|
|
|
840c7e7 |
- Upstream update. Took into account review request (#750099)
|
|
|
840c7e7 |
|
|
|
840c7e7 |
* Sun Oct 30 2011 Denis Arnaud <denis.arnaud_fedora@m4x.org> 0.1.1-1
|
|
|
840c7e7 |
- First RPM release
|
|
|
840c7e7 |
|