Compare commits
73 Commits
Author | SHA1 | Date | |
---|---|---|---|
|
c35c3e867c | ||
|
69773d9435 | ||
|
4d596b688a | ||
|
98cdd7bd74 | ||
|
f310640119 | ||
|
06a642c9ef | ||
|
5557811ff6 | ||
|
c125e39bb4 | ||
|
acb18d4a86 | ||
|
f9671c5cd1 | ||
|
d48e61aeb4 | ||
|
4450135662 | ||
|
612c28b786 | ||
|
65aece26a2 | ||
|
92a3b02ab7 | ||
|
464fd33c54 | ||
|
748d02e2dd | ||
|
f9ad429734 | ||
|
6c7fb0de55 | ||
|
9aa562952b | ||
|
1998276a61 | ||
|
be08d4ffcf | ||
|
0db5b3e976 | ||
|
0e821fd7df | ||
|
8b0f7ed832 | ||
|
142f854d0c | ||
|
ae59fa92c2 | ||
|
1fefc5f4a4 | ||
|
615e461259 | ||
|
21e8d0a8f5 | ||
|
1964fcd22a | ||
|
423e62ab21 | ||
|
febba1df02 | ||
|
835ae21dbf | ||
|
c47a355f13 | ||
|
ab1ac8866f | ||
|
09d6726b99 | ||
|
82842f0ad3 | ||
|
b906161b68 | ||
|
1ade817e3a | ||
|
c868975262 | ||
|
49c63c8193 | ||
|
a9adf31e24 | ||
|
1920959a81 | ||
|
7dd4223b3a | ||
|
dceb8ccc40 | ||
|
df3b46a62b | ||
|
e3c7ae9ce5 | ||
|
ee53b2efcb | ||
|
43156784fe | ||
|
aa3a5a4759 | ||
|
73bf1f6d01 | ||
|
b893d1d0eb | ||
|
c818fb2ba0 | ||
|
f33995c195 | ||
|
3b609c53f1 | ||
|
7eb6f55f91 | ||
|
d6233b13e6 | ||
|
62ef3a1d80 | ||
|
ae3e4eebf2 | ||
|
a3189bd76e | ||
|
4505eb81a4 | ||
|
1ef15ee062 | ||
|
0e1329f645 | ||
|
385be35f28 | ||
|
19b29d36ea | ||
|
1a748d401b | ||
|
508e5baf7f | ||
|
8aa9b282bb | ||
|
cf6a617061 | ||
|
89f3bb2cda | ||
|
ff01bdb0a7 | ||
|
dbab0e4a4f |
2
.gitignore
vendored
2
.gitignore
vendored
@ -6,3 +6,5 @@
|
|||||||
/noarch/
|
/noarch/
|
||||||
/x86_64/
|
/x86_64/
|
||||||
/i?86/
|
/i?86/
|
||||||
|
/tarballs/
|
||||||
|
|
||||||
|
114
airrac.spec
114
airrac.spec
@ -1,22 +1,21 @@
|
|||||||
#
|
#
|
||||||
%global mydocs __tmp_docdir
|
|
||||||
#
|
|
||||||
Name: airrac
|
Name: airrac
|
||||||
Version: 1.00.0
|
Version: 1.00.7
|
||||||
Release: 1%{?dist}
|
Release: %autorelease
|
||||||
|
|
||||||
Summary: C++ Simulated Revenue Accounting (RAC) System Library
|
Summary: C++ Simulated Revenue Accounting (RAC) System Library
|
||||||
|
|
||||||
Group: System Environment/Libraries
|
License: LGPL-2.1-or-later
|
||||||
License: LGPLv2+
|
URL: https://github.com/airsim/%{name}
|
||||||
URL: http://sourceforge.net/projects/%{name}/
|
Source0: %{url}/archive/refs/tags/v%{version}.tar.gz#/%{name}-%{version}.tar.gz
|
||||||
Source0: http://downloads.sourceforge.net/%{name}/%{name}-%{version}.tar.bz2
|
|
||||||
BuildRoot: %(mktemp -ud %{_tmppath}/%{name}-%{version}-%{release}-XXXXXX)
|
|
||||||
|
|
||||||
BuildRequires: cmake, python-devel
|
|
||||||
BuildRequires: boost-devel, soci-mysql-devel, zeromq-devel, readline-devel
|
|
||||||
BuildRequires: stdair-devel
|
|
||||||
|
|
||||||
|
BuildRequires: gcc-c++
|
||||||
|
BuildRequires: cmake
|
||||||
|
BuildRequires: boost-devel
|
||||||
|
BuildRequires: soci-mysql-devel
|
||||||
|
BuildRequires: soci-sqlite3-devel
|
||||||
|
BuildRequires: pkgconfig(readline)
|
||||||
|
BuildRequires: pkgconfig(stdair)
|
||||||
|
|
||||||
%description
|
%description
|
||||||
%{name} is a C++ library of airline revenue accounting classes and
|
%{name} is a C++ library of airline revenue accounting classes and
|
||||||
@ -24,14 +23,13 @@ functions, mainly targeting simulation purposes.
|
|||||||
|
|
||||||
%{name} makes an extensive use of existing open-source libraries for
|
%{name} makes an extensive use of existing open-source libraries for
|
||||||
increased functionality, speed and accuracy. In particular the
|
increased functionality, speed and accuracy. In particular the
|
||||||
Boost (C++ Standard Extensions: http://www.boost.org) library is used.
|
Boost (C++ Standard Extensions: https://www.boost.org) library is used.
|
||||||
|
|
||||||
Install the %{name} package if you need a library of basic C++ objects
|
Install the %{name} package if you need a library of basic C++ objects
|
||||||
for Airline Revenue Accounting, mainly for simulation purpose.
|
for Airline Revenue Accounting, mainly for simulation purpose.
|
||||||
|
|
||||||
%package devel
|
%package devel
|
||||||
Summary: Header files, libraries and development helper tools for %{name}
|
Summary: Header files, libraries and development helper tools for %{name}
|
||||||
Group: Development/Libraries
|
|
||||||
Requires: %{name}%{?_isa} = %{version}-%{release}
|
Requires: %{name}%{?_isa} = %{version}-%{release}
|
||||||
Requires: pkgconfig
|
Requires: pkgconfig
|
||||||
|
|
||||||
@ -42,55 +40,50 @@ programs using %{name}, you will need to install %{name}-devel.
|
|||||||
|
|
||||||
%package doc
|
%package doc
|
||||||
Summary: HTML documentation for the %{name} library
|
Summary: HTML documentation for the %{name} library
|
||||||
Group: Documentation
|
BuildArch: noarch
|
||||||
%{?fedora:BuildArch: noarch}
|
|
||||||
BuildRequires: tex(latex)
|
BuildRequires: tex(latex)
|
||||||
BuildRequires: doxygen, ghostscript
|
BuildRequires: texlive-epstopdf
|
||||||
|
BuildRequires: doxygen
|
||||||
|
BuildRequires: ghostscript
|
||||||
|
|
||||||
%description doc
|
%description doc
|
||||||
This package contains HTML pages, as well as a PDF reference manual,
|
This package contains HTML pages, as well as a PDF reference manual,
|
||||||
for %{name}. All that documentation is generated thanks to Doxygen
|
for %{name}. All that documentation is generated thanks to Doxygen
|
||||||
(http://doxygen.org). The content is the same as what can be browsed
|
(https://doxygen.org). The content is the same as what can be browsed
|
||||||
online (http://%{name}.org).
|
online (https://%{name}.org).
|
||||||
|
|
||||||
|
|
||||||
%prep
|
%prep
|
||||||
%setup -q
|
%autosetup
|
||||||
|
|
||||||
|
|
||||||
%build
|
%build
|
||||||
%cmake .
|
%cmake
|
||||||
make %{?_smp_mflags}
|
%cmake_build
|
||||||
|
|
||||||
%install
|
%install
|
||||||
rm -rf $RPM_BUILD_ROOT
|
%cmake_install
|
||||||
make install DESTDIR=$RPM_BUILD_ROOT
|
|
||||||
|
|
||||||
mkdir -p %{mydocs}
|
# Remove the Doxygen installer
|
||||||
mv $RPM_BUILD_ROOT%{_docdir}/%{name}-%{version}/html %{mydocs}
|
rm -f %{buildroot}%{_docdir}/%{name}/html/installdox
|
||||||
rm -f %{mydocs}/html/installdox
|
|
||||||
|
# Remove additional documentation files (those files are already available
|
||||||
|
# in the project top directory)
|
||||||
|
rm -f $RPM_BUILD_ROOT%{_docdir}/%{name}/{NEWS,README.md,AUTHORS}
|
||||||
|
|
||||||
%check
|
%check
|
||||||
ctest
|
%ctest
|
||||||
|
|
||||||
%clean
|
|
||||||
rm -rf $RPM_BUILD_ROOT
|
|
||||||
|
|
||||||
%post -p /sbin/ldconfig
|
|
||||||
|
|
||||||
%postun -p /sbin/ldconfig
|
|
||||||
|
|
||||||
|
|
||||||
%files
|
%files
|
||||||
%defattr(-,root,root,-)
|
%doc AUTHORS ChangeLog NEWS README.md
|
||||||
%doc AUTHORS ChangeLog COPYING NEWS README
|
%license COPYING
|
||||||
%{_bindir}/%{name}
|
%{_bindir}/%{name}
|
||||||
%{_libdir}/lib%{name}.so.*
|
%{_libdir}/lib%{name}.so.*
|
||||||
%{_mandir}/man1/%{name}.1.*
|
%{_mandir}/man1/%{name}.1.*
|
||||||
|
|
||||||
%files devel
|
%files devel
|
||||||
%defattr(-,root,root,-)
|
%{_includedir}/%{name}/
|
||||||
%{_includedir}/%{name}
|
|
||||||
%{_bindir}/%{name}-config
|
%{_bindir}/%{name}-config
|
||||||
%{_libdir}/lib%{name}.so
|
%{_libdir}/lib%{name}.so
|
||||||
%{_libdir}/pkgconfig/%{name}.pc
|
%{_libdir}/pkgconfig/%{name}.pc
|
||||||
@ -101,45 +94,10 @@ rm -rf $RPM_BUILD_ROOT
|
|||||||
%{_mandir}/man3/%{name}-library.3.*
|
%{_mandir}/man3/%{name}-library.3.*
|
||||||
|
|
||||||
%files doc
|
%files doc
|
||||||
%defattr(-,root,root,-)
|
%doc %{_docdir}/%{name}/
|
||||||
%doc %{mydocs}/html
|
%license COPYING
|
||||||
%doc COPYING
|
|
||||||
|
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
* Tue Dec 25 2012 Denis Arnaud <denis.arnaud_fedora@m4x.org> - 1.00.0-1
|
%autochangelog
|
||||||
- Upstream update
|
|
||||||
|
|
||||||
* Tue Feb 28 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.2.3-3
|
|
||||||
- Rebuilt for c++ ABI breakage
|
|
||||||
|
|
||||||
* Thu Jan 12 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.2.3-2
|
|
||||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_17_Mass_Rebuild
|
|
||||||
|
|
||||||
* Mon Dec 05 2011 Denis Arnaud <denis.arnaud_fedora@m4x.org> 0.2.3-1
|
|
||||||
- Upstream update
|
|
||||||
|
|
||||||
* Sun Nov 20 2011 Denis Arnaud <denis.arnaud_fedora@m4x.org> 0.2.1-2
|
|
||||||
- Rebuild for the new Boost-1.48.0
|
|
||||||
|
|
||||||
* Wed Nov 02 2011 Denis Arnaud <denis.arnaud_fedora@m4x.org> 0.2.1-1
|
|
||||||
- Upstream update
|
|
||||||
|
|
||||||
* Wed Nov 02 2011 Denis Arnaud <denis.arnaud_fedora@m4x.org> 0.2.0-3
|
|
||||||
- Rebuilt for the new soci-3.1.0 and stdair-0.44.0 packages
|
|
||||||
|
|
||||||
* Sat Oct 15 2011 Denis Arnaud <denis.arnaud_fedora@m4x.org> 0.2.0-1
|
|
||||||
- Upstream update
|
|
||||||
|
|
||||||
* Tue Aug 30 2011 Denis Arnaud <denis.arnaud_fedora@m4x.org> 0.1.2-1
|
|
||||||
- Upstream update
|
|
||||||
|
|
||||||
* Sat Aug 20 2011 Denis Arnaud <denis.arnaud_fedora@m4x.org> 0.1.1-1
|
|
||||||
- Removed the need for Graphviz: the class diagrams are no longer
|
|
||||||
built with it
|
|
||||||
|
|
||||||
* Fri Aug 19 2011 Denis Arnaud <denis.arnaud_fedora@m4x.org> 0.1.0-2
|
|
||||||
- Took into account the feedback from the package review (#728649)
|
|
||||||
|
|
||||||
* Fri Aug 05 2011 Denis Arnaud <denis.arnaud_fedora@m4x.org> 0.1.0-1
|
|
||||||
- First package
|
|
||||||
|
Loading…
Reference in New Issue
Block a user