Accepting request 1043141 from home:jengelh:dev

OBS-URL: https://build.opensuse.org/request/show/1043141
OBS-URL: https://build.opensuse.org/package/show/devel:libraries:c_c++/c-utf8?expand=0&rev=1
This commit is contained in:
2022-12-15 21:22:27 +00:00
committed by Git OBS Bridge
commit 00d98c1a92
5 changed files with 101 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

1
.gitignore vendored Normal file
View File

@@ -0,0 +1 @@
.osc

4
c-utf8.changes Normal file
View File

@@ -0,0 +1,4 @@
-------------------------------------------------------------------
Tue Dec 13 10:31:11 UTC 2022 - Jan Engelhardt <jengelh@inai.de>
- Initial package (version 1.0.0) for build.opensuse.org

70
c-utf8.spec Normal file
View File

@@ -0,0 +1,70 @@
#
# spec file for package c-utf8
#
# Copyright (c) 2022 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 http://bugs.opensuse.org/
#
Name: c-utf8
%define lname libcutf8-1-0
Version: 1.0.0
Release: 0
Summary: UTF-8 handling in standard ISO C11
License: Apache-2.0 OR LGPL-2.1-or-later
URL: https://github.com/c-util/c-utf8
Source: https://github.com/c-util/c-utf8/archive/refs/tags/v%version.tar.gz
BuildRequires: meson >= 0.60
BuildRequires: pkg-config >= 0.29
BuildRequires: pkgconfig(libcstdaux-1) >= 1.3
%description
c-utf8 implements utility functions around handling UTF-8 in standard ISO C11.
%package -n %lname
Summary: UTF-8 handling in standard ISO C11
%description -n %lname
c-utf8 implements utility functions around handling UTF-8 in standard ISO C11.
%package devel
Summary: Header files for the c-utf8 library
Requires: %lname = %version
%description devel
c-utf8 implements utility functions around handling UTF-8 in standard ISO C11.
%prep
%autosetup
%build
%meson --includedir="%_includedir/%name"
%meson_build
%install
%meson_install
rm -v "%buildroot/%_libdir"/*.a
%post -n %lname -p /sbin/ldconfig
%postun -n %lname -p /sbin/ldconfig
%files -n %lname
%_libdir/*.so.*
%files devel
%_includedir/%name/
%_libdir/*.so
%_libdir/pkgconfig/*.pc
%license AUTHORS
%changelog

3
v1.0.0.tar.gz Normal file
View File

@@ -0,0 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:0b100e6f19810638b901e8f60c0fe82346a19927b0c03641a5016a6fc697e7c7
size 9372