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