Compare commits
73 Commits
Author | SHA1 | Date |
---|---|---|
Denis Arnaud | c35c3e867c | |
Denis Arnaud | 69773d9435 | |
Denis Arnaud | 4d596b688a | |
Fedora Release Engineering | 98cdd7bd74 | |
Denis Arnaud | f310640119 | |
Jonathan Wakely | 06a642c9ef | |
Fedora Release Engineering | 5557811ff6 | |
Fedora Release Engineering | c125e39bb4 | |
Denis Arnaud | acb18d4a86 | |
Thomas Rodgers | f9671c5cd1 | |
Fedora Release Engineering | d48e61aeb4 | |
Jonathan Wakely | 4450135662 | |
Fedora Release Engineering | 612c28b786 | |
Fedora Release Engineering | 65aece26a2 | |
Fedora Release Engineering | 92a3b02ab7 | |
Jonathan Wakely | 464fd33c54 | |
Denis Arnaud | 748d02e2dd | |
Fedora Release Engineering | f9ad429734 | |
Fedora Release Engineering | 6c7fb0de55 | |
Neal Gompa | 9aa562952b | |
Neal Gompa | 1998276a61 | |
Denis Arnaud | be08d4ffcf | |
Denis Arnaud | 0db5b3e976 | |
Denis Arnaud | 0e821fd7df | |
Denis Arnaud | 8b0f7ed832 | |
Denis Arnaud | 142f854d0c | |
Miro Hrončok | ae59fa92c2 | |
Fedora Release Engineering | 1fefc5f4a4 | |
Denis Arnaud | 615e461259 | |
Denis Arnaud | 21e8d0a8f5 | |
Miro Hrončok | 1964fcd22a | |
Fedora Release Engineering | 423e62ab21 | |
Denis Arnaud | febba1df02 | |
Denis Arnaud | 835ae21dbf | |
Fedora Release Engineering | c47a355f13 | |
Jonathan Wakely | ab1ac8866f | |
Denis Arnaud | 09d6726b99 | |
Denis Arnaud | 82842f0ad3 | |
Fedora Release Engineering | b906161b68 | |
Jason Tibbitts | 1ade817e3a | |
Igor Gnatenko | c868975262 | |
Jonathan Wakely | 49c63c8193 | |
Igor Gnatenko | a9adf31e24 | |
Igor Gnatenko | 1920959a81 | |
Fedora Release Engineering | 7dd4223b3a | |
Jonathan Wakely | dceb8ccc40 | |
Fedora Release Engineering | df3b46a62b | |
Fedora Release Engineering | e3c7ae9ce5 | |
Björn Esser | ee53b2efcb | |
Fedora Release Engineering | 43156784fe | |
Igor Gnatenko | aa3a5a4759 | |
Dennis Gilmore | 73bf1f6d01 | |
Jonathan Wakely | b893d1d0eb | |
Jonathan Wakely | c818fb2ba0 | |
Denis Arnaud | f33995c195 | |
Dennis Gilmore | 3b609c53f1 | |
David Tardon | 7eb6f55f91 | |
Dennis Gilmore | d6233b13e6 | |
Denis Arnaud | 62ef3a1d80 | |
Denis Arnaud | ae3e4eebf2 | |
Denis Arnaud | a3189bd76e | |
Kalev Lember | 4505eb81a4 | |
Petr Machata | 1ef15ee062 | |
Petr Machata | 0e1329f645 | |
Peter Robinson | 385be35f28 | |
Dennis Gilmore | 19b29d36ea | |
David Tardon | 1a748d401b | |
Dennis Gilmore | 508e5baf7f | |
Denis Arnaud | 8aa9b282bb | |
Petr Machata | cf6a617061 | |
Denis Arnaud | 89f3bb2cda | |
Denis Arnaud | ff01bdb0a7 | |
Denis Arnaud | dbab0e4a4f |
|
@ -6,3 +6,5 @@
|
|||
/noarch/
|
||||
/x86_64/
|
||||
/i?86/
|
||||
/tarballs/
|
||||
|
||||
|
|
120
airrac.spec
120
airrac.spec
|
@ -1,22 +1,21 @@
|
|||
#
|
||||
%global mydocs __tmp_docdir
|
||||
#
|
||||
Name: airrac
|
||||
Version: 1.00.0
|
||||
Release: 1%{?dist}
|
||||
Version: 1.00.7
|
||||
Release: %autorelease
|
||||
|
||||
Summary: C++ Simulated Revenue Accounting (RAC) System Library
|
||||
|
||||
Group: System Environment/Libraries
|
||||
License: LGPLv2+
|
||||
URL: http://sourceforge.net/projects/%{name}/
|
||||
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
|
||||
License: LGPL-2.1-or-later
|
||||
URL: https://github.com/airsim/%{name}
|
||||
Source0: %{url}/archive/refs/tags/v%{version}.tar.gz#/%{name}-%{version}.tar.gz
|
||||
|
||||
BuildRequires: gcc-c++
|
||||
BuildRequires: cmake
|
||||
BuildRequires: boost-devel
|
||||
BuildRequires: soci-mysql-devel
|
||||
BuildRequires: soci-sqlite3-devel
|
||||
BuildRequires: pkgconfig(readline)
|
||||
BuildRequires: pkgconfig(stdair)
|
||||
|
||||
%description
|
||||
%{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
|
||||
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
|
||||
for Airline Revenue Accounting, mainly for simulation purpose.
|
||||
|
||||
%package devel
|
||||
Summary: Header files, libraries and development helper tools for %{name}
|
||||
Group: Development/Libraries
|
||||
Requires: %{name}%{?_isa} = %{version}-%{release}
|
||||
Requires: pkgconfig
|
||||
|
||||
|
@ -42,55 +40,50 @@ programs using %{name}, you will need to install %{name}-devel.
|
|||
|
||||
%package doc
|
||||
Summary: HTML documentation for the %{name} library
|
||||
Group: Documentation
|
||||
%{?fedora:BuildArch: noarch}
|
||||
BuildArch: noarch
|
||||
BuildRequires: tex(latex)
|
||||
BuildRequires: doxygen, ghostscript
|
||||
BuildRequires: texlive-epstopdf
|
||||
BuildRequires: doxygen
|
||||
BuildRequires: ghostscript
|
||||
|
||||
%description doc
|
||||
This package contains HTML pages, as well as a PDF reference manual,
|
||||
for %{name}. All that documentation is generated thanks to Doxygen
|
||||
(http://doxygen.org). The content is the same as what can be browsed
|
||||
online (http://%{name}.org).
|
||||
(https://doxygen.org). The content is the same as what can be browsed
|
||||
online (https://%{name}.org).
|
||||
|
||||
|
||||
%prep
|
||||
%setup -q
|
||||
%autosetup
|
||||
|
||||
|
||||
%build
|
||||
%cmake .
|
||||
make %{?_smp_mflags}
|
||||
%cmake
|
||||
%cmake_build
|
||||
|
||||
%install
|
||||
rm -rf $RPM_BUILD_ROOT
|
||||
make install DESTDIR=$RPM_BUILD_ROOT
|
||||
%cmake_install
|
||||
|
||||
mkdir -p %{mydocs}
|
||||
mv $RPM_BUILD_ROOT%{_docdir}/%{name}-%{version}/html %{mydocs}
|
||||
rm -f %{mydocs}/html/installdox
|
||||
# Remove the Doxygen installer
|
||||
rm -f %{buildroot}%{_docdir}/%{name}/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
|
||||
ctest
|
||||
|
||||
%clean
|
||||
rm -rf $RPM_BUILD_ROOT
|
||||
|
||||
%post -p /sbin/ldconfig
|
||||
|
||||
%postun -p /sbin/ldconfig
|
||||
%ctest
|
||||
|
||||
|
||||
%files
|
||||
%defattr(-,root,root,-)
|
||||
%doc AUTHORS ChangeLog COPYING NEWS README
|
||||
%doc AUTHORS ChangeLog NEWS README.md
|
||||
%license COPYING
|
||||
%{_bindir}/%{name}
|
||||
%{_libdir}/lib%{name}.so.*
|
||||
%{_mandir}/man1/%{name}.1.*
|
||||
|
||||
%files devel
|
||||
%defattr(-,root,root,-)
|
||||
%{_includedir}/%{name}
|
||||
%{_includedir}/%{name}/
|
||||
%{_bindir}/%{name}-config
|
||||
%{_libdir}/lib%{name}.so
|
||||
%{_libdir}/pkgconfig/%{name}.pc
|
||||
|
@ -101,51 +94,10 @@ rm -rf $RPM_BUILD_ROOT
|
|||
%{_mandir}/man3/%{name}-library.3.*
|
||||
|
||||
%files doc
|
||||
%defattr(-,root,root,-)
|
||||
%doc %{mydocs}/html
|
||||
%doc COPYING
|
||||
%doc %{_docdir}/%{name}/
|
||||
%license COPYING
|
||||
|
||||
|
||||
%changelog
|
||||
* Tue Dec 25 2012 Denis Arnaud <denis.arnaud_fedora@m4x.org> - 1.00.0-1
|
||||
- Upstream update
|
||||
%autochangelog
|
||||
|
||||
* Sun Aug 12 2012 Kevin Fenzi <kevin@scrye.com> - 0.2.3-5
|
||||
- Rebuild for new boost
|
||||
|
||||
* Wed Jul 18 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.2.3-4
|
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_18_Mass_Rebuild
|
||||
|
||||
* 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