]> git.pld-linux.org Git - packages/libphonenumber.git/blobdiff - libphonenumber.spec
- updated to 8.13.8
[packages/libphonenumber.git] / libphonenumber.spec
index df888a2c2d050b971eeda2097bedb7c523ce9203..619456d1680bd85c8ffb92b72fd28f80bedca74d 100644 (file)
@@ -7,24 +7,28 @@
 Summary:       Library to handle international phone numbers
 Summary(pl.UTF-8):     Biblioteka do obsługi międzynarodowych numerów telefonów
 Name:          libphonenumber
-Version:       8.12.9
+Version:       8.13.8
 Release:       1
 License:       Apache v2.0 with BSD parts
 Group:         Libraries
 #Source0Download: https://github.com/google/libphonenumber/releases/
 Source0:       https://github.com/google/libphonenumber/archive/v%{version}/%{name}-%{version}.tar.gz
-# Source0-md5: f028276fc066f9ee86b268568d5c9d35
+# Source0-md5: 51d98312d1ea9287b9a008223314157d
 Patch0:                %{name}-link.patch
+Patch1:                %{name}-no-fetch.patch
+Patch2:                no-static.patch
 URL:           https://github.com/google/libphonenumber/
+BuildRequires: abseil-cpp-devel
 BuildRequires: boost-devel >= 1.40.0
-BuildRequires: cmake >= 2.8.5
+BuildRequires: cmake >= 3.11
 BuildRequires: gtest-devel
 BuildRequires: jre
 BuildRequires: libicu-devel >= 4.4
-BuildRequires: libstdc++-devel
+BuildRequires: libstdc++-devel >= 6:7
 BuildRequires: pkgconfig
 BuildRequires: protobuf-devel >= 2.4
 %{?with_re2:BuildRequires:     re2-devel}
+BuildRequires: rpmbuild(macros) >= 1.605
 BuildRoot:     %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
 
 %description
@@ -67,6 +71,8 @@ Statyczne biblioteki libphonenumber.
 %prep
 %setup -q
 %patch0 -p1
+%patch1 -p1
+%patch2 -p1
 
 %build
 install -d build/cpp
@@ -102,6 +108,7 @@ rm -rf $RPM_BUILD_ROOT
 %attr(755,root,root) %{_libdir}/libgeocoding.so
 %attr(755,root,root) %{_libdir}/libphonenumber.so
 %{_includedir}/phonenumbers
+%{_libdir}/cmake/libphonenumber
 
 %if %{with static_libs}
 %files static
This page took 0.075087 seconds and 4 git commands to generate.