diff --git a/glog-0.3.5.tar.gz b/glog-0.3.5.tar.gz deleted file mode 100644 index d4e2845..0000000 Binary files a/glog-0.3.5.tar.gz and /dev/null differ diff --git a/glog-0.6.0.tar.gz b/glog-0.6.0.tar.gz new file mode 100644 index 0000000..371c04a Binary files /dev/null and b/glog-0.6.0.tar.gz differ diff --git a/glog.spec b/glog.spec index 47bb230..5ab3fc6 100644 --- a/glog.spec +++ b/glog.spec @@ -1,11 +1,11 @@ Name: glog -Version: 0.3.5 +Version: 0.6.0 Release: 1 Summary: A C++ application logging library License: MIT URL: https://github.com/google/glog Source0: https://github.com/google/%{name}/archive/v%{version}/%{name}-%{version}.tar.gz -BuildRequires: gcc-c++ gcc autoconf gflags-devel >= 2.1.0 +BuildRequires: gcc-c++ gcc gflags-devel >= 2.1.0 cmake Requires: gflags gflags-devel >= 2.1.0 %description Google glog is a library that implements application-level @@ -23,8 +23,7 @@ developing applications that use %{name}. %autosetup %build -autoconf -%configure --disable-static +%cmake -DCMAKE_INSTALL_LIBDIR:PATH=%{_lib} %make_build %install @@ -34,16 +33,19 @@ rm -rf $RPM_BUILD_ROOT/%{_docdir}/%{name}-%{version} %ldconfig_scriptlets %files -%doc ChangeLog COPYING README +%doc ChangeLog COPYING README.rst %{_libdir}/libglog.so.* %files devel -%doc doc/designstyle.css doc/glog.html %{_libdir}/libglog.so %{_libdir}/pkgconfig/libglog.pc %dir %{_includedir}/glog %{_includedir}/glog/* +%{_libdir}/cmake/glog %changelog +* Fri May 5 2023 liyanan - 0.6.0-1 +- update to 0.6.0 + * Wed Sep 2 2020 huangyangke - 0.3.5-1 - package init