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