Compare commits
15 Commits
8c2eec2a0c
...
26029b8a9e
Author | SHA1 | Date |
---|---|---|
|
26029b8a9e | |
|
dd0e250752 | |
|
c8b0db9f7b | |
|
4d5c4827dc | |
|
d2b6524b54 | |
|
10f23d6bf2 | |
|
4d2781e0ec | |
|
42ad795033 | |
|
b37822cafd | |
|
0d60e8c6c5 | |
|
5000b47521 | |
|
9604251f61 | |
|
1c33bb71be | |
|
e19f781b27 | |
|
a16d4818cb |
|
@ -1,16 +1,20 @@
|
||||||
Name: libphonenumber
|
Name: libphonenumber
|
||||||
Version: 8.12.11
|
Version: 8.13.19
|
||||||
Release: 15%{?dist}
|
Release: 2%{?dist}
|
||||||
Summary: Library to handle international phone numbers
|
Summary: Library to handle international phone numbers
|
||||||
# The project itself is ASL 2.0 but contains files from Chromium which are BSD and MIT.
|
# The project itself is ASL 2.0 but contains files from Chromium which are BSD and MIT.
|
||||||
License: ASL 2.0 and BSD and MIT
|
License: ASL 2.0 and BSD and MIT
|
||||||
URL: https://github.com/google/libphonenumber/
|
URL: https://github.com/google/libphonenumber/
|
||||||
Source0: https://github.com/google/%{name}/archive/v%{version}/%{name}-%{version}.tar.gz
|
Source0: https://github.com/google/%{name}/archive/v%{version}/%{name}-%{version}.tar.gz
|
||||||
|
|
||||||
|
BuildRequires: abseil-cpp-devel
|
||||||
BuildRequires: boost-devel
|
BuildRequires: boost-devel
|
||||||
BuildRequires: cmake
|
BuildRequires: cmake
|
||||||
BuildRequires: gcc-c++
|
BuildRequires: gcc-c++
|
||||||
BuildRequires: gtest-devel
|
BuildRequires: gtest-devel
|
||||||
|
%ifarch %{java_arches}
|
||||||
|
BuildRequires: java-devel
|
||||||
|
%endif
|
||||||
BuildRequires: libicu-devel
|
BuildRequires: libicu-devel
|
||||||
BuildRequires: protobuf-compiler
|
BuildRequires: protobuf-compiler
|
||||||
BuildRequires: protobuf-devel
|
BuildRequires: protobuf-devel
|
||||||
|
@ -24,6 +28,7 @@ international phone numbers.
|
||||||
%package devel
|
%package devel
|
||||||
Summary: Development files for %{name}
|
Summary: Development files for %{name}
|
||||||
Requires: %{name}%{?_isa} = %{version}-%{release}
|
Requires: %{name}%{?_isa} = %{version}-%{release}
|
||||||
|
Requires: abseil-cpp-devel
|
||||||
|
|
||||||
%description devel
|
%description devel
|
||||||
The %{name}-devel package contains libraries and header files for
|
The %{name}-devel package contains libraries and header files for
|
||||||
|
@ -32,11 +37,20 @@ developing applications that use %{name}.
|
||||||
|
|
||||||
%prep
|
%prep
|
||||||
%autosetup -p1
|
%autosetup -p1
|
||||||
|
# Gtest 1.13.0 requires at least C++14; C++17 matches how abseil-cpp is built;
|
||||||
|
# simply setting -DCMAKE_CXX_STANDARD=17 does not override this in practice.
|
||||||
|
sed -r -i 's/\b(CMAKE_CXX_STANDARD[[:blank:]]+)11\b/\117/' \
|
||||||
|
cpp/CMakeLists.txt tools/cpp/CMakeLists.txt
|
||||||
|
|
||||||
|
|
||||||
%build
|
%build
|
||||||
pushd cpp
|
pushd cpp
|
||||||
|
%ifarch %{java_arches}
|
||||||
%cmake
|
%cmake
|
||||||
|
%else
|
||||||
|
touch src/phonenumbers/test_metadata.h
|
||||||
|
%cmake -DREGENERATE_METADATA=OFF
|
||||||
|
%endif
|
||||||
%cmake_build
|
%cmake_build
|
||||||
popd
|
popd
|
||||||
|
|
||||||
|
@ -60,9 +74,55 @@ popd
|
||||||
%{_includedir}/phonenumbers
|
%{_includedir}/phonenumbers
|
||||||
%{_libdir}/libgeocoding.so
|
%{_libdir}/libgeocoding.so
|
||||||
%{_libdir}/libphonenumber.so
|
%{_libdir}/libphonenumber.so
|
||||||
|
%{_libdir}/cmake/libphonenumber/
|
||||||
|
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
* Sat Sep 02 2023 Sérgio Basto <sergio@serjux.com> - 8.13.19-2
|
||||||
|
- We need to build it in the side tag
|
||||||
|
|
||||||
|
* Sat Sep 02 2023 Sérgio Basto <sergio@serjux.com> - 8.13.19-1
|
||||||
|
- Update libphonenumber to 8.13.19 (#2221771)
|
||||||
|
|
||||||
|
* Wed Aug 30 2023 Benjamin A. Beasley <code@musicinmybrain.net> - 8.13.15-4
|
||||||
|
- Rebuilt for abseil-cpp 20230802.0
|
||||||
|
|
||||||
|
* Thu Jul 20 2023 Fedora Release Engineering <releng@fedoraproject.org> - 8.13.15-3
|
||||||
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_39_Mass_Rebuild
|
||||||
|
|
||||||
|
* Tue Jul 11 2023 František Zatloukal <fzatlouk@redhat.com> - 8.13.15-2
|
||||||
|
- Rebuilt for ICU 73.2
|
||||||
|
|
||||||
|
* Fri Jun 23 2023 Fedora Release Monitoring <release-monitoring@fedoraproject.org> - 8.13.15-1
|
||||||
|
- Update to 8.13.15 (#2209210)
|
||||||
|
|
||||||
|
* Tue May 16 2023 Sérgio Basto <sergio@serjux.com> - 8.13.11-1
|
||||||
|
- Update libphonenumber to 8.13.11
|
||||||
|
|
||||||
|
* Thu Mar 23 2023 Sérgio Basto <sergio@serjux.com> - 8.12.57-8
|
||||||
|
- Rebuilt for abseil-cpp
|
||||||
|
|
||||||
|
* Mon Feb 20 2023 Jonathan Wakely <jwakely@redhat.com> - 8.12.57-7
|
||||||
|
- Rebuilt for Boost 1.81
|
||||||
|
|
||||||
|
* Mon Jan 30 2023 Benjamin A. Beasley <code@musicinmybrain.net> - 8.12.57-6
|
||||||
|
- Correctly build as C++17 instead of C++11 for gtest-1.13.0, which needs C++14
|
||||||
|
|
||||||
|
* Thu Jan 19 2023 Fedora Release Engineering <releng@fedoraproject.org> - 8.12.57-5
|
||||||
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_38_Mass_Rebuild
|
||||||
|
|
||||||
|
* Sat Dec 31 2022 Pete Walter <pwalter@fedoraproject.org> - 8.12.57-4
|
||||||
|
- Rebuild for ICU 72
|
||||||
|
|
||||||
|
* Tue Dec 06 2022 Sérgio Basto <sergio@serjux.com> - 8.12.57-3
|
||||||
|
- (#1893839#c53) use ifarch %%{java_arches} to build on i686
|
||||||
|
|
||||||
|
* Mon Dec 05 2022 Sérgio Basto <sergio@serjux.com> - 8.12.57-2
|
||||||
|
- (#2150896) Add requires abseil-cpp-devel in the -devel package
|
||||||
|
|
||||||
|
* Thu Nov 03 2022 Sérgio Basto <sergio@serjux.com> - 8.12.57-1
|
||||||
|
- Update libphonenumber to 8.12.57 (#1893839)
|
||||||
|
|
||||||
* Mon Aug 01 2022 Frantisek Zatloukal <fzatlouk@redhat.com> - 8.12.11-15
|
* Mon Aug 01 2022 Frantisek Zatloukal <fzatlouk@redhat.com> - 8.12.11-15
|
||||||
- Rebuilt for ICU 71.1
|
- Rebuilt for ICU 71.1
|
||||||
|
|
||||||
|
|
2
sources
2
sources
|
@ -1 +1 @@
|
||||||
SHA512 (libphonenumber-8.12.11.tar.gz) = 996be1d3a628c40941629d704a70ca84f79541b7245dcb3dcd45e0ab88e4bc6e3b6ed4e981e381f4a30b7f0766e7f01417ede7318e21bab4e77db6a0c1d608e6
|
SHA512 (libphonenumber-8.13.19.tar.gz) = 952035929452857e7d5a7059b61a365cfee4b92e48afb34c8628c0e24c1c7bfb4c31008c7012cd736dbc55403ad321aa4dcd3d7c60d5a02ea21a7c36037d7bba
|
||||||
|
|
Loading…
Reference in New Issue