libphonenumber/libphonenumber.spec

94 lines
2.6 KiB
RPMSpec
Raw Permalink Normal View History

Name: libphonenumber
Version: 8.12.9
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: ldconfig
BuildRequires: libboost-devel
BuildRequires: libgcc
BuildRequires: libicu-devel
BuildRequires: libprotobuf-devel
BuildRequires: libstdc++6-devel
## AUTOBUILDREQ-END
BuildRequires: libprotobuf-devel >= 3.12.0
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
* 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