package created using the webbuild interface [release 1.5.0-1mamba;Sat Feb 01 2020]

This commit is contained in:
Silvan Calarco 2024-01-05 18:02:12 +01:00
parent 6e599cb8ec
commit d21be1d977
2 changed files with 60 additions and 0 deletions

View File

@ -1,2 +1,4 @@
# spdlog
Fast C++ logging library.

58
spdlog.spec Normal file
View File

@ -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 <silvan.calarco@mambasoft.it>
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 <silvan.calarco@mambasoft.it> 1.5.0-1mamba
- package created using the webbuild interface