From 3617d491bce956664b2fe084da973df49371273c Mon Sep 17 00:00:00 2001 From: Silvan Calarco Date: Fri, 5 Jan 2024 17:26:15 +0100 Subject: [PATCH] package created using the webbuild interface [release 0.4.0-1mamba;Thu Apr 30 2020] --- README.md | 2 ++ rinutils.spec | 60 +++++++++++++++++++++++++++++++++++++++++++++++++++ 2 files changed, 62 insertions(+) create mode 100644 rinutils.spec diff --git a/README.md b/README.md index 2eeb0c6..a97ab13 100644 --- a/README.md +++ b/README.md @@ -1,2 +1,4 @@ # rinutils +A C11 / gnu11 utilities C library. + diff --git a/rinutils.spec b/rinutils.spec new file mode 100644 index 0000000..b6952a5 --- /dev/null +++ b/rinutils.spec @@ -0,0 +1,60 @@ +Name: rinutils +Version: 0.4.0 +Release: 1mamba +Summary: A C11 / gnu11 utilities C library +Group: System/Libraries +Vendor: openmamba +Distribution: openmamba +Packager: Silvan Calarco +URL: https://github.com/shlomif/rinutils +## GITSOURCE https://github.com/shlomif/rinutils.git 0.4.0 +Source: https://github.com/shlomif/rinutils.git/%{version}/rinutils-%{version}.tar.bz2 +License: MIT +## AUTOBUILDREQ-BEGIN +## AUTOBUILDREQ-END +BuildRequires: cmake +BuildRequires: libcmocka-devel +BuildRoot: %{_tmppath}/%{name}-%{version}-root + +%description +A C11 / gnu11 utilities C library. + +%package devel +Group: Development/Libraries +Summary: A C11 / gnu11 utilities C library. +Requires: pkg-config + +%description devel +A C11 / gnu11 utilities C library. +This package contains header files for developing applications that use %{name}. + + +#% debug_package + +%prep +%setup -q + +%build +%cmake -d build +%make + +%install +[ "%{buildroot}" != / ] && rm -rf "%{buildroot}" +%makeinstall -C build + +%clean +[ "%{buildroot}" != / ] && rm -rf "%{buildroot}" + +%files devel +%defattr(-,root,root) +%dir %{_includedir}/rinutils +%{_includedir}/rinutils/*.h +%dir %{_libdir}/cmake/Rinutils +%{_libdir}/cmake/Rinutils/RinutilsConfig*.cmake +%{_libdir}/pkgconfig/librinutils.pc +%doc LICENSE +%doc README.asciidoc + +%changelog +* Thu Apr 30 2020 Silvan Calarco 0.4.0-1mamba +- package created using the webbuild interface