From f8e24feb3942dec6553e07445d7081ee6070614c Mon Sep 17 00:00:00 2001 From: Silvan Calarco Date: Fri, 5 Jan 2024 18:52:47 +0100 Subject: [PATCH] package created using the webbuild interface [release 2.3.0-1mamba;Tue May 25 2021] --- README.md | 2 ++ uthash.spec | 48 ++++++++++++++++++++++++++++++++++++++++++++++++ 2 files changed, 50 insertions(+) create mode 100644 uthash.spec diff --git a/README.md b/README.md index 2a13abe..5245b34 100644 --- a/README.md +++ b/README.md @@ -1,2 +1,4 @@ # uthash +A hash table for C structures. + diff --git a/uthash.spec b/uthash.spec new file mode 100644 index 0000000..7bdc08f --- /dev/null +++ b/uthash.spec @@ -0,0 +1,48 @@ +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 +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 2.3.0-1mamba +- package created using the webbuild interface