sparsehash/sparsehash.spec

65 lines
2.0 KiB
RPMSpec
Raw Permalink Normal View History

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 <silvan.calarco@mambasoft.it>
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 <silvan.calarco@mambasoft.it> 2.0.3-1mamba
- package created using the webbuild interface