SPECS: google-perftools.spec (NEW) - initial version
lkrotowski
lkrotowski at pld-linux.org
Mon Aug 11 23:37:46 CEST 2008
Author: lkrotowski Date: Mon Aug 11 21:37:46 2008 GMT
Module: SPECS Tag: HEAD
---- Log message:
- initial version
---- Files affected:
SPECS:
google-perftools.spec (NONE -> 1.1) (NEW)
---- Diffs:
================================================================
Index: SPECS/google-perftools.spec
diff -u /dev/null SPECS/google-perftools.spec:1.1
--- /dev/null Mon Aug 11 23:37:46 2008
+++ SPECS/google-perftools.spec Mon Aug 11 23:37:41 2008
@@ -0,0 +1,93 @@
+# $Revision$, $Date$
+#
+Summary: Fast, multi-threaded malloc and performance analysis tools
+Name: google-perftools
+Version: 0.98
+Release: 1
+License: BSD
+Group: Libraries
+Source0: http://google-perftools.googlecode.com/files/%{name}-%{version}.tar.gz
+# Source0-md5: be6d283bb6177f1febaefd3570f3366d
+URL: http://code.google.com/p/google-perftools/
+BuildRequires: autoconf
+BuildRequires: automake
+BuildRequires: libtool
+%ifarch %{x8664}
+BuildRequires: libunwind >= 0.98.6
+%endif
+BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
+
+%description
+Perf Tools is a collection of a high-performance multi-threaded
+malloc() implementation, plus some pretty nifty performance analysis
+tools.
+
+%package devel
+Summary: Development files of perftools library
+Group: Development/Libraries
+Requires: %{name} = %{version}-%{release}
+Obsoletes: libao2-devel
+
+%description devel
+The google-perftools-devel package contains the header files and
+documentation needed to develop applications with google-perftools.
+
+%package static
+Summary: Static perftools library
+Group: Development/Libraries
+Requires: %{name}-devel = %{version}-%{release}
+
+%description static
+The google-perftools-static package contains the static libraries of
+google-perftools.
+
+%prep
+%setup -q
+
+%build
+%{__libtoolize}
+%{__aclocal} -I m4
+%{__autoconf}
+%{__automake}
+%configure
+%{__make}
+
+%install
+rm -rf $RPM_BUILD_ROOT
+
+%{__make} install \
+ DESTDIR=$RPM_BUILD_ROOT
+
+%clean
+rm -rf $RPM_BUILD_ROOT
+
+%post -p /sbin/ldconfig
+%postun -p /sbin/ldconfig
+
+%files
+%defattr(644,root,root,755)
+%doc AUTHORS COPYING ChangeLog INSTALL NEWS README TODO
+%doc doc/*{html,png,gif,txt}
+%attr(755,root,root) %{_bindir}/*
+%attr(755,root,root) %{_libdir}/*.so.*.*.*
+%{_mandir}/man1/*
+
+%files devel
+%defattr(644,root,root,755)
+%attr(755,root,root) %{_libdir}/*.so
+%{_libdir}/*.la
+%{_includedir}/google
+
+%files static
+%defattr(644,root,root,755)
+%{_libdir}/lib*.a
+
+%define date %(echo `LC_ALL="C" date +"%a %b %d %Y"`)
+%changelog
+* %{date} PLD Team <feedback at pld-linux.org>
+All persons listed below can be reached at <cvs_login>@pld-linux.org
+
+$Log$
+Revision 1.1 2008/08/11 21:37:41 lkrotowski
+- initial version
+
================================================================
More information about the pld-cvs-commit
mailing list