Sync from SUSE:ALP:Source:Standard:1.0 libparserutils revision 8b2c0394602fd92ff0cd78d43bf0a6c7
This commit is contained in:
commit
b33b1a5c18
23
.gitattributes
vendored
Normal file
23
.gitattributes
vendored
Normal 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
libparserutils-0.2.4-src.tar.gz
(Stored with Git LFS)
Normal file
BIN
libparserutils-0.2.4-src.tar.gz
(Stored with Git LFS)
Normal file
Binary file not shown.
13
libparserutils-optflags.patch
Normal file
13
libparserutils-optflags.patch
Normal file
@ -0,0 +1,13 @@
|
||||
Index: libparserutils-0.2.3/Makefile
|
||||
===================================================================
|
||||
--- libparserutils-0.2.3.orig/Makefile
|
||||
+++ libparserutils-0.2.3/Makefile
|
||||
@@ -23,7 +23,7 @@ WARNFLAGS := -Wall -W -Wundef -Wpointer-
|
||||
-Wmissing-declarations -Wnested-externs -pedantic
|
||||
# BeOS/Haiku standard library headers create warnings.
|
||||
ifneq ($(BUILD),i586-pc-haiku)
|
||||
- WARNFLAGS := $(WARNFLAGS) -Werror
|
||||
+ WARNFLAGS := $(WARNFLAGS)
|
||||
endif
|
||||
|
||||
CFLAGS := -D_BSD_SOURCE -D_DEFAULT_SOURCE \
|
44
libparserutils.changes
Normal file
44
libparserutils.changes
Normal file
@ -0,0 +1,44 @@
|
||||
-------------------------------------------------------------------
|
||||
Wed May 19 15:00:56 UTC 2021 - Fridrich Strba <fstrba@suse.com>
|
||||
|
||||
- Define conditionally make_build to fix build on systems that do
|
||||
not have that macro
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Wed Aug 26 12:16:50 UTC 2020 - Tomáš Chvátal <tchvatal@suse.com>
|
||||
|
||||
- Fix the compilation to actually work
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Tue Aug 25 15:21:02 UTC 2020 - Dirk Mueller <dmueller@suse.com>
|
||||
|
||||
- update to 0.2.4:
|
||||
* Tests: Fix memory leak
|
||||
* Tests: Fix read before start of unused expected buffer
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Fri Aug 5 22:09:12 UTC 2016 - jengelh@inai.de
|
||||
|
||||
- Use typical SUSE RPM categories
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Mon Aug 1 08:57:11 UTC 2016 - tchvatal@suse.com
|
||||
|
||||
- Remove sle11 support code
|
||||
- Update to 0.2.3 release:
|
||||
* Few small patches in makefile nothing big
|
||||
- Refresh patch libparserutils-optflags.patch
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Fri Oct 31 01:28:50 UTC 2014 - crrodriguez@opensuse.org
|
||||
|
||||
- libparserutils-optflags.patch Do not use Werror and do
|
||||
not define _BSD_SOURCE but GNU_SOURCE. (fix factory build)
|
||||
- use std=gnu99 instead of strict c99.
|
||||
- Doxygen should not generate timestamped html docs.
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Fri May 23 10:43:55 UTC 2014 - fstrba@suse.com
|
||||
|
||||
- Initial package of libparserutils inspiried by Fedora package
|
||||
|
97
libparserutils.spec
Normal file
97
libparserutils.spec
Normal file
@ -0,0 +1,97 @@
|
||||
#
|
||||
# spec file for package libparserutils
|
||||
#
|
||||
# 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}}
|
||||
Name: libparserutils
|
||||
Version: 0.2.4
|
||||
Release: 0
|
||||
Summary: A library for building efficient parsers
|
||||
License: MIT
|
||||
URL: https://www.netsurf-browser.org/projects/libparserutils/
|
||||
Source: http://download.netsurf-browser.org/libs/releases/%{name}-%{version}-src.tar.gz
|
||||
Patch0: libparserutils-optflags.patch
|
||||
BuildRequires: netsurf-buildsystem >= 1.1
|
||||
BuildRequires: pkgconfig
|
||||
BuildRequires: pkgconfig(check)
|
||||
|
||||
%description
|
||||
LibParserUtils is a library for building efficient parsers, written in
|
||||
C. It was developed as part of the NetSurf project.
|
||||
|
||||
Features:
|
||||
* No mandatory dependencies (iconv() implementation optional for
|
||||
enhanced charset support)
|
||||
* A number of built-in character set converters
|
||||
* Mapping of character set names to/from MIB enum values
|
||||
* UTF-8 and UTF-16 (host endian) support functions
|
||||
* Various simple data structures (resizeable buffer, stack, vector)
|
||||
* A UTF-8 input stream
|
||||
* Simple C API
|
||||
* Portable
|
||||
|
||||
LibParserUtils has the following built-in charset converters:
|
||||
* UTF-8
|
||||
* UTF-16 (platform-native endian)
|
||||
* ISO-8859-n
|
||||
* Windows-125n
|
||||
* US-ASCII
|
||||
|
||||
%package -n libparserutils0
|
||||
Summary: A library for building efficient parsers
|
||||
|
||||
%description -n libparserutils0
|
||||
LibParserUtils is a library for building efficient parsers, written in
|
||||
C. It was developed as part of the NetSurf project.
|
||||
|
||||
%package devel
|
||||
Summary: Development files for %{name}
|
||||
Requires: libparserutils0 = %{version}-%{release}
|
||||
|
||||
%description devel
|
||||
The %{name}-devel package contains libraries and header files for
|
||||
developing applications that use %{name}.
|
||||
|
||||
%global make_vars COMPONENT_TYPE=lib-shared PREFIX=%{_prefix} LIBDIR=%{_lib} Q= INCLUDEDIR=include CC=gcc BUILD_CC=gcc
|
||||
%global build_vars OPTCFLAGS='%{optflags}' OPTLDFLAGS="$RPM_LD_FLAGS"
|
||||
|
||||
%prep
|
||||
%setup -q
|
||||
%patch0 -p1
|
||||
|
||||
%build
|
||||
%make_build %{make_vars} %{build_vars}
|
||||
|
||||
%install
|
||||
make install DESTDIR=%{buildroot} %{make_vars}
|
||||
|
||||
%post -n libparserutils0 -p /sbin/ldconfig
|
||||
%postun -n libparserutils0 -p /sbin/ldconfig
|
||||
|
||||
%check
|
||||
%make_build test %{make_vars}
|
||||
|
||||
%files -n libparserutils0
|
||||
%license COPYING
|
||||
%{_libdir}/%{name}.so.*
|
||||
|
||||
%files devel
|
||||
%{_includedir}/parserutils
|
||||
%{_libdir}/%{name}.so
|
||||
%{_libdir}/pkgconfig/%{name}.pc
|
||||
|
||||
%changelog
|
Loading…
Reference in New Issue
Block a user