Sync from SUSE:SLFO:Main libwapcaplet revision 5c82067b04dfd7c83ed78e53d03154b3

This commit is contained in:
Adrian Schröter 2024-05-03 16:06:51 +02:00
commit ec6a47aeef
4 changed files with 133 additions and 0 deletions

23
.gitattributes vendored Normal file
View File

@ -0,0 +1,23 @@
## Default LFS
*.7z filter=lfs diff=lfs merge=lfs -text
*.bsp filter=lfs diff=lfs merge=lfs -text
*.bz2 filter=lfs diff=lfs merge=lfs -text
*.gem filter=lfs diff=lfs merge=lfs -text
*.gz filter=lfs diff=lfs merge=lfs -text
*.jar filter=lfs diff=lfs merge=lfs -text
*.lz filter=lfs diff=lfs merge=lfs -text
*.lzma filter=lfs diff=lfs merge=lfs -text
*.obscpio filter=lfs diff=lfs merge=lfs -text
*.oxt filter=lfs diff=lfs merge=lfs -text
*.pdf filter=lfs diff=lfs merge=lfs -text
*.png filter=lfs diff=lfs merge=lfs -text
*.rpm filter=lfs diff=lfs merge=lfs -text
*.tbz filter=lfs diff=lfs merge=lfs -text
*.tbz2 filter=lfs diff=lfs merge=lfs -text
*.tgz filter=lfs diff=lfs merge=lfs -text
*.ttf filter=lfs diff=lfs merge=lfs -text
*.txz filter=lfs diff=lfs merge=lfs -text
*.whl filter=lfs diff=lfs merge=lfs -text
*.xz filter=lfs diff=lfs merge=lfs -text
*.zip filter=lfs diff=lfs merge=lfs -text
*.zst filter=lfs diff=lfs merge=lfs -text

BIN
libwapcaplet-0.4.3-src.tar.gz (Stored with Git LFS) Normal file

Binary file not shown.

22
libwapcaplet.changes Normal file
View File

@ -0,0 +1,22 @@
-------------------------------------------------------------------
Wed May 19 15:02:51 UTC 2021 - Fridrich Strba <fstrba@suse.com>
- Define conditionally make_build to fix build on systems that do
not have that macro
-------------------------------------------------------------------
Wed Sep 2 09:15:51 UTC 2020 - Tomáš Chvátal <tchvatal@suse.com>
- Update to 0.4.3:
* Fixes build with new netsurf-buildsystem
-------------------------------------------------------------------
Fri May 23 11:53:13 UTC 2014 - tchvatal@suse.com
- Cleanup with spec-cleaner
-------------------------------------------------------------------
Fri May 23 10:48:13 UTC 2014 - fstrba@suse.com
- Initial import of libwapcaplet, inspired by Fedora package

85
libwapcaplet.spec Normal file
View File

@ -0,0 +1,85 @@
#
# spec file for package libwapcaplet
#
# Copyright (c) 2021 SUSE LLC
#
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
# upon. The license for this file, and modifications and additions to the
# file, is the same license as for the pristine package itself (unless the
# license for the pristine package is not an Open Source License, in which
# case the license is the MIT License). An "Open Source License" is a
# license that conforms to the Open Source Definition (Version 1.9)
# published by the Open Source Initiative.
# Please submit bugfixes or comments via https://bugs.opensuse.org/
#
%{!?make_build:%global make_build make %{?_smp_mflags}}
%global make_vars COMPONENT_TYPE=lib-shared PREFIX=%{_prefix} LIBDIR=%{_lib} CC=cc Q=
%global build_vars OPTCFLAGS='%{optflags}' OPTLDFLAGS="$RPM_LD_FLAGS"
Name: libwapcaplet
Version: 0.4.3
Release: 0
Summary: A string internment library
License: MIT
URL: https://www.netsurf-browser.org/projects/libwapcaplet/
Source: http://download.netsurf-browser.org/libs/releases/%{name}-%{version}-src.tar.gz
BuildRequires: netsurf-buildsystem >= 1.1
BuildRequires: pkgconfig
BuildRequires: pkgconfig(check)
%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. For further
details, see the readme.
%package -n libwapcaplet0
Summary: A string internment library
%description -n libwapcaplet0
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. For further
details, see the readme.
%package devel
Summary: Development files for %{name}
Requires: libwapcaplet0 = %{version}-%{release}
%description devel
The %{name}-devel package contains libraries and header files for
developing applications that use %{name}.
%prep
%setup -q
sed -i -e s@-Werror@@ Makefile
%build
%make_build %{make_vars} %{build_vars}
%install
%make_install %{make_vars}
%post -n libwapcaplet0 -p /sbin/ldconfig
%postun -n libwapcaplet0 -p /sbin/ldconfig
%check
%make_build test %{make_vars} %{build_vars}
%files -n libwapcaplet0
%license COPYING
%{_libdir}/%{name}.so.*
%files devel
%{_includedir}/%{name}
%doc README
%{_libdir}/%{name}.so
%{_libdir}/pkgconfig/%{name}.pc
%changelog