diff --git a/google-glog.changes b/google-glog.changes index d5fb171..ff33504 100644 --- a/google-glog.changes +++ b/google-glog.changes @@ -1,3 +1,12 @@ +------------------------------------------------------------------- +Sun Feb 18 12:38:35 UTC 2024 - Andreas Stieger + +- update to 0.7.0: + * C++14 is now the primary language standard + * Public API bextended to use the more up-to-date standard + library types + * Many bug fixes and enhancements + ------------------------------------------------------------------- Fri Jun 4 10:12:26 UTC 2021 - Fridrich Strba diff --git a/google-glog.spec b/google-glog.spec index c93e4c8..b29ab47 100644 --- a/google-glog.spec +++ b/google-glog.spec @@ -2,6 +2,7 @@ # spec file for package google-glog # # Copyright (c) 2021 SUSE LLC +# Copyright (c) 2024 Andreas Stieger # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed @@ -16,17 +17,17 @@ # -%{!?make_build:%global make_build make %{?_smp_mflags}} +%define sover 2 Name: google-glog -Version: 0.5.0 +Version: 0.7.0 Release: 0 Summary: Logging library for C++ License: BSD-3-Clause Group: System/Libraries URL: https://github.com/google/glog Source: https://github.com/google/glog/archive/refs/tags/v%{version}.tar.gz -BuildRequires: cmake -BuildRequires: gcc-c++ +BuildRequires: c++_compiler +BuildRequires: cmake >= 3.22 BuildRequires: pkgconfig %description @@ -34,46 +35,48 @@ The glog library implements application-level logging. This library provides logging APIs based on C++-style streams and various helper macros. -%package -n libglog0 +%package -n libglog%{sover} Summary: Logging library for C++ Group: System/Libraries -%description -n libglog0 +%description -n libglog%{sover} The glog library implements application-level logging. This library provides logging APIs based on C++-style streams and various helper macros. %package -n glog-devel -Summary: Header files for libglog0 +Summary: Header files for libglog%{sover} Group: Development/Libraries/C and C++ -Requires: libglog0 = %{version} +Requires: libglog%{sover} = %{version} %description -n glog-devel The glog library implements application-level logging. This library provides logging APIs based on C++-style streams and various helper macros. -This package provides development files for libglog0. +This package provides development files for libglog%{sover}. %prep -%setup -q -n glog-%{version} +%autosetup -p1 -n glog-%{version} %build -%cmake -DCMAKE_INSTALL_LIBDIR:PATH=%{_lib} -%make_build +%cmake \ + -DWITH_PKGCONFIG:BOOL=ON \ + -DWITH_GFLAGS:BOOL=OFF \ + -DWITH_GTEST:BOOL=OFF \ + %{nil} +%cmake_build %install %cmake_install -rm -rf %{buildroot}%{_libdir}/*.{a,la} rm -rf %{buildroot}%{_datadir}/doc/glog-* -%post -n libglog0 -p /sbin/ldconfig -%postun -n libglog0 -p /sbin/ldconfig +%ldconfig_scriptlets -n libglog%{sover} -%files -n libglog0 +%files -n libglog%{sover} %license COPYING -%{_libdir}/libglog.so.0 -%{_libdir}/libglog.so.0.5.0 +%{_libdir}/libglog.so.%{sover} +%{_libdir}/libglog.so.%{version} %files -n glog-devel %license COPYING diff --git a/v0.5.0.tar.gz b/v0.5.0.tar.gz deleted file mode 100644 index 517cc35..0000000 --- a/v0.5.0.tar.gz +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:eede71f28371bf39aa69b45de23b329d37214016e2055269b3b5e7cfd40b59f5 -size 183346 diff --git a/v0.7.0.tar.gz b/v0.7.0.tar.gz new file mode 100644 index 0000000..01ed668 --- /dev/null +++ b/v0.7.0.tar.gz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:375106b5976231b92e66879c1a92ce062923b9ae573c42b56ba28b112ee4cc11 +size 182654