package created using the webbuild interface [release 0.13.0-1mamba;Sat Jan 25 2025]

This commit is contained in:
Silvan Calarco 2025-01-25 21:45:44 +01:00
parent e85d3a0ead
commit 2bd75a3388
2 changed files with 69 additions and 0 deletions

View File

@ -1,2 +1,4 @@
# gumbo-parser
Gumbo is an implementation of the HTML5 parsing algorithm implemented as a pure C99 library with no outside dependencies. It's designed to serve as a building block for other tools and libraries such as linters, validators, templating languages, and refactoring and analysis tools.

67
gumbo-parser.spec Normal file
View File

@ -0,0 +1,67 @@
Name: gumbo-parser
Version: 0.13.0
Release: 1mamba
Summary: An implementation of the HTML5 parsing algorithm implemented as a pure C99 library
Group: System/Libraries
Vendor: openmamba
Distribution: openmamba
Packager: Silvan Calarco <silvan.calarco@mambasoft.it>
URL: https://codeberg.org/gumbo-parser/gumbo-parser
Source: https://codeberg.org/gumbo-parser/gumbo-parser.git/%{version}/gumbo-parser-%{version}.tar.bz2
License: Apache License 2.0
## AUTOBUILDREQ-BEGIN
BuildRequires: glibc-devel
## AUTOBUILDREQ-END
Requires: lib%{name} = %{?epoch:%epoch:}%{version}-%{release}
%description
Gumbo is an implementation of the HTML5 parsing algorithm implemented as a pure C99 library with no outside dependencies. It's designed to serve as a building block for other tools and libraries such as linters, validators, templating languages, and refactoring and analysis tools.
%package -n lib%{name}
Summary: An implementation of the HTML5 parsing algorithm implemented as a pure C99 library
Group: System/Libraries
%description -n lib%{name}
Gumbo is an implementation of the HTML5 parsing algorithm implemented as a pure C99 library with no outside dependencies. It's designed to serve as a building block for other tools and libraries such as linters, validators, templating languages, and refactoring and analysis tools.
This package contains shared libraries for %{name}.
%package -n lib%{name}-devel
Summary: Development files for %{name}
Group: Development/Libraries
Requires: lib%{name} = %{?epoch:%epoch:}%{version}-%{release}
%description -n lib%{name}-devel
This package contains libraries and header files for developing applications that use %{name}.
%prep
%setup -q
./autogen.sh
%build
%configure
%make
%install
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
%makeinstall
%clean
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
%files -n lib%{name}
%defattr(-,root,root)
%{_libdir}/libgumbo.so.*
%doc doc/COPYING doc/THANKS
%files -n lib%{name}-devel
%defattr(-,root,root)
%{_includedir}/gumbo.h
%{_includedir}/tag_enum.h
%{_libdir}/libgumbo.a
%{_libdir}/libgumbo.so
%{_libdir}/pkgconfig/gumbo.pc
%doc README.md
%changelog
* Sat Jan 25 2025 Silvan Calarco <silvan.calarco@mambasoft.it> 0.13.0-1mamba
- package created using the webbuild interface