package created using the webbuild interface [release 0.4.3-1mamba;Thu Jan 02 2025]

This commit is contained in:
Silvan Calarco 2025-01-03 11:57:03 +01:00
parent fbae793ac9
commit 4218734f4c
2 changed files with 58 additions and 0 deletions

View File

@ -1,2 +1,4 @@
# libwapcaplet
LibWapcaplet is a string internment library, written in C. It provides reference counted string interment and rapid string comparison functionality. It was developed as part of the NetSurf project and is available for use by other software under the MIT licence.

56
libwapcaplet.spec Normal file
View File

@ -0,0 +1,56 @@
Name: libwapcaplet
Version: 0.4.3
Release: 1mamba
Summary: String internment library
Group: System/Libraries
Vendor: openmamba
Distribution: openmamba
Packager: Silvan Calarco <silvan.calarco@mambasoft.it>
URL: https://www.netsurf-browser.org/projects/libwapcaplet/
Source: https://git.netsurf-browser.org/libwapcaplet.git/release%2F%{version}/libwapcaplet-%{version}.tar.bz2
License: MIT
## AUTOBUILDREQ-BEGIN
BuildRequires: glibc-devel
## AUTOBUILDREQ-END
BuildRequires: netsurf-buildsystem
%description
LibWapcaplet is a string internment library, written in C. It provides reference counted string interment and rapid string comparison functionality. 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}/libwapcaplet.so.*
%doc COPYING
%files devel
%defattr(-,root,root)
%dir %{_includedir}/libwapcaplet
%{_includedir}/libwapcaplet/libwapcaplet.h
%{_libdir}/libwapcaplet.so
%{_libdir}/pkgconfig/libwapcaplet.pc
%doc README
%changelog
* Thu Jan 02 2025 Silvan Calarco <silvan.calarco@mambasoft.it> 0.4.3-1mamba
- package created using the webbuild interface