Initial import (#1817267)
This commit is contained in:
parent
5838b69f40
commit
008dd87c06
|
@ -0,0 +1 @@
|
||||||
|
/libphonenumber-8.12.0.tar.gz
|
|
@ -0,0 +1,102 @@
|
||||||
|
Summary: Library to handle international phone numbers
|
||||||
|
Name: libphonenumber
|
||||||
|
Version: 8.12.0
|
||||||
|
Release: 1%{?dist}
|
||||||
|
# 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: boost-devel
|
||||||
|
BuildRequires: cmake
|
||||||
|
BuildRequires: gcc-c++
|
||||||
|
BuildRequires: gtest-devel
|
||||||
|
BuildRequires: libicu-devel
|
||||||
|
BuildRequires: protobuf-compiler
|
||||||
|
BuildRequires: protobuf-devel
|
||||||
|
BuildRequires: re2-devel
|
||||||
|
|
||||||
|
%description
|
||||||
|
Google's common C++ library for parsing, formatting, storing and validating
|
||||||
|
international phone numbers.
|
||||||
|
|
||||||
|
|
||||||
|
%package devel
|
||||||
|
Summary: Development files for %{name}
|
||||||
|
Requires: %{name}%{?_isa} = %{version}-%{release}
|
||||||
|
|
||||||
|
%description devel
|
||||||
|
The %{name}-devel package contains libraries and header files for
|
||||||
|
developing applications that use %{name}.
|
||||||
|
|
||||||
|
|
||||||
|
%prep
|
||||||
|
%autosetup -n %{name}-%{version} -p1
|
||||||
|
|
||||||
|
|
||||||
|
%build
|
||||||
|
mkdir -p cpp/build
|
||||||
|
cd cpp/build
|
||||||
|
%cmake ..
|
||||||
|
cd ../../
|
||||||
|
%make_build -C cpp/build phonenumber phonenumber-shared
|
||||||
|
|
||||||
|
|
||||||
|
%install
|
||||||
|
%make_install -C cpp/build
|
||||||
|
find %{buildroot} -name '*.a' -delete
|
||||||
|
find %{buildroot} -name '*.la' -delete
|
||||||
|
|
||||||
|
|
||||||
|
%files
|
||||||
|
%doc cpp/README
|
||||||
|
%license cpp/LICENSE
|
||||||
|
%{_libdir}/libgeocoding.so.8*
|
||||||
|
%{_libdir}/libphonenumber.so.8*
|
||||||
|
|
||||||
|
|
||||||
|
%files devel
|
||||||
|
%{_includedir}/phonenumbers
|
||||||
|
%{_libdir}/libgeocoding.so
|
||||||
|
%{_libdir}/libphonenumber.so
|
||||||
|
|
||||||
|
|
||||||
|
%changelog
|
||||||
|
* Wed Mar 25 2020 Nikhil Jha <hi@nikhiljha.com> - 8.12.0-1
|
||||||
|
- Release 8.12.0
|
||||||
|
|
||||||
|
* Fri Dec 27 2019 Anthony Messina <amessina@messinet.com> - 8.11.1-1
|
||||||
|
- Release 8.11.1
|
||||||
|
|
||||||
|
* Sat Oct 05 2019 Anthony Messina <amessina@messinet.com> - 8.10.20-1
|
||||||
|
- Release 8.10.20
|
||||||
|
|
||||||
|
* Wed Jul 31 2019 Anthony Messina <amessina@messinet.com> - 8.10.15-1
|
||||||
|
- Release 8.10.15
|
||||||
|
|
||||||
|
* Fri Apr 19 2019 Anthony Messina <amessina@messinet.com> - 8.10.10-1
|
||||||
|
- Release 8.10.10
|
||||||
|
|
||||||
|
* Sat Feb 16 2019 Anthony Messina <amessina@messinet.com> - 8.10.5-1
|
||||||
|
- Release 8.10.5
|
||||||
|
|
||||||
|
* Fri Oct 26 2018 Anthony Messina <amessina@messinet.com> - 8.9.16-1
|
||||||
|
- Release 8.9.16
|
||||||
|
|
||||||
|
* Sun Aug 19 2018 Anthony Messina <amessina@messinet.com> - 8.9.11-1
|
||||||
|
- Release 8.9.11
|
||||||
|
- Refs #100 https://fedoraproject.org/wiki/Changes/Removing_ldconfig_scriptlets
|
||||||
|
- Refs #103 https://fedoraproject.org/wiki/Changes/Remove_GCC_from_BuildRoot
|
||||||
|
|
||||||
|
* Sat Apr 28 2018 Anthony Messina <amessina@messinet.com> - 8.9.4-1
|
||||||
|
- Release 8.9.4
|
||||||
|
|
||||||
|
* Sat Apr 07 2018 Anthony Messina <amessina@messinet.com> - 8.9.3-1
|
||||||
|
- Release 8.9.3
|
||||||
|
- https://fedoraproject.org/wiki/Changes/Removing_ldconfig_scriptlets: Refs #100
|
||||||
|
|
||||||
|
* Wed Jan 17 2018 Anthony Messina <amessina@messinet.com> - 8.8.9-1
|
||||||
|
- Initial RPM based on Gil Cattaneo's spec file
|
||||||
|
https://gil.fedorapeople.org/libphonenumber.spec
|
||||||
|
https://bugzilla.redhat.com/show_bug.cgi?id=1200115
|
Loading…
Reference in New Issue