116 lines
3.5 KiB
RPMSpec
116 lines
3.5 KiB
RPMSpec
Name: libphonenumber
|
|
Version: 8.12.23
|
|
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
|
|
Source: https://github.com/google/libphonenumber.git/v%{version}/libphonenumber-%{version}.tar.bz2
|
|
License: Apache License 2.0
|
|
## AUTOBUILDREQ-BEGIN
|
|
BuildRequires: glibc-devel
|
|
BuildRequires: libboost-devel
|
|
BuildRequires: libgcc
|
|
BuildRequires: libicu-devel
|
|
BuildRequires: libprotobuf-devel
|
|
BuildRequires: libstdc++6-devel
|
|
## AUTOBUILDREQ-END
|
|
BuildRequires: libprotobuf-devel >= 3.17.0
|
|
|
|
%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 May 15 2021 Silvan Calarco <silvan.calarco@mambasoft.it> 8.12.23-1mamba
|
|
- update to 8.12.23
|
|
|
|
* Sun May 02 2021 Automatic Build System <autodist@mambasoft.it> 8.12.22-1mamba
|
|
- automatic version update by autodist
|
|
|
|
* Thu Apr 08 2021 Automatic Build System <autodist@mambasoft.it> 8.12.21-1mamba
|
|
- automatic version update by autodist
|
|
|
|
* Fri Mar 19 2021 Automatic Build System <autodist@mambasoft.it> 8.12.20-1mamba
|
|
- automatic version update by autodist
|
|
|
|
* Wed Mar 17 2021 Automatic Build System <autodist@mambasoft.it> 8.12.19-1mamba
|
|
- automatic version update by autodist
|
|
|
|
* Wed Feb 10 2021 Automatic Build System <autodist@mambasoft.it> 8.12.18-1mamba
|
|
- automatic version update by autodist
|
|
|
|
* Sun Feb 07 2021 Automatic Build System <autodist@mambasoft.it> 8.12.17-1mamba
|
|
- automatic version update by autodist
|
|
|
|
* Wed Dec 09 2020 Automatic Build System <autodist@mambasoft.it> 8.12.14-1mamba
|
|
- automatic version update by autodist
|
|
|
|
* Sun Sep 27 2020 Automatic Build System <autodist@mambasoft.it> 8.12.9-1mamba
|
|
- automatic version update by autodist
|
|
|
|
* Sat Aug 22 2020 Silvan Calarco <silvan.calarco@mambasoft.it> 8.12.8-1mamba
|
|
- update to 8.12.8
|
|
|
|
* Sun Jul 12 2020 Silvan Calarco <silvan.calarco@mambasoft.it> 8.12.7-1mamba
|
|
- update to 8.12.7
|
|
|
|
* Sat Jun 13 2020 Silvan Calarco <silvan.calarco@mambasoft.it> 8.12.5-1mamba
|
|
- update to 8.12.5
|
|
|
|
* Tue Jun 02 2020 Automatic Build System <autodist@mambasoft.it> 8.12.3-1mamba
|
|
- automatic version update by autodist
|
|
|
|
* Sun Mar 08 2020 Automatic Build System <autodist@mambasoft.it> 8.11.5-1mamba
|
|
- automatic version update by autodist
|
|
|
|
* Sat Jan 11 2020 Silvan Calarco <silvan.calarco@mambasoft.it> 8.11.1-1mamba
|
|
- package created using the webbuild interface
|