Accepting request 1147424 from home:AndreasStieger:branches:M17N
glog 0.7.0 OBS-URL: https://build.opensuse.org/request/show/1147424 OBS-URL: https://build.opensuse.org/package/show/M17N/google-glog?expand=0&rev=13
This commit is contained in:
parent
f1bb7b0f77
commit
f90a5892c8
@ -1,3 +1,12 @@
|
|||||||
|
-------------------------------------------------------------------
|
||||||
|
Sun Feb 18 12:38:35 UTC 2024 - Andreas Stieger <andreas.stieger@gmx.de>
|
||||||
|
|
||||||
|
- 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 <fstrba@suse.com>
|
Fri Jun 4 10:12:26 UTC 2021 - Fridrich Strba <fstrba@suse.com>
|
||||||
|
|
||||||
|
@ -2,6 +2,7 @@
|
|||||||
# spec file for package google-glog
|
# spec file for package google-glog
|
||||||
#
|
#
|
||||||
# Copyright (c) 2021 SUSE LLC
|
# Copyright (c) 2021 SUSE LLC
|
||||||
|
# Copyright (c) 2024 Andreas Stieger <Andreas.Stieger@gmx.de>
|
||||||
#
|
#
|
||||||
# All modifications and additions to the file contributed by third parties
|
# All modifications and additions to the file contributed by third parties
|
||||||
# remain the property of their copyright owners, unless otherwise agreed
|
# 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
|
Name: google-glog
|
||||||
Version: 0.5.0
|
Version: 0.7.0
|
||||||
Release: 0
|
Release: 0
|
||||||
Summary: Logging library for C++
|
Summary: Logging library for C++
|
||||||
License: BSD-3-Clause
|
License: BSD-3-Clause
|
||||||
Group: System/Libraries
|
Group: System/Libraries
|
||||||
URL: https://github.com/google/glog
|
URL: https://github.com/google/glog
|
||||||
Source: https://github.com/google/glog/archive/refs/tags/v%{version}.tar.gz
|
Source: https://github.com/google/glog/archive/refs/tags/v%{version}.tar.gz
|
||||||
BuildRequires: cmake
|
BuildRequires: c++_compiler
|
||||||
BuildRequires: gcc-c++
|
BuildRequires: cmake >= 3.22
|
||||||
BuildRequires: pkgconfig
|
BuildRequires: pkgconfig
|
||||||
|
|
||||||
%description
|
%description
|
||||||
@ -34,46 +35,48 @@ The glog library implements application-level logging.
|
|||||||
This library provides logging APIs based on C++-style
|
This library provides logging APIs based on C++-style
|
||||||
streams and various helper macros.
|
streams and various helper macros.
|
||||||
|
|
||||||
%package -n libglog0
|
%package -n libglog%{sover}
|
||||||
Summary: Logging library for C++
|
Summary: Logging library for C++
|
||||||
Group: System/Libraries
|
Group: System/Libraries
|
||||||
|
|
||||||
%description -n libglog0
|
%description -n libglog%{sover}
|
||||||
The glog library implements application-level logging.
|
The glog library implements application-level logging.
|
||||||
This library provides logging APIs based on C++-style
|
This library provides logging APIs based on C++-style
|
||||||
streams and various helper macros.
|
streams and various helper macros.
|
||||||
|
|
||||||
%package -n glog-devel
|
%package -n glog-devel
|
||||||
Summary: Header files for libglog0
|
Summary: Header files for libglog%{sover}
|
||||||
Group: Development/Libraries/C and C++
|
Group: Development/Libraries/C and C++
|
||||||
Requires: libglog0 = %{version}
|
Requires: libglog%{sover} = %{version}
|
||||||
|
|
||||||
%description -n glog-devel
|
%description -n glog-devel
|
||||||
The glog library implements application-level logging.
|
The glog library implements application-level logging.
|
||||||
This library provides logging APIs based on C++-style
|
This library provides logging APIs based on C++-style
|
||||||
streams and various helper macros.
|
streams and various helper macros.
|
||||||
|
|
||||||
This package provides development files for libglog0.
|
This package provides development files for libglog%{sover}.
|
||||||
|
|
||||||
%prep
|
%prep
|
||||||
%setup -q -n glog-%{version}
|
%autosetup -p1 -n glog-%{version}
|
||||||
|
|
||||||
%build
|
%build
|
||||||
%cmake -DCMAKE_INSTALL_LIBDIR:PATH=%{_lib}
|
%cmake \
|
||||||
%make_build
|
-DWITH_PKGCONFIG:BOOL=ON \
|
||||||
|
-DWITH_GFLAGS:BOOL=OFF \
|
||||||
|
-DWITH_GTEST:BOOL=OFF \
|
||||||
|
%{nil}
|
||||||
|
%cmake_build
|
||||||
|
|
||||||
%install
|
%install
|
||||||
%cmake_install
|
%cmake_install
|
||||||
rm -rf %{buildroot}%{_libdir}/*.{a,la}
|
|
||||||
rm -rf %{buildroot}%{_datadir}/doc/glog-*
|
rm -rf %{buildroot}%{_datadir}/doc/glog-*
|
||||||
|
|
||||||
%post -n libglog0 -p /sbin/ldconfig
|
%ldconfig_scriptlets -n libglog%{sover}
|
||||||
%postun -n libglog0 -p /sbin/ldconfig
|
|
||||||
|
|
||||||
%files -n libglog0
|
%files -n libglog%{sover}
|
||||||
%license COPYING
|
%license COPYING
|
||||||
%{_libdir}/libglog.so.0
|
%{_libdir}/libglog.so.%{sover}
|
||||||
%{_libdir}/libglog.so.0.5.0
|
%{_libdir}/libglog.so.%{version}
|
||||||
|
|
||||||
%files -n glog-devel
|
%files -n glog-devel
|
||||||
%license COPYING
|
%license COPYING
|
||||||
|
BIN
v0.5.0.tar.gz
(Stored with Git LFS)
BIN
v0.5.0.tar.gz
(Stored with Git LFS)
Binary file not shown.
3
v0.7.0.tar.gz
Normal file
3
v0.7.0.tar.gz
Normal file
@ -0,0 +1,3 @@
|
|||||||
|
version https://git-lfs.github.com/spec/v1
|
||||||
|
oid sha256:375106b5976231b92e66879c1a92ce062923b9ae573c42b56ba28b112ee4cc11
|
||||||
|
size 182654
|
Loading…
Reference in New Issue
Block a user