package created using the webbuild interface [release 8.11.1-1mamba;Sat Jan 11 2020]

This commit is contained in:
Silvan Calarco 2024-01-06 05:22:27 +01:00
parent d706459bb9
commit d45db6d966
2 changed files with 77 additions and 0 deletions

View File

@ -1,2 +1,4 @@
# libphonenumber
Google's common Java, C++ and JavaScript library for parsing, formatting, and validating international phone numbers.

75
libphonenumber.spec Normal file
View File

@ -0,0 +1,75 @@
Name: libphonenumber
Version: 8.11.1
Release: 1mamba
Summary: Google's common Java, C++ and JavaScript library for parsing, formatting, and validating international phone numbers
Group: System/Libraries
Vendor: openmamba
Distribution: openmamba
Packager: Silvan Calarco <silvan.calarco@mambasoft.it>
URL: https://github.com/google/libphonenumber
## GITSOURCE https://github.com/google/libphonenumber.git v8.11.1
Source: https://github.com/google/libphonenumber.git/v%{version}/libphonenumber-%{version}.tar.bz2
License: Apache License 2.0
## AUTOBUILDREQ-BEGIN
BuildRequires: glibc-devel
BuildRequires: ldconfig
BuildRequires: libboost-devel
BuildRequires: libgcc
BuildRequires: libicu-devel
BuildRequires: libprotobuf-devel
BuildRequires: libstdc++6-devel
## AUTOBUILDREQ-END
BuildRoot: %{_tmppath}/%{name}-%{version}-root
%description
Google's common Java, C++ and JavaScript library for parsing, formatting, and validating international phone numbers.
%package devel
Group: Development/Libraries
Summary: Development files for %{name}
Requires: %{name} = %{?epoch:%epoch:}%{version}-%{release}
%description devel
This package contains libraries and header files for developing applications that use %{name}.
%debug_package
%prep
%setup -q
%build
%cmake -d build \
../cpp
%make
%install
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
%makeinstall -C build
%clean
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
%post -p /sbin/ldconfig
%postun -p /sbin/ldconfig
%files
%defattr(-,root,root)
%{_libdir}/libgeocoding.so.*
%{_libdir}/libphonenumber.so.*
%doc AUTHORS LICENSE
%files devel
%defattr(-,root,root)
%dir %{_includedir}/phonenumbers
%dir %{_includedir}/phonenumbers/base
%{_includedir}/phonenumbers/*
%{_libdir}/libgeocoding.a
%{_libdir}/libgeocoding.so
%{_libdir}/libphonenumber.a
%{_libdir}/libphonenumber.so
%doc README.md
%changelog
* Sat Jan 11 2020 Silvan Calarco <silvan.calarco@mambasoft.it> 8.11.1-1mamba
- package created using the webbuild interface