Package sparsehash: Specfile

Name: sparsehash
Version: 2.0.4
Release: alt1

Summary: Google's extremely memory-efficient C++ hash_map implementation
License: BSD
Group: Development/C++

URL: https://github.com/%name/%name
Packager: Nazarov Denis <nenderus@altlinux.org>

# https://github.com/%name/%name/archive/%name-%version/%name-%name-%version.tar.gz
Source: %name-%name-%version.tar

BuildRequires: gcc-c++

%description
The Google SparseHash project contains several C++ template hash-map
implementations in use at Google, with different performance
characteristics, including an implementation that optimizes for space
and one that optimizes for speed.

%package devel
Summary: Google's extremely memory-efficient C++ hash_map implementation
Group: Development/C++
Provides: libgoogle-%name = %EVR
Provides: lib%name-devel = %EVR
Obsoletes: libgoogle-%name <= 1.5.2
Obsoletes: lib%name-devel <= 2.0.3

%description devel
The Google SparseHash project contains several C++ template hash-map
implementations in use at Google, with different performance
characteristics, including an implementation that optimizes for space
and one that optimizes for speed.

%prep
%setup -n %name-%name-%version

%build
%configure
%make_build

%install
%makeinstall_std

%files devel
%doc %_docdir/%name-2.0.2
%_includedir/google
%_includedir/%name
%_pkgconfigdir/lib%name.pc

%changelog
* Thu Feb 11 2021 Nazarov Denis <nenderus@altlinux.org> 2.0.4-alt1
- Version 2.0.4

* Sun Nov 08 2015 Nazarov Denis <nenderus@altlinux.org> 2.0.3-alt1
- Version 2.0.3

* Mon Sep 23 2013 Nazarov Denis <nenderus@altlinux.org> 2.0.2-alt1
- Version 2.0.2

* Wed Jul 11 2012 Eugeny A. Rostovtsev (REAL) <real at altlinux.org> 1.5.2-alt1.1
- Fixed build

* Wed Nov 11 2009 Maxim Ivanov <redbaron at altlinux.org> 1.5.2-alt1
- Initial build for ALT Linux