spdlog/spdlog.spec

62 lines
1.6 KiB
RPMSpec
Raw Permalink Normal View History

Name: spdlog
Version: 1.6.1
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 Jun 06 2020 Automatic Build System <autodist@mambasoft.it> 1.6.1-1mamba
- automatic version update by autodist
* Sat Feb 01 2020 Silvan Calarco <silvan.calarco@mambasoft.it> 1.5.0-1mamba
- package created using the webbuild interface