[packages/robin_hood] - new

qboosh qboosh at pld-linux.org
Mon Mar 24 21:38:08 CET 2025


commit 697de60c1d894442d02d293c8321f7efb3a58dcc
Author: Jakub Bogusz <qboosh at pld-linux.org>
Date:   Mon Mar 24 21:32:57 2025 +0100

    - new

 robin_hood.spec | 75 +++++++++++++++++++++++++++++++++++++++++++++++++++++++++
 1 file changed, 75 insertions(+)
---
diff --git a/robin_hood.spec b/robin_hood.spec
new file mode 100644
index 0000000..ce00a4c
--- /dev/null
+++ b/robin_hood.spec
@@ -0,0 +1,75 @@
+Summary:	robin_hood unordered map & set
+Summary(pl.UTF-8):	Struktury nie uporządkowanej tablicy asocjacyjna i zbioru robin_hood
+Name:		robin_hood
+Version:	3.11.5
+Release:	1
+License:	MIT
+Group:		Development/Libraries
+#Source0Download: https://github.com/martinus/robin-hood-hashing/releases
+Source0:	https://github.com/martinus/robin-hood-hashing/archive/%{version}/robin-hood-hashing-%{version}.tar.gz
+# Source0-md5:	a78bd30a7582f25984f8592652836467
+URL:		https://github.com/martinus/robin-hood-hashing
+BuildRequires:	cmake >= 3.5
+BuildRequires:	rpmbuild(macros) >= 1.605
+BuildArch:	noarch
+BuildRoot:	%{tmpdir}/%{name}-%{version}-root-%(id -u -n)
+
+%description
+robin_hood::unordered_map and robin_hood::unordered_set is a platform
+independent replacement for std::unordered_map / std::unordered_set
+which is both faster and more memory efficient for real-world use
+cases.
+
+%description -l pl.UTF-8
+robin_hood::unordered_map i robin_hood::unordered_set to niezależny od
+platformy zamiennik std::unordered_map / std::unordered_set, będący
+jednocześnie szybszy i bardziej wydajny pamięciowo w rzeczywistych
+przypadkach.
+
+%package devel
+Summary:	robin_hood unordered map & set
+Summary(pl.UTF-8):	Struktury nie uporządkowanej tablicy asocjacyjna i zbioru robin_hood
+Group:		Development/Libraries
+
+%description devel
+robin_hood::unordered_map and robin_hood::unordered_set is a platform
+independent replacement for std::unordered_map / std::unordered_set
+which is both faster and more memory efficient for real-world use
+cases.
+
+%description devel -l pl.UTF-8
+robin_hood::unordered_map i robin_hood::unordered_set to niezależny od
+platformy zamiennik std::unordered_map / std::unordered_set, będący
+jednocześnie szybszy i bardziej wydajny pamięciowo w rzeczywistych
+przypadkach.
+
+%prep
+%setup -q -n robin-hood-hashing-%{version}
+
+%build
+install -d build
+cd build
+# override CMAKE_INSTALL_LIBDIR to install cmake config in noarch location
+%cmake .. \
+	-DCMAKE_INSTALL_LIBDIR=share \
+	-DRH_STANDALONE_PROJECT=OFF
+
+%{__make}
+
+%install
+rm -rf $RPM_BUILD_ROOT
+
+%{__make} -C build install \
+	DESTDIR=$RPM_BUILD_ROOT
+
+%clean
+rm -rf $RPM_BUILD_ROOT
+
+%post	-p /sbin/ldconfig
+%postun	-p /sbin/ldconfig
+
+%files devel
+%defattr(644,root,root,755)
+%doc LICENSE README.md
+%{_includedir}/robin_hood.h
+%{_datadir}/cmake/robin_hood
================================================================

---- gitweb:

http://git.pld-linux.org/gitweb.cgi/packages/robin_hood.git/commitdiff/697de60c1d894442d02d293c8321f7efb3a58dcc



More information about the pld-cvs-commit mailing list