58 lines
1.7 KiB
RPMSpec
58 lines
1.7 KiB
RPMSpec
|
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
|