10 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
7 changed files with 103 additions and 17 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 -->

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/