Compare commits

...

113 Commits

Author SHA1 Message Date
Karolina Surma
78c84caa36 Add Python 3.13 to cmake config 2023-11-29 09:45:12 +01:00
Denis Arnaud
8c67e03466 Modernized the spec file 2023-11-14 10:11:21 +01:00
Denis Arnaud
4e1aa1c1ad Modernized the spec file 2023-11-14 10:09:57 +01:00
Fedora Release Engineering
ae5635452d Rebuilt for https://fedoraproject.org/wiki/Fedora_39_Mass_Rebuild
Signed-off-by: Fedora Release Engineering <releng@fedoraproject.org>
2023-07-21 16:56:11 +00:00
Python Maint
5e3343ca11 Rebuilt for Python 3.12 2023-06-13 23:28:56 +02:00
Denis Arnaud
ea33c93ca7 Upstream upgrade 2023-05-01 18:10:13 +02:00
Jonathan Wakely
7d8f2a93a6 Rebuilt for Boost 1.81 2023-02-20 21:45:03 +00:00
Fedora Release Engineering
ea59b1259c Rebuilt for https://fedoraproject.org/wiki/Fedora_38_Mass_Rebuild
Signed-off-by: Fedora Release Engineering <releng@fedoraproject.org>
2023-01-20 19:49:34 +00:00
Fedora Release Engineering
3ce4634d13 Rebuilt for https://fedoraproject.org/wiki/Fedora_37_Mass_Rebuild
Signed-off-by: Fedora Release Engineering <releng@fedoraproject.org>
2022-07-23 00:53:38 +00:00
Denis Arnaud
17e4dcc870 Upgraded to v1.00.8 2022-07-10 23:11:24 +02:00
Python Maint
1affe6138a Rebuilt for Python 3.11 2022-06-13 19:54:07 +02:00
Thomas Rodgers
f60d3dfab6 Rebuilt for Boost 1.78 2022-05-04 11:41:35 +02:00
Fedora Release Engineering
8bd4efc70c - Rebuilt for https://fedoraproject.org/wiki/Fedora_36_Mass_Rebuild
Signed-off-by: Fedora Release Engineering <releng@fedoraproject.org>
2022-01-21 17:54:45 +00:00
Jonathan Wakely
0658c12195 Rebuilt for Boost 1.76 2021-08-07 03:08:51 +01:00
Fedora Release Engineering
b01d2146f3 - Rebuilt for https://fedoraproject.org/wiki/Fedora_35_Mass_Rebuild
Signed-off-by: Fedora Release Engineering <releng@fedoraproject.org>
2021-07-23 11:29:47 +00:00
Denis Arnaud
66c7dfd808 [Sources] Support for Python 3.10 2021-06-27 00:05:38 +02:00
Denis Arnaud
565d0b8aee Upstream update 2021-06-26 23:49:09 +02:00
Python Maint
097203e6dc Rebuilt for Python 3.10 2021-06-04 21:13:39 +02:00
Fedora Release Engineering
6b006a01e3 - Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild
Signed-off-by: Fedora Release Engineering <releng@fedoraproject.org>
2021-01-27 15:21:50 +00:00
Jonathan Wakely
a78ba56ab6 Rebuilt for Boost 1.75 2021-01-22 21:07:33 +00:00
Denis Arnaud
38a34ec834 Removed the docdir work around (no longer needed) 2020-08-09 22:08:50 +02:00
Fedora Release Engineering
20ef33a8ee - Second attempt - Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild
Signed-off-by: Fedora Release Engineering <releng@fedoraproject.org>
2020-08-01 07:51:33 +00:00
Fedora Release Engineering
3b6ad6727f - Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild
Signed-off-by: Fedora Release Engineering <releng@fedoraproject.org>
2020-07-29 05:49:55 +00:00
Denis Arnaud
8475fb377d Rebuilt for SOCI 4.0.1-alpha2 2020-06-06 22:21:19 +02:00
Denis Arnaud
650db7608a Rebuilt for Boost 1.73 2020-06-03 21:03:44 +02:00
Denis Arnaud
450fe87b5c Upstream update 2020-06-01 00:35:22 +02:00
Denis Arnaud
bf30b5cf7d Upstream update 2020-05-31 20:56:00 +02:00
Miro Hrončok
4a85c04b4d Rebuilt for Python 3.9 2020-05-26 03:49:20 +02:00
Fedora Release Engineering
f804676057 - Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild
Signed-off-by: Fedora Release Engineering <releng@fedoraproject.org>
2020-01-30 17:45:22 +00:00
Denis Arnaud
af9e75ebd2 Upstream update 2019-11-05 11:57:05 +01:00
Denis Arnaud
3ce6a4bb45 [Changelog] Fixed the date typo 2019-11-04 23:40:43 +01:00
Denis Arnaud
fa0ee71b08 Upstream update 2019-11-04 23:39:05 +01:00
Miro Hrončok
f9409bc7fc Rebuilt for Python 3.8.0rc1 (#1748018) 2019-10-03 14:38:10 +02:00
Miro Hrončok
65822c9435 Rebuilt for Python 3.8 2019-08-19 11:05:06 +02:00
Fedora Release Engineering
89ee60e7d9 - Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild
Signed-off-by: Fedora Release Engineering <releng@fedoraproject.org>
2019-07-26 18:39:17 +00:00
Miro Hrončok
2e70ae5b4e Pin the Python version this was built with
See https://bugzilla.redhat.com/show_bug.cgi?id=1705442
2019-07-12 02:16:04 +02:00
Denis Arnaud
6d26e95110 Fixed the release number 2019-07-11 22:18:44 +02:00
Denis Arnaud
94348cc350 CMake support files updated for Python 3.8 2019-07-11 21:56:37 +02:00
Fedora Release Engineering
752b7780d2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild
Signed-off-by: Fedora Release Engineering <releng@fedoraproject.org>
2019-02-02 11:28:11 +00:00
Jonathan Wakely
faa583e920 Rebuilt for Boost 1.69 2019-01-24 20:50:52 +00:00
Miro Hrončok
9be1db6b7b No need to exclude libs that are not called lib...so
The exclude was there because the provides/dependency generator
would find /usr/lib64/python3.7/site-packages/libpyrmol.so and it would
add the provides. However this does not happen with files not called libsomething.
2019-01-17 23:22:34 +00:00
Denis Arnaud
75dd06104a Added the delivery of pyrmol 2019-01-17 20:13:43 +01:00
Denis Arnaud
3353754f50 Upstream update 2019-01-16 15:15:54 +01:00
Fedora Release Engineering
aa709e4a3a - Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild
Signed-off-by: Fedora Release Engineering <releng@fedoraproject.org>
2018-07-14 03:39:08 +00:00
Jason Tibbitts
7baff94bdf Remove needless use of %defattr 2018-07-10 01:34:20 -05:00
Igor Gnatenko
c86a55c585 add BuildRequires: gcc-c++
Reference: https://fedoraproject.org/wiki/Changes/Remove_GCC_from_BuildRoot
2018-07-09 19:06:51 +02:00
Jonathan Wakely
080e4be026 Add BuildRequires: boost-python2-devel to fix build with boost-1.66.0-7.fc29 2018-05-10 22:59:37 +01:00
Igor Gnatenko
f25185da80
Remove %clean section
None of currently supported distributions need that.
Last one was EL5 which is EOL for a while.

Signed-off-by: Igor Gnatenko <ignatenkobrain@fedoraproject.org>
2018-02-14 08:47:28 +01:00
Igor Gnatenko
429b7fe204 Remove BuildRoot definition
None of currently supported distributions need that.
It was needed last for EL5 which is EOL now

Signed-off-by: Igor Gnatenko <ignatenkobrain@fedoraproject.org>
2018-02-14 00:32:19 +01:00
Fedora Release Engineering
9c8b4a0862 - Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild
Signed-off-by: Fedora Release Engineering <releng@fedoraproject.org>
2018-02-09 13:12:00 +00:00
Jonathan Wakely
8eb39a554a Rebuilt for Boost 1.66 2018-01-23 00:10:00 +00:00
Fedora Release Engineering
d4500c3228 - Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Binutils_Mass_Rebuild 2017-08-03 07:44:24 +00:00
Fedora Release Engineering
0e3f3dd5dd - Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild 2017-07-27 13:12:19 +00:00
Björn Esser
9b8ebfefb7 Rebuilt for Boost 1.64 2017-07-24 14:33:37 +02:00
Fedora Release Engineering
293303343a - Rebuilt for https://fedoraproject.org/wiki/Fedora_26_27_Mass_Rebuild 2017-05-15 19:58:54 +00:00
Fedora Release Engineering
6c98ddd245 - Rebuilt for https://fedoraproject.org/wiki/Fedora_26_Mass_Rebuild 2017-02-11 11:47:00 +00:00
Igor Gnatenko
1306015e6c Rebuild for readline 7.x
Signed-off-by: Igor Gnatenko <ignatenko@redhat.com>
2017-01-12 17:30:39 +01:00
Fedora Release Engineering
c1e8d51a56 - Rebuilt for https://fedoraproject.org/wiki/Fedora_24_Mass_Rebuild 2016-02-04 22:13:50 +00:00
Jonathan Wakely
0aa55b31de Rebuilt for Boost 1.60 2016-01-18 14:28:13 +00:00
Jonathan Wakely
34cbb9c699 Patched and rebuilt for Boost 1.59 2015-08-30 02:14:17 +01:00
Denis Arnaud
0e99da8c5c Mass rebuild 2015-08-29 15:02:08 +02:00
Dennis Gilmore
06a6df5994 - Rebuilt for https://fedoraproject.org/wiki/Changes/F23Boost159 2015-07-29 13:12:54 -05:00
David Tardon
933b53d749 rebuild for Boost 1.58 2015-07-22 19:25:29 +02:00
Dennis Gilmore
4cd46a9cb2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_23_Mass_Rebuild 2015-06-18 22:26:03 +00:00
Denis Arnaud
016ab69773 Removed the dependency on ZeroMQ (only AirInv is dependent on it, not StdAir) 2015-06-14 17:29:43 +02:00
Kalev Lember
66ddbee9ff Rebuilt for GCC 5 C++11 ABI change 2015-05-03 16:08:24 +02:00
Petr Machata
1fa40949ba Cmake should look for zmq.h, not zmq.hpp 2015-01-29 13:22:59 +01:00
Petr Machata
6ac24bd305 Rebuild for boost 1.57.0 2015-01-29 12:33:59 +01:00
Peter Robinson
92cf62c2cb - Rebuilt for https://fedoraproject.org/wiki/Fedora_21_22_Mass_Rebuild 2014-08-18 00:05:03 +00:00
Denis Arnaud
c1b1b22d73 Rebuild for ARM architecture. 2014-06-15 00:35:52 +02:00
Denis Arnaud
43d5104dcf Rebuilt for https://fedoraproject.org/wiki/Fedora_21_Mass_Rebuild 2014-06-15 00:33:23 +02:00
Dennis Gilmore
11717b67fc - Rebuilt for https://fedoraproject.org/wiki/Fedora_21_Mass_Rebuild 2014-06-07 21:39:39 -05:00
David Tardon
4362d2152e rebuild for boost 1.55.0 2014-05-23 12:09:06 +02:00
Dennis Gilmore
c118762558 - Rebuilt for https://fedoraproject.org/wiki/Fedora_20_Mass_Rebuild 2013-08-04 07:46:29 -05:00
Petr Machata
6d8b1dcdae Rebuild for boost 1.54.0 2013-07-30 12:29:49 +02:00
Denis Arnaud
687e242b75 Fixed the docdir issue, following the F20 System Wide Change
- Rebuild for Boost-1.54.0
2013-07-29 23:01:57 +03:00
Denis Arnaud
4ee369483d Upstream update 2013-05-22 23:27:44 +02:00
Denis Arnaud
f83d11a2d0 Rebuild for Boost-1.53.0 2013-02-09 23:16:21 +01:00
Denis Arnaud
ed5181f8e9 Upstream update 2012-12-25 18:07:07 +01:00
Kevin Fenzi
39a44897a1 Rebuild for new boost 2012-08-12 13:27:03 -06:00
Dennis Gilmore
26c8637eee - Rebuilt for https://fedoraproject.org/wiki/Fedora_18_Mass_Rebuild 2012-07-21 11:40:39 -05:00
Dennis Gilmore
19d2cf3a61 - Rebuilt for c++ ABI breakage 2012-02-28 13:59:02 -06:00
Dennis Gilmore
62200b361d - Rebuilt for https://fedoraproject.org/wiki/Fedora_17_Mass_Rebuild 2012-01-13 20:53:07 -06:00
Denis Arnaud
2b70b7b248 Upstream integration 2011-12-05 14:28:04 +01:00
Denis Arnaud
cd7f9cabb6 Rebuild for the new Boost-1.48.0 2011-11-20 17:45:58 +01:00
Denis Arnaud
8bdb8c677f Upstream integration 2011-11-03 00:40:00 +01:00
Denis Arnaud
7f074cbb3b clog 2011-10-26 23:54:38 +02:00
Denis Arnaud
23b4408334 [Dev] Removed the handling of i18n (.po) files, as it is no longer supported. 2011-10-23 23:30:43 +02:00
Denis Arnaud
bcde286e2c [Build] Added missing dependencies for the build (MySQL). 2011-10-23 23:16:04 +02:00
Denis Arnaud
3f0c8ffc4e [Dev] Removed the generation of the info files (as they have been deprecated for a while. 2011-10-23 23:07:27 +02:00
Denis Arnaud
9752fef90b [Sources] New rmol-0.25.0 version. 2011-10-23 22:45:09 +02:00
Denis Arnaud
42e2f290e3 Upstream integration 2011-10-23 22:35:14 +02:00
Denis Arnaud
8abaade601 Rebuild for Boost-1.47.0-2 2011-07-23 11:12:49 +02:00
Denis Arnaud
c5adab6d31 Rebuild for Boost-1.46.1-2 2011-04-25 23:16:23 +02:00
Dennis Gilmore
5e0105f5fc - Rebuilt for https://fedoraproject.org/wiki/Fedora_15_Mass_Rebuild 2011-02-09 02:04:20 -06:00
Thomas Spura
ab8844a9bd rebuild for new boost 2011-02-06 22:52:44 +01:00
Denis Arnaud
7dd5ad4d58 - Upstream integration
- Fixed bug #631080 (https://bugzilla.redhat.com/show_bug.cgi?id=631080)
2010-09-07 20:24:59 +02:00
Denis Arnaud
3b669bea12 Just ignored a few generated files. 2010-07-30 22:59:00 +02:00
Denis Arnaud
6b570d8294 * Wed Jul 28 2010 Denis Arnaud <denis.arnaud_fedora@m4x.org> 0.23.0-3
- Added a patch to fix Rawhide build error
2010-07-30 21:11:58 +02:00
Denis Arnaud
4cec2b6280 Just ignored a few generated files. 2010-07-30 20:51:18 +02:00
Denis Arnaud
07cff20623 * Wed Jul 28 2010 Denis Arnaud <denis.arnaud_fedora@m4x.org> 0.23.0-3
- Added a patch to fix Rawhide build error
2010-07-30 20:48:27 +02:00
Fedora Release Engineering
0fed785b67 dist-git conversion 2010-07-29 11:32:42 +00:00
Rahul Sundaram
2e2a5202ea - Rebuild for Boost soname bump 2010-01-21 21:50:11 +00:00
Bill Nottingham
8d51d5f730 Fix typo that causes a failure to update the common directory. (releng
#2781)
2009-11-25 23:13:19 +00:00
Denis Arnaud
60f79d5df0 - Upstream integration 2009-09-26 16:29:28 +00:00
Jesse Keating
f0b705939d - Rebuilt for https://fedoraproject.org/wiki/Fedora_12_Mass_Rebuild 2009-07-27 03:05:22 +00:00
Denis Arnaud
ca778518ac - Upstream integration 2009-06-06 16:53:50 +00:00
Denis Arnaud
36073d9bf6 - Removed dependencies on specific versions (for EL 5) 2009-05-10 00:22:10 +00:00
Denis Arnaud
5c7d2b2192 - Added dependency on libicu for Boost 1.37 (Fedora 11) 2009-05-04 00:59:44 +00:00
Denis Arnaud
324a62df3a - Added dependency on libicu-devel for Boost 1.37 (Fedora 11) 2009-05-04 00:44:17 +00:00
Denis Arnaud
9e78e2a865 - Upstream integration 2009-05-04 00:22:49 +00:00
Denis Arnaud
0f673eea95 Synchronisation with upstream (new version 0.20.0). 2009-05-04 00:03:22 +00:00
Denis Arnaud
6474f99734 - RPM release for Fedora 10
Wed Mar 4 2009 Denis Arnaud <denis.arnaud_fedora@m4x.org> 0.18.0-1
- Second RPM release
2009-04-14 20:33:34 +00:00
6 changed files with 214 additions and 21 deletions

View File

9
.gitignore vendored Normal file
View File

@ -0,0 +1,9 @@
/rmol-*.tar.*
/rmol-*.src.rpm
/rmol-*.*.*/
/clog
.build-*.*.log
/noarch/
/x86_64/
/i?86/
/tarballs/

View File

@ -0,0 +1,53 @@
From 5b5d123085d5ee2068118926d5fb8c1602745778 Mon Sep 17 00:00:00 2001
From: Karolina Surma <ksurma@redhat.com>
Date: Tue, 21 Nov 2023 16:09:53 +0100
Subject: [PATCH] Add Python 3.13 to cmake config
---
config/FindPython/Support.cmake | 2 +-
config/FindPythonInterp.cmake | 2 +-
config/FindPythonLibs.cmake | 2 +-
3 files changed, 3 insertions(+), 3 deletions(-)
diff --git a/config/FindPython/Support.cmake b/config/FindPython/Support.cmake
index 517ac21..b62f536 100644
--- a/config/FindPython/Support.cmake
+++ b/config/FindPython/Support.cmake
@@ -28,7 +28,7 @@ if (NOT DEFINED _${_PYTHON_PREFIX}_REQUIRED_VERSION_MAJOR)
message (FATAL_ERROR "FindPython: INTERNAL ERROR")
endif()
if (_${_PYTHON_PREFIX}_REQUIRED_VERSION_MAJOR EQUAL "3")
- set(_${_PYTHON_PREFIX}_VERSIONS 3.12 3.11 3.10 3.9 3.8 3.7 3.6 3.5 3.4 3.3 3.2 3.1 3.0)
+ set(_${_PYTHON_PREFIX}_VERSIONS 3.13 3.12 3.11 3.10 3.9 3.8 3.7 3.6 3.5 3.4 3.3 3.2 3.1 3.0)
elseif (_${_PYTHON_PREFIX}_REQUIRED_VERSION_MAJOR EQUAL "2")
set(_${_PYTHON_PREFIX}_VERSIONS 2.7 2.6 2.5 2.4 2.3 2.2 2.1 2.0)
else()
diff --git a/config/FindPythonInterp.cmake b/config/FindPythonInterp.cmake
index 7ad3587..e6dd298 100644
--- a/config/FindPythonInterp.cmake
+++ b/config/FindPythonInterp.cmake
@@ -54,7 +54,7 @@ unset(_Python_NAMES)
set(_PYTHON1_VERSIONS 1.6 1.5)
set(_PYTHON2_VERSIONS 2.7 2.6 2.5 2.4 2.3 2.2 2.1 2.0)
-set(_PYTHON3_VERSIONS 3.12 3.11 3.10 3.9 3.8 3.7 3.6 3.5 3.4 3.3 3.2 3.1 3.0)
+set(_PYTHON3_VERSIONS 3.13 3.12 3.11 3.10 3.9 3.8 3.7 3.6 3.5 3.4 3.3 3.2 3.1 3.0)
if(PythonInterp_FIND_VERSION)
if(PythonInterp_FIND_VERSION_COUNT GREATER 1)
diff --git a/config/FindPythonLibs.cmake b/config/FindPythonLibs.cmake
index 43a84dd..8dfd060 100644
--- a/config/FindPythonLibs.cmake
+++ b/config/FindPythonLibs.cmake
@@ -79,7 +79,7 @@ set(CMAKE_FIND_FRAMEWORK LAST)
set(_PYTHON1_VERSIONS 1.6 1.5)
set(_PYTHON2_VERSIONS 2.7 2.6 2.5 2.4 2.3 2.2 2.1 2.0)
-set(_PYTHON3_VERSIONS 3.12 3.11 3.10 3.9 3.8 3.7 3.6 3.5 3.4 3.3 3.2 3.1 3.0)
+set(_PYTHON3_VERSIONS 3.13 3.12 3.11 3.10 3.9 3.8 3.7 3.6 3.5 3.4 3.3 3.2 3.1 3.0)
if(PythonLibs_FIND_VERSION)
if(PythonLibs_FIND_VERSION_COUNT GREATER 1)
--
2.41.0

View File

@ -1,21 +0,0 @@
# Makefile for source rpm: rmol
# $Id$
NAME := rmol
SPECFILE = $(firstword $(wildcard *.spec))
define find-makefile-common
for d in common ../common ../../common ; do if [ -f $$d/Makefile.common ] ; then if [ -f $$d/CVS/Root -a -w $$/Makefile.common ] ; then cd $$d ; cvs -Q update ; fi ; echo "$$d/Makefile.common" ; break ; fi ; done
endef
MAKEFILE_COMMON := $(shell $(find-makefile-common))
ifeq ($(MAKEFILE_COMMON),)
# attept a checkout
define checkout-makefile-common
test -f CVS/Root && { cvs -Q -d $$(cat CVS/Root) checkout common && echo "common/Makefile.common" ; } || { echo "ERROR: I can't figure out how to checkout the 'common' module." ; exit -1 ; } >&2
endef
MAKEFILE_COMMON := $(shell $(checkout-makefile-common))
endif
include $(MAKEFILE_COMMON)

151
rmol.spec Normal file
View File

@ -0,0 +1,151 @@
# Build -python subpackage
%bcond_without python
#
Name: rmol
Version: 1.00.9
Release: %autorelease
Summary: C++ library of Revenue Management and Optimisation classes and functions
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
Patch: Add-Python-3.13-to-cmake-config.patch
BuildRequires: gcc-c++
BuildRequires: cmake
BuildRequires: boost-devel
BuildRequires: pkgconfig(readline)
BuildRequires: soci-mysql-devel
BuildRequires: soci-sqlite3-devel
BuildRequires: pkgconfig(stdair)
BuildRequires: pkgconfig(airrac)
%description
%{name} is a C++ library of Revenue Management and Optimisation classes
and functions. Typically, that library may be used by service providers
(e.g., airlines offering flight seats, hotels offering rooms, rental car
companies offering rental days, broadcasting company offering advertisement
slots, theaters offering seats, etc.) to help in optimizing their revenues
from seat capacities.
Most of the algorithms implemented are public and documented in the
following book:
The Theory and practice of Revenue Management, by Kalyan T. Talluri and
Garrett J. van Ryzin, Kluwer Academic Publishers, 2004, ISBN 1-4020-7701-7
%{name} makes an extensive use of existing open-source libraries for
increased functionality, speed and accuracy. In particular the
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 Management (RM), mainly for simulation purpose.
%package devel
Summary: Header files, libraries and development helper tools for %{name}
Requires: %{name}%{?_isa} = %{version}-%{release}
Requires: pkgconfig
%description devel
This package contains the header files, shared libraries and
development helper tools for %{name}. If you would like to develop
programs using %{name}, you will need to install %{name}-devel.
%package doc
Summary: HTML documentation for the %{name} library
BuildArch: noarch
BuildRequires: tex(latex)
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
(https://doxygen.org). The content is the same as what can be browsed
online (https://%{name}.net).
%if %{with python}
%package -n python3-%{name}
Summary: Python bindings for %{name}
Requires: %{name}%{?_isa} = %{version}-%{release}
BuildRequires: python3-devel
BuildRequires: python3-setuptools
BuildRequires: boost-python3-devel
%{?python_provide:%python_provide python3-%{name}}
%description -n python3-%{name}
This package contains Python libraries for %{name}
%endif
%prep
%autosetup -p1
%build
%cmake
%cmake_build
%install
%cmake_install
# Removed 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 %{buildroot}%{_docdir}/%{name}/{NEWS,README.md,AUTHORS}
%check
%ctest
%if %{with python}
%post -n python3-%{name}
ln -s -f %{python3_sitearch}/py%{name}/py%{name} %{_bindir}/py%{name}
%postun -n python3-%{name}
rm -f %{_bindir}/py%{name}
%endif
%files
%doc AUTHORS ChangeLog COPYING NEWS README.md
%{_bindir}/%{name}
%{_bindir}/%{name}_drawBPC
%{_bindir}/%{name}_extractBPC
%{_libdir}/lib%{name}.so.*
%{_mandir}/man1/%{name}.1.*
%{_mandir}/man1/%{name}_drawBPC.1.*
%{_mandir}/man1/%{name}_extractBPC.1.*
%files devel
%{_includedir}/%{name}/
%{_bindir}/%{name}-config
%{_libdir}/lib%{name}.so
%{_libdir}/pkgconfig/%{name}.pc
%{_datadir}/aclocal/%{name}.m4
%dir %{_datadir}/%{name}
%{_datadir}/%{name}/CMake/%{name}-config-version.cmake
%{_datadir}/%{name}/CMake/%{name}-config.cmake
%{_datadir}/%{name}/CMake/%{name}-library-depends.cmake
%{_datadir}/%{name}/CMake/%{name}-library-depends-debug.cmake
%{_mandir}/man1/%{name}-config.1.*
%{_mandir}/man3/%{name}-library.3.*
%files doc
%doc %{_docdir}/%{name}/
%license COPYING
%if %{with python}
%files -n python3-%{name}
%{python3_sitearch}/py%{name}/
%{_mandir}/man1/py%{name}.1.*
%{_datadir}/%{name}/CMake/%{name}-config-python.cmake
%{_datadir}/%{name}/CMake/%{name}-python-library-depends-debug.cmake
%{_datadir}/%{name}/CMake/%{name}-python-library-depends.cmake
%endif
%changelog
%autochangelog

View File

@ -0,0 +1 @@
SHA512 (rmol-1.00.9.tar.gz) = 6ceb5b4e581459a0c2427cea588dac3cef990b427708a53c2b879758b133824c1238dee0d748a3e75e71e569911db60bdd108981ce78395a55dc825dfb1afcaa