Sync from SUSE:SLFO:Main ding-libs revision 76d5f93bd3fb91ad34d3ed66883d4adc
This commit is contained in:
commit
60fb0b7d9c
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
|
16
0001-increase-ini-max-value-length.patch
Normal file
16
0001-increase-ini-max-value-length.patch
Normal file
@ -0,0 +1,16 @@
|
||||
In order to support longer values in INI parser, the maximum value length
|
||||
is increased.
|
||||
|
||||
Author: David Bond <dbond@suse.com>
|
||||
diff -rupN ding-libs-0.5.0/ini/ini_defines.h ding-libs-0.5.0-patched/ini/ini_defines.h
|
||||
--- ding-libs-0.5.0/ini/ini_defines.h 2015-06-23 14:12:00.000000000 +0200
|
||||
+++ ding-libs-0.5.0-patched/ini/ini_defines.h 2016-07-29 12:15:41.866273555 +0200
|
||||
@@ -66,7 +66,7 @@
|
||||
#define INI_SECTION_KEY "["
|
||||
|
||||
/* Internal sizes. MAX_KEY is defined in config.h */
|
||||
-#define MAX_VALUE PATH_MAX
|
||||
+#define MAX_VALUE (PATH_MAX + 4096)
|
||||
#define BUFFER_SIZE MAX_KEY + MAX_VALUE + 3
|
||||
|
||||
/* Beffer length used for int to string conversions */
|
24
baselibs.conf
Normal file
24
baselibs.conf
Normal file
@ -0,0 +1,24 @@
|
||||
libbasicobjects0
|
||||
libbasicobjects-devel
|
||||
requires -libbasicobjects-<targettype>
|
||||
requires "libbasicobjects0-<targettype> = <version>"
|
||||
libpath_utils1
|
||||
libpath_utils-devel
|
||||
requires -libpath_utils-<targettype>
|
||||
requires "libpath_utils1-<targettype> = <version>"
|
||||
libdhash1
|
||||
libdhash-devel
|
||||
requires -libdhash-<targettype>
|
||||
requires "libdhash1-<targettype> = <version>"
|
||||
libcollection4
|
||||
libcollection-devel
|
||||
requires -libcollection-<targettype>
|
||||
requires "libcollection4-<targettype> = <version>"
|
||||
libref_array1
|
||||
libref_array-devel
|
||||
requires -libref_array-<targettype>
|
||||
requires "libref_array1-<targettype> = <version>"
|
||||
libini_config5
|
||||
libini_config-devel
|
||||
requires -libini_config-<targettype>
|
||||
requires "libini_config5-<targettype> = <version>"
|
BIN
ding-libs-0.6.2.tar.gz
(Stored with Git LFS)
Normal file
BIN
ding-libs-0.6.2.tar.gz
(Stored with Git LFS)
Normal file
Binary file not shown.
17
ding-libs-0.6.2.tar.gz.asc
Normal file
17
ding-libs-0.6.2.tar.gz.asc
Normal file
@ -0,0 +1,17 @@
|
||||
-----BEGIN PGP SIGNATURE-----
|
||||
|
||||
iQJIBAABCAAyFiEEkwIBqrQt0ZRyELeDjXMmNRpyYhEFAmHrD3EUHGF0aWtob25v
|
||||
QHJlZGhhdC5jb20ACgkQjXMmNRpyYhHO+g//WYm6GYnWkeZfztRoN+J89FMBz1hX
|
||||
SN38Mvzvqhx1PurGv1Afs88jch7cqlQkfohDEPc22BzEdHN+H9VFJqBTtXJ3BzXH
|
||||
kx8zsCL/ySYW46/yuVtDqlz8WX2dMbhVSObE0MlGdSK8GzuyrY2PjAAwgRfTe/yG
|
||||
E+n8tkx36yKfxZQ9RGDUofHJh0+GUWEWNcKF5lEY8EkMV2jMr8Fsf/7ZCa4uzSwy
|
||||
az5B/r+JfGpY04UMzWHd0+Q/H6JhDxyP9ou3ddXptGQz1G0vG7+DZIiXT772hqwq
|
||||
8kETVb2Q2p3W5COJvUrJPdS6RDgpH7DT4aG6EVYv59i0L3w0+70tEJGET0DKdBTl
|
||||
mqVkx9YDXMxv7VoLM6qpAFC5GWKN5eiiYALv7mNpjAEpt7eo+6ru8VdxR2fOnEny
|
||||
YIoeijVRfJMWZGlRjFtrkrVUJ1pE/BhhSPTVAtBWUoQjeQR6FltROrpp0EGZfqck
|
||||
UQ/9KryDxw2WHq3P2DApykROzE+JBKmQm10zMYeANdEvDi++72y23Y4jRfLK0rgG
|
||||
M1kL5NErw7D1T+mm1SvO8nIadR1xM8kvwMNLck5ftSA+w42f9TQuKYH3GiPu2dbv
|
||||
uIXinZAro6hLsV1U9FCny3beIGHJq0RTxr8fhNdOmioKW8l6hMBxQcU4I4OFJTnZ
|
||||
22eqtH0ha/87Fr8=
|
||||
=YBPD
|
||||
-----END PGP SIGNATURE-----
|
122
ding-libs.changes
Normal file
122
ding-libs.changes
Normal file
@ -0,0 +1,122 @@
|
||||
-------------------------------------------------------------------
|
||||
Tue Jun 20 09:07:05 UTC 2023 - Valentin Lefebvre <valentin.lefebvre@suse.com>
|
||||
|
||||
- Update to 0.6.2:
|
||||
* Minor maintenance update:
|
||||
INI: Silent ini_argument match failures
|
||||
INI: Fix detection of error message
|
||||
- Remove patches fixed upstream
|
||||
* INI-Fix-detection-of-error-messages.patch
|
||||
* INI-Silence-ini_augment-match-failures.patch
|
||||
* TEST-validators_ut_check-Fix-fail-with-new-glibc.patch
|
||||
* INI-Remove-definiton-of-TRACE_LEVEL.patch
|
||||
- Use github sources
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Tue Jun 18 08:50:40 UTC 2019 - Tomáš Chvátal <tchvatal@suse.com>
|
||||
|
||||
- Add patch fixing errors writeout to stdout:
|
||||
* INI-Remove-definiton-of-TRACE_LEVEL.patch
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Wed May 22 08:00:10 UTC 2019 - Tomáš Chvátal <tchvatal@suse.com>
|
||||
|
||||
- Update to 0.6.1:
|
||||
* No upstream changelog
|
||||
- Update URL
|
||||
* Remove the git link info as it 404 atm
|
||||
- Add patches from upstream to fix ini behaviour:
|
||||
* INI-Fix-detection-of-error-messages.patch
|
||||
* INI-Silence-ini_augment-match-failures.patch
|
||||
* TEST-validators_ut_check-Fix-fail-with-new-glibc.patch
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Mon Jan 16 23:19:11 UTC 2017 - jengelh@inai.de
|
||||
|
||||
- Update to new upstream release 0.6.0
|
||||
* libini now supports validators that check for well-formed INI
|
||||
files.
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Fri Jul 29 10:24:17 UTC 2016 - hguo@suse.com
|
||||
|
||||
- Introduce patch 0001-increase-ini-max-value-length.patch
|
||||
to support longer values in INI file parser. bsc#989488
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Wed Feb 24 19:09:25 UTC 2016 - jengelh@inai.de
|
||||
|
||||
- Bump subpackage version numbers to match .pc files
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Fri Feb 12 13:49:23 UTC 2016 - hguo@suse.com
|
||||
|
||||
- Correct the version number of library packages in spec file.
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Wed Feb 10 11:23:05 UTC 2016 - hguo@suse.com
|
||||
|
||||
- Upgrade to latest upstream version 0.5.0.
|
||||
The new version is ABI compatible with 0.4.0.
|
||||
* libini_config: This release adds an API to create, modify and
|
||||
save INI files
|
||||
* libini_config: Merging configuration snippets installed in
|
||||
different locations is supported
|
||||
* libcollection: New functions: col_get_dup_item,
|
||||
col_delete_item_with_cb, col_remove_item_with_cb
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Sun Aug 10 13:39:44 UTC 2014 - jengelh@inai.de
|
||||
|
||||
- Update to new upstream release 0.4.0
|
||||
* libini_config: Ability to convert input INI file from UTF-16/32
|
||||
to UTF8- during parsing
|
||||
* ini_config: Support C style comments in INI file
|
||||
* ini_config: Ability to read configuration data from a memory buffer
|
||||
- Remove doxygen-notimestamp.diff,
|
||||
0001-build-add-missing-Requires-to-pkgconfig-file.patch
|
||||
(merged upstream)
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Fri Feb 7 12:29:15 UTC 2014 - ckornacker@suse.com
|
||||
|
||||
- remove pkgconfig-deps.diff since it's obsoleted by
|
||||
0001-build-add-missing-Requires-to-pkgconfig-file.patch
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Thu Aug 8 01:31:44 UTC 2013 - jengelh@inai.de
|
||||
|
||||
- Update to new upstream release 0.3.0.1
|
||||
* A new libini_config interface (merging config section,
|
||||
better handling of metadata)
|
||||
- Optional signature verification
|
||||
- Add 0001-build-add-missing-Requires-to-pkgconfig-file.patch
|
||||
for corrected pkgconfig dependencies
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Sun Mar 11 19:24:54 UTC 2012 - jengelh@medozas.de
|
||||
|
||||
- Update to new upstream release 0.1.3
|
||||
* Fixes a serious bug in libdhash with very large (>1024 slots)
|
||||
initial size
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Sun Sep 18 17:17:12 UTC 2011 - jengelh@medozas.de
|
||||
|
||||
- Remove redundant tags/sections from specfile
|
||||
(cf. packaging guidelines)
|
||||
- Use %_smp_mflags for parallel build
|
||||
- Implement baselibs config
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Fri Nov 19 13:03:39 UTC 2010 - rhafer@novell.com
|
||||
|
||||
- libref_array's license is LGPLv3+, the Headers in ref_array.c and
|
||||
ref_array.h were wrong. See:
|
||||
https://fedorahosted.org/pipermail/sssd-devel/2010-November/005107.html
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Tue Nov 16 09:56:44 UTC 2010 - rhafer@novell.com
|
||||
|
||||
- Initial release after spilt from sssd, based on upstream specfile
|
||||
|
52
ding-libs.keyring
Normal file
52
ding-libs.keyring
Normal file
@ -0,0 +1,52 @@
|
||||
-----BEGIN PGP PUBLIC KEY BLOCK-----
|
||||
|
||||
mQINBF677TsBEAC6lxykcx6Ao4J0D6KiQ0+fi+NrsJkHgBT+4IRsVwanSOtVhGOb
|
||||
wkQqEeFlOgTExHE1A6THiMb0D4LVsuvjSIwwSOusdbPokp7iX2QyFIUJGfeFq6/V
|
||||
FEm3pAn+Rx2453uLqYtf6eISbHC6sWZxJ0+32rT173nQCbOKkWgcsClvjiLu7frA
|
||||
LweDaygWCjHwNrkm4brV7O3GHIgOYo6E/+0oxG4kcCvQw9IFlM8lf+eCw1Fn60Jt
|
||||
TVTos9tdlwF1kK/VQJvfPYsIgtA4QnDGjI6DvPflPIzL9vVzuGarjAYP1B+Wtjif
|
||||
JmHam2bYMk8u3hgkSh+fQTQ5SnmznIH6bqFfnwQRq2JL60JUaM3hcogSxA0RTsTO
|
||||
j9fBU+zJJuaX9RnfS9qlOfMY3sE3lEGNOAGtLRbeyOnfUttNQa9e0tKXJnXECmTL
|
||||
gKo8AD4Ulv9Y7i4Ap/WsDAJHLlH9K7AVGNB4OrL4gk/soQ54J60WuAUDsy3o2oby
|
||||
vNmy4FeKEVgHmOINe9jRVWgv4ao1w3AwNPtwznLcxLc7CXQwfDrlG63NMCFpWJ5p
|
||||
ih7rVODCuwOBzVJiD3aMEVyKud0gFpJbPFSqYJ29iiD0iPkvkKf17Iaf1iUsFdU9
|
||||
UpvPdoJYTm/CVf8rRueXgcOvaoDMhES0dlSD3Yoxz+eFHm4qpru6exWWMwARAQAB
|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HC45H+h4Krv1+Qs0eLXit74dC509
|
||||
xdqAqNFwniOUJvGIjZFPnWeiqU20/hW7TTaEr3xcEWdsvKXP+0GVLagq7YMDPgos
|
||||
W/GDajWT78l3nq6qkkU/vLlj81YMF5tnFP3oIsDPJTKEnqdommZNNf0yBvM4uhyK
|
||||
djlL2k2JFJfdPJ05BSXBD+TKsftZfxkAT+zSbK060nuIk2EGfH+0QIGcdUUYZtOw
|
||||
2o22jImdLfC6t8DEp4w5OlGC3K7i6K+5brfqYtzu8vNSbrBZaBf1yp6s8wg69dx/
|
||||
zqWpv28ZZ2lzjuHncw+QuHhA53EJs5McrCu6f0+kehBpOu7SNeDTnqjytZP/rE1N
|
||||
nQ==
|
||||
=uvJr
|
||||
-----END PGP PUBLIC KEY BLOCK-----
|
282
ding-libs.spec
Normal file
282
ding-libs.spec
Normal file
@ -0,0 +1,282 @@
|
||||
#
|
||||
# spec file for package ding-libs
|
||||
#
|
||||
# Copyright (c) 2023 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/
|
||||
#
|
||||
|
||||
|
||||
# Defined in version.m4
|
||||
%global path_utils_version 0.2.1
|
||||
%global dhash_version 0.5.0
|
||||
%global collection_version 0.7.0
|
||||
%global ref_array_version 0.1.5
|
||||
%global basicobjects_version 0.1.1
|
||||
%global ini_config_version 1.3.1
|
||||
|
||||
Name: ding-libs
|
||||
Version: 0.6.2
|
||||
Release: 0
|
||||
Summary: "Ding is not GLib" assorted utility libraries
|
||||
License: GPL-3.0-or-later AND LGPL-3.0-or-later
|
||||
Group: Development/Libraries/C and C++
|
||||
URL: https://github.com/SSSD/ding-libs
|
||||
|
||||
Source: https://github.com/SSSD/ding-libs/releases/download/%version/%name-%version.tar.gz
|
||||
Source2: https://github.com/SSSD/ding-libs/releases/download/%version/%name-%version.tar.gz.asc
|
||||
Source3: %name.keyring
|
||||
Source4: baselibs.conf
|
||||
Patch1: 0001-increase-ini-max-value-length.patch
|
||||
BuildRequires: doxygen
|
||||
BuildRequires: pkgconfig
|
||||
BuildRequires: pkgconfig(check) >= 0.9.5
|
||||
|
||||
%description
|
||||
Assorted C utility libraries: libcollection, libdhash, libini_config,
|
||||
librefarray, libpath_utils and libbasicobjects.
|
||||
|
||||
%package -n libbasicobjects0
|
||||
Summary: Library containing basic objects like dynamic string
|
||||
License: GPL-3.0-or-later
|
||||
Group: System/Libraries
|
||||
Version: %basicobjects_version
|
||||
Release: 0
|
||||
|
||||
%description -n libbasicobjects0
|
||||
A small library that provides a buffer object.
|
||||
|
||||
%package -n libbasicobjects-devel
|
||||
Summary: Library containing basic objects like dynamic string
|
||||
License: GPL-3.0-or-later
|
||||
Group: Development/Libraries/C and C++
|
||||
Version: %basicobjects_version
|
||||
Release: 0
|
||||
Requires: libbasicobjects0 = %version
|
||||
|
||||
%description -n libbasicobjects-devel
|
||||
A small library that provides a buffer object.
|
||||
|
||||
%package -n libcollection4
|
||||
Summary: Collection data type for C
|
||||
License: LGPL-3.0-or-later
|
||||
Group: System/Libraries
|
||||
Version: %collection_version
|
||||
Release: 0
|
||||
|
||||
%description -n libcollection4
|
||||
A data-type to collect data in a hierarchical structure for easy iteration
|
||||
and serialization
|
||||
|
||||
%package -n libcollection-devel
|
||||
Summary: Development files for libcollection
|
||||
License: LGPL-3.0-or-later
|
||||
Group: Development/Libraries/C and C++
|
||||
Version: %collection_version
|
||||
Release: 0
|
||||
Requires: libcollection4 = %collection_version
|
||||
|
||||
%description -n libcollection-devel
|
||||
A data-type to collect data in a hierarchical structure for easy iteration
|
||||
and serialization
|
||||
|
||||
%package -n libdhash1
|
||||
Summary: Dynamic hash table library
|
||||
License: LGPL-3.0-or-later
|
||||
Group: System/Libraries
|
||||
Version: %dhash_version
|
||||
Release: 0
|
||||
|
||||
%description -n libdhash1
|
||||
A hash table which will dynamically resize to achieve optimal storage & access
|
||||
time properties
|
||||
|
||||
%package -n libdhash-devel
|
||||
Summary: Development files for libdhash
|
||||
License: LGPL-3.0-or-later
|
||||
Group: Development/Libraries/C and C++
|
||||
Version: %dhash_version
|
||||
Release: 0
|
||||
Requires: libdhash1 = %dhash_version
|
||||
|
||||
%description -n libdhash-devel
|
||||
A hash table which will dynamically resize to achieve optimal storage & access
|
||||
time properties
|
||||
|
||||
%package -n libini_config5
|
||||
Summary: INI file parser for C
|
||||
License: LGPL-3.0-or-later
|
||||
Group: System/Libraries
|
||||
Version: %ini_config_version
|
||||
Release: 0
|
||||
|
||||
%description -n libini_config5
|
||||
Library to process config files in INI format into a libcollection data
|
||||
structure
|
||||
|
||||
%package -n libini_config-devel
|
||||
Summary: Development files for libini_config
|
||||
License: LGPL-3.0-or-later
|
||||
Group: Development/Libraries/C and C++
|
||||
Version: %ini_config_version
|
||||
Release: 0
|
||||
Requires: libini_config5 = %ini_config_version
|
||||
|
||||
%description -n libini_config-devel
|
||||
Library to process config files in INI format into a libcollection data
|
||||
structure
|
||||
|
||||
%package -n libpath_utils1
|
||||
Summary: Filesystem Path Utilities
|
||||
License: LGPL-3.0-or-later
|
||||
Group: System/Libraries
|
||||
Version: %path_utils_version
|
||||
Release: 0
|
||||
|
||||
%description -n libpath_utils1
|
||||
Utility functions to manipulate filesystem pathnames
|
||||
|
||||
%package -n libpath_utils-devel
|
||||
Summary: Development files for libpath_utils
|
||||
License: LGPL-3.0-or-later
|
||||
Group: Development/Libraries/C and C++
|
||||
Version: %path_utils_version
|
||||
Release: 0
|
||||
Requires: libpath_utils1 = %path_utils_version
|
||||
|
||||
%description -n libpath_utils-devel
|
||||
Utility functions to manipulate filesystem pathnames
|
||||
|
||||
%package -n libref_array1
|
||||
Summary: A refcounted array for C
|
||||
License: GPL-3.0-or-later
|
||||
Group: System/Libraries
|
||||
Version: %ref_array_version
|
||||
Release: 0
|
||||
|
||||
%description -n libref_array1
|
||||
A dynamically-growing, reference-counted array
|
||||
|
||||
%package -n libref_array-devel
|
||||
Summary: Development files for libref_array
|
||||
License: GPL-3.0-or-later
|
||||
Group: Development/Libraries/C and C++
|
||||
Version: %ref_array_version
|
||||
Release: 0
|
||||
Requires: libref_array1 = %ref_array_version
|
||||
|
||||
%description -n libref_array-devel
|
||||
A dynamically-growing, reference-counted array
|
||||
|
||||
%prep
|
||||
%setup -q
|
||||
%autopatch -p1
|
||||
|
||||
%build
|
||||
%configure --disable-static
|
||||
%make_build all docs
|
||||
|
||||
%check
|
||||
%make_build check
|
||||
|
||||
%install
|
||||
%make_install
|
||||
rm -fv "%buildroot/%_libdir"/*.la
|
||||
|
||||
# Remove the example files from the output directory
|
||||
# We will copy them directly from the source directory
|
||||
# for packaging
|
||||
rm -fv \
|
||||
"%buildroot/%_datadir/doc/ding-libs"/README.* \
|
||||
"%buildroot/%_datadir/doc/ding-libs/examples/dhash_example.c" \
|
||||
"%buildroot/%_datadir/doc/ding-libs/examples/dhash_test.c"
|
||||
|
||||
# Remove document install script. RPM is handling this
|
||||
rm -f */doc/html/installdox
|
||||
|
||||
%post -n libbasicobjects0 -p /sbin/ldconfig
|
||||
%postun -n libbasicobjects0 -p /sbin/ldconfig
|
||||
%post -n libcollection4 -p /sbin/ldconfig
|
||||
%postun -n libcollection4 -p /sbin/ldconfig
|
||||
%post -n libdhash1 -p /sbin/ldconfig
|
||||
%postun -n libdhash1 -p /sbin/ldconfig
|
||||
%post -n libini_config5 -p /sbin/ldconfig
|
||||
%postun -n libini_config5 -p /sbin/ldconfig
|
||||
%post -n libpath_utils1 -p /sbin/ldconfig
|
||||
%postun -n libpath_utils1 -p /sbin/ldconfig
|
||||
%post -n libref_array1 -p /sbin/ldconfig
|
||||
%postun -n libref_array1 -p /sbin/ldconfig
|
||||
|
||||
%files -n libbasicobjects0
|
||||
%_libdir/libbasicobjects.so.0*
|
||||
|
||||
%files -n libbasicobjects-devel
|
||||
%_includedir/simplebuffer.h
|
||||
%_libdir/libbasicobjects.so
|
||||
%_libdir/pkgconfig/basicobjects.pc
|
||||
|
||||
%files -n libcollection4
|
||||
%_libdir/libcollection.so.4*
|
||||
|
||||
%files -n libcollection-devel
|
||||
%license COPYING COPYING.LESSER
|
||||
%_includedir/collection.h
|
||||
%_includedir/collection_tools.h
|
||||
%_includedir/collection_queue.h
|
||||
%_includedir/collection_stack.h
|
||||
%_libdir/libcollection.so
|
||||
%_libdir/pkgconfig/collection.pc
|
||||
%doc collection/doc/html/
|
||||
|
||||
%files -n libdhash1
|
||||
%_libdir/libdhash.so.1*
|
||||
|
||||
%files -n libdhash-devel
|
||||
%license COPYING COPYING.LESSER
|
||||
%_includedir/dhash.h
|
||||
%_libdir/libdhash.so
|
||||
%_libdir/pkgconfig/dhash.pc
|
||||
%doc dhash/README.dhash
|
||||
|
||||
%files -n libini_config5
|
||||
%_libdir/libini_config.so.5*
|
||||
|
||||
%files -n libini_config-devel
|
||||
%license COPYING COPYING.LESSER
|
||||
%_includedir/ini_*.h
|
||||
%_libdir/libini_config.so
|
||||
%_libdir/pkgconfig/ini_config.pc
|
||||
%doc ini/doc/html/
|
||||
|
||||
%files -n libpath_utils1
|
||||
%_libdir/libpath_utils.so.1*
|
||||
|
||||
%files -n libpath_utils-devel
|
||||
%license COPYING COPYING.LESSER
|
||||
%_includedir/path_utils.h
|
||||
%_libdir/libpath_utils.so
|
||||
%_libdir/pkgconfig/path_utils.pc
|
||||
%doc path_utils/README.path_utils
|
||||
%doc path_utils/doc/html/
|
||||
|
||||
%files -n libref_array1
|
||||
%_libdir/libref_array.so.1*
|
||||
|
||||
%files -n libref_array-devel
|
||||
%license COPYING COPYING.LESSER
|
||||
%_includedir/ref_array.h
|
||||
%_libdir/libref_array.so
|
||||
%_libdir/pkgconfig/ref_array.pc
|
||||
%doc refarray/README.ref_array
|
||||
%doc refarray/doc/html/
|
||||
|
||||
%changelog
|
Loading…
Reference in New Issue
Block a user