Sync from SUSE:SLFO:Main inih revision 0428efdf98469d58f33cf4bacdb94dca
This commit is contained in:
commit
02cc33db1c
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
inih-r56.tar.gz
(Stored with Git LFS)
Normal file
BIN
inih-r56.tar.gz
(Stored with Git LFS)
Normal file
Binary file not shown.
78
inih.changes
Normal file
78
inih.changes
Normal file
@ -0,0 +1,78 @@
|
||||
-------------------------------------------------------------------
|
||||
Sat Jul 16 08:19:28 UTC 2022 - Matthias Bach <marix@marix.org> - 56
|
||||
|
||||
- Update to version 55
|
||||
* Fix redundant cast-to-int when INI_USE_STACK!=0
|
||||
* Make inline comments work on subsequent lines of multiline values
|
||||
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Fri Mar 25 22:03:32 UTC 2022 - Matthias Bach <marix@marix.org> - 55
|
||||
|
||||
- Update to version 55
|
||||
* Include proper version in installed pkgconfig files.
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Fri Mar 25 20:33:09 UTC 2022 - Matthias Bach <marix@marix.org> - 54
|
||||
|
||||
- Update to version 54
|
||||
* Improve quality of shared objects by explicitly defining symbol
|
||||
visibility.
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Thu Mar 11 07:19:10 UTC 2021 - Wang Jun <jgwang@suse.com> - 53
|
||||

|
||||
- Update to version 53
|
||||
* Add architecture ppc64le to travis build (#122)
|
||||
* enable distro settings by default (#125)
|
||||
* meson: optionally depend on c++ (#124)
|
||||
* meson: add static compile args to inih_dep (#126)
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Thu Dec 24 09:40:03 UTC 2020 - Matthias Bach <marix@marix.org> - 52
|
||||
|
||||
- Make package conform to spec-cleaner.
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Thu Oct 15 19:10:02 UTC 2020 - Matthias Bach <marix@marix.org> - 52
|
||||
|
||||
- Update to version 52
|
||||
* Add INI_CUSTOM_ALLOCATOR to allow using a custom memory
|
||||
allocator.
|
||||
- Drop workaround for library name not matching its soname as this
|
||||
was fixed upstream.
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Sat Sep 19 15:31:37 UTC 2020 - Matthias Bach <marix@marix.org> - 51
|
||||
|
||||
- Following packaging guidelines, exclude static libraries again.
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Fri Sep 18 19:44:27 UTC 2020 - Matthias Bach <marix@marix.org> - 51
|
||||
|
||||
- Execute upstream tests during package build
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Thu Sep 17 20:58:02 UTC 2020 - Matthias Bach <marix@marix.org> - 51
|
||||
|
||||
- Fix the library not matching its soname
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Thu Sep 17 20:39:44 UTC 2020 - Matthias Bach <marix@marix.org>
|
||||
|
||||
- Include static library
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Thu Sep 17 20:27:11 UTC 2020 - Matthias Bach <marix@marix.org>
|
||||
|
||||
- Drop build config only required for SLE11
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Mon Sep 14 18:13:19 UTC 2020 - Matthias Bach <marix@marix.org>
|
||||
|
||||
- Fix broken requirement
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Sat Sep 12 19:26:16 UTC 2020 - Matthias Bach <marix@marix.org> - 51
|
||||
|
||||
- Initial package release
|
91
inih.spec
Normal file
91
inih.spec
Normal file
@ -0,0 +1,91 @@
|
||||
#
|
||||
# spec file for package inih
|
||||
#
|
||||
# Copyright (c) 2022 SUSE LLC
|
||||
# Copyright (c) 2020 Matthias Bach <marix@marix.org>
|
||||
#
|
||||
# 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/
|
||||
#
|
||||
|
||||
|
||||
Name: inih
|
||||
Version: 56
|
||||
Release: 0
|
||||
Summary: Simple .INI file parser in C, good for embedded systems
|
||||
License: BSD-3-Clause
|
||||
Group: Development/Libraries/C and C++
|
||||
URL: https://github.com/benhoyt/inih
|
||||
Source: https://github.com/benhoyt/inih/archive/r%{version}.tar.gz#/inih-r%{version}.tar.gz
|
||||
BuildRequires: gcc-c++
|
||||
BuildRequires: meson
|
||||
BuildRequires: pkgconfig
|
||||
|
||||
%description
|
||||
INI Not Invented Here is a simple parser for .INI files written in C and mostly
|
||||
compatible with Python's ConfigParser.
|
||||
|
||||
%package -n libinih0
|
||||
Summary: INIH dynamic libary files
|
||||
Group: System/Libraries
|
||||
|
||||
%description -n libinih0
|
||||
INI Not Invented Here is a simple parser for .INI files written in C and mostly
|
||||
compatible with Python's ConfigParser.
|
||||
|
||||
This package provides the library for use at runtime by applications using INIH.
|
||||
|
||||
%package -n libinih-devel
|
||||
Summary: Development files for INIH
|
||||
Group: Development/Libraries/C and C++
|
||||
Requires: libinih0 = %{version}
|
||||
|
||||
%description -n libinih-devel
|
||||
INI Not Invented Here is a simple parser for .INI files written in C and mostly
|
||||
compatible with Python's ConfigParser.
|
||||
|
||||
This package provides the development headers for INIH including the C++ bindings.
|
||||
|
||||
%prep
|
||||
%setup -q -n %{name}-r%{version}
|
||||
|
||||
%build
|
||||
%meson -Ddefault_library=shared -Ddistro_install=true -Dwith_INIReader=true
|
||||
%meson_build
|
||||
|
||||
%check
|
||||
cd tests
|
||||
bash -e ./unittest.sh
|
||||
cd ../examples
|
||||
bash -e cpptest.sh
|
||||
|
||||
%install
|
||||
%meson_install
|
||||
|
||||
%post -n libinih0 -p /sbin/ldconfig
|
||||
%postun -n libinih0 -p /sbin/ldconfig
|
||||
|
||||
%files -n libinih0
|
||||
%{_libdir}/libinih.so.*
|
||||
%{_libdir}/libINIReader.so.*
|
||||
%license LICENSE.txt
|
||||
|
||||
%files -n libinih-devel
|
||||
%{_includedir}/ini.h
|
||||
%{_includedir}/INIReader.h
|
||||
%{_libdir}/libinih.so
|
||||
%{_libdir}/libINIReader.so
|
||||
%{_libdir}/pkgconfig/inih.pc
|
||||
%{_libdir}/pkgconfig/INIReader.pc
|
||||
%doc README.md
|
||||
%license LICENSE.txt
|
||||
|
||||
%changelog
|
Loading…
Reference in New Issue
Block a user