spdlog/spdlog.spec

184 lines
5.9 KiB
RPMSpec
Raw Normal View History

2020-07-21 08:32:56 +00:00
%undefine __cmake_in_source_build
2015-04-21 05:23:13 +00:00
Name: spdlog
2021-08-13 15:35:56 +00:00
Version: 1.9.2
2021-07-27 13:11:14 +00:00
Release: 1%{?dist}
2021-07-21 12:15:47 +00:00
2015-04-21 05:23:13 +00:00
License: MIT
2021-07-21 12:15:47 +00:00
Summary: Super fast C++ logging library
2020-07-21 08:32:56 +00:00
URL: https://github.com/gabime/%{name}
2019-12-18 14:55:07 +00:00
Source0: %{url}/archive/v%{version}.tar.gz
2015-04-21 05:23:13 +00:00
BuildRequires: catch-devel >= 2.8.0
BuildRequires: cmake
2020-07-21 08:32:56 +00:00
BuildRequires: fmt-devel >= 7.0.0
BuildRequires: gcc
2021-07-21 12:15:47 +00:00
BuildRequires: gcc-c++
BuildRequires: google-benchmark-devel
BuildRequires: ninja-build
2015-04-21 05:23:13 +00:00
%description
2019-12-18 14:50:21 +00:00
This is a packaged version of the gabime/spdlog C++ logging
library available at Github.
2015-04-21 05:23:13 +00:00
%package devel
Summary: Development files for %{name}
2019-12-18 14:50:21 +00:00
Requires: %{name}%{?_isa} = %{?epoch:%{epoch}:}%{version}-%{release}
Requires: libstdc++-devel%{?_isa}
Requires: fmt-devel%{?_isa}
2015-04-21 05:23:13 +00:00
%description devel
The %{name}-devel package contains C++ header files for developing
applications that use %{name}.
2015-04-21 05:23:13 +00:00
%prep
2019-12-18 14:50:21 +00:00
%autosetup -p1
2020-07-21 08:32:56 +00:00
find . -name '.gitignore' -delete
2021-08-13 15:35:56 +00:00
sed -e "s,\r,," -i README.md
ln -svf %{_includedir}/catch2/catch.hpp ./tests/catch.hpp
2015-04-21 05:23:13 +00:00
%build
2020-07-21 08:32:56 +00:00
%cmake -G Ninja \
2019-12-18 14:50:21 +00:00
-DCMAKE_INSTALL_LIBDIR=%{_lib} \
-DCMAKE_BUILD_TYPE=Release \
2019-12-18 14:50:21 +00:00
-DSPDLOG_BUILD_SHARED=ON \
-DSPDLOG_BUILD_EXAMPLE=OFF \
-DSPDLOG_BUILD_BENCH=OFF \
-DSPDLOG_BUILD_TESTS=ON \
2019-12-18 14:50:21 +00:00
-DSPDLOG_INSTALL=ON \
2020-07-21 08:32:56 +00:00
-DSPDLOG_FMT_EXTERNAL=ON
%cmake_build
2015-04-21 05:23:13 +00:00
%check
2020-07-21 08:32:56 +00:00
%ctest
2015-04-21 05:23:13 +00:00
%install
2020-07-21 08:32:56 +00:00
%cmake_install
2015-04-21 05:23:13 +00:00
2019-12-18 14:50:21 +00:00
%files
%license LICENSE
2019-12-18 14:50:21 +00:00
%doc README.md
%{_libdir}/lib%{name}.so.1*
%files devel
%doc example
%{_includedir}/%{name}
2019-12-18 14:50:21 +00:00
%{_libdir}/lib%{name}.so
%{_libdir}/cmake/%{name}
%{_libdir}/pkgconfig/%{name}.pc
2015-04-21 05:23:13 +00:00
%changelog
2021-08-13 15:35:56 +00:00
* Fri Aug 13 2021 Vitaly Zaitsev <vitaly@easycoding.org> - 1.9.2-1
- Updated to version 1.9.2.
2021-07-27 13:11:14 +00:00
* Tue Jul 27 2021 Vitaly Zaitsev <vitaly@easycoding.org> - 1.9.1-1
- Updated to version 1.9.1.
* Fri Jul 23 2021 Fedora Release Engineering <releng@fedoraproject.org> - 1.9.0-2
- Rebuilt for https://fedoraproject.org/wiki/Fedora_35_Mass_Rebuild
2021-07-21 12:15:47 +00:00
* Wed Jul 21 2021 Vitaly Zaitsev <vitaly@easycoding.org> - 1.9.0-1
- Updated to version 1.9.0.
2021-07-04 14:45:37 +00:00
* Sun Jul 04 2021 Vitaly Zaitsev <vitaly@easycoding.org> - 1.8.5-2
- Rebuilt due to fmt library update.
2021-04-02 11:46:04 +00:00
* Fri Apr 02 2021 Vitaly Zaitsev <vitaly@easycoding.org> - 1.8.5-1
- Updated to version 1.8.5.
* Wed Jan 27 2021 Fedora Release Engineering <releng@fedoraproject.org> - 1.8.2-2
- Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild
2020-12-12 13:26:11 +00:00
* Sat Dec 12 2020 Vitaly Zaitsev <vitaly@easycoding.org> - 1.8.2-1
- Updated to version 1.8.2.
2020-10-13 13:01:54 +00:00
* Tue Oct 13 2020 Vitaly Zaitsev <vitaly@easycoding.org> - 1.8.1-1
- Updated to version 1.8.1.
2020-09-05 11:09:19 +00:00
* Sat Sep 05 2020 Vitaly Zaitsev <vitaly@easycoding.org> - 1.8.0-1
- Updated to version 1.8.0.
2020-07-21 08:32:56 +00:00
* Tue Jul 21 2020 Vitaly Zaitsev <vitaly@easycoding.org> - 1.7.0-1
- Updated to version 1.7.0.
2020-06-02 13:39:03 +00:00
* Tue Jun 02 2020 Vitaly Zaitsev <vitaly@easycoding.org> - 1.6.1-1
- Updated to version 1.6.1.
* Thu Jan 30 2020 Fedora Release Engineering <releng@fedoraproject.org> - 1.5.0-2
- Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild
2020-01-27 19:34:01 +00:00
* Mon Jan 27 2020 Vitaly Zaitsev <vitaly@easycoding.org> - 1.5.0-1
- Updated to version 1.5.0.
2019-12-18 13:51:07 +00:00
* Wed Dec 18 2019 Vitaly Zaitsev <vitaly@easycoding.org> - 1.4.2-1
- Updated to version 1.4.2.
* Fri Jul 26 2019 Fedora Release Engineering <releng@fedoraproject.org> - 1.3.1-3
- Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild
* Sun Feb 03 2019 Fedora Release Engineering <releng@fedoraproject.org> - 1.3.1-2
- Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild
2019-01-20 09:40:42 +00:00
* Sun Jan 20 2019 Vitaly Zaitsev <vitaly@easycoding.org> - 1.3.1-1
- Updated to version 1.3.1.
2018-11-05 14:16:10 +00:00
* Mon Nov 05 2018 Vitaly Zaitsev <vitaly@easycoding.org> - 1.2.1-1
- Updated to version 1.2.1.
2018-09-02 12:55:57 +00:00
* Sun Sep 02 2018 Vitaly Zaitsev <vitaly@easycoding.org> - 1.1.0-1
- Updated to version 1.1.0.
2018-08-09 15:41:23 +00:00
* Thu Aug 09 2018 Vitaly Zaitsev <vitaly@easycoding.org> - 1.0.0-1
- Updated to version 1.0.0.
* Sat Jul 14 2018 Fedora Release Engineering <releng@fedoraproject.org> - 0.17.0-2
- Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild
* Mon Jun 18 2018 Vitaly Zaitsev <vitaly@easycoding.org> - 0.17.0-1
- Updated to version 0.17.0.
- Added tests support.
- Added cmake and pkg-config support.
* Fri Feb 09 2018 Fedora Release Engineering <releng@fedoraproject.org> - 0.10.0-5
- Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild
* Thu Aug 03 2017 Fedora Release Engineering <releng@fedoraproject.org> - 0.10.0-4
- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Binutils_Mass_Rebuild
* Thu Jul 27 2017 Fedora Release Engineering <releng@fedoraproject.org> - 0.10.0-3
- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild
* Sat Feb 11 2017 Fedora Release Engineering <releng@fedoraproject.org> - 0.10.0-2
- Rebuilt for https://fedoraproject.org/wiki/Fedora_26_Mass_Rebuild
2016-09-03 07:59:53 +00:00
* Sun Sep 04 2016 Daniel Kopecek <dkopecek@redhat.com> - 0.10.0-1
- Update to 0.10.0
2016-07-08 12:14:31 +00:00
* Fri Jul 08 2016 Daniel Kopecek <dkopecek@redhat.com> - 0-8.20160703git34bb86b
- update to rev 34bb86b
* Fri Feb 05 2016 Fedora Release Engineering <releng@fedoraproject.org> - 0-7.20151110gitcbc8ba7
- Rebuilt for https://fedoraproject.org/wiki/Fedora_24_Mass_Rebuild
2015-11-10 12:47:36 +00:00
* Tue Nov 10 2015 Daniel Kopecek <dkopecek@redhat.com> - 0-6.20151110gitcbc8ba7
- update to rev cbc8ba7
* Fri Jun 19 2015 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0-5.20150410git211ce99
- Rebuilt for https://fedoraproject.org/wiki/Fedora_23_Mass_Rebuild
* Thu Apr 30 2015 Daniel Kopecek <dkopecek@redhat.com> - 0-4.20150410git211ce99
- don't build the base package
- remove a dot from the release tag
- corrected -devel subpackage description
2015-04-21 05:23:13 +00:00
* Mon Apr 20 2015 Daniel Kopecek <dkopecek@redhat.com> - 0-3.20150410git.211ce99
- use the -p option when copying the header files
* Tue Apr 14 2015 Daniel Kopecek <dkopecek@redhat.com> - 0-2.20150410git.211ce99
- don't build the debuginfo subpackage
- require libstdc++-devel
- don't generate a distribution specific pkg-config file
* Fri Apr 10 2015 Daniel Kopecek <dkopecek@redhat.com> - 0-1.20150410git.211ce99
- Initial package