2 %define rel %{?CUSTOM_RELEASE} %{!?CUSTOM_RELEASE:%RELEASE}
6 Summary: A C++ application logging library
9 Group: Development/Libraries
10 URL: http://github.com/google/glog
13 Packager: Google Inc. <opensource@google.com>
14 Source: https://github.com/google/glog/archive/v%{VERSION}.tar.gz
15 Distribution: Redhat 7 and above.
16 Buildroot: %{_tmppath}/%{name}-root
20 The %name package contains a library that implements application-level
21 logging. This library provides logging APIs based on C++-style
22 streams and various helper macros.
25 Summary: A C++ application logging library
26 Group: Development/Libraries
27 Requires: %{NAME} = %{VERSION}
30 The %name-devel package contains static and debug libraries and header
31 files for developing applications that use the %name package.
34 * Wed Mar 26 2008 <opensource@google.com>
45 rm -rf $RPM_BUILD_ROOT
46 make prefix=$RPM_BUILD_ROOT%{prefix} install
49 rm -rf $RPM_BUILD_ROOT
54 ## Mark all installed files within /usr/share/doc/{package name} as
55 ## documentation. This depends on the following two lines appearing in
57 ## docdir = $(prefix)/share/doc/$(PACKAGE)-$(VERSION)
58 ## dist_doc_DATA = AUTHORS COPYING ChangeLog INSTALL NEWS README
59 %docdir %{prefix}/share/doc/%{NAME}-%{VERSION}
60 %{prefix}/share/doc/%{NAME}-%{VERSION}/*
62 %{prefix}/lib/libglog.so.0
63 %{prefix}/lib/libglog.so.0.0.0
68 %{prefix}/include/glog
69 %{prefix}/lib/libglog.a
70 %{prefix}/lib/libglog.la
71 %{prefix}/lib/libglog.so
72 %{prefix}/lib/pkgconfig/libglog.pc