]> git.pld-linux.org Git - packages/valgrind.git/blame - valgrind.spec
- added -glibc28.patch
[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 4Version: 3.3.0
929296fe 5Release: 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
929296fe 11Patch1: %{name}-glibc28.patch
e0752a56 12URL: http://valgrind.org/
cccdc142
JK
13BuildRequires: autoconf
14BuildRequires: automake
c3075ce6
JB
15# Needs libc.a
16BuildRequires: glibc-static
11f54799 17Obsoletes: valgrind-callgrind
18Obsoletes: valgrind-calltree
69f988a5 19ExclusiveArch: %{ix86} %{x8664} ppc ppc64
cccdc142
JK
20BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
21
9fd66024 22%define _noautostrip .*/vgpreload.*\\.so
79e9a7b2
ER
23# ld portion broken
24%undefine with_ccache
a803692b 25
cccdc142 26%description
9fd66024 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.
cccdc142 32
f86a5f7e
JR
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ć.
a3b1e5f5 40
cccdc142 41%prep
93912030 42%setup -q
a75fc68f 43%patch0 -p1
929296fe 44%patch1 -p1
68bd9ee3
AM
45
46sed -i -e 's:^CFLAGS="-Wno-long-long":CFLAGS="$CFLAGS -Wno-long-long":' configure.in
1437dfea 47
cccdc142 48%build
c594fc71 49%{__aclocal}
1437dfea 50%{__autoheader}
cccdc142
JK
51%{__autoconf}
52%{__automake}
9eb4ec2b 53%configure \
68bd9ee3
AM
54%if %{_lib} != "lib"
55 --enable-only64bit \
56%endif
9eb4ec2b 57 LDFLAGS="" # no strip!
cccdc142
JK
58%{__make}
59
60%install
61rm -rf $RPM_BUILD_ROOT
62
a273c144
JB
63%{__make} install \
64 DESTDIR=$RPM_BUILD_ROOT
cccdc142 65
79e9a7b2
ER
66rm -rf _docs
67mv $RPM_BUILD_ROOT%{_docdir}/valgrind _docs
f1c36ddf 68
cccdc142
JK
69%clean
70rm -rf $RPM_BUILD_ROOT
71
72%files
73%defattr(644,root,root,755)
b4447ca3 74%doc ACKNOWLEDGEMENTS AUTHORS FAQ.txt NEWS README README_MISSING_SYSCALL_OR_IOCTL
79e9a7b2
ER
75%doc _docs/html
76%doc _docs/valgrind_manual.pdf
cccdc142 77%attr(755,root,root) %{_bindir}/*
f1c36ddf 78%dir %{_libdir}/%{name}
9fd66024 79%dir %{_libdir}/%{name}/*-linux
80%attr(755,root,root) %{_libdir}/%{name}/*-linux/*
f1c36ddf 81%{_libdir}/%{name}/*.supp
802cf4bc
JB
82%{_includedir}/*
83%{_pkgconfigdir}/*.pc
e0752a56 84%{_mandir}/man1/*.1*
This page took 0.076036 seconds and 4 git commands to generate.