diff --git a/airrac.spec b/airrac.spec index 23834a2..23c16b4 100644 --- a/airrac.spec +++ b/airrac.spec @@ -1,25 +1,23 @@ -# Force out of source build -%undefine __cmake_in_source_build - # Name: airrac -Version: 1.00.7 -Release: 2%{?dist} +Version: 1.00.15 +Release: %autorelease Summary: C++ Simulated Revenue Accounting (RAC) System Library -License: LGPLv2+ +License: LGPL-2.1-or-later URL: https://github.com/airsim/%{name} -Source0: %{url}/archive/%{name}-%{version}.tar.gz +Source0: %{url}/archive/refs/tags/v%{version}.tar.gz#/%{name}-%{version}.tar.gz BuildRequires: gcc-c++ BuildRequires: cmake BuildRequires: boost-devel +BuildRequires: soci-devel BuildRequires: soci-mysql-devel BuildRequires: soci-sqlite3-devel -BuildRequires: readline-devel -BuildRequires: stdair-devel - +BuildRequires: soci-postgresql-devel +BuildRequires: pkgconfig(readline) +BuildRequires: pkgconfig(stdair) %description %{name} is a C++ library of airline revenue accounting classes and @@ -53,12 +51,12 @@ 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 -%autosetup -n %{name}-%{name}-%{version} +%autosetup %build @@ -87,30 +85,21 @@ rm -f $RPM_BUILD_ROOT%{_docdir}/%{name}/{NEWS,README.md,AUTHORS} %{_mandir}/man1/%{name}.1.* %files devel -%{_includedir}/%{name} +%license COPYING +%{_includedir}/%{name}/ %{_bindir}/%{name}-config %{_libdir}/lib%{name}.so +%{_libdir}/cmake/%{name}/ %{_libdir}/pkgconfig/%{name}.pc %{_datadir}/aclocal/%{name}.m4 -%dir %{_datadir}/%{name} -%{_datadir}/%{name}/CMake %{_mandir}/man1/%{name}-config.1.* %{_mandir}/man3/%{name}-library.3.* %files doc -%doc %{_docdir}/%{name}/html +%doc %{_docdir}/%{name}/ %license COPYING %changelog -* Wed Jul 19 2023 Fedora Release Engineering - 1.00.7-2 -- Rebuilt for https://fedoraproject.org/wiki/Fedora_39_Mass_Rebuild - -* Mon May 01 2023 Denis Arnaud - 1.00.7-1 -- Upstream upgrade - -* Mon Feb 20 2023 Jonathan Wakely - 1.00.6-4 -- Rebuilt for Boost 1.81 - %autochangelog diff --git a/sources b/sources index edb211e..7b8a696 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -SHA512 (airrac-1.00.7.tar.gz) = d4afd7bea4a81304d9e5eea89c633e698e21bda2d2480f0d2b2002673f468055331c316935e41b2ba958ccf64508a0443da932aa4a02fff318e8f6e70c7b3b18 +SHA512 (airrac-1.00.15.tar.gz) = 8d3d4d718ee337002cc310d7c5306077c3317353f8e3cd5d182c25cdac59da5c0be04016e1281714bb659f6734719355d0b3fa46adff07a584f436c57b836b9f