libparserutils/libparserutils.spec

57 lines
1.6 KiB
RPMSpec

Name: libparserutils
Version: 0.2.5
Release: 1mamba
Summary: Lexer/parser utility functions
Group: System/Libraries
Vendor: openmamba
Distribution: openmamba
Packager: Silvan Calarco <silvan.calarco@mambasoft.it>
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 <silvan.calarco@mambasoft.it> 0.2.5-1mamba
- package created using the webbuild interface