Modernized the spec file

This commit is contained in:
Denis Arnaud 2023-11-14 16:09:47 +01:00
parent 9e93f1736c
commit 712653c8d7
2 changed files with 13 additions and 25 deletions

View File

@ -1 +1 @@
SHA512 (travelccm-1.00.8.tar.gz) = 363af9858a9429cd70263efec042e8fb086f20419e932386bbd2dbeadaa62120b601f84427998b147f584863eab77e26ed318b4c102dd413c0eac305fb146a4e
SHA512 (travelccm-1.00.8.tar.gz) = 71b438a5d26134a172b9b5ab88baf8172cc80416070dfdb82debc460130ad77a86b23be37d50b2f6e6de47625e40c606b35df466e4cdffe694818f22884489f1

View File

@ -1,23 +1,21 @@
#
Name: travelccm
%global sfname travel-ccm
Version: 1.00.8
Release: 2%{?dist}
Release: %autorelease
Summary: C++ Travel Customer Choice Model (CCM) 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-mysql-devel
BuildRequires: soci-sqlite3-devel
BuildRequires: readline-devel
BuildRequires: stdair-devel
BuildRequires: pkgconfig(readline)
BuildRequires: pkgconfig(stdair)
%description
%{name} aims at providing a clean API, and the corresponding
@ -69,13 +67,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://github.com/airsim/%{name}).
%prep
%autosetup -n %{name}-%{name}-%{version}
%autosetup
%build
%cmake
@ -103,30 +100,21 @@ rm -f $RPM_BUILD_ROOT%{_docdir}/%{name}/{NEWS,README.md,AUTHORS}
%{_mandir}/man1/%{name}.1.*
%files devel
%{_includedir}/%{name}
%{_includedir}/%{name}/
%{_bindir}/%{name}-config
%{_libdir}/lib%{name}.so
%{_libdir}/pkgconfig/%{name}.pc
%{_datadir}/aclocal/%{name}.m4
%dir %{_datadir}/%{name}
%{_datadir}/%{name}/CMake
%{_datadir}/%{name}/CMake/
%{_mandir}/man1/%{name}-config.1.*
%{_mandir}/man3/%{name}-library.3.*
%files doc
%doc %{_docdir}/%{name}/html
%doc COPYING
%doc %{_docdir}/%{name}/
%license COPYING
%changelog
* Sat Jul 22 2023 Fedora Release Engineering <releng@fedoraproject.org> - 1.00.8-2
- Rebuilt for https://fedoraproject.org/wiki/Fedora_39_Mass_Rebuild
* Mon May 01 2023 Denis Arnaud <denis.arnaud_fedora@m4x.org> - 1.00.8-1
- Upstream upgrade
* Mon Feb 20 2023 Jonathan Wakely <jwakely@redhat.com> - 1.00.7-4
- Rebuilt for Boost 1.81
%autochangelog