uthash/uthash.spec

49 lines
1.2 KiB
RPMSpec
Raw Normal View History

Name: uthash
Version: 2.3.0
Release: 1mamba
Summary: A hash table for C structures
Group: System/Libraries
Vendor: openmamba
Distribution: openmamba
Packager: Silvan Calarco <silvan.calarco@mambasoft.it>
URL: https://troydhanson.github.io/uthash/
Source: https://github.com/troydhanson/uthash.git/v%{version}/uthash-%{version}.tar.bz2
License: BSD
## AUTOBUILDREQ-BEGIN
## AUTOBUILDREQ-END
%description
A hash table for C structures.
%package devel
Group: Development/Libraries
Summary: A hash table for C structures.
%description devel
A hash table for C structures.
This package contains headers for developing applications that use %{name}.
#% debug_package
%prep
%setup -q
%build
%install
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
install -d -m0755 %{buildroot}%{_includedir}
cp src/*.h %{buildroot}%{_includedir}/
%clean
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
%files devel
%defattr(-,root,root)
%{_includedir}/*.h
%doc LICENSE
%changelog
* Tue May 25 2021 Silvan Calarco <silvan.calarco@mambasoft.it> 2.3.0-1mamba
- package created using the webbuild interface