Compare commits
No commits in common. "26029b8a9ec91085315d3a940735f81bbc0274aa" and "8c2eec2a0ca401432e0cde6877ba5023cc9cdfe9" have entirely different histories.
26029b8a9e
...
8c2eec2a0c
@ -1,20 +1,16 @@
|
||||
Name: libphonenumber
|
||||
Version: 8.13.19
|
||||
Release: 2%{?dist}
|
||||
Version: 8.12.11
|
||||
Release: 15%{?dist}
|
||||
Summary: Library to handle international phone numbers
|
||||
# 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
|
||||
URL: https://github.com/google/libphonenumber/
|
||||
Source0: https://github.com/google/%{name}/archive/v%{version}/%{name}-%{version}.tar.gz
|
||||
|
||||
BuildRequires: abseil-cpp-devel
|
||||
BuildRequires: boost-devel
|
||||
BuildRequires: cmake
|
||||
BuildRequires: gcc-c++
|
||||
BuildRequires: gtest-devel
|
||||
%ifarch %{java_arches}
|
||||
BuildRequires: java-devel
|
||||
%endif
|
||||
BuildRequires: libicu-devel
|
||||
BuildRequires: protobuf-compiler
|
||||
BuildRequires: protobuf-devel
|
||||
@ -28,7 +24,6 @@ international phone numbers.
|
||||
%package devel
|
||||
Summary: Development files for %{name}
|
||||
Requires: %{name}%{?_isa} = %{version}-%{release}
|
||||
Requires: abseil-cpp-devel
|
||||
|
||||
%description devel
|
||||
The %{name}-devel package contains libraries and header files for
|
||||
@ -37,20 +32,11 @@ developing applications that use %{name}.
|
||||
|
||||
%prep
|
||||
%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
|
||||
pushd cpp
|
||||
%ifarch %{java_arches}
|
||||
%cmake
|
||||
%else
|
||||
touch src/phonenumbers/test_metadata.h
|
||||
%cmake -DREGENERATE_METADATA=OFF
|
||||
%endif
|
||||
%cmake_build
|
||||
popd
|
||||
|
||||
@ -74,55 +60,9 @@ popd
|
||||
%{_includedir}/phonenumbers
|
||||
%{_libdir}/libgeocoding.so
|
||||
%{_libdir}/libphonenumber.so
|
||||
%{_libdir}/cmake/libphonenumber/
|
||||
|
||||
|
||||
%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
|
||||
- Rebuilt for ICU 71.1
|
||||
|
||||
|
2
sources
2
sources
@ -1 +1 @@
|
||||
SHA512 (libphonenumber-8.13.19.tar.gz) = 952035929452857e7d5a7059b61a365cfee4b92e48afb34c8628c0e24c1c7bfb4c31008c7012cd736dbc55403ad321aa4dcd3d7c60d5a02ea21a7c36037d7bba
|
||||
SHA512 (libphonenumber-8.12.11.tar.gz) = 996be1d3a628c40941629d704a70ca84f79541b7245dcb3dcd45e0ab88e4bc6e3b6ed4e981e381f4a30b7f0766e7f01417ede7318e21bab4e77db6a0c1d608e6
|
||||
|
Loading…
Reference in New Issue
Block a user