From 66bb04d4cfa028bb01c9a18f73ab370cc6e8bb8c Mon Sep 17 00:00:00 2001 From: Silvan Calarco Date: Fri, 3 Jan 2025 11:56:50 +0100 Subject: [PATCH] package created using the webbuild interface [release 0.2.5-1mamba;Thu Jan 02 2025] --- README.md | 2 ++ libparserutils.spec | 56 +++++++++++++++++++++++++++++++++++++++++++++ 2 files changed, 58 insertions(+) create mode 100644 libparserutils.spec diff --git a/README.md b/README.md index cecc071..e030028 100644 --- a/README.md +++ b/README.md @@ -1,2 +1,4 @@ # libparserutils +Lexer/parser utility functions. + diff --git a/libparserutils.spec b/libparserutils.spec new file mode 100644 index 0000000..58efa28 --- /dev/null +++ b/libparserutils.spec @@ -0,0 +1,56 @@ +Name: libparserutils +Version: 0.2.5 +Release: 1mamba +Summary: Lexer/parser utility functions +Group: System/Libraries +Vendor: openmamba +Distribution: openmamba +Packager: Silvan Calarco +URL: https://git.netsurf-browser.org/libparserutils +Source: https://git.netsurf-browser.org/libparserutils.git/release%2F%{version}/libparserutils-%{version}.tar.bz2 +License: MIT +## AUTOBUILDREQ-BEGIN +BuildRequires: glibc-devel +## AUTOBUILDREQ-END +BuildRequires: netsurf-buildsystem + +%description +Lexer/parser utility functions. + +%package devel +Group: Development/Libraries +Summary: Development files for %{name} +Requires: %{name} = %{?epoch:%epoch:}%{version}-%{release} + +%description devel +This package contains libraries and header files for developing applications that use %{name}. + +%prep +%setup -q + +%build +%make COMPONENT_TYPE=lib-shared INCLUDEDIR=include LIBDIR=%{_lib} PREFIX=%{_prefix} + +%install +[ "%{buildroot}" != / ] && rm -rf "%{buildroot}" +%makeinstall COMPONENT_TYPE=lib-shared INCLUDEDIR=include LIBDIR=%{_lib} PREFIX=%{_prefix} + +%clean +[ "%{buildroot}" != / ] && rm -rf "%{buildroot}" + +%files +%defattr(-,root,root) +%{_libdir}/libparserutils.so.* +%doc COPYING + +%files devel +%defattr(-,root,root) +%dir %{_includedir}/parserutils +%{_includedir}/parserutils/* +%{_libdir}/libparserutils.so +%{_libdir}/pkgconfig/libparserutils.pc +%doc README + +%changelog +* Thu Jan 02 2025 Silvan Calarco 0.2.5-1mamba +- package created using the webbuild interface