From 11ea68553de48821275d410443c490eedddaf5e67df14e03e15cebbe5bb6ecb8 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Adrian=20Schr=C3=B6ter?= Date: Sat, 4 May 2024 00:46:50 +0200 Subject: [PATCH] Sync from SUSE:SLFO:Main sparsehash revision 33c496a04861b581d21471a48522dbd6 --- .gitattributes | 23 +++++++++++++++ sparsehash-2.0.4.tar.gz | 3 ++ sparsehash.changes | 31 ++++++++++++++++++++ sparsehash.spec | 65 +++++++++++++++++++++++++++++++++++++++++ 4 files changed, 122 insertions(+) create mode 100644 .gitattributes create mode 100644 sparsehash-2.0.4.tar.gz create mode 100644 sparsehash.changes create mode 100644 sparsehash.spec diff --git a/.gitattributes b/.gitattributes new file mode 100644 index 0000000..9b03811 --- /dev/null +++ b/.gitattributes @@ -0,0 +1,23 @@ +## Default LFS +*.7z filter=lfs diff=lfs merge=lfs -text +*.bsp filter=lfs diff=lfs merge=lfs -text +*.bz2 filter=lfs diff=lfs merge=lfs -text +*.gem filter=lfs diff=lfs merge=lfs -text +*.gz filter=lfs diff=lfs merge=lfs -text +*.jar filter=lfs diff=lfs merge=lfs -text +*.lz filter=lfs diff=lfs merge=lfs -text +*.lzma filter=lfs diff=lfs merge=lfs -text +*.obscpio filter=lfs diff=lfs merge=lfs -text +*.oxt filter=lfs diff=lfs merge=lfs -text +*.pdf filter=lfs diff=lfs merge=lfs -text +*.png filter=lfs diff=lfs merge=lfs -text +*.rpm filter=lfs diff=lfs merge=lfs -text +*.tbz filter=lfs diff=lfs merge=lfs -text +*.tbz2 filter=lfs diff=lfs merge=lfs -text +*.tgz filter=lfs diff=lfs merge=lfs -text +*.ttf filter=lfs diff=lfs merge=lfs -text +*.txz filter=lfs diff=lfs merge=lfs -text +*.whl filter=lfs diff=lfs merge=lfs -text +*.xz filter=lfs diff=lfs merge=lfs -text +*.zip filter=lfs diff=lfs merge=lfs -text +*.zst filter=lfs diff=lfs merge=lfs -text diff --git a/sparsehash-2.0.4.tar.gz b/sparsehash-2.0.4.tar.gz new file mode 100644 index 0000000..f153205 --- /dev/null +++ b/sparsehash-2.0.4.tar.gz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:8cd1a95827dfd8270927894eb77f62b4087735cbede953884647f16c521c7e58 +size 323154 diff --git a/sparsehash.changes b/sparsehash.changes new file mode 100644 index 0000000..90d2b82 --- /dev/null +++ b/sparsehash.changes @@ -0,0 +1,31 @@ +------------------------------------------------------------------- +Thu Aug 13 07:37:31 UTC 2020 - Jan Engelhardt + +- Update to release 2.0.4 + * Corrected the memory usage claims to take into account + allocator overhead. + * Cleared some compiler warnings. + +------------------------------------------------------------------- +Sun Jan 13 09:53:06 UTC 2019 - Jan Engelhardt + +- Remove extreme wording. + +------------------------------------------------------------------- +Tue Nov 17 19:13:41 UTC 2015 - mpluskal@suse.com + +- Update to 2.0.3 + * Fix compilation on modern compilers and operating systems +- Update project and download url +- Cleanup spec file with spec-cleaner + +------------------------------------------------------------------- +Mon Nov 5 19:57:27 UTC 2012 - fisiu@opensuse.org + +- moved files do devel package + +------------------------------------------------------------------- +Thu May 24 15:24:36 CEST 2012 - kukuk@suse.de + +- Initial version + diff --git a/sparsehash.spec b/sparsehash.spec new file mode 100644 index 0000000..b9d9e44 --- /dev/null +++ b/sparsehash.spec @@ -0,0 +1,65 @@ +# +# spec file for package sparsehash +# +# Copyright (c) 2020 SUSE LLC +# +# All modifications and additions to the file contributed by third parties +# remain the property of their copyright owners, unless otherwise agreed +# upon. The license for this file, and modifications and additions to the +# file, is the same license as for the pristine package itself (unless the +# license for the pristine package is not an Open Source License, in which +# case the license is the MIT License). An "Open Source License" is a +# license that conforms to the Open Source Definition (Version 1.9) +# published by the Open Source Initiative. + +# Please submit bugfixes or comments via https://bugs.opensuse.org/ +# + + +Name: sparsehash +Version: 2.0.4 +Release: 0 +Summary: Memory-efficient hash_map implementation +License: BSD-3-Clause +Group: Development/Libraries/C and C++ +URL: https://github.com/sparsehash/sparsehash +Source: https://github.com/sparsehash/sparsehash/archive/sparsehash-%{version}.tar.gz +BuildRequires: gcc-c++ +BuildRequires: pkg-config + +%description +The Google SparseHash project contains several C++ template hash-map +implementations with different performance characteristics, including +an implementation that optimizes for space and one that optimizes for +speed. + +%package devel +Summary: Memory-efficient C++ hash_map implementation +Group: Development/Libraries/C and C++ + +%description devel +The Google SparseHash project contains several C++ template hash-map +implementations with different performance characteristics, including +an implementation that optimizes for space and one that optimizes for +speed. + +%prep +%autosetup -p1 -n %{name}-%{name}-%{version} + +%build +%configure +make %{?_smp_mflags} + +%install +%make_install +# upstream did not change version to 2.0.3 with new release +rm %{buildroot}%{_datadir}/doc/%{name}-2.0.2/INSTALL +rm %{buildroot}%{_datadir}/doc/%{name}-2.0.2/README_windows.txt + +%files devel +%doc %{_datadir}/doc/%{name}-2.0.2/ +%{_includedir}/google/ +%{_includedir}/sparsehash/ +%{_libdir}/pkgconfig/*.pc + +%changelog