]> git.pld-linux.org Git - packages/valgrind.git/blobdiff - valgrind.spec
- cvs snap 20030329
[packages/valgrind.git] / valgrind.spec
index 402a02040b7d4b362f68eced2b875b12f2fe5d15..cd6673711987262d2dcc4d027e4b3d13e767c6ea 100644 (file)
@@ -1,12 +1,14 @@
+%define                snap    20030329
 Summary:       An open-source memory debugger for x86-GNU/Linux
 Summary(pl):   Otwarty odpluskwiacz pamiêci dla Linuksa x86
 Name:          valgrind
-Version:       1.0.0
-Release:       2
+Version:       1.9.4
+Release:       1.%{snap}.1
 License:       GPL
 ExclusiveArch: %{ix86}
 Group:         Networking/Utilities
-Source0:       http://developer.kde.org/~sewardj/%{name}-%{version}.tar.bz2
+#Source0:      http://developer.kde.org/~sewardj/%{name}-%{version}.tar.bz2
+Source0:       %{name}-%{snap}.tar.bz2
 URL:           http://developer.kde.org/~sewardj/
 BuildRequires: autoconf
 BuildRequires: automake
@@ -15,6 +17,9 @@ 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
+
 %description
 Valgrind is a GPL'd tool to help you find memory-management problems
 in your programs. When a program is run under Valgrind's supervision,
@@ -50,11 +55,15 @@ mo
 - Niektóre nadu¿ycia API POSIX pthreads
 
 %prep
-%setup -q
+%setup -q -n %{name}
+
+# pthread_atfork() not found (?)
+echo "main(){}" > corecheck/tests/pth_atfork1.c
 
 %build
 rm -f missing
-aclocal
+%{__aclocal}
+%{__autoheader}
 %{__autoconf}
 %{__automake}
 %configure \
@@ -73,7 +82,7 @@ rm -rf $RPM_BUILD_ROOT
 %defattr(644,root,root,755)
 %doc ACKNOWLEDGEMENTS AUTHORS ChangeLog PATCHES_APPLIED
 %doc README README_MISSING_SYSCALL_OR_IOCTL TODO
-%doc docs/*.html
+%doc $RPM_BUILD_ROOT%{_docdir}/valgrind/*.html
 %attr(755,root,root) %{_bindir}/*
 %{_includedir}/*
 %{_libdir}/%{name}
This page took 0.08143 seconds and 4 git commands to generate.