- BR+R gflags-devel (used by default)
Summary: A C++ application logging library
Summary: A C++ application logging library
+Summary(pl.UTF-8): Biblioteka do logowania dla aplikacji w C++
Name: glog
Version: 0.3.3
Release: 1
License: BSD
Group: Libraries
Name: glog
Version: 0.3.3
Release: 1
License: BSD
Group: Libraries
+#Source0Download: http://code.google.com/p/google-glog/downloads/list
Source0: http://google-glog.googlecode.com/files/%{name}-%{version}.tar.gz
# Source0-md5: a6fd2c22f8996846e34c763422717c18
URL: http://code.google.com/p/google-glog
Source0: http://google-glog.googlecode.com/files/%{name}-%{version}.tar.gz
# Source0-md5: a6fd2c22f8996846e34c763422717c18
URL: http://code.google.com/p/google-glog
+BuildRequires: autoconf >= 2.57
+BuildRequires: automake
+BuildRequires: gflags-devel
BuildRequires: libstdc++-devel
BuildRequires: libstdc++-devel
+BuildRequires: libtool >= 2:1.5
+BuildRequires: libunwind-devel
BuildRequires: pkgconfig
BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
BuildRequires: pkgconfig
BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
This library provides logging APIs based on C++-style streams and
various helper macros.
This library provides logging APIs based on C++-style streams and
various helper macros.
+%description -l pl.UTF-8
+Google glog to biblioteka implementująca logowanie na poziomie
+aplikacji. Zapewnia API do logowania oparte na strumieniach w stylu
+C++ oraz różne makra pomocnicze
+
-Summary: Development files for %{name}
+Summary: Development files for glog library
+Summary(pl.UTF-8): Pliki programistyczne biblioteki glog
Group: Development/Libraries
Requires: %{name} = %{version}-%{release}
Group: Development/Libraries
Requires: %{name} = %{version}-%{release}
+Requires: gflags-devel
+Requires: libstdc++-devel
-The %{name}-devel package contains libraries and header files for
-developing applications that use %{name}.
+This package contains the header files for developing applications
+that use glog library.
+
+%description devel -l pl.UTF-8
+Ten pakiet zawiera pliki nagłówkowe do tworzenia aplikacji
+wykorzystujących bibliotekę glog.
+
+%package static
+Summary: Static glog library
+Summary(pl.UTF-8): Statyczna biblioteka glog
+Group: Development/Libraries
+Requires: %{name}-devel = %{version}-%{release}
+
+%description static
+Static glog library.
+
+%description static -l pl.UTF-8
+Statyczna biblioteka glog.
+%{__libtoolize}
+%{__aclocal} -I m4
-%configure \
- --disable-static
+%{__autoheader}
+%{__automake}
+%configure
%files
%defattr(644,root,root,755)
%files
%defattr(644,root,root,755)
-%doc ChangeLog COPYING README
+%doc AUTHORS COPYING ChangeLog README
%attr(755,root,root) %{_libdir}/libglog.so.*.*.*
%attr(755,root,root) %{_libdir}/libglog.so.*.*.*
-%ghost %{_libdir}/libglog.so.0
+%attr(755,root,root) %ghost %{_libdir}/libglog.so.0
%files devel
%defattr(644,root,root,755)
%doc doc/designstyle.css doc/glog.html
%files devel
%defattr(644,root,root,755)
%doc doc/designstyle.css doc/glog.html
+%attr(755,root,root) %{_libdir}/libglog.so
+%{_includedir}/glog
%{_pkgconfigdir}/libglog.pc
%{_pkgconfigdir}/libglog.pc
-%dir %{_includedir}/glog
-%{_includedir}/glog/*
+
+%files static
+%defattr(644,root,root,755)
+%{_libdir}/libglog.a