diff --git a/airrac.spec b/airrac.spec index 09ba5ed..a4ce2b0 100644 --- a/airrac.spec +++ b/airrac.spec @@ -3,19 +3,21 @@ # Name: airrac Version: 1.00.2 -Release: 1%{?dist} +Release: 2%{?dist} Summary: C++ Simulated Revenue Accounting (RAC) System Library -Group: System Environment/Libraries License: LGPLv2+ URL: http://github.com/airsim/%{name} -Source0: https://github.com/airsim/%{name}/archive/%{name}-%{version}.tar.gz +Source0: %{url}/archive/%{name}-%{version}.tar.gz BuildRequires: gcc-c++ -BuildRequires: cmake, python3-devel -BuildRequires: boost-devel, soci-mysql-devel, soci-sqlite3-devel +BuildRequires: cmake +BuildRequires: python3-devel +BuildRequires: boost-devel BuildRequires: boost-python3-devel +BuildRequires: soci-mysql-devel +BuildRequires: soci-sqlite3-devel BuildRequires: readline-devel BuildRequires: stdair-devel @@ -33,7 +35,6 @@ 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 @@ -44,12 +45,10 @@ programs using %{name}, you will need to install %{name}-devel. %package doc Summary: HTML documentation for the %{name} library -Group: Documentation -%if 0%{?fedora} || 0%{?rhel} > 5 BuildArch: noarch -%endif BuildRequires: tex(latex) -BuildRequires: doxygen, ghostscript +BuildRequires: doxygen +BuildRequires: ghostscript %description doc This package contains HTML pages, as well as a PDF reference manual, @@ -64,11 +63,10 @@ online (http://%{name}.org). %build %cmake . -make %{?_smp_mflags} +%make_build %install -rm -rf $RPM_BUILD_ROOT -make install DESTDIR=$RPM_BUILD_ROOT +%make_install mkdir -p %{mydocs} mv $RPM_BUILD_ROOT%{_docdir}/%{name}/html %{mydocs} @@ -76,15 +74,11 @@ 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,AUTHORS} +rm -f $RPM_BUILD_ROOT%{_docdir}/%{name}/{NEWS,README.md,AUTHORS} %check ctest -%post -p /sbin/ldconfig - -%postun -p /sbin/ldconfig - %files %doc AUTHORS ChangeLog COPYING NEWS README.md @@ -109,6 +103,9 @@ ctest %changelog +* Thu Jan 17 2019 Denis Arnaud - 1.00.2-2 +- Fixed a typo in Python library directory + * Tue Jan 15 2019 Denis Arnaud - 1.00.2-1 - Upstream update diff --git a/sources b/sources index 72f1c7e..34451eb 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -SHA512 (airrac-1.00.2.tar.gz) = a096abdfa7cdc127e4633088d800b5b2c5d2b01f46314094b2d66e5caad37319f6b11cb99556099c8ccddee893a9a51fb9c143f52d50287acd86794cd937697e +SHA512 (airrac-1.00.2.tar.gz) = a89cac2c52874f91590a3d4b80a551efade2df52fb5ea96e5184879723c106bd63c0c8c83f6a2ac69947df049ec7c9d10a93a0d17b58cf3d367d08eaaab46809 diff --git a/stdair-1.00.1-cmake.patch b/stdair-1.00.1-cmake.patch deleted file mode 100644 index 66c5091..0000000 --- a/stdair-1.00.1-cmake.patch +++ /dev/null @@ -1,14 +0,0 @@ -diff -up stdair-1.00.1/config/FindZeroMQ.cmake\~ stdair-1.00.1/config/FindZeroMQ.cmake ---- stdair-1.00.1/config/FindZeroMQ.cmake~ 2012-12-22 11:44:25.000000000 +0100 -+++ stdair-1.00.1/config/FindZeroMQ.cmake 2015-01-28 10:12:48.786823055 +0100 -@@ -25,7 +25,7 @@ find_library (ZeroMQ_LIBRARIES - HINTS ${ZeroMQ_ROOT_DIR}/lib) - - find_path (ZeroMQ_INCLUDE_DIR -- NAMES zmq.hpp -+ NAMES zmq.h - HINTS ${ZeroMQ_ROOT_DIR}/include) - - # - -Diff finished. Wed Jan 28 10:13:03 2015