2020-07-08 11:59:57 +00:00
|
|
|
%undefine __cmake_in_source_build
|
|
|
|
|
2016-08-30 03:55:35 +00:00
|
|
|
Name: fmt
|
2022-01-04 08:43:08 +00:00
|
|
|
Version: 8.1.0
|
|
|
|
Release: 1%{?dist}
|
2016-08-30 03:55:35 +00:00
|
|
|
|
|
|
|
License: BSD
|
2021-07-04 14:14:18 +00:00
|
|
|
Summary: Small, safe and fast formatting library for C++
|
2020-04-06 17:21:33 +00:00
|
|
|
URL: https://github.com/fmtlib/%{name}
|
|
|
|
Source0: %{url}/archive/%{version}.tar.gz
|
2016-08-30 03:55:35 +00:00
|
|
|
|
2022-01-04 13:28:40 +00:00
|
|
|
# https://github.com/fmtlib/fmt/pull/2699
|
|
|
|
Patch100: %{name}-big-endian-fixes.patch
|
|
|
|
|
2018-07-09 17:06:44 +00:00
|
|
|
BuildRequires: gcc
|
|
|
|
BuildRequires: gcc-c++
|
2020-07-08 11:59:57 +00:00
|
|
|
BuildRequires: ninja-build
|
2018-07-24 14:11:32 +00:00
|
|
|
%if 0%{?rhel} && 0%{?rhel} <= 7
|
2016-08-30 03:55:35 +00:00
|
|
|
BuildRequires: cmake3
|
|
|
|
%else
|
|
|
|
BuildRequires: cmake
|
|
|
|
%endif
|
|
|
|
|
|
|
|
# This package replaces the old name of cppformat
|
2020-07-28 11:49:34 +00:00
|
|
|
Provides: cppformat = %{?epoch:%{epoch}:}%{version}-%{release}
|
|
|
|
Obsoletes: cppformat < %{?epoch:%{epoch}:}%{version}-%{release}
|
2016-08-30 03:55:35 +00:00
|
|
|
|
2016-12-30 05:14:57 +00:00
|
|
|
%description
|
|
|
|
C++ Format is an open-source formatting library for C++. It can be used as a
|
|
|
|
safe alternative to printf or as a fast alternative to IOStreams.
|
|
|
|
|
2016-08-30 03:55:35 +00:00
|
|
|
%package devel
|
|
|
|
Summary: Development files for %{name}
|
2020-07-28 11:45:22 +00:00
|
|
|
Requires: %{name}%{?_isa} = %{?epoch:%{epoch}:}%{version}-%{release}
|
2016-08-30 03:55:35 +00:00
|
|
|
|
|
|
|
# This package replaces the old name of cppformat
|
2020-07-28 11:49:34 +00:00
|
|
|
Provides: cppformat-devel = %{?epoch:%{epoch}:}%{version}-%{release}
|
|
|
|
Obsoletes: cppformat-devel < %{?epoch:%{epoch}:}%{version}-%{release}
|
2016-08-30 03:55:35 +00:00
|
|
|
|
|
|
|
%description devel
|
|
|
|
This package contains the header file for using %{name}.
|
|
|
|
|
|
|
|
%prep
|
|
|
|
%autosetup -p1
|
|
|
|
|
|
|
|
%build
|
2018-07-24 14:11:32 +00:00
|
|
|
%if 0%{?rhel} && 0%{?rhel} <= 7
|
2020-07-08 11:59:57 +00:00
|
|
|
%cmake3 \
|
2016-08-30 03:55:35 +00:00
|
|
|
%else
|
2020-07-08 11:59:57 +00:00
|
|
|
%cmake \
|
2016-08-30 03:55:35 +00:00
|
|
|
%endif
|
2020-07-08 11:59:57 +00:00
|
|
|
-G Ninja \
|
2018-10-13 03:06:43 +00:00
|
|
|
-DCMAKE_BUILD_TYPE=RelWithDebInfo \
|
|
|
|
-DCMAKE_POSITION_INDEPENDENT_CODE=ON \
|
2021-05-03 20:52:20 +00:00
|
|
|
-DFMT_CMAKE_DIR=%{_libdir}/cmake/%{name} \
|
2018-10-13 03:06:43 +00:00
|
|
|
-DFMT_LIB_DIR=%{_libdir}
|
2021-07-04 14:14:18 +00:00
|
|
|
%cmake_build
|
2016-08-30 03:55:35 +00:00
|
|
|
|
|
|
|
%install
|
2020-07-08 11:59:57 +00:00
|
|
|
%cmake_install
|
2016-08-30 03:55:35 +00:00
|
|
|
|
|
|
|
%check
|
2020-07-08 11:59:57 +00:00
|
|
|
%ctest
|
2016-08-30 03:55:35 +00:00
|
|
|
|
|
|
|
%files
|
|
|
|
%license LICENSE.rst
|
2018-10-13 03:06:43 +00:00
|
|
|
%doc ChangeLog.rst README.rst
|
2021-07-04 14:14:18 +00:00
|
|
|
%{_libdir}/lib%{name}.so.8*
|
2016-08-30 03:55:35 +00:00
|
|
|
|
|
|
|
%files devel
|
2019-12-18 13:04:58 +00:00
|
|
|
%{_includedir}/%{name}
|
|
|
|
%{_libdir}/lib%{name}.so
|
2021-05-03 20:52:20 +00:00
|
|
|
%{_libdir}/cmake/%{name}
|
2019-12-18 13:04:58 +00:00
|
|
|
%{_libdir}/pkgconfig/%{name}.pc
|
2016-08-30 03:55:35 +00:00
|
|
|
|
|
|
|
%changelog
|
2022-01-04 08:43:08 +00:00
|
|
|
* Tue Jan 04 2022 Vitaly Zaitsev <vitaly@easycoding.org> - 8.1.0-1
|
|
|
|
- Updated to version 8.1.0.
|
|
|
|
|
2021-07-21 23:10:29 +00:00
|
|
|
* Wed Jul 21 2021 Fedora Release Engineering <releng@fedoraproject.org> - 8.0.1-2
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_35_Mass_Rebuild
|
|
|
|
|
2021-07-04 14:14:18 +00:00
|
|
|
* Sun Jul 04 2021 Vitaly Zaitsev <vitaly@easycoding.org> - 8.0.1-1
|
|
|
|
- Updated to version 8.0.1.
|
|
|
|
|
2021-05-03 20:52:20 +00:00
|
|
|
* Mon May 03 2021 Vitaly Zaitsev <vitaly@easycoding.org> - 7.1.3-3
|
|
|
|
- Fixed RHBZ#1956521.
|
|
|
|
|
2021-01-26 05:44:55 +00:00
|
|
|
* Tue Jan 26 2021 Fedora Release Engineering <releng@fedoraproject.org> - 7.1.3-2
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild
|
|
|
|
|
2020-11-29 14:59:07 +00:00
|
|
|
* Sun Nov 29 2020 Vitaly Zaitsev <vitaly@easycoding.org> - 7.1.3-1
|
|
|
|
- Updated to version 7.1.3.
|
|
|
|
|
2020-11-10 11:39:10 +00:00
|
|
|
* Tue Nov 10 2020 Vitaly Zaitsev <vitaly@easycoding.org> - 7.1.2-1
|
|
|
|
- Updated to version 7.1.2.
|
|
|
|
|
2020-08-08 09:12:24 +00:00
|
|
|
* Sat Aug 08 2020 Vitaly Zaitsev <vitaly@easycoding.org> - 7.0.3-1
|
|
|
|
- Updated to version 7.0.3.
|
|
|
|
|
2020-07-29 19:14:37 +00:00
|
|
|
* Wed Jul 29 2020 Vitaly Zaitsev <vitaly@easycoding.org> - 7.0.2-1
|
|
|
|
- Updated to version 7.0.2.
|
|
|
|
|
2020-07-27 17:39:36 +00:00
|
|
|
* Mon Jul 27 2020 Fedora Release Engineering <releng@fedoraproject.org> - 7.0.1-2
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild
|
|
|
|
|
2020-07-08 11:34:08 +00:00
|
|
|
* Wed Jul 08 2020 Vitaly Zaitsev <vitaly@easycoding.org> - 7.0.1-1
|
|
|
|
- Updated to version 7.0.1.
|
|
|
|
|
2020-05-09 20:02:04 +00:00
|
|
|
* Sat May 09 2020 Vitaly Zaitsev <vitaly@easycoding.org> - 6.2.1-1
|
|
|
|
- Updated to version 6.2.1.
|
|
|
|
|
2020-04-30 07:30:02 +00:00
|
|
|
* Thu Apr 30 2020 Kefu Chai <tchaikov@gmail.com> - 6.2.0-2
|
|
|
|
- Incorporate patch from upstream to address https://github.com/fmtlib/fmt/issues/1631
|
|
|
|
|
2020-04-06 17:21:33 +00:00
|
|
|
* Mon Apr 06 2020 Vitaly Zaitsev <vitaly@easycoding.org> - 6.2.0-1
|
|
|
|
- Updated to version 6.2.0.
|
|
|
|
|
2020-01-28 18:46:01 +00:00
|
|
|
* Tue Jan 28 2020 Fedora Release Engineering <releng@fedoraproject.org> - 6.1.2-2
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild
|
|
|
|
|
2019-12-18 13:04:58 +00:00
|
|
|
* Wed Dec 18 2019 Vitaly Zaitsev <vitaly@easycoding.org> - 6.1.2-1
|
|
|
|
- Updated to version 6.1.2.
|
|
|
|
- Recreated all documentation patches.
|
|
|
|
- SPEC file cleanup.
|
|
|
|
|
2019-07-25 00:49:03 +00:00
|
|
|
* Thu Jul 25 2019 Fedora Release Engineering <releng@fedoraproject.org> - 5.3.0-2
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild
|
|
|
|
|
2019-06-10 12:52:17 +00:00
|
|
|
* Mon Jun 10 2019 Jan Staněk <jstanek@redhat.com> - 5.3.0-1
|
|
|
|
- Update to 5.3.0
|
|
|
|
- Recreate documentation build patches
|
|
|
|
- Package new pkg-config files
|
|
|
|
|
2019-01-31 19:56:29 +00:00
|
|
|
* Thu Jan 31 2019 Fedora Release Engineering <releng@fedoraproject.org> - 5.2.1-2
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild
|
|
|
|
|
2018-10-13 03:06:43 +00:00
|
|
|
* Thu Oct 11 2018 Kefu Chai <tchaikov@gmail.com> - 5.2.1-1
|
|
|
|
- Update to 5.2.1
|
|
|
|
- Build using python3 packages on fedora
|
|
|
|
- Remove links in document accessing network
|
|
|
|
- Package ChangeLog.rst and README.rst
|
|
|
|
- Drop fmt-static package
|
|
|
|
|
2018-08-31 14:16:39 +00:00
|
|
|
* Fri Aug 31 2018 Leigh Scott <leigh123linux@googlemail.com> - 3.0.2-7
|
|
|
|
- Fix python2 issue for doc
|
|
|
|
|
2018-07-13 00:42:58 +00:00
|
|
|
* Fri Jul 13 2018 Fedora Release Engineering <releng@fedoraproject.org> - 3.0.2-6
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild
|
|
|
|
|
2018-02-07 09:55:17 +00:00
|
|
|
* Wed Feb 07 2018 Fedora Release Engineering <releng@fedoraproject.org> - 3.0.2-5
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild
|
|
|
|
|
2017-08-10 04:04:26 +00:00
|
|
|
* Wed Aug 09 2017 Dave Johansen <davejohansen@gmail.com> - 3.0.2-4
|
|
|
|
- Patch for Test 8 segfault
|
|
|
|
|
2017-08-02 20:41:16 +00:00
|
|
|
* Wed Aug 02 2017 Fedora Release Engineering <releng@fedoraproject.org> - 3.0.2-3
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Binutils_Mass_Rebuild
|
|
|
|
|
2017-07-26 08:34:09 +00:00
|
|
|
* Wed Jul 26 2017 Fedora Release Engineering <releng@fedoraproject.org> - 3.0.2-2
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild
|
|
|
|
|
2017-06-24 16:44:14 +00:00
|
|
|
* Sat Jun 24 2017 Dave Johansen <davejohansen@gmail.com> - 3.0.2-1
|
|
|
|
- Upstream release
|
|
|
|
|
2017-05-15 19:48:58 +00:00
|
|
|
* Mon May 15 2017 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 3.0.1-3
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_26_27_Mass_Rebuild
|
|
|
|
|
2016-12-29 05:12:16 +00:00
|
|
|
* Tue Dec 27 2016 Dave Johansen <davejohansen@gmail.com> - 3.0.1-2
|
|
|
|
- Build documentation
|
|
|
|
|
2016-11-30 02:25:28 +00:00
|
|
|
* Fri Nov 25 2016 Dave Johansen <davejohansen@gmail.com> - 3.0.1-1
|
|
|
|
- Upstream release
|
|
|
|
|
2016-11-16 02:52:08 +00:00
|
|
|
* Tue Nov 15 2016 Dave Johansen <davejohansen@gmail.com> - 3.0.0-2
|
|
|
|
- Fix expected unqualified-id before numeric constant error
|
|
|
|
|
2016-08-30 03:55:35 +00:00
|
|
|
* Wed Aug 24 2016 Dave Johansen <davejohansen@gmail.com> - 3.0.0-1
|
|
|
|
- Initial RPM release
|