From 67d6ef1c09fb504d20826906eeb14b8570faa31d Mon Sep 17 00:00:00 2001 From: Silvan Calarco Date: Sat, 11 Jan 2025 01:02:08 +0100 Subject: [PATCH] package created using the webbuild interface [release 0.3.8-1mamba;Fri Jan 03 2025] --- README.md | 2 ++ libhubbub.spec | 57 ++++++++++++++++++++++++++++++++++++++++++++++++++ 2 files changed, 59 insertions(+) create mode 100644 libhubbub.spec diff --git a/README.md b/README.md index 75f8a39..adc67c6 100644 --- a/README.md +++ b/README.md @@ -1,2 +1,4 @@ # libhubbub +Hubbub is an HTML5 compliant parsing library, written in C. It was developed as part of the NetSurf project and is available for use by other software under the MIT licence. + diff --git a/libhubbub.spec b/libhubbub.spec new file mode 100644 index 0000000..4144e53 --- /dev/null +++ b/libhubbub.spec @@ -0,0 +1,57 @@ +Name: libhubbub +Version: 0.3.8 +Release: 1mamba +Summary: HTML5 parser library +Group: System/Libraries +Vendor: openmamba +Distribution: openmamba +Packager: Silvan Calarco +URL: https://www.netsurf-browser.org/projects/hubbub/ +Source: https://git.netsurf-browser.org/libhubbub.git/release%2F%{version}/libhubbub-%{version}.tar.bz2 +License: MIT +## AUTOBUILDREQ-BEGIN +BuildRequires: glibc-devel +BuildRequires: libparserutils-devel +## AUTOBUILDREQ-END +BuildRequires: netsurf-buildsystem + +%description +Hubbub is an HTML5 compliant parsing library, written in C. It was developed as part of the NetSurf project and is available for use by other software under the MIT licence. + +%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}/libhubbub.so.* +%doc COPYING + +%files devel +%defattr(-,root,root) +%dir %{_includedir}/hubbub +%{_includedir}/hubbub/* +%{_libdir}/libhubbub.so +%{_libdir}/pkgconfig/libhubbub.pc +%doc README + +%changelog +* Fri Jan 03 2025 Silvan Calarco 0.3.8-1mamba +- package created using the webbuild interface