From d21be1d9775bfaa8e74c5842f4ba3f297a78b3b8 Mon Sep 17 00:00:00 2001 From: Silvan Calarco Date: Fri, 5 Jan 2024 18:02:12 +0100 Subject: [PATCH] package created using the webbuild interface [release 1.5.0-1mamba;Sat Feb 01 2020] --- README.md | 2 ++ spdlog.spec | 58 +++++++++++++++++++++++++++++++++++++++++++++++++++++ 2 files changed, 60 insertions(+) create mode 100644 spdlog.spec diff --git a/README.md b/README.md index 2c0068b..c3a787e 100644 --- a/README.md +++ b/README.md @@ -1,2 +1,4 @@ # spdlog +Fast C++ logging library. + diff --git a/spdlog.spec b/spdlog.spec new file mode 100644 index 0000000..970af5b --- /dev/null +++ b/spdlog.spec @@ -0,0 +1,58 @@ +Name: spdlog +Version: 1.5.0 +Release: 1mamba +Summary: Fast C++ logging library +Group: System/Libraries +Vendor: openmamba +Distribution: openmamba +Packager: Silvan Calarco +URL: https://github.com/gabime/spdlog +## GITSOURCE https://github.com/gabime/spdlog.git v1.5.0 +Source: https://github.com/gabime/spdlog.git/v%{version}/spdlog-%{version}.tar.bz2 +License: MIT +## AUTOBUILDREQ-BEGIN +## AUTOBUILDREQ-END +BuildRequires: cmake +Requires: lib%{name} = %{?epoch:%epoch:}%{version}-%{release} +BuildRoot: %{_tmppath}/%{name}-%{version}-root + +%description +Fast C++ logging library. + +%package -n lib%{name}-devel +Group: Development/Libraries +Summary: Development files for %{name} +Requires: pkg-config + +%description -n lib%{name}-devel +Fast C++ logging library. +This package contains libraries and header files for developing applications that use %{name}. + +%prep +%setup -q + +%build +%cmake -d build +%make + +%install +[ "%{buildroot}" != / ] && rm -rf "%{buildroot}" +%makeinstall -C build + +%clean +[ "%{buildroot}" != / ] && rm -rf "%{buildroot}" + +%files -n lib%{name}-devel +%defattr(-,root,root) +%dir %{_includedir}/spdlog +%{_includedir}/spdlog/* +%dir %{_libdir}/cmake/spdlog +%{_libdir}/cmake/spdlog/spdlog*.cmake +%{_libdir}/libspdlog.a +%{_libdir}/pkgconfig/spdlog.pc +%doc README.md +%doc LICENSE + +%changelog +* Sat Feb 01 2020 Silvan Calarco 1.5.0-1mamba +- package created using the webbuild interface