From ec6a47aeefefaa8b6a9cd2f963bb63180dd68d83ac467944e024594988419d0a Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Adrian=20Schr=C3=B6ter?= Date: Fri, 3 May 2024 16:06:51 +0200 Subject: [PATCH] Sync from SUSE:SLFO:Main libwapcaplet revision 5c82067b04dfd7c83ed78e53d03154b3 --- .gitattributes | 23 ++++++++++ libwapcaplet-0.4.3-src.tar.gz | 3 ++ libwapcaplet.changes | 22 +++++++++ libwapcaplet.spec | 85 +++++++++++++++++++++++++++++++++++ 4 files changed, 133 insertions(+) create mode 100644 .gitattributes create mode 100644 libwapcaplet-0.4.3-src.tar.gz create mode 100644 libwapcaplet.changes create mode 100644 libwapcaplet.spec diff --git a/.gitattributes b/.gitattributes new file mode 100644 index 0000000..9b03811 --- /dev/null +++ b/.gitattributes @@ -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 diff --git a/libwapcaplet-0.4.3-src.tar.gz b/libwapcaplet-0.4.3-src.tar.gz new file mode 100644 index 0000000..8b06f28 --- /dev/null +++ b/libwapcaplet-0.4.3-src.tar.gz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:9b2aa1dd6d6645f8e992b3697fdbd87f0c0e1da5721fa54ed29b484d13160c5c +size 31766 diff --git a/libwapcaplet.changes b/libwapcaplet.changes new file mode 100644 index 0000000..451268a --- /dev/null +++ b/libwapcaplet.changes @@ -0,0 +1,22 @@ +------------------------------------------------------------------- +Wed May 19 15:02:51 UTC 2021 - Fridrich Strba + +- 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 + +- 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 + diff --git a/libwapcaplet.spec b/libwapcaplet.spec new file mode 100644 index 0000000..58e04e1 --- /dev/null +++ b/libwapcaplet.spec @@ -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