X-Git-Url: http://git.pld-linux.org/?p=packages%2Fvalgrind.git;a=blobdiff_plain;f=valgrind.spec;h=8b9df2d351018cae4deb641437189e183d25b29c;hp=273157d052528dd4113fa047bd6952add7543928;hb=1bba4923f93938b447ea3d34106f373eada3bfc2;hpb=939120309bc25df932f5e37bff7297d5a2f3f669 diff --git a/valgrind.spec b/valgrind.spec index 273157d..8b9df2d 100644 --- a/valgrind.spec +++ b/valgrind.spec @@ -1,43 +1,37 @@ -#%define _snap 20040612 -Summary: An open-source memory debugger for x86-GNU/Linux -Summary(pl): Otwarty odpluskwiacz pamiêci dla Linuksa x86 +Summary: An open-source memory debugger +Summary(pl): Otwarty odpluskwiacz pamiêci Name: valgrind -Version: 2.1.2 +Version: 3.1.1 Release: 1 License: GPL Group: Development/Tools -Source0: http://developer.kde.org/~sewardj/valgrind-%{version}.tar.bz2 -# Source0-md5: 585e3ac5f7b86d6cd3e2bed07af732de -URL: http://valgrind.kde.org/ -# Needs libc.a -BuildRequires: glibc-static +Source0: http://valgrind.org/downloads/%{name}-%{version}.tar.bz2 +# Source0-md5: 3bbfafedb59c19bf75977381ce2eb6d7 +URL: http://valgrind.org/ BuildRequires: autoconf BuildRequires: automake -ExclusiveArch: %{ix86} +# Needs libc.a +BuildRequires: glibc-static +Conflicts: valgrind-calltree +ExclusiveArch: %{ix86} ppc BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n) -# Valgrind binaries should _never_ be stripped -%define no_install_post_strip 1 - -# Same name as libpthread -%define _noautoprovfiles %{_libdir}/%{name}/libpthread.so.0 %{_libdir}/%{name}/libpthread.so %{_libdir}/%{name}/valgrind.so %{_libdir}/%{name}/valgrinq.so +%define _noautostrip .*/vgpreload.*\\.so %description -Valgrind is a GPL'd system for debugging and profiling x86-Linux -programs. With the tools that come with Valgrind, you can -automatically detect many memory management and threading bugs, -avoiding hours of frustrating bug-hunting, making your programs more -stable. You can also perform detailed profiling to help speed up your -programs. +Valgrind is a GPL'd system for debugging and profiling Linux programs. +With the tools that come with Valgrind, you can automatically detect +many memory management and threading bugs, avoiding hours of frustrating +bug-hunting, making your programs more stable. You can also perform +detailed profiling to help speed up your programs. %description -l pl Valgrind jest systemem s³u¿±cym do odpluskwiania i profilowania -programów na Linuksie uruchomionym na procesorach x86. U¿ywaj±c -dostarczanych z nim narzêdzi mo¿na automatycznie wykrywaæ wiele -b³êdów zwi±zanych z zarz±dzaniem pamiêci± i w±tkowaniem, dziêki -czemu unika siê frustruj±cego polowania na b³êdy, a tak¿e czyni -siê programy bardziej stabilnymi. Mo¿liwe jest równie¿ dok³adne -profilowanie, dziêki któremu programy zaczn± szybciej pracowaæ. +programów na Linuksie. U¿ywaj±c dostarczanych z nim narzêdzi mo¿na +automatycznie wykrywaæ wiele b³êdów zwi±zanych z zarz±dzaniem pamiêci± i +w±tkowaniem, dziêki czemu unika siê frustruj±cego polowania na b³êdy, a +tak¿e czyni siê programy bardziej stabilnymi. Mo¿liwe jest równie¿ +dok³adne profilowanie, dziêki któremu programy zaczn± szybciej pracowaæ. %prep %setup -q @@ -64,14 +58,15 @@ rm -rf $RPM_BUILD_ROOT %files %defattr(644,root,root,755) -%doc ACKNOWLEDGEMENTS AUTHORS FAQ.txt NEWS README README_MISSING_SYSCALL_OR_IOCTL TODO -%doc $RPM_BUILD_ROOT%{_docdir}/valgrind/*.html +%doc ACKNOWLEDGEMENTS AUTHORS FAQ.txt NEWS README README_MISSING_SYSCALL_OR_IOCTL +%doc $RPM_BUILD_ROOT%{_docdir}/valgrind/html +%doc $RPM_BUILD_ROOT%{_docdir}/valgrind/valgrind_manual.pdf %attr(755,root,root) %{_bindir}/* %dir %{_libdir}/%{name} -%attr(755,root,root) %{_libdir}/%{name}/*.so -%{_libdir}/%{name}/*.so.* +%dir %{_libdir}/%{name}/*-linux +%attr(755,root,root) %{_libdir}/%{name}/*-linux/* %attr(755,root,root) %{_libdir}/%{name}/hp2ps -%attr(755,root,root) %{_libdir}/%{name}/stage2 %{_libdir}/%{name}/*.supp %{_includedir}/* %{_pkgconfigdir}/*.pc +%{_mandir}/man1/*.1*