undo style change
OBS-URL: https://build.opensuse.org/package/show/network:ldap/ding-libs?expand=0&rev=36
This commit is contained in:
parent
26dfb1f16c
commit
9d3f595cf0
104
ding-libs.spec
104
ding-libs.spec
@ -30,9 +30,9 @@ Summary: "Ding is not GLib" assorted utility libraries
|
|||||||
License: GPL-3.0-or-later AND LGPL-3.0-or-later
|
License: GPL-3.0-or-later AND LGPL-3.0-or-later
|
||||||
Group: Development/Libraries/C and C++
|
Group: Development/Libraries/C and C++
|
||||||
URL: https://pagure.io/SSSD/ding-libs
|
URL: https://pagure.io/SSSD/ding-libs
|
||||||
Source: https://fedorahosted.org/released/ding-libs/%{name}-%{version}.tar.gz
|
Source: https://fedorahosted.org/released/ding-libs/%name-%version.tar.gz
|
||||||
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: 0001-increase-ini-max-value-length.patch
|
Patch1: 0001-increase-ini-max-value-length.patch
|
||||||
Patch2: INI-Fix-detection-of-error-messages.patch
|
Patch2: INI-Fix-detection-of-error-messages.patch
|
||||||
@ -47,7 +47,7 @@ Assorted C utility libraries: libcollection, libdhash, libini_config,
|
|||||||
librefarray, libpath_utils and libbasicobjects.
|
librefarray, libpath_utils and libbasicobjects.
|
||||||
|
|
||||||
%package -n libbasicobjects0
|
%package -n libbasicobjects0
|
||||||
Version: %{basicobjects_version}
|
Version: %basicobjects_version
|
||||||
Release: 0
|
Release: 0
|
||||||
Summary: Library containing basic objects like dynamic string
|
Summary: Library containing basic objects like dynamic string
|
||||||
License: GPL-3.0-or-later
|
License: GPL-3.0-or-later
|
||||||
@ -57,18 +57,18 @@ Group: System/Libraries
|
|||||||
A small library that provides a buffer object.
|
A small library that provides a buffer object.
|
||||||
|
|
||||||
%package -n libbasicobjects-devel
|
%package -n libbasicobjects-devel
|
||||||
Version: %{basicobjects_version}
|
Version: %basicobjects_version
|
||||||
Release: 0
|
Release: 0
|
||||||
Summary: Library containing basic objects like dynamic string
|
Summary: Library containing basic objects like dynamic string
|
||||||
License: GPL-3.0-or-later
|
License: GPL-3.0-or-later
|
||||||
Group: Development/Libraries/C and C++
|
Group: Development/Libraries/C and C++
|
||||||
Requires: libbasicobjects0 = %{version}
|
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.
|
||||||
|
|
||||||
%package -n libcollection4
|
%package -n libcollection4
|
||||||
Version: %{collection_version}
|
Version: %collection_version
|
||||||
Release: 0
|
Release: 0
|
||||||
Summary: Collection data-type for C
|
Summary: Collection data-type for C
|
||||||
License: LGPL-3.0-or-later
|
License: LGPL-3.0-or-later
|
||||||
@ -79,19 +79,19 @@ A data-type to collect data in a hierarchical structure for easy iteration
|
|||||||
and serialization
|
and serialization
|
||||||
|
|
||||||
%package -n libcollection-devel
|
%package -n libcollection-devel
|
||||||
Version: %{collection_version}
|
Version: %collection_version
|
||||||
Release: 0
|
Release: 0
|
||||||
Summary: Development files for libcollection
|
Summary: Development files for libcollection
|
||||||
License: LGPL-3.0-or-later
|
License: LGPL-3.0-or-later
|
||||||
Group: Development/Libraries/C and C++
|
Group: Development/Libraries/C and C++
|
||||||
Requires: libcollection4 = %{collection_version}
|
Requires: libcollection4 = %collection_version
|
||||||
|
|
||||||
%description -n libcollection-devel
|
%description -n libcollection-devel
|
||||||
A data-type to collect data in a hierarchical structure for easy iteration
|
A data-type to collect data in a hierarchical structure for easy iteration
|
||||||
and serialization
|
and serialization
|
||||||
|
|
||||||
%package -n libdhash1
|
%package -n libdhash1
|
||||||
Version: %{dhash_version}
|
Version: %dhash_version
|
||||||
Release: 0
|
Release: 0
|
||||||
Summary: Dynamic hash table library
|
Summary: Dynamic hash table library
|
||||||
License: LGPL-3.0-or-later
|
License: LGPL-3.0-or-later
|
||||||
@ -102,19 +102,19 @@ A hash table which will dynamically resize to achieve optimal storage & access
|
|||||||
time properties
|
time properties
|
||||||
|
|
||||||
%package -n libdhash-devel
|
%package -n libdhash-devel
|
||||||
Version: %{dhash_version}
|
Version: %dhash_version
|
||||||
Release: 0
|
Release: 0
|
||||||
Summary: Development files for libdhash
|
Summary: Development files for libdhash
|
||||||
License: LGPL-3.0-or-later
|
License: LGPL-3.0-or-later
|
||||||
Group: Development/Libraries/C and C++
|
Group: Development/Libraries/C and C++
|
||||||
Requires: libdhash1 = %{dhash_version}
|
Requires: libdhash1 = %dhash_version
|
||||||
|
|
||||||
%description -n libdhash-devel
|
%description -n libdhash-devel
|
||||||
A hash table which will dynamically resize to achieve optimal storage & access
|
A hash table which will dynamically resize to achieve optimal storage & access
|
||||||
time properties
|
time properties
|
||||||
|
|
||||||
%package -n libini_config5
|
%package -n libini_config5
|
||||||
Version: %{ini_config_version}
|
Version: %ini_config_version
|
||||||
Release: 0
|
Release: 0
|
||||||
Summary: INI file parser for C
|
Summary: INI file parser for C
|
||||||
License: LGPL-3.0-or-later
|
License: LGPL-3.0-or-later
|
||||||
@ -125,19 +125,19 @@ Library to process config files in INI format into a libcollection data
|
|||||||
structure
|
structure
|
||||||
|
|
||||||
%package -n libini_config-devel
|
%package -n libini_config-devel
|
||||||
Version: %{ini_config_version}
|
Version: %ini_config_version
|
||||||
Release: 0
|
Release: 0
|
||||||
Summary: Development files for libini_config
|
Summary: Development files for libini_config
|
||||||
License: LGPL-3.0-or-later
|
License: LGPL-3.0-or-later
|
||||||
Group: Development/Libraries/C and C++
|
Group: Development/Libraries/C and C++
|
||||||
Requires: libini_config5 = %{ini_config_version}
|
Requires: libini_config5 = %ini_config_version
|
||||||
|
|
||||||
%description -n libini_config-devel
|
%description -n libini_config-devel
|
||||||
Library to process config files in INI format into a libcollection data
|
Library to process config files in INI format into a libcollection data
|
||||||
structure
|
structure
|
||||||
|
|
||||||
%package -n libpath_utils1
|
%package -n libpath_utils1
|
||||||
Version: %{path_utils_version}
|
Version: %path_utils_version
|
||||||
Release: 0
|
Release: 0
|
||||||
Summary: Filesystem Path Utilities
|
Summary: Filesystem Path Utilities
|
||||||
License: LGPL-3.0-or-later
|
License: LGPL-3.0-or-later
|
||||||
@ -147,18 +147,18 @@ Group: System/Libraries
|
|||||||
Utility functions to manipulate filesystem pathnames
|
Utility functions to manipulate filesystem pathnames
|
||||||
|
|
||||||
%package -n libpath_utils-devel
|
%package -n libpath_utils-devel
|
||||||
Version: %{path_utils_version}
|
Version: %path_utils_version
|
||||||
Release: 0
|
Release: 0
|
||||||
Summary: Development files for libpath_utils
|
Summary: Development files for libpath_utils
|
||||||
License: LGPL-3.0-or-later
|
License: LGPL-3.0-or-later
|
||||||
Group: Development/Libraries/C and C++
|
Group: Development/Libraries/C and C++
|
||||||
Requires: libpath_utils1 = %{path_utils_version}
|
Requires: libpath_utils1 = %path_utils_version
|
||||||
|
|
||||||
%description -n libpath_utils-devel
|
%description -n libpath_utils-devel
|
||||||
Utility functions to manipulate filesystem pathnames
|
Utility functions to manipulate filesystem pathnames
|
||||||
|
|
||||||
%package -n libref_array1
|
%package -n libref_array1
|
||||||
Version: %{ref_array_version}
|
Version: %ref_array_version
|
||||||
Release: 0
|
Release: 0
|
||||||
Summary: A refcounted array for C
|
Summary: A refcounted array for C
|
||||||
License: GPL-3.0-or-later
|
License: GPL-3.0-or-later
|
||||||
@ -168,12 +168,12 @@ Group: System/Libraries
|
|||||||
A dynamically-growing, reference-counted array
|
A dynamically-growing, reference-counted array
|
||||||
|
|
||||||
%package -n libref_array-devel
|
%package -n libref_array-devel
|
||||||
Version: %{ref_array_version}
|
Version: %ref_array_version
|
||||||
Release: 0
|
Release: 0
|
||||||
Summary: Development files for libref_array
|
Summary: Development files for libref_array
|
||||||
License: GPL-3.0-or-later
|
License: GPL-3.0-or-later
|
||||||
Group: Development/Libraries/C and C++
|
Group: Development/Libraries/C and C++
|
||||||
Requires: libref_array1 = %{ref_array_version}
|
Requires: libref_array1 = %ref_array_version
|
||||||
|
|
||||||
%description -n libref_array-devel
|
%description -n libref_array-devel
|
||||||
A dynamically-growing, reference-counted array
|
A dynamically-growing, reference-counted array
|
||||||
@ -191,15 +191,15 @@ make %{?_smp_mflags} check
|
|||||||
|
|
||||||
%install
|
%install
|
||||||
%make_install
|
%make_install
|
||||||
find %{buildroot} -type f -name "*.la" -delete -print
|
find %buildroot -type f -name "*.la" -delete -print
|
||||||
|
|
||||||
# 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
|
||||||
# for packaging
|
# for packaging
|
||||||
rm -f \
|
rm -f \
|
||||||
"%{buildroot}/%{_datadir}/doc/ding-libs"/README.* \
|
"%buildroot/%_datadir/doc/ding-libs"/README.* \
|
||||||
"%{buildroot}/%{_datadir}/doc/ding-libs/examples/dhash_example.c" \
|
"%buildroot/%_datadir/doc/ding-libs/examples/dhash_example.c" \
|
||||||
"%{buildroot}/%{_datadir}/doc/ding-libs/examples/dhash_test.c"
|
"%buildroot/%_datadir/doc/ding-libs/examples/dhash_test.c"
|
||||||
|
|
||||||
# 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
|
||||||
@ -218,65 +218,65 @@ rm -f */doc/html/installdox
|
|||||||
%postun -n libref_array1 -p /sbin/ldconfig
|
%postun -n libref_array1 -p /sbin/ldconfig
|
||||||
|
|
||||||
%files -n libbasicobjects0
|
%files -n libbasicobjects0
|
||||||
%{_libdir}/libbasicobjects.so.0*
|
%_libdir/libbasicobjects.so.0*
|
||||||
|
|
||||||
%files -n libbasicobjects-devel
|
%files -n libbasicobjects-devel
|
||||||
%{_includedir}/simplebuffer.h
|
%_includedir/simplebuffer.h
|
||||||
%{_libdir}/libbasicobjects.so
|
%_libdir/libbasicobjects.so
|
||||||
%{_libdir}/pkgconfig/basicobjects.pc
|
%_libdir/pkgconfig/basicobjects.pc
|
||||||
|
|
||||||
%files -n libcollection4
|
%files -n libcollection4
|
||||||
%{_libdir}/libcollection.so.4*
|
%_libdir/libcollection.so.4*
|
||||||
|
|
||||||
%files -n libcollection-devel
|
%files -n libcollection-devel
|
||||||
%license COPYING COPYING.LESSER
|
%license COPYING COPYING.LESSER
|
||||||
%{_includedir}/collection.h
|
%_includedir/collection.h
|
||||||
%{_includedir}/collection_tools.h
|
%_includedir/collection_tools.h
|
||||||
%{_includedir}/collection_queue.h
|
%_includedir/collection_queue.h
|
||||||
%{_includedir}/collection_stack.h
|
%_includedir/collection_stack.h
|
||||||
%{_libdir}/libcollection.so
|
%_libdir/libcollection.so
|
||||||
%{_libdir}/pkgconfig/collection.pc
|
%_libdir/pkgconfig/collection.pc
|
||||||
%doc collection/doc/html/
|
%doc collection/doc/html/
|
||||||
|
|
||||||
%files -n libdhash1
|
%files -n libdhash1
|
||||||
%{_libdir}/libdhash.so.1*
|
%_libdir/libdhash.so.1*
|
||||||
|
|
||||||
%files -n libdhash-devel
|
%files -n libdhash-devel
|
||||||
%license COPYING COPYING.LESSER
|
%license COPYING COPYING.LESSER
|
||||||
%{_includedir}/dhash.h
|
%_includedir/dhash.h
|
||||||
%{_libdir}/libdhash.so
|
%_libdir/libdhash.so
|
||||||
%{_libdir}/pkgconfig/dhash.pc
|
%_libdir/pkgconfig/dhash.pc
|
||||||
%doc dhash/README.dhash
|
%doc dhash/README.dhash
|
||||||
|
|
||||||
%files -n libini_config5
|
%files -n libini_config5
|
||||||
%{_libdir}/libini_config.so.5*
|
%_libdir/libini_config.so.5*
|
||||||
|
|
||||||
%files -n libini_config-devel
|
%files -n libini_config-devel
|
||||||
%license COPYING COPYING.LESSER
|
%license COPYING COPYING.LESSER
|
||||||
%{_includedir}/ini_*.h
|
%_includedir/ini_*.h
|
||||||
%{_libdir}/libini_config.so
|
%_libdir/libini_config.so
|
||||||
%{_libdir}/pkgconfig/ini_config.pc
|
%_libdir/pkgconfig/ini_config.pc
|
||||||
%doc ini/doc/html/
|
%doc ini/doc/html/
|
||||||
|
|
||||||
%files -n libpath_utils1
|
%files -n libpath_utils1
|
||||||
%{_libdir}/libpath_utils.so.1*
|
%_libdir/libpath_utils.so.1*
|
||||||
|
|
||||||
%files -n libpath_utils-devel
|
%files -n libpath_utils-devel
|
||||||
%license COPYING COPYING.LESSER
|
%license COPYING COPYING.LESSER
|
||||||
%{_includedir}/path_utils.h
|
%_includedir/path_utils.h
|
||||||
%{_libdir}/libpath_utils.so
|
%_libdir/libpath_utils.so
|
||||||
%{_libdir}/pkgconfig/path_utils.pc
|
%_libdir/pkgconfig/path_utils.pc
|
||||||
%doc path_utils/README.path_utils
|
%doc path_utils/README.path_utils
|
||||||
%doc path_utils/doc/html/
|
%doc path_utils/doc/html/
|
||||||
|
|
||||||
%files -n libref_array1
|
%files -n libref_array1
|
||||||
%{_libdir}/libref_array.so.1*
|
%_libdir/libref_array.so.1*
|
||||||
|
|
||||||
%files -n libref_array-devel
|
%files -n libref_array-devel
|
||||||
%license COPYING COPYING.LESSER
|
%license COPYING COPYING.LESSER
|
||||||
%{_includedir}/ref_array.h
|
%_includedir/ref_array.h
|
||||||
%{_libdir}/libref_array.so
|
%_libdir/libref_array.so
|
||||||
%{_libdir}/pkgconfig/ref_array.pc
|
%_libdir/pkgconfig/ref_array.pc
|
||||||
%doc refarray/README.ref_array
|
%doc refarray/README.ref_array
|
||||||
%doc refarray/doc/html/
|
%doc refarray/doc/html/
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user