- update to 2.4:
* remove msgcat dependency * Translated using Weblate (Bengali (India)) * Add Travis build status badge * Update translation files * add translation platform widget * Translated using Weblate (Turkish) * Fix memory leak in bs_size_new_from_str * Update translation files * src/gettext: fix warning if gettext is already present * fix build on shells where test == fails * Require the same version of python3-bytesize in libbytesize-tools * New minor release of the libbytesize library. There are only two bugfixes in this release. * Full list of changes * fix out of tree build failure * Fix return value for round_to_nearest when using Size * New bytesize calculator bssize has been added. * Code has been ported from PCRE to PCRE2. * Python 2 support has been removed. * Run all libbytesize tests from one script * Add all "public" python API symbols to __init__.py * Allow running tests using installed library * Remove Python 2 support * Port to pcre2 * Add support for floor division by a non-integer number in Python * Add a simple bytesize calculator tool * Add tools to autotools and packaging * Exit with 1 from configure if there were failures * Add a summary to the end of ./configure output * Only support modulo between two Size instances OBS-URL: https://build.opensuse.org/package/show/devel:libraries:c_c++/libbytesize?expand=0&rev=9
This commit is contained in:
parent
288aff7aeb
commit
960bae142c
@ -1,3 +0,0 @@
|
|||||||
version https://git-lfs.github.com/spec/v1
|
|
||||||
oid sha256:bb4ddc577cf2881834089c2c8d698a73c3f124990937afc2a15d421b2cfd782d
|
|
||||||
size 409876
|
|
3
libbytesize-2.4.tar.gz
Normal file
3
libbytesize-2.4.tar.gz
Normal file
@ -0,0 +1,3 @@
|
|||||||
|
version https://git-lfs.github.com/spec/v1
|
||||||
|
oid sha256:25ccb5762bb8c860b63ed1d40e0c5564e3e0084693fbe6554467a8ca1c1d8c7f
|
||||||
|
size 437416
|
@ -1,3 +1,41 @@
|
|||||||
|
-------------------------------------------------------------------
|
||||||
|
Sun Aug 16 18:51:08 UTC 2020 - Dirk Mueller <dmueller@suse.com>
|
||||||
|
|
||||||
|
- update to 2.4:
|
||||||
|
* remove msgcat dependency
|
||||||
|
* Translated using Weblate (Bengali (India))
|
||||||
|
* Add Travis build status badge
|
||||||
|
* Update translation files
|
||||||
|
* add translation platform widget
|
||||||
|
* Translated using Weblate (Turkish)
|
||||||
|
* Fix memory leak in bs_size_new_from_str
|
||||||
|
* Update translation files
|
||||||
|
* src/gettext: fix warning if gettext is already present
|
||||||
|
* fix build on shells where test == fails
|
||||||
|
* Require the same version of python3-bytesize in libbytesize-tools
|
||||||
|
* New minor release of the libbytesize library. There are only two bugfixes in this release.
|
||||||
|
* Full list of changes
|
||||||
|
* fix out of tree build failure
|
||||||
|
* Fix return value for round_to_nearest when using Size
|
||||||
|
* New bytesize calculator bssize has been added.
|
||||||
|
* Code has been ported from PCRE to PCRE2.
|
||||||
|
* Python 2 support has been removed.
|
||||||
|
* Run all libbytesize tests from one script
|
||||||
|
* Add all "public" python API symbols to __init__.py
|
||||||
|
* Allow running tests using installed library
|
||||||
|
* Remove Python 2 support
|
||||||
|
* Port to pcre2
|
||||||
|
* Add support for floor division by a non-integer number in Python
|
||||||
|
* Add a simple bytesize calculator tool
|
||||||
|
* Add tools to autotools and packaging
|
||||||
|
* Exit with 1 from configure if there were failures
|
||||||
|
* Add a summary to the end of ./configure output
|
||||||
|
* Only support modulo between two Size instances
|
||||||
|
* Fix parsing of exponential representations of real numbers
|
||||||
|
* Add the '--version' option to bs_calc.py
|
||||||
|
* Add a man page for the bscalc tool
|
||||||
|
* Assume the given expression is in bytes if no unit is given
|
||||||
|
|
||||||
-------------------------------------------------------------------
|
-------------------------------------------------------------------
|
||||||
Mon Nov 19 16:52:18 UTC 2018 - luc14n0@linuxmail.org
|
Mon Nov 19 16:52:18 UTC 2018 - luc14n0@linuxmail.org
|
||||||
|
|
||||||
|
@ -1,7 +1,7 @@
|
|||||||
#
|
#
|
||||||
# spec file for package libbytesize
|
# spec file for package libbytesize
|
||||||
#
|
#
|
||||||
# Copyright (c) 2018 SUSE LINUX GmbH, Nuernberg, Germany.
|
# Copyright (c) 2020 SUSE LLC
|
||||||
#
|
#
|
||||||
# All modifications and additions to the file contributed by third parties
|
# All modifications and additions to the file contributed by third parties
|
||||||
# remain the property of their copyright owners, unless otherwise agreed
|
# remain the property of their copyright owners, unless otherwise agreed
|
||||||
@ -12,16 +12,14 @@
|
|||||||
# license that conforms to the Open Source Definition (Version 1.9)
|
# license that conforms to the Open Source Definition (Version 1.9)
|
||||||
# published by the Open Source Initiative.
|
# published by the Open Source Initiative.
|
||||||
|
|
||||||
# Please submit bugfixes or comments via http://bugs.opensuse.org/
|
# Please submit bugfixes or comments via https://bugs.opensuse.org/
|
||||||
#
|
#
|
||||||
|
|
||||||
|
|
||||||
%bcond_with python2
|
|
||||||
%define somajor 1
|
%define somajor 1
|
||||||
%define libname %{name}%{somajor}
|
%define libname %{name}%{somajor}
|
||||||
|
|
||||||
Name: libbytesize
|
Name: libbytesize
|
||||||
Version: 1.4
|
Version: 2.4
|
||||||
Release: 0
|
Release: 0
|
||||||
Summary: A library for working with sizes in bytes
|
Summary: A library for working with sizes in bytes
|
||||||
License: LGPL-2.1-only
|
License: LGPL-2.1-only
|
||||||
@ -32,9 +30,9 @@ BuildRequires: gcc
|
|||||||
BuildRequires: gmp-devel
|
BuildRequires: gmp-devel
|
||||||
BuildRequires: gtk-doc
|
BuildRequires: gtk-doc
|
||||||
BuildRequires: mpfr-devel
|
BuildRequires: mpfr-devel
|
||||||
|
BuildRequires: pkgconfig
|
||||||
BuildRequires: python3-devel
|
BuildRequires: python3-devel
|
||||||
%{?with_python2:BuildRequires: python2-devel}
|
BuildRequires: pkgconfig(libpcre2-8)
|
||||||
BuildRequires: pkgconfig(libpcre) >= 8.32
|
|
||||||
Recommends: %{name}-lang
|
Recommends: %{name}-lang
|
||||||
|
|
||||||
%description
|
%description
|
||||||
@ -54,6 +52,17 @@ bytes, be it parsing the input from users or producing a human-readable
|
|||||||
representation of a size in bytes. This library takes localization into
|
representation of a size in bytes. This library takes localization into
|
||||||
account. It also provides support for sizes bigger than MAXUINT64.
|
account. It also provides support for sizes bigger than MAXUINT64.
|
||||||
|
|
||||||
|
%package -n bscalc
|
||||||
|
Summary: A utility for workign with sizes in bytes
|
||||||
|
Group: System/Libraries
|
||||||
|
Requires: %{libname} = %{version}
|
||||||
|
|
||||||
|
%description -n bscalc
|
||||||
|
The LibBytesize is a C library that facilitates work with sizes in
|
||||||
|
bytes, be it parsing the input from users or producing a human-readable
|
||||||
|
representation of a size in bytes. This library takes localization into
|
||||||
|
account. It also provides support for sizes bigger than MAXUINT64.
|
||||||
|
|
||||||
%package devel
|
%package devel
|
||||||
Summary: Development files for LibBytesize
|
Summary: Development files for LibBytesize
|
||||||
Group: Development/Libraries/C and C++
|
Group: Development/Libraries/C and C++
|
||||||
@ -63,17 +72,6 @@ Requires: %{libname} = %{version}
|
|||||||
This package contains header files and pkg-config files needed for development
|
This package contains header files and pkg-config files needed for development
|
||||||
with the LibBytesize library.
|
with the LibBytesize library.
|
||||||
|
|
||||||
%package -n python2-%{name}
|
|
||||||
Summary: Python 2 bindings for LibBytesize
|
|
||||||
Group: Development/Libraries/Python
|
|
||||||
%{?python_provide:%python_provide python2-%{name}}
|
|
||||||
Requires: %{libname} = %{version}
|
|
||||||
Requires: python2-six
|
|
||||||
|
|
||||||
%description -n python2-%{name}
|
|
||||||
This package contains Python 2 bindings for LibBytesize making the use of
|
|
||||||
the library from Python 2 easier and more convenient.
|
|
||||||
|
|
||||||
%package -n python3-%{name}
|
%package -n python3-%{name}
|
||||||
Summary: Python 3 bindings for LibBytesize
|
Summary: Python 3 bindings for LibBytesize
|
||||||
Group: Development/Libraries/Python
|
Group: Development/Libraries/Python
|
||||||
@ -98,15 +96,19 @@ the library from Python 3 easier and more convenient.
|
|||||||
|
|
||||||
%install
|
%install
|
||||||
%make_install
|
%make_install
|
||||||
find %{buildroot} -name '*.la' -type f -delete -print
|
find %{buildroot} -type f -name "*.la" -delete -print
|
||||||
%find_lang %{name} %{?no_lang_C}
|
%find_lang %{name} %{?no_lang_C}
|
||||||
|
|
||||||
%post -n %{libname} -p /sbin/ldconfig
|
%post -n %{libname} -p /sbin/ldconfig
|
||||||
|
|
||||||
%postun -n %{libname} -p /sbin/ldconfig
|
%postun -n %{libname} -p /sbin/ldconfig
|
||||||
|
|
||||||
|
%files -n bscalc
|
||||||
|
%license LICENSE
|
||||||
|
%doc README.md
|
||||||
|
%{_bindir}/bscalc
|
||||||
|
%{_mandir}/man1/bscalc.1*
|
||||||
|
|
||||||
%files -n %{libname}
|
%files -n %{libname}
|
||||||
%doc README.md LICENSE
|
|
||||||
%{_libdir}/%{name}.so.*
|
%{_libdir}/%{name}.so.*
|
||||||
|
|
||||||
%files devel
|
%files devel
|
||||||
@ -116,12 +118,6 @@ find %{buildroot} -name '*.la' -type f -delete -print
|
|||||||
%{_includedir}/bytesize/bs_size.h
|
%{_includedir}/bytesize/bs_size.h
|
||||||
%{_libdir}/pkgconfig/bytesize.pc
|
%{_libdir}/pkgconfig/bytesize.pc
|
||||||
|
|
||||||
%if %{with python2}
|
|
||||||
%files -n python2-%{name}
|
|
||||||
%dir %{python2_sitearch}/bytesize
|
|
||||||
%{python2_sitearch}/bytesize/*
|
|
||||||
%endif
|
|
||||||
|
|
||||||
%files -n python3-%{name}
|
%files -n python3-%{name}
|
||||||
%dir %{python3_sitearch}/bytesize
|
%dir %{python3_sitearch}/bytesize
|
||||||
%{python3_sitearch}/bytesize/*
|
%{python3_sitearch}/bytesize/*
|
||||||
|
Loading…
Reference in New Issue
Block a user