]> git.pld-linux.org Git - packages/valgrind.git/blame_incremental - valgrind.spec
- spaces to tabs
[packages/valgrind.git] / valgrind.spec
... / ...
CommitLineData
1Summary: An open-source memory debugger
2Summary(pl.UTF-8): Otwarty odpluskwiacz pamięci
3Name: valgrind
4Version: 3.2.3
5Release: 3
6License: GPL
7Group: Development/Tools
8Source0: http://valgrind.org/downloads/%{name}-%{version}.tar.bz2
9# Source0-md5: 978847992b136c8d8cb5c6559a91df1c
10Patch0: %{name}-debuginfo.patch
11Patch1: %{name}-glibc2.6.patch
12URL: http://valgrind.org/
13BuildRequires: autoconf
14BuildRequires: automake
15# Needs libc.a
16BuildRequires: glibc-static
17Obsoletes: valgrind-callgrind
18Obsoletes: valgrind-calltree
19ExclusiveArch: %{ix86} %{x8664} ppc ppc64
20BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
21
22%define _noautostrip .*/vgpreload.*\\.so
23# ld portion broken
24%undefine with_ccache
25
26%description
27Valgrind is a GPL'd system for debugging and profiling Linux programs.
28With the tools that come with Valgrind, you can automatically detect
29many memory management and threading bugs, avoiding hours of frustrating
30bug-hunting, making your programs more stable. You can also perform
31detailed profiling to help speed up your programs.
32
33%description -l pl.UTF-8
34Valgrind jest systemem służącym do odpluskwiania i profilowania
35programów na Linuksie. Używając dostarczanych z nim narzędzi można
36automatycznie wykrywać wiele błędów związanych z zarządzaniem pamięcią i
37wątkowaniem, dzięki czemu unika się frustrującego polowania na błędy, a
38także czyni się programy bardziej stabilnymi. Możliwe jest również
39dokładne profilowanie, dzięki któremu programy zaczną szybciej pracować.
40
41%prep
42%setup -q
43%patch0 -p1
44%patch1 -p1
45
46%build
47%{__aclocal}
48%{__autoheader}
49%{__autoconf}
50%{__automake}
51%configure \
52 LDFLAGS="" # no strip!
53%{__make}
54
55%install
56rm -rf $RPM_BUILD_ROOT
57
58%{__make} install \
59 DESTDIR=$RPM_BUILD_ROOT
60
61strip $RPM_BUILD_ROOT%{_libdir}/%{name}/hp2ps
62rm -rf _docs
63mv $RPM_BUILD_ROOT%{_docdir}/valgrind _docs
64
65%clean
66rm -rf $RPM_BUILD_ROOT
67
68%files
69%defattr(644,root,root,755)
70%doc ACKNOWLEDGEMENTS AUTHORS FAQ.txt NEWS README README_MISSING_SYSCALL_OR_IOCTL
71%doc _docs/html
72%doc _docs/valgrind_manual.pdf
73%attr(755,root,root) %{_bindir}/*
74%dir %{_libdir}/%{name}
75%dir %{_libdir}/%{name}/*-linux
76%attr(755,root,root) %{_libdir}/%{name}/*-linux/*
77%attr(755,root,root) %{_libdir}/%{name}/hp2ps
78%{_libdir}/%{name}/*.supp
79%{_includedir}/*
80%{_pkgconfigdir}/*.pc
81%{_mandir}/man1/*.1*
This page took 0.039419 seconds and 4 git commands to generate.