%global user gabime %global debug_package %{nil} Name: spdlog Version: 1.2.1 Release: 1%{?dist} Summary: Super fast C++ logging library Group: Development/Libraries License: MIT URL: https://github.com/%{user}/%{name}/ Source0: https://github.com/%{user}/%{name}/archive/%{name}-%{version}.tar.gz %description This is a packaged version of the gabime/spdlog header-only C++ logging library available at Github. %package devel Summary: Development files for %{name} Group: Development/Libraries Provides: %{name}-static = %{version}-%{release} Provides: %{name} = %{version}-%{release} Requires: libstdc++-devel %description devel The %{name}-devel package contains C++ header files for developing applications that use %{name}. %prep %setup -q -n %{name}-%{version} %build # Nothing to build here. %install find ./example -name '.gitignore' -exec rm {} \; mkdir -p %{buildroot}%{_includedir} cp -pvR include/spdlog %{buildroot}%{_includedir} %files devel %doc README.md example/ %license LICENSE %{_includedir}/spdlog/ %changelog * Thu Aug 03 2017 Fedora Release Engineering - 0.10.0-4 - Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Binutils_Mass_Rebuild * Thu Jul 27 2017 Fedora Release Engineering - 0.10.0-3 - Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild * Sat Feb 11 2017 Fedora Release Engineering - 0.10.0-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_26_Mass_Rebuild * Sun Sep 04 2016 Daniel Kopecek - 0.10.0-1 - Update to 0.10.0 * Fri Jul 08 2016 Daniel Kopecek - 0-8.20160703git34bb86b - update to rev 34bb86b * Fri Feb 05 2016 Fedora Release Engineering - 0-7.20151110gitcbc8ba7 - Rebuilt for https://fedoraproject.org/wiki/Fedora_24_Mass_Rebuild * Tue Nov 10 2015 Daniel Kopecek - 0-6.20151110gitcbc8ba7 - update to rev cbc8ba7 * Fri Jun 19 2015 Fedora Release Engineering - 0-5.20150410git211ce99 - Rebuilt for https://fedoraproject.org/wiki/Fedora_23_Mass_Rebuild * Thu Apr 30 2015 Daniel Kopecek - 0-4.20150410git211ce99 - don't build the base package - remove a dot from the release tag - corrected -devel subpackage description * Mon Apr 20 2015 Daniel Kopecek - 0-3.20150410git.211ce99 - use the -p option when copying the header files * Tue Apr 14 2015 Daniel Kopecek - 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 - 0-1.20150410git.211ce99 - Initial package