diff --git a/README.md b/README.md index b11da1c..78b4813 100644 --- a/README.md +++ b/README.md @@ -1,2 +1,4 @@ # sparsehash +An extremely memory-efficient hash_map implementation, with only 2 bits/entry overhead. + diff --git a/sparsehash.spec b/sparsehash.spec new file mode 100644 index 0000000..82bde24 --- /dev/null +++ b/sparsehash.spec @@ -0,0 +1,64 @@ +Name: sparsehash +Version: 2.0.3 +Release: 1mamba +Summary: An extremely memory-efficient hash_map implementation, with only 2 bits/entry overhead +Group: System/Libraries +Vendor: openmamba +Distribution: openmamba +Packager: Silvan Calarco +URL: https://github.com/sparsehash/sparsehash +## GITSOURCE https://github.com/sparsehash/sparsehash.git sparsehash-2.0.3 +Source: https://github.com/sparsehash/sparsehash.git/sparsehash-%{version}/sparsehash-%{version}.tar.bz2 +License: BSD +## AUTOBUILDREQ-BEGIN +## AUTOBUILDREQ-END +BuildRoot: %{_tmppath}/%{name}-%{version}-root + +%description +An extremely memory-efficient hash_map implementation, with only 2 bits/entry overhead. + +%package -n lib%{name}-devel +Group: Development/Libraries +Summary: Development files for %{name} +Requires: pkg-config + +%description -n lib%{name}-devel +An extremely memory-efficient hash_map implementation, with only 2 bits/entry overhead +This package contains libraries and header files for developing applications that use %{name}. + +%prep +%setup -q + +%build +%configure +%make + +%install +[ "%{buildroot}" != / ] && rm -rf "%{buildroot}" +%makeinstall + +%clean +[ "%{buildroot}" != / ] && rm -rf "%{buildroot}" + +%files -n lib%{name}-devel +%defattr(-,root,root) +%dir %{_includedir}/google +%{_includedir}/google/dense_hash_map +%{_includedir}/google/dense_hash_set +%{_includedir}/google/sparse_hash_map +%{_includedir}/google/sparse_hash_set +%dir %{_includedir}/google/sparsehash +%{_includedir}/google/sparsehash/* +%{_includedir}/google/sparsetable +%{_includedir}/google/*.h +%dir %{_includedir}/sparsehash +%{_includedir}/sparsehash/* +%{_libdir}/pkgconfig/libsparsehash.pc +%dir %{_docdir}/sparsehash-* +%{_docdir}/sparsehash-*/* +%doc AUTHORS COPYING +%doc ChangeLog NEWS README README_windows.txt TODO + +%changelog +* Wed May 04 2016 Silvan Calarco 2.0.3-1mamba +- package created using the webbuild interface