57 lines
1.8 KiB
RPMSpec
57 lines
1.8 KiB
RPMSpec
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
|