package created using the webbuild interface [release 0.3.8-1mamba;Fri Jan 03 2025]

This commit is contained in:
Silvan Calarco 2025-01-11 01:02:08 +01:00
parent c514615c86
commit 67d6ef1c09
2 changed files with 59 additions and 0 deletions

View File

@ -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.

57
libhubbub.spec Normal file
View File

@ -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 <silvan.calarco@mambasoft.it>
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 <silvan.calarco@mambasoft.it> 0.3.8-1mamba
- package created using the webbuild interface