Modernized the spec file

This commit is contained in:
Denis Arnaud 2023-11-14 10:27:56 +01:00
parent 43246f6307
commit 4ca5cc3647
2 changed files with 14 additions and 24 deletions

View File

@ -1,21 +1,21 @@
#
Name: sevmgr
Version: 1.00.8
Release: 2%{?dist}
Release: %autorelease
Summary: C++ Simulation-Oriented Discrete Event Management 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, soci-sqlite3-devel
BuildRequires: readline-devel
BuildRequires: stdair-devel
BuildRequires: soci-mysql-devel
BuildRequires: soci-sqlite3-devel
BuildRequires: pkgconfig(readline)
BuildRequires: pkgconfig(stdair)
%description
%{name} is a C++ library of discrete event queue management classes and
@ -49,13 +49,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
@ -85,30 +84,21 @@ rm -f %{buildroot}%{_docdir}/%{name}/{NEWS,README.md,AUTHORS}
%{_mandir}/man1/%{name}_demo.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 %{_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 update
* Mon Feb 20 2023 Jonathan Wakely <jwakely@redhat.com> - 1.00.7-4
- Rebuilt for Boost 1.81
%autochangelog

View File

@ -1 +1 @@
SHA512 (sevmgr-1.00.8.tar.gz) = 10ad825e6e67be8374d1fc05c44987e72c73cc60ab23ec16e088f9a433149dde2e9b945eb6a22c0fa64f44e2127358e319b5cc3e3de959da4faf145bc1a14e6d
SHA512 (sevmgr-1.00.8.tar.gz) = ff815cc4115ee4665332f96a292c0c6c4d904e778040e267375af23faeb0888343f54d0c1ac869b00183be86bfbda5252bd242985abdbf36db8e13ff0db18240