File libhashtable-devel.spec of Package libhashtable-devel

#
# spec file for package libhashtable-devel
#
# Copyright (c) 2024 Michael Berry <trismegustis@gmail.com>
#


Name:           libhashtable-devel
Version:        0.6.6
Release:        0
License:        MIT
Summary:        Generically typed C library for creating hashtables
Url:            https://github.com/berrym/libhashtable
Group:          Development/Languages/C and C++
Source:         https://github.com/berrym/release/libhashtable-%{version}.tar.gz
BuildRequires:  gcc
BuildRequires:  meson
Requires:       glibc
BuildRoot:      %{_tmppath}/%{name}-%{version}-build
# BuildArch:

%description
A generically typed C library for creating hashtables that has typed wrapped implementations
to maintain compiler type safety checks.

%prep
%setup -q -n libhashtable

%build
%meson
%meson_build

%install
%meson_install

%post -p /sbin/ldconfig

%postun -p /sbin/ldconfig

%files
%defattr(-,root,root,-)
%doc README.md
%{_libdir}/libhashtable.so
%{_includedir}/ht.h

%changelog
openSUSE Build Service is sponsored by