forked from pool/ding-libs
ding-libs-0.4.0
OBS-URL: https://build.opensuse.org/package/show/network:ldap/ding-libs?expand=0&rev=20
This commit is contained in:
parent
47206c1fb6
commit
78f9861157
@ -1,29 +0,0 @@
|
|||||||
From 0b17e2b77e41c668afcc52aff853ac95c0a98a0e Mon Sep 17 00:00:00 2001
|
|
||||||
From: Jan Engelhardt <jengelh@inai.de>
|
|
||||||
Date: Thu, 19 Dec 2013 12:03:31 +0100
|
|
||||||
Subject: [PATCH] build: add missing Requires to pkgconfig file
|
|
||||||
Status: acked-upstream
|
|
||||||
|
|
||||||
ini_comment.h uses simplebuffer.h, therefore must Require
|
|
||||||
basicobjects which provides that. Similarly, ini_valueobj.h uses
|
|
||||||
ref_array.h and must therefore Require ref_array.
|
|
||||||
---
|
|
||||||
ini/ini_config.pc.in | 3 ++-
|
|
||||||
1 file changed, 2 insertions(+), 1 deletion(-)
|
|
||||||
|
|
||||||
diff --git a/ini/ini_config.pc.in b/ini/ini_config.pc.in
|
|
||||||
index 600d39a..66af169 100644
|
|
||||||
--- a/ini/ini_config.pc.in
|
|
||||||
+++ b/ini/ini_config.pc.in
|
|
||||||
@@ -6,6 +6,7 @@ includedir=@includedir@
|
|
||||||
Name: ini_config
|
|
||||||
Description: Library to process config files in INI format into a libcollection data structure
|
|
||||||
Version: @INI_CONFIG_VERSION@
|
|
||||||
-Libs: -L${libdir} -lini_config -lcollection
|
|
||||||
+Requires: basicobjects ref_array collection
|
|
||||||
+Libs: -L${libdir} -lini_config
|
|
||||||
Cflags: -I${includedir}
|
|
||||||
URL: http://fedorahosted.org/sssd/
|
|
||||||
--
|
|
||||||
1.8.4
|
|
||||||
|
|
@ -10,15 +10,15 @@ libdhash1
|
|||||||
libdhash-devel
|
libdhash-devel
|
||||||
requires -libdhash-<targettype>
|
requires -libdhash-<targettype>
|
||||||
requires "libdhash1-<targettype> = <version>"
|
requires "libdhash1-<targettype> = <version>"
|
||||||
libcollection2
|
libcollection4
|
||||||
libcollection-devel
|
libcollection-devel
|
||||||
requires -libcollection-<targettype>
|
requires -libcollection-<targettype>
|
||||||
requires "libcollection2-<targettype> = <version>"
|
requires "libcollection4-<targettype> = <version>"
|
||||||
libref_array1
|
libref_array1
|
||||||
libref_array-devel
|
libref_array-devel
|
||||||
requires -libref_array-<targettype>
|
requires -libref_array-<targettype>
|
||||||
requires "libref_array1-<targettype> = <version>"
|
requires "libref_array1-<targettype> = <version>"
|
||||||
libini_config3
|
libini_config5
|
||||||
libini_config-devel
|
libini_config-devel
|
||||||
requires -libini_config-<targettype>
|
requires -libini_config-<targettype>
|
||||||
requires "libini_config3-<targettype> = <version>"
|
requires "libini_config5-<targettype> = <version>"
|
||||||
|
@ -1,3 +0,0 @@
|
|||||||
version https://git-lfs.github.com/spec/v1
|
|
||||||
oid sha256:7b3b57b8de9c84ffccc93c452697f445de3d57585df77bba01d26509f811fc26
|
|
||||||
size 612258
|
|
@ -1,11 +0,0 @@
|
|||||||
-----BEGIN PGP SIGNATURE-----
|
|
||||||
Version: GnuPG v1.4.13 (GNU/Linux)
|
|
||||||
|
|
||||||
iQEcBAABAgAGBQJRVWxDAAoJEIt9rsOQrGg0nfUH+wVRdRUdn2H1a8PPK0pLI2BU
|
|
||||||
Pp56ZDanu+9XwOJiGh7cMceRpQl7vgoGX9q7ix9ZNDdIVFBfcjnSJziFBisHEBHE
|
|
||||||
NYdM/7qbVyOF0KlzFCAh7vYbpxXUVNR1r8zUPTsqHLqyhBZzphAM/JeNgBVCS+6+
|
|
||||||
/yRqGOiuLhjY0ykdzNVKbMWMCsSJzqxVeKDzGK6r5uRDwy3x2z3ojuXf+Hgaor31
|
|
||||||
XaAhFzAmSM1Igeh/Hau7FFIkt09liUW6HS9ObAmD0UzciRYILV9orXye1Bi9cDl/
|
|
||||||
BmXF7fxQKpDYwtMXNnbZWkrNYFLLHGzeAVUUrI1Cu5AYLVT59ZTjUfz+HVtRbI8=
|
|
||||||
=pPIa
|
|
||||||
-----END PGP SIGNATURE-----
|
|
3
ding-libs-0.4.0.tar.gz
Normal file
3
ding-libs-0.4.0.tar.gz
Normal file
@ -0,0 +1,3 @@
|
|||||||
|
version https://git-lfs.github.com/spec/v1
|
||||||
|
oid sha256:bdeb90b07ceaa9145e6784ce40a71b69a37fffc7373c51fee258ffffd5390457
|
||||||
|
size 827058
|
11
ding-libs-0.4.0.tar.gz.asc
Normal file
11
ding-libs-0.4.0.tar.gz.asc
Normal file
@ -0,0 +1,11 @@
|
|||||||
|
-----BEGIN PGP SIGNATURE-----
|
||||||
|
Version: GnuPG v1
|
||||||
|
|
||||||
|
iQEcBAABAgAGBQJThcdbAAoJEG9akOtE+8fHTusH/jDLtQ6EtfGTPeyiivdAk38l
|
||||||
|
NVp+ByfLAPC07INL8Vi+PTxQWqgprq53aCgUQk2XgH3rBM3BNzTBUSd93iSdat+T
|
||||||
|
vgFGnt/vw7XpxGopXhnYxi5vi6p0XPORxOgyeAx7qVDkdDa1AQ7M6PyO1SefJ6uD
|
||||||
|
6pFZlVeFm4rp25sHciMTWhzHP3VmM3ysjai8nZJUZcU7euJ/hwCNlNcaEE6DNb+K
|
||||||
|
tKds6dSgTY2m/xR2z2h5UOCckgBwIS/HB2h7/mXB9Jqgi8DOroQ1vmIPCPWld8vQ
|
||||||
|
F7cyjc4xkoippwSyaadOEHuMBt7qd1yfs0K8QzpfJfqmq2Jp5MKM66mM860w9ts=
|
||||||
|
=onSd
|
||||||
|
-----END PGP SIGNATURE-----
|
@ -1,3 +1,15 @@
|
|||||||
|
-------------------------------------------------------------------
|
||||||
|
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
|
Fri Feb 7 12:29:15 UTC 2014 - ckornacker@suse.com
|
||||||
|
|
||||||
|
@ -2,8 +2,12 @@ pub 2048R/90AC6834 2013-03-27
|
|||||||
uid Ondrej Kos (Red Hat Inc.) <okos@redhat.com>
|
uid Ondrej Kos (Red Hat Inc.) <okos@redhat.com>
|
||||||
sub 2048R/2584B9BB 2013-03-27
|
sub 2048R/2584B9BB 2013-03-27
|
||||||
|
|
||||||
|
pub 2048R/44FBC7C7 2014-05-28
|
||||||
|
uid Pavel Reichl <preichl@redhat.com>
|
||||||
|
sub 2048R/7ACB5907 2014-05-28
|
||||||
|
|
||||||
-----BEGIN PGP PUBLIC KEY BLOCK-----
|
-----BEGIN PGP PUBLIC KEY BLOCK-----
|
||||||
Version: GnuPG v2.0.19 (GNU/Linux)
|
Version: GnuPG v2.0.22 (GNU/Linux)
|
||||||
|
|
||||||
mQENBFFTH/kBCACprCHZYDAaciTV1qV6o572LOOe/9tT78XOvHEMY+HG8p+d0/Sb
|
mQENBFFTH/kBCACprCHZYDAaciTV1qV6o572LOOe/9tT78XOvHEMY+HG8p+d0/Sb
|
||||||
QIP4dI7agBS6UokJNiPurvpWBEWWSSGRu3/M54cZqeSuXG9c1lcCzQ7836MAqLrJ
|
QIP4dI7agBS6UokJNiPurvpWBEWWSSGRu3/M54cZqeSuXG9c1lcCzQ7836MAqLrJ
|
||||||
@ -29,6 +33,31 @@ Q/jLbkmMByLTVCwyZQ09Ji5u1Iu7HSAnZGrLUZQDZybm7+Y5IPHeq04T1rNED+Om
|
|||||||
JdoZjPGGU44zP2m+95AaFmYzL57ak4KDpxg2ihw5my/ptvIRbgdcd/e63sawcBDO
|
JdoZjPGGU44zP2m+95AaFmYzL57ak4KDpxg2ihw5my/ptvIRbgdcd/e63sawcBDO
|
||||||
4A8cX7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9KzorGp8Pug1w7sr+JlmpkIS8B8AN
|
||||||
|
OVeSVQc8/lKDNcgbHYMagjvbVsQfpEYC8jc=
|
||||||
|
=wdvA
|
||||||
-----END PGP PUBLIC KEY BLOCK-----
|
-----END PGP PUBLIC KEY BLOCK-----
|
||||||
|
372
ding-libs.spec
372
ding-libs.spec
@ -16,15 +16,15 @@
|
|||||||
#
|
#
|
||||||
|
|
||||||
|
|
||||||
|
%global basicobjects_version 0.1.1
|
||||||
%global collection_version 0.6.2
|
%global collection_version 0.6.2
|
||||||
%global dhash_version 0.4.3
|
%global dhash_version 0.4.3
|
||||||
%global ini_config_version 1.0.0.1
|
%global ini_config_version 1.1.0
|
||||||
%global path_utils_version 0.2.1
|
%global path_utils_version 0.2.1
|
||||||
%global ref_array_version 0.1.3
|
%global ref_array_version 0.1.4
|
||||||
%global basicobjects_version 0.1.0
|
|
||||||
|
|
||||||
Name: ding-libs
|
Name: ding-libs
|
||||||
Version: 0.3.0.1
|
Version: 0.4.0
|
||||||
Release: 0
|
Release: 0
|
||||||
Summary: "Ding is not GLib" assorted utility libraries
|
Summary: "Ding is not GLib" assorted utility libraries
|
||||||
License: GPL-3.0+ and LGPL-3.0+
|
License: GPL-3.0+ and LGPL-3.0+
|
||||||
@ -37,23 +37,14 @@ Source: https://fedorahosted.org/released/ding-libs/%name-%version.tar.g
|
|||||||
Source2: https://fedorahosted.org/released/ding-libs/%name-%version.tar.gz.asc
|
Source2: https://fedorahosted.org/released/ding-libs/%name-%version.tar.gz.asc
|
||||||
Source3: %name.keyring
|
Source3: %name.keyring
|
||||||
Source4: baselibs.conf
|
Source4: baselibs.conf
|
||||||
Patch1: doxygen-notimestamp.dif
|
|
||||||
Patch2: 0001-build-add-missing-Requires-to-pkgconfig-file.patch
|
|
||||||
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
||||||
|
|
||||||
### Build Dependencies ###
|
|
||||||
BuildRequires: doxygen
|
BuildRequires: doxygen
|
||||||
BuildRequires: m4
|
|
||||||
BuildRequires: pkgconfig
|
BuildRequires: pkgconfig
|
||||||
|
|
||||||
%description
|
%description
|
||||||
Assorted C utility libraries: libcollection, libdhash, libini_config,
|
Assorted C utility libraries: libcollection, libdhash, libini_config,
|
||||||
librefarray, libpath_utils and libbasicobjects.
|
librefarray, libpath_utils and libbasicobjects.
|
||||||
|
|
||||||
##############################################################################
|
|
||||||
# Path Utils
|
|
||||||
##############################################################################
|
|
||||||
|
|
||||||
%package -n libbasicobjects0
|
%package -n libbasicobjects0
|
||||||
Summary: Library containing basic objects like dynamic string
|
Summary: Library containing basic objects like dynamic string
|
||||||
License: GPL-3.0+
|
License: GPL-3.0+
|
||||||
@ -75,19 +66,74 @@ Requires: libbasicobjects0 = %version
|
|||||||
%description -n libbasicobjects-devel
|
%description -n libbasicobjects-devel
|
||||||
A small library that provides a buffer object.
|
A small library that provides a buffer object.
|
||||||
|
|
||||||
%post -n libbasicobjects0 -p /sbin/ldconfig
|
%package -n libcollection4
|
||||||
|
Summary: Collection data-type for C
|
||||||
|
License: LGPL-3.0+
|
||||||
|
Group: System/Libraries
|
||||||
|
Version: %collection_version
|
||||||
|
Release: 0
|
||||||
|
|
||||||
%postun -n libbasicobjects0 -p /sbin/ldconfig
|
%description -n libcollection4
|
||||||
|
A data-type to collect data in a hierarchical structure for easy iteration
|
||||||
|
and serialization
|
||||||
|
|
||||||
%files -n libbasicobjects0
|
%package -n libcollection-devel
|
||||||
%defattr(-,root,root)
|
Summary: Development files for libcollection
|
||||||
%_libdir/libbasicobjects.so.0*
|
License: LGPL-3.0+
|
||||||
|
Group: Development/Libraries/C and C++
|
||||||
|
Requires: libcollection4 = %collection_version
|
||||||
|
Version: %collection_version
|
||||||
|
Release: 0
|
||||||
|
|
||||||
%files -n libbasicobjects-devel
|
%description -n libcollection-devel
|
||||||
%defattr(-,root,root)
|
A data-type to collect data in a hierarchical structure for easy iteration
|
||||||
%_includedir/simplebuffer.h
|
and serialization
|
||||||
%_libdir/libbasicobjects.so
|
|
||||||
%_libdir/pkgconfig/basicobjects.pc
|
%package -n libdhash1
|
||||||
|
Summary: Dynamic hash table library
|
||||||
|
License: LGPL-3.0+
|
||||||
|
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+
|
||||||
|
Group: Development/Libraries/C and C++
|
||||||
|
Requires: libdhash1 = %dhash_version
|
||||||
|
Version: %dhash_version
|
||||||
|
Release: 0
|
||||||
|
|
||||||
|
%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+
|
||||||
|
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+
|
||||||
|
Group: Development/Libraries/C and C++
|
||||||
|
Requires: libini_config5 = %ini_config_version
|
||||||
|
Version: %ini_config_version
|
||||||
|
Release: 0
|
||||||
|
|
||||||
|
%description -n libini_config-devel
|
||||||
|
Library to process config files in INI format into a libcollection data
|
||||||
|
structure
|
||||||
|
|
||||||
%package -n libpath_utils1
|
%package -n libpath_utils1
|
||||||
Summary: Filesystem Path Utilities
|
Summary: Filesystem Path Utilities
|
||||||
@ -110,117 +156,6 @@ Release: 0
|
|||||||
%description -n libpath_utils-devel
|
%description -n libpath_utils-devel
|
||||||
Utility functions to manipulate filesystem pathnames
|
Utility functions to manipulate filesystem pathnames
|
||||||
|
|
||||||
%post -n libpath_utils1 -p /sbin/ldconfig
|
|
||||||
|
|
||||||
%postun -n libpath_utils1 -p /sbin/ldconfig
|
|
||||||
|
|
||||||
%files -n libpath_utils1
|
|
||||||
%defattr(-,root,root,-)
|
|
||||||
%_libdir/libpath_utils.so.1*
|
|
||||||
|
|
||||||
%files -n libpath_utils-devel
|
|
||||||
%defattr(-,root,root,-)
|
|
||||||
%doc 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/
|
|
||||||
|
|
||||||
##############################################################################
|
|
||||||
# dhash
|
|
||||||
##############################################################################
|
|
||||||
|
|
||||||
%package -n libdhash1
|
|
||||||
Summary: Dynamic hash table
|
|
||||||
License: LGPL-3.0+
|
|
||||||
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+
|
|
||||||
Group: Development/Libraries/C and C++
|
|
||||||
Requires: libdhash1 = %dhash_version
|
|
||||||
Version: %dhash_version
|
|
||||||
Release: 0
|
|
||||||
|
|
||||||
%description -n libdhash-devel
|
|
||||||
A hash table which will dynamically resize to achieve optimal storage & access
|
|
||||||
time properties
|
|
||||||
|
|
||||||
%post -n libdhash1 -p /sbin/ldconfig
|
|
||||||
|
|
||||||
%postun -n libdhash1 -p /sbin/ldconfig
|
|
||||||
|
|
||||||
%files -n libdhash1
|
|
||||||
%defattr(-,root,root,-)
|
|
||||||
%_libdir/libdhash.so.1*
|
|
||||||
|
|
||||||
%files -n libdhash-devel
|
|
||||||
%defattr(-,root,root,-)
|
|
||||||
%doc COPYING COPYING.LESSER
|
|
||||||
%_includedir/dhash.h
|
|
||||||
%_libdir/libdhash.so
|
|
||||||
%_libdir/pkgconfig/dhash.pc
|
|
||||||
%doc dhash/README.dhash
|
|
||||||
%doc dhash/examples/
|
|
||||||
|
|
||||||
##############################################################################
|
|
||||||
# collection
|
|
||||||
##############################################################################
|
|
||||||
|
|
||||||
%package -n libcollection2
|
|
||||||
Summary: Collection data-type for C
|
|
||||||
License: LGPL-3.0+
|
|
||||||
Group: System/Libraries
|
|
||||||
Version: %collection_version
|
|
||||||
Release: 0
|
|
||||||
|
|
||||||
%description -n libcollection2
|
|
||||||
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+
|
|
||||||
Group: Development/Libraries/C and C++
|
|
||||||
Requires: libcollection2 = %collection_version
|
|
||||||
Version: %collection_version
|
|
||||||
Release: 0
|
|
||||||
|
|
||||||
%description -n libcollection-devel
|
|
||||||
A data-type to collect data in a hierarchical structure for easy iteration
|
|
||||||
and serialization
|
|
||||||
|
|
||||||
%post -n libcollection2 -p /sbin/ldconfig
|
|
||||||
|
|
||||||
%postun -n libcollection2 -p /sbin/ldconfig
|
|
||||||
|
|
||||||
%files -n libcollection2
|
|
||||||
%defattr(-,root,root,-)
|
|
||||||
%_libdir/libcollection.so.2*
|
|
||||||
|
|
||||||
%files -n libcollection-devel
|
|
||||||
%defattr(-,root,root,-)
|
|
||||||
%doc 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/
|
|
||||||
|
|
||||||
##############################################################################
|
|
||||||
# ref_array
|
|
||||||
##############################################################################
|
|
||||||
|
|
||||||
%package -n libref_array1
|
%package -n libref_array1
|
||||||
Summary: A refcounted array for C
|
Summary: A refcounted array for C
|
||||||
License: GPL-3.0+
|
License: GPL-3.0+
|
||||||
@ -242,91 +177,20 @@ Release: 0
|
|||||||
%description -n libref_array-devel
|
%description -n libref_array-devel
|
||||||
A dynamically-growing, reference-counted array
|
A dynamically-growing, reference-counted array
|
||||||
|
|
||||||
%post -n libref_array1 -p /sbin/ldconfig
|
|
||||||
|
|
||||||
%postun -n libref_array1 -p /sbin/ldconfig
|
|
||||||
|
|
||||||
%files -n libref_array1
|
|
||||||
%defattr(-,root,root,-)
|
|
||||||
%_libdir/libref_array.so.1*
|
|
||||||
|
|
||||||
%files -n libref_array-devel
|
|
||||||
%defattr(-,root,root,-)
|
|
||||||
%doc 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/
|
|
||||||
|
|
||||||
##############################################################################
|
|
||||||
# ini_config
|
|
||||||
##############################################################################
|
|
||||||
|
|
||||||
%package -n libini_config3
|
|
||||||
Summary: INI file parser for C
|
|
||||||
License: LGPL-3.0+
|
|
||||||
Group: System/Libraries
|
|
||||||
Version: %ini_config_version
|
|
||||||
Release: 0
|
|
||||||
|
|
||||||
%description -n libini_config3
|
|
||||||
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+
|
|
||||||
Group: Development/Libraries/C and C++
|
|
||||||
Requires: libbasicobjects-devel
|
|
||||||
Requires: libini_config3 = %ini_config_version
|
|
||||||
Requires: libref_array-devel
|
|
||||||
Version: %ini_config_version
|
|
||||||
Release: 0
|
|
||||||
|
|
||||||
%description -n libini_config-devel
|
|
||||||
Library to process config files in INI format into a libcollection data
|
|
||||||
structure
|
|
||||||
|
|
||||||
%post -n libini_config3 -p /sbin/ldconfig
|
|
||||||
|
|
||||||
%postun -n libini_config3 -p /sbin/ldconfig
|
|
||||||
|
|
||||||
%files -n libini_config3
|
|
||||||
%defattr(-,root,root,-)
|
|
||||||
%_libdir/libini_config.so.3*
|
|
||||||
|
|
||||||
%files -n libini_config-devel
|
|
||||||
%defattr(-,root,root,-)
|
|
||||||
%doc COPYING COPYING.LESSER
|
|
||||||
%_includedir/ini_*.h
|
|
||||||
%_libdir/libini_config.so
|
|
||||||
%_libdir/pkgconfig/ini_config.pc
|
|
||||||
%doc ini/doc/html/
|
|
||||||
|
|
||||||
##############################################################################
|
|
||||||
# Build steps
|
|
||||||
##############################################################################
|
|
||||||
|
|
||||||
%prep
|
%prep
|
||||||
%{?gpg_verify: %gpg_verify %{S:2}}
|
|
||||||
%setup -q
|
%setup -q
|
||||||
%patch -P 1 -P 2 -p1
|
|
||||||
|
|
||||||
%build
|
%build
|
||||||
%configure \
|
%configure --disable-static
|
||||||
--disable-static
|
make %{?_smp_mflags} all docs
|
||||||
|
|
||||||
# ding fails to do the required SONAME changes/symvers tracking, so hack it up.
|
|
||||||
echo "DING_%version { global: *; };" >ding.map
|
|
||||||
make %{?_smp_mflags} all docs LDFLAGS="-Wl,--version-script=$PWD/ding.map"
|
|
||||||
|
|
||||||
%check
|
%check
|
||||||
make %{?_smp_mflags} check
|
make %{?_smp_mflags} check
|
||||||
|
|
||||||
%install
|
%install
|
||||||
make install DESTDIR="%buildroot"
|
b="%buildroot"
|
||||||
rm -f "%buildroot/%_libdir"/*.la
|
make install DESTDIR="$b"
|
||||||
|
rm -f "$b/%_libdir"/*.la
|
||||||
|
|
||||||
# Remove the example files from the output directory
|
# Remove the example files from the output directory
|
||||||
# We will copy them directly from the source directory
|
# We will copy them directly from the source directory
|
||||||
@ -339,4 +203,92 @@ rm -f \
|
|||||||
# Remove document install script. RPM is handling this
|
# Remove document install script. RPM is handling this
|
||||||
rm -f */doc/html/installdox
|
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
|
||||||
|
%defattr(-,root,root)
|
||||||
|
%_libdir/libbasicobjects.so.0*
|
||||||
|
|
||||||
|
%files -n libbasicobjects-devel
|
||||||
|
%defattr(-,root,root)
|
||||||
|
%_includedir/simplebuffer.h
|
||||||
|
%_libdir/libbasicobjects.so
|
||||||
|
%_libdir/pkgconfig/basicobjects.pc
|
||||||
|
|
||||||
|
%files -n libcollection4
|
||||||
|
%defattr(-,root,root)
|
||||||
|
%_libdir/libcollection.so.4*
|
||||||
|
|
||||||
|
%files -n libcollection-devel
|
||||||
|
%defattr(-,root,root)
|
||||||
|
%doc 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
|
||||||
|
%defattr(-,root,root)
|
||||||
|
%_libdir/libdhash.so.1*
|
||||||
|
|
||||||
|
%files -n libdhash-devel
|
||||||
|
%defattr(-,root,root)
|
||||||
|
%doc COPYING COPYING.LESSER
|
||||||
|
%_includedir/dhash.h
|
||||||
|
%_libdir/libdhash.so
|
||||||
|
%_libdir/pkgconfig/dhash.pc
|
||||||
|
%doc dhash/README.dhash
|
||||||
|
|
||||||
|
%files -n libini_config5
|
||||||
|
%defattr(-,root,root)
|
||||||
|
%_libdir/libini_config.so.5*
|
||||||
|
|
||||||
|
%files -n libini_config-devel
|
||||||
|
%defattr(-,root,root)
|
||||||
|
%doc COPYING COPYING.LESSER
|
||||||
|
%_includedir/ini_*.h
|
||||||
|
%_libdir/libini_config.so
|
||||||
|
%_libdir/pkgconfig/ini_config.pc
|
||||||
|
%doc ini/doc/html/
|
||||||
|
|
||||||
|
%files -n libpath_utils1
|
||||||
|
%defattr(-,root,root)
|
||||||
|
%_libdir/libpath_utils.so.1*
|
||||||
|
|
||||||
|
%files -n libpath_utils-devel
|
||||||
|
%defattr(-,root,root)
|
||||||
|
%doc 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
|
||||||
|
%defattr(-,root,root)
|
||||||
|
%_libdir/libref_array.so.1*
|
||||||
|
|
||||||
|
%files -n libref_array-devel
|
||||||
|
%defattr(-,root,root)
|
||||||
|
%doc 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
|
%changelog
|
||||||
|
@ -1,52 +0,0 @@
|
|||||||
Index: ding-libs-0.1.2/collection/collection.cfg.doxy.in
|
|
||||||
===================================================================
|
|
||||||
--- ding-libs-0.1.2.orig/collection/collection.cfg.doxy.in
|
|
||||||
+++ ding-libs-0.1.2/collection/collection.cfg.doxy.in
|
|
||||||
@@ -821,7 +821,7 @@ HTML_STYLESHEET =
|
|
||||||
# page will contain the date and time when the page was generated. Setting
|
|
||||||
# this to NO can help when comparing the output of multiple runs.
|
|
||||||
|
|
||||||
-HTML_TIMESTAMP = YES
|
|
||||||
+HTML_TIMESTAMP = NO
|
|
||||||
|
|
||||||
# If the HTML_ALIGN_MEMBERS tag is set to YES, the members of classes,
|
|
||||||
# files or namespaces will be aligned in HTML using tables. If set to
|
|
||||||
Index: ding-libs-0.1.2/ini/ini_config.cfg.doxy.in
|
|
||||||
===================================================================
|
|
||||||
--- ding-libs-0.1.2.orig/ini/ini_config.cfg.doxy.in
|
|
||||||
+++ ding-libs-0.1.2/ini/ini_config.cfg.doxy.in
|
|
||||||
@@ -821,7 +821,7 @@ HTML_STYLESHEET =
|
|
||||||
# page will contain the date and time when the page was generated. Setting
|
|
||||||
# this to NO can help when comparing the output of multiple runs.
|
|
||||||
|
|
||||||
-HTML_TIMESTAMP = YES
|
|
||||||
+HTML_TIMESTAMP = NO
|
|
||||||
|
|
||||||
# If the HTML_ALIGN_MEMBERS tag is set to YES, the members of classes,
|
|
||||||
# files or namespaces will be aligned in HTML using tables. If set to
|
|
||||||
Index: ding-libs-0.1.2/path_utils/path_utils.cfg.doxy.in
|
|
||||||
===================================================================
|
|
||||||
--- ding-libs-0.1.2.orig/path_utils/path_utils.cfg.doxy.in
|
|
||||||
+++ ding-libs-0.1.2/path_utils/path_utils.cfg.doxy.in
|
|
||||||
@@ -821,7 +821,7 @@ HTML_STYLESHEET =
|
|
||||||
# page will contain the date and time when the page was generated. Setting
|
|
||||||
# this to NO can help when comparing the output of multiple runs.
|
|
||||||
|
|
||||||
-HTML_TIMESTAMP = YES
|
|
||||||
+HTML_TIMESTAMP = NO
|
|
||||||
|
|
||||||
# If the HTML_ALIGN_MEMBERS tag is set to YES, the members of classes,
|
|
||||||
# files or namespaces will be aligned in HTML using tables. If set to
|
|
||||||
Index: ding-libs-0.1.2/refarray/ref_array.cfg.doxy.in
|
|
||||||
===================================================================
|
|
||||||
--- ding-libs-0.1.2.orig/refarray/ref_array.cfg.doxy.in
|
|
||||||
+++ ding-libs-0.1.2/refarray/ref_array.cfg.doxy.in
|
|
||||||
@@ -821,7 +821,7 @@ HTML_STYLESHEET =
|
|
||||||
# page will contain the date and time when the page was generated. Setting
|
|
||||||
# this to NO can help when comparing the output of multiple runs.
|
|
||||||
|
|
||||||
-HTML_TIMESTAMP = YES
|
|
||||||
+HTML_TIMESTAMP = NO
|
|
||||||
|
|
||||||
# If the HTML_ALIGN_MEMBERS tag is set to YES, the members of classes,
|
|
||||||
# files or namespaces will be aligned in HTML using tables. If set to
|
|
Loading…
Reference in New Issue
Block a user