8
0

36 Commits

Author SHA256 Message Date
dd736e84f9 Accepting request 1324855 from devel:libraries:c_c++
OBS-URL: https://build.opensuse.org/request/show/1324855
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/libphonenumber?expand=0&rev=14
2026-01-01 13:59:18 +00:00
5e640fc7cd libphonenumber 9.0.21
OBS-URL: https://build.opensuse.org/package/show/devel:libraries:c_c++/libphonenumber?expand=0&rev=36
2025-12-30 21:11:41 +00:00
8c94bb42bf Accepting request 1312813 from devel:libraries:c_c++
- Fix libphonenumber-devel dependencies.
  libphonenumber::phonenumber-shared's INTERFACE_LINK_LIBRARIES
  contains Boost::date_time and Boost::thread (forwarded request 1309694 from krop)

OBS-URL: https://build.opensuse.org/request/show/1312813
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/libphonenumber?expand=0&rev=13
2025-10-23 14:35:30 +00:00
f45f903cf0 - Fix libphonenumber-devel dependencies.
libphonenumber::phonenumber-shared's INTERFACE_LINK_LIBRARIES
  contains Boost::date_time and Boost::thread

OBS-URL: https://build.opensuse.org/package/show/devel:libraries:c_c++/libphonenumber?expand=0&rev=34
2025-10-21 11:34:04 +00:00
a3aebeb8d6 Accepting request 1306516 from devel:libraries:c_c++
OBS-URL: https://build.opensuse.org/request/show/1306516
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/libphonenumber?expand=0&rev=12
2025-09-23 14:06:39 +00:00
9e4b002f92 Accepting request 1305320 from home:AndreasStieger:branches:devel:libraries:c_c++
libphonenumber 9.0.14

OBS-URL: https://build.opensuse.org/request/show/1305320
OBS-URL: https://build.opensuse.org/package/show/devel:libraries:c_c++/libphonenumber?expand=0&rev=32
2025-09-22 12:20:15 +00:00
9fbf723213 Accepting request 1305314 from devel:libraries:c_c++
- No longer rely on libboost_system-devel as separate package:
  (boo#1249611):
  * Add 0001-Fix-build-with-Boost-1.89.0.patch
  * Use libboost_headers-devel instead of libboost_system-devel (forwarded request 1305309 from favogt)

OBS-URL: https://build.opensuse.org/request/show/1305314
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/libphonenumber?expand=0&rev=11
2025-09-17 14:42:33 +00:00
04425ad1da - No longer rely on libboost_system-devel as separate package:
(boo#1249611):
  * Add 0001-Fix-build-with-Boost-1.89.0.patch
  * Use libboost_headers-devel instead of libboost_system-devel

OBS-URL: https://build.opensuse.org/package/show/devel:libraries:c_c++/libphonenumber?expand=0&rev=30
2025-09-17 08:43:20 +00:00
0053673507 Accepting request 1295271 from devel:libraries:c_c++
- Update to version 9.0.10:
  * Updated metadata
  * Yeah, that's actually it - the major version bump was apparently
    only because the java version in pom.xml files was updated,
    which isn't even mentioned in the release notes. (forwarded request 1295266 from favogt)

OBS-URL: https://build.opensuse.org/request/show/1295271
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/libphonenumber?expand=0&rev=10
2025-07-25 15:03:40 +00:00
404c9caf67 - Update to version 9.0.10:
* Updated metadata
  * Yeah, that's actually it - the major version bump was apparently
    only because the java version in pom.xml files was updated,
    which isn't even mentioned in the release notes.

OBS-URL: https://build.opensuse.org/package/show/devel:libraries:c_c++/libphonenumber?expand=0&rev=28
2025-07-23 10:28:36 +00:00
7a185e6b0c Accepting request 1240580 from devel:libraries:c_c++
- Update to version 8.13.53:
  * Fixed a bug where the extension was appended twice in
    formatOutOfCountryKeepingAlphaChars in the Java version and
    updated FormatOutOfCountryKeepingAlphaChars in the C++ version
    to format the extension.
  * Updated metadata (forwarded request 1240579 from favogt)

OBS-URL: https://build.opensuse.org/request/show/1240580
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/libphonenumber?expand=0&rev=9
2025-01-28 13:58:37 +00:00
cf286ec791 Accepting request 1185722 from devel:libraries:c_c++
- Update to version 8.13.40:
  * Updated metadata
- Use mode="manual" in _service (forwarded request 1185721 from favogt)

OBS-URL: https://build.opensuse.org/request/show/1185722
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/libphonenumber?expand=0&rev=8
2024-07-08 17:06:45 +00:00
63d4a360ca - Update to version 8.13.40:
* Updated metadata
- Use mode="manual" in _service

OBS-URL: https://build.opensuse.org/package/show/devel:libraries:c_c++/libphonenumber?expand=0&rev=24
2024-07-05 06:42:51 +00:00
1aaa00dd23 Accepting request 1149426 from devel:libraries:c_c++
- Update to version 8.13.30:
  * Update alternate formatting data, phone metadata, geocoding
    data, carrier data
  * Updated / refreshed time zone meta data.
  * New geocoding data
- Add patch submitted to upstream at gh#google/libphonenumber#3394
  to fix building with protobuf 3.25.1:
  * 0001-Add-support-to-protobuf-3.25.1.patch
- Add patch submitted in gh#sergiomb2/libphonenumber#1 by
  Fabian Vogt:
  * 0002-Avoid-intermediate-proto-object-library.patch

- Update to version 8.13.23: (forwarded request 1149395 from alarrosa)

OBS-URL: https://build.opensuse.org/request/show/1149426
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/libphonenumber?expand=0&rev=7
2024-02-23 15:41:26 +00:00
d6a858b3ed Accepting request 1149395 from home:alarrosa:branches:devel:libraries:c_c++
- Update to version 8.13.30:
  * Update alternate formatting data, phone metadata, geocoding
    data, carrier data
  * Updated / refreshed time zone meta data.
  * New geocoding data
- Add patch submitted to upstream at gh#google/libphonenumber#3394
  to fix building with protobuf 3.25.1:
  * 0001-Add-support-to-protobuf-3.25.1.patch
- Add patch submitted in gh#sergiomb2/libphonenumber#1 by
  Fabian Vogt:
  * 0002-Avoid-intermediate-proto-object-library.patch

- Update to version 8.13.23:

OBS-URL: https://build.opensuse.org/request/show/1149395
OBS-URL: https://build.opensuse.org/package/show/devel:libraries:c_c++/libphonenumber?expand=0&rev=22
2024-02-22 13:38:15 +00:00
3e7e301a76 Accepting request 1119880 from devel:libraries:c_c++
libphonenumber 8.13.28 (forwarded request 1119441 from AndreasStieger)

OBS-URL: https://build.opensuse.org/request/show/1119880
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/libphonenumber?expand=0&rev=6
2023-10-24 18:07:43 +00:00
e5ddb9d14f Accepting request 1119441 from home:AndreasStieger:branches:devel:libraries:c_c++
libphonenumber 8.13.28

OBS-URL: https://build.opensuse.org/request/show/1119441
OBS-URL: https://build.opensuse.org/package/show/devel:libraries:c_c++/libphonenumber?expand=0&rev=20
2023-10-24 07:46:25 +00:00
c513d918db Reverting last change, needs discussion
OBS-URL: https://build.opensuse.org/package/show/devel:libraries:c_c++/libphonenumber?expand=0&rev=19
2023-09-12 08:46:49 +00:00
c26be24f00 Accepting request 1105413 from home:jengelh:branches:devel:libraries:c_c++
FAAAAALGS

OBS-URL: https://build.opensuse.org/request/show/1105413
OBS-URL: https://build.opensuse.org/package/show/devel:libraries:c_c++/libphonenumber?expand=0&rev=18
2023-09-12 08:08:54 +00:00
b4603d499f Accepting request 1095368 from devel:libraries:c_c++
- absl is also needed for using the -devel package (forwarded request 1095367 from favogt)

OBS-URL: https://build.opensuse.org/request/show/1095368
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/libphonenumber?expand=0&rev=5
2023-06-30 17:58:15 +00:00
36e7c04d8c Accepting request 1095367 from home:favogt:branches:devel:libraries:c_c++
- absl is also needed for using the -devel package

OBS-URL: https://build.opensuse.org/request/show/1095367
OBS-URL: https://build.opensuse.org/package/show/devel:libraries:c_c++/libphonenumber?expand=0&rev=16
2023-06-26 09:13:02 +00:00
7fec8721ad Accepting request 1094779 from home:favogt:branches:devel:libraries:c_c++
- Update to version 8.13.15:
  * Updated phone metadata for region code(s): BE, BF, IL, MN, NE, OM, SO, SV
  * Updated carrier data for country calling code(s):
    226 (en), 227 (en), 252 (en), 351 (en), 968 (en), 972 (en)

OBS-URL: https://build.opensuse.org/request/show/1094779
OBS-URL: https://build.opensuse.org/package/show/devel:libraries:c_c++/libphonenumber?expand=0&rev=15
2023-06-23 07:05:36 +00:00
d2f7ac0a7b Accepting request 1093080 from home:favogt:branches:devel:libraries:c_c++
- Update to version 8.13.14:
  * Many data changes
  * Removal of unused leading_zero_possible proto field in
    phonemetadata.proto and all generated code
  * https://github.com/google/libphonenumber/blob/v8.13.14/release_notes.txt
- Depends on abseil now
- Turn metadata regeneration off explicitly, wasn't done previously
  either. This allows dropping the java dependency.
- Add patches to fix building:
  * 0001-Build-with-C-17.patch
  * 0001-Revert-Fix-typo-in-arguments-to-add_metadata_gen_tar.patch
- protobuf got fixed, builds fine with 22 now

OBS-URL: https://build.opensuse.org/request/show/1093080
OBS-URL: https://build.opensuse.org/package/show/devel:libraries:c_c++/libphonenumber?expand=0&rev=14
2023-06-14 10:40:48 +00:00
084ba90ff2 - prefer protobuf 21 as it is not compatible with v22
OBS-URL: https://build.opensuse.org/package/show/devel:libraries:c_c++/libphonenumber?expand=0&rev=13
2023-06-13 16:04:12 +00:00
a9fba14bbc Accepting request 894682 from devel:libraries:c_c++
OBS-URL: https://build.opensuse.org/request/show/894682
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/libphonenumber?expand=0&rev=4
2021-05-23 21:30:22 +00:00
8b5ea803b5 Accepting request 894664 from home:AndreasStieger:branches:devel:libraries:c_c++
libphonenumber 8.12.23

OBS-URL: https://build.opensuse.org/request/show/894664
OBS-URL: https://build.opensuse.org/package/show/devel:libraries:c_c++/libphonenumber?expand=0&rev=11
2021-05-20 18:21:09 +00:00
eab8d3e5e1 Accepting request 890938 from devel:libraries:c_c++
- Update to v8.12.22:
  * See https://github.com/google/libphonenumber/blob/v8.12.22/release_notes.txt (forwarded request 890937 from favogt)

OBS-URL: https://build.opensuse.org/request/show/890938
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/libphonenumber?expand=0&rev=3
2021-05-08 20:07:12 +00:00
250d93591a Accepting request 890937 from home:favogt:branches:devel:libraries:c_c++
- Update to v8.12.22:
  * See https://github.com/google/libphonenumber/blob/v8.12.22/release_notes.txt

OBS-URL: https://build.opensuse.org/request/show/890937
OBS-URL: https://build.opensuse.org/package/show/devel:libraries:c_c++/libphonenumber?expand=0&rev=9
2021-05-06 09:35:16 +00:00
ca12f330a6 Accepting request 836102 from devel:libraries:c_c++
Fix exclude (forwarded request 836101 from favogt)

OBS-URL: https://build.opensuse.org/request/show/836102
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/libphonenumber?expand=0&rev=2
2020-09-25 14:26:32 +00:00
d8850832ec Accepting request 836101 from home:favogt:branches:devel:libraries:c_c++
Fix exclude

OBS-URL: https://build.opensuse.org/request/show/836101
OBS-URL: https://build.opensuse.org/package/show/devel:libraries:c_c++/libphonenumber?expand=0&rev=7
2020-09-22 13:54:03 +00:00
a90d5fb6f5 Accepting request 836097 from home:favogt:branches:devel:libraries:c_c++
- Update to v8.12.10:
  * See https://github.com/google/libphonenumber/blob/v8.12.10/release_notes.txt
- The upstream repo and tarball include binary .jar archives with legally
  questionable content. Switch to a _service and exclude those.

OBS-URL: https://build.opensuse.org/request/show/836097
OBS-URL: https://build.opensuse.org/package/show/devel:libraries:c_c++/libphonenumber?expand=0&rev=6
2020-09-22 13:24:37 +00:00
9794e28c9f * see https://github.com/google/libphonenumber/blob/v8.12.9/release_notes.txt
OBS-URL: https://build.opensuse.org/package/show/devel:libraries:c_c++/libphonenumber?expand=0&rev=5
2020-09-19 14:55:35 +00:00
50add5b7af Accepting request 835495 from home:jayvdb:branches:devel:libraries:c_c++
- Update to v8.12.9
  * see https://github.com/google/libphonenumber/blob/master/release_notes.txt

OBS-URL: https://build.opensuse.org/request/show/835495
OBS-URL: https://build.opensuse.org/package/show/devel:libraries:c_c++/libphonenumber?expand=0&rev=4
2020-09-19 14:54:47 +00:00
a062f2b61c Accepting request 718808 from devel:libraries:c_c++
New package, used by kitinerary

OBS-URL: https://build.opensuse.org/request/show/718808
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/libphonenumber?expand=0&rev=1
2019-07-26 15:34:12 +00:00
c7b43fea66 Forgot to adjust License tag
OBS-URL: https://build.opensuse.org/package/show/devel:libraries:c_c++/libphonenumber?expand=0&rev=2
2019-07-26 09:53:47 +00:00
934e5dbb86 Accepting request 718164 from home:Vogtinator:ktrip
New package, used in the future

OBS-URL: https://build.opensuse.org/request/show/718164
OBS-URL: https://build.opensuse.org/package/show/devel:libraries:c_c++/libphonenumber?expand=0&rev=1
2019-07-26 09:24:56 +00:00
9 changed files with 103 additions and 23 deletions

View File

@@ -0,0 +1,25 @@
From 2000fdca565ef9fdd609dbcdb87f96c1fe2f1e51 Mon Sep 17 00:00:00 2001
From: Michael Cho <michael@michaelcho.dev>
Date: Mon, 11 Aug 2025 17:08:15 -0400
Subject: [PATCH] Fix build with Boost 1.89.0
---
cpp/CMakeLists.txt | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/cpp/CMakeLists.txt b/cpp/CMakeLists.txt
index 27e4680cc..39f05d2c9 100644
--- a/cpp/CMakeLists.txt
+++ b/cpp/CMakeLists.txt
@@ -145,7 +145,7 @@ if (USE_BOOST)
if (WIN32)
set (Boost_USE_STATIC_LIBS ON)
endif ()
- find_package (Boost 1.40.0 COMPONENTS date_time system thread)
+ find_package (Boost 1.40.0 COMPONENTS date_time thread OPTIONAL_COMPONENTS system)
if (NOT Boost_FOUND)
print_error ("Boost Date_Time/System/Thread" "Boost")
endif ()
--
2.50.1

View File

@@ -2,7 +2,7 @@
<service name="obs_scm" mode="manual">
<param name="url">https://github.com/google/libphonenumber.git</param>
<param name="scm">git</param>
<param name="revision">v8.13.53</param>
<param name="revision">v9.0.21</param>
<param name="versionformat">@PARENT_TAG@</param>
<param name="versionrewrite-pattern">v(.*)</param>
<!-- Contains binary .jars with legally questionable content -->

View File

@@ -1,3 +0,0 @@
version https://git-lfs.github.com/spec/v1
oid sha256:3aff8ad9022cb70e1d6d413003d6478ca60f604f038d5c32863444f7694dcce7
size 100088846

View File

@@ -1,3 +0,0 @@
version https://git-lfs.github.com/spec/v1
oid sha256:06e249b561b85fc731e5ce29828afba0a339c269944369ea2e9f9582cdfb802b
size 97178126

Binary file not shown.

View File

@@ -0,0 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:903561d5099906c010d7e14046e342c0416d9b461ec81f1326508e251139bae6
size 97593358

View File

@@ -1,3 +1,54 @@
-------------------------------------------------------------------
Wed Dec 24 06:26:43 UTC 2025 - Andreas Stieger <andreas.stieger@gmx.de>
- Update to 9.0.21:
* Updated meta data, geocoding data and carrer data for many
country dialing codes
-------------------------------------------------------------------
Tue Oct 7 20:38:00 UTC 2025 - Christophe Marin <christophe@krop.fr>
- Fix libphonenumber-devel dependencies.
libphonenumber::phonenumber-shared's INTERFACE_LINK_LIBRARIES
contains Boost::date_time and Boost::thread
-------------------------------------------------------------------
Wed Sep 17 08:50:55 UTC 2025 - Andreas Stieger <andreas.stieger@gmx.de>
- Update to 9.0.14:
* AUpdated phone metadata for region code(s): CZ, DE, IT, LI, LV,
ME, SG, US, BT, DE, GY, IL, OM, PA, SG, SR, UY, GB, GG, GM, GY,
IM, JE, DO, EH, IL, JP, MA, MN, OM, PG, SG, US
* Updated short number metadata for region code(s): DE, UY, JP
* New geocoding data for country calling code(s):
1686 (en), 975 (en), 61 (en), 81 (en, ja)
* Updated geocoding data for country calling code(s):
39 (en, it), 61 (en), 34 (en, es)
* Updated carrier data for country calling code(s):
46 (en), 65 (en), 420 (en), 998 (en), 30 (en), 41 (en),
49 (en), 65 (en), 86 (en, zh), 372 (en), 597 (en),
968 (en), 975 (en), 220 (en), 370 (en), 592 (en), 27 (en),
32 (en), 65 (en), 81 (en), 675 (en), 968 (en), 976 (en),
996 (en)
* Updated / refreshed time zone meta data
-------------------------------------------------------------------
Mon Sep 15 13:40:22 UTC 2025 - Fabian Vogt <fvogt@suse.com>
- No longer rely on libboost_system-devel as separate package:
(boo#1249611):
* Add 0001-Fix-build-with-Boost-1.89.0.patch
* Use libboost_headers-devel instead of libboost_system-devel
-------------------------------------------------------------------
Wed Jul 23 10:20:49 UTC 2025 - Fabian Vogt <fvogt@suse.com>
- Update to version 9.0.10:
* Updated metadata
* Yeah, that's actually it - the major version bump was apparently
only because the java version in pom.xml files was updated,
which isn't even mentioned in the release notes.
-------------------------------------------------------------------
Mon Jan 27 15:44:31 UTC 2025 - Fabian Vogt <fvogt@suse.com>

View File

@@ -1,4 +1,4 @@
name: libphonenumber
version: 8.13.53
mtime: 1736855323
commit: 9ce5d183b3389a5f5fb2ce072efd01ce83757ef8
version: 9.0.21
mtime: 1765966263
commit: 3b7cd902d9928110251c0d5c567ea76b6feabf16

View File

@@ -1,7 +1,8 @@
#
# spec file for package libphonenumber
#
# Copyright (c) 2025 SUSE LLC
# Copyright (c) 2025 SUSE LLC and contributors
# Copyright (c) 2025 Andreas Stieger <Andreas.Stieger@gmx.de>
#
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
@@ -16,16 +17,18 @@
#
%define lib_ver 8
%define lib_ver2 8.13
%define lib_ver 9
%define lib_ver2 9.0
Name: libphonenumber
Version: 8.13.53
Version: 9.0.21
Release: 0
Summary: Library for parsing, formatting, and validating international phone numbers
License: Apache-2.0
Group: Development/Libraries/C and C++
URL: https://github.com/google/libphonenumber
Source: %{name}-%{version}.tar.xz
# PATCH-FIX-UPSTREAM (hopefully, https://github.com/google/libphonenumber/pull/3903)
Patch1: 0001-Fix-build-with-Boost-1.89.0.patch
# PATCH-FIX-DOWNSTREAM (see https://github.com/google/libphonenumber/pull/2874)
Patch2: 0001-Revert-Fix-typo-in-arguments-to-add_metadata_gen_tar.patch
Patch3: 0001-Add-support-to-protobuf-3.25.1.patch
@@ -33,7 +36,7 @@ Patch4: 0002-Avoid-intermediate-proto-object-library.patch
BuildRequires: cmake
BuildRequires: gcc-c++
BuildRequires: libboost_date_time-devel >= 1.40.0
BuildRequires: libboost_system-devel >= 1.40.0
BuildRequires: libboost_headers-devel >= 1.40.0
BuildRequires: libboost_thread-devel >= 1.40.0
BuildRequires: pkgconfig
# Actual version requirement unknown
@@ -61,6 +64,8 @@ for running on smartphones, and is used by the Android framework since 4.0
Summary: Library for parsing, formatting, and validating international phone numbers
Group: Development/Libraries/C and C++
Requires: %{name}%{lib_ver} = %{version}
Requires: libboost_date_time-devel >= 1.40.0
Requires: libboost_thread-devel >= 1.40.0
Requires: cmake(absl)
Requires: pkgconfig(protobuf) >= 2.4
@@ -80,8 +85,13 @@ that use libphonenumber.
cd cpp
# Enabling the geocoder breaks quite a lot due to broken cmakelists
# (https://github.com/google/libphonenumber/pull/2556)
%cmake -DBUILD_STATIC_LIB=OFF -DBUILD_SHARED_LIB=ON -DBUILD_TESTING=ON -DBUILD_GEOCODER=OFF -DREGENERATE_METADATA=OFF
%make_jobs
%cmake \
-DBUILD_STATIC_LIB=OFF \
-DBUILD_TESTING=ON \
-DBUILD_GEOCODER=OFF \
-DREGENERATE_METADATA=OFF \
%{nil}
%cmake_build
%install
cd cpp
@@ -89,10 +99,9 @@ cd cpp
%check
cd cpp/build
%make_jobs tests
%make_build tests
%post -n %{name}%{lib_ver} -p /sbin/ldconfig
%postun -n %{name}%{lib_ver} -p /sbin/ldconfig
%ldconfig_scriptlets -n %{name}%{lib_ver}
%files -n %{name}%{lib_ver}
%license LICENSE*
@@ -100,6 +109,7 @@ cd cpp/build
%{_libdir}/libphonenumber.so.%{lib_ver2}
%files devel
%license LICENSE*
%{_libdir}/libphonenumber.so
%{_includedir}/phonenumbers/
%dir %{_libdir}/cmake/