|
|
066e71a |
#
|
|
|
066e71a |
%global mydocs __tmp_docdir
|
|
|
066e71a |
#
|
|
|
066e71a |
Name: airrac
|
|
|
3260fdf |
Version: 1.00.0
|
|
|
3260fdf |
Release: 1%{?dist}
|
|
|
066e71a |
|
|
|
066e71a |
Summary: C++ Simulated Revenue Accounting (RAC) System Library
|
|
|
066e71a |
|
|
|
066e71a |
Group: System Environment/Libraries
|
|
|
066e71a |
License: LGPLv2+
|
|
|
066e71a |
URL: http://sourceforge.net/projects/%{name}/
|
|
|
066e71a |
Source0: http://downloads.sourceforge.net/%{name}/%{name}-%{version}.tar.bz2
|
|
|
066e71a |
BuildRoot: %(mktemp -ud %{_tmppath}/%{name}-%{version}-%{release}-XXXXXX)
|
|
|
066e71a |
|
|
|
066e71a |
BuildRequires: cmake, python-devel
|
|
|
3260fdf |
BuildRequires: boost-devel, soci-mysql-devel, zeromq-devel, 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
|
|
|
066e71a |
Boost (C++ Standard Extensions: http://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 |
Group: Development/Libraries
|
|
|
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
|
|
|
066e71a |
Group: Documentation
|
|
|
066e71a |
%{?fedora:BuildArch: noarch}
|
|
|
066e71a |
BuildRequires: tex(latex)
|
|
|
f389aa6 |
BuildRequires: doxygen, 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
|
|
|
066e71a |
%setup -q
|
|
|
066e71a |
|
|
|
066e71a |
|
|
|
066e71a |
%build
|
|
|
066e71a |
%cmake .
|
|
|
066e71a |
make %{?_smp_mflags}
|
|
|
066e71a |
|
|
|
066e71a |
%install
|
|
|
066e71a |
rm -rf $RPM_BUILD_ROOT
|
|
|
066e71a |
make install DESTDIR=$RPM_BUILD_ROOT
|
|
|
066e71a |
|
|
|
066e71a |
mkdir -p %{mydocs}
|
|
|
066e71a |
mv $RPM_BUILD_ROOT%{_docdir}/%{name}-%{version}/html %{mydocs}
|
|
|
066e71a |
rm -f %{mydocs}/html/installdox
|
|
|
066e71a |
|
|
|
066e71a |
%check
|
|
|
066e71a |
ctest
|
|
|
066e71a |
|
|
|
066e71a |
%clean
|
|
|
066e71a |
rm -rf $RPM_BUILD_ROOT
|
|
|
066e71a |
|
|
|
066e71a |
%post -p /sbin/ldconfig
|
|
|
066e71a |
|
|
|
066e71a |
%postun -p /sbin/ldconfig
|
|
|
066e71a |
|
|
|
066e71a |
|
|
|
066e71a |
%files
|
|
|
066e71a |
%defattr(-,root,root,-)
|
|
|
066e71a |
%doc AUTHORS ChangeLog COPYING NEWS README
|
|
|
066e71a |
%{_bindir}/%{name}
|
|
|
7fd7d9d |
%{_libdir}/lib%{name}.so.*
|
|
|
066e71a |
%{_mandir}/man1/%{name}.1.*
|
|
|
066e71a |
|
|
|
066e71a |
%files devel
|
|
|
066e71a |
%defattr(-,root,root,-)
|
|
|
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
|
|
|
066e71a |
%defattr(-,root,root,-)
|
|
|
066e71a |
%doc %{mydocs}/html
|
|
|
066e71a |
%doc COPYING
|
|
|
066e71a |
|
|
|
066e71a |
|
|
|
066e71a |
%changelog
|
|
|
3260fdf |
* Tue Dec 25 2012 Denis Arnaud <denis.arnaud_fedora@m4x.org> - 1.00.0-1
|
|
|
3260fdf |
- Upstream update
|
|
|
3260fdf |
|
|
|
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
|