From 4218734f4c45412f7dd288fc9311336660b5b05b Mon Sep 17 00:00:00 2001 From: Silvan Calarco Date: Fri, 3 Jan 2025 11:57:03 +0100 Subject: [PATCH] package created using the webbuild interface [release 0.4.3-1mamba;Thu Jan 02 2025] --- README.md | 2 ++ libwapcaplet.spec | 56 +++++++++++++++++++++++++++++++++++++++++++++++ 2 files changed, 58 insertions(+) create mode 100644 libwapcaplet.spec diff --git a/README.md b/README.md index cafe100..64692cb 100644 --- a/README.md +++ b/README.md @@ -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. + diff --git a/libwapcaplet.spec b/libwapcaplet.spec new file mode 100644 index 0000000..0d0f427 --- /dev/null +++ b/libwapcaplet.spec @@ -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 +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 0.4.3-1mamba +- package created using the webbuild interface