]> git.pld-linux.org Git - packages/ElectricFence.git/blob - ElectricFence.spec
- added %%ghost lib*.so.0 (they're created by ldconfig)
[packages/ElectricFence.git] / ElectricFence.spec
1 Summary:        A debugger which detects memory allocation violations
2 Summary(cs):    Nástroj pro odhalování chyb pøi alokaci dynamické pamìti
3 Summary(da):    En afluser som finder problemer ved hukommelsesallokering
4 Summary(de):    Debugger zum Erkennen von Speicherzugriffsverletzungen
5 Summary(es):    Electric Fence biblioteca de depuración de memoria en C
6 Summary(fr):    Bibliothèque C de débuggage mémoire Electric Fence
7 Summary(id):    Debugger untuk menditeksi memory allocation violations
8 Summary(is):    Aflúsunartól sem finnur villur í minnismeðhöndlun
9 Summary(it):    Debugger che rileva le violazioni dell'allocazione di memoria
10 Summary(ja):    ¥á¥â¥ê³ä¤êÅö¤Æ¤Î¿¯Î¬¤ò¸¡½Ð¤¹¤ë¥Ç¥Ð¥Ã¥¬
11 Summary(no):    Et avlusingsprogram som finner overtramp ved minneallokering
12 Summary(pl):    Biblioteka do wykrywania b³êdów alokacji pamiêci
13 Summary(pt):    Um depurador que detecta violações à memória alocada
14 Summary(pt_BR): Electric Fence biblioteca de depuração de memória em C
15 Summary(ru):    ïÔÌÁÄÞÉË, ×ÙÑ×ÌÑÀÝÉÊ ÏÛÉÂËÉ × ÒÁÓÐÒÅÄÅÌÅÎÉÉ ÐÁÍÑÔÉ
16 Summary(sk):    Debugger pre vyhµadávanie chybných prístupov k alokovanej pamäti
17 Summary(sl):    Razhro¹èevalnik, ki najde prekoraèitve dodeljenega pomnilnika
18 Summary(sv):    Ett avlusningsprogram som upptäcker minnesallokeringsfel
19 Summary(tr):    C için bellek hatasý ayýklama kitaplýðý
20 Summary(zh_CN): Ò»ÖÖµ÷ÊÔÆ÷ÓÃÓÚ¼ì²âÄÚ´æ·ÖÅä´íÎó
21 Name:           ElectricFence
22 Version:        2.2.2
23 Release:        13
24 License:        GPL
25 Group:          Development/Debuggers
26 Source0:        ftp://ftp.perens.com/pub/ElectricFence/Beta/%{name}-%{version}.tar.gz
27 Patch0:         %{name}-longjmp.patch
28 Patch1:         %{name}-no_bash.spec
29 Patch2:         %{name}-va_arg.patch
30 Patch3:         %{name}-ac_am.patch
31 BuildRequires:  autoconf
32 BuildRequires:  automake
33 BuildRequires:  libtool
34 BuildRoot:      %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
35 Obsoletes:      libefence0
36
37 %description
38 If you know what malloc() violations are, you'll be interested in
39 ElectricFence. ElectricFence is a tool which can be used for C
40 programming and debugging. It uses the virtual memory hardware of your
41 system to detect when software overruns malloc() buffer boundaries,
42 and/or to detect any accesses of memory released by free().
43 ElectricFence will then stop the program on the first instruction that
44 caused a bounds violation and you can use your favorite debugger to
45 display the offending statement.
46
47 %description -l de
48 Wenn Sie wissen, was malloc()-Verletzungen sind, sind Sie
49 wahrscheinlich an ElectricFence interessiert. ElectricFence ist ein
50 Tool, das zur C- Programmierung und zum Debugging benutzt werden kann.
51 Es benutzt virtuelle Speicherhardware, um zu erkennen, wenn Software
52 malloc()-Buffergrenzen übersteigt, und wenn Speicher mit free()
53 freigegeben wird. ElectricFence beendet das Programm bei der
54 Instruktion, die die Speicherverletzung ausgelöst hat, und Sie können
55 Ihren Lieblingsdebugger benutzen, um den Befehl anzuzeigen.
56
57 %description -l es
58 ElectricFence es una herramienta que puede usarse para programación y
59 depuración en lenguaje C. A través del uso del hardware de memoria
60 virtual del sistema, detecta accesos que sobrepasan los límites de la
61 memoria asignada con malloc(), o acceso a la memoria liberada por
62 free(). En esas situaciones, ElectricFence interrumpe la ejecución del
63 programa en la primera instrucción que causó la violación, y puede
64 usarse un debugger para verificar la causa del problema.
65
66 %description -l fr
67 Electric Fence est une bibliothéque utilisée pour la programmation en
68 C et le débogage. Vous pouvez la lier à la compilation et elle vous
69 avertira des problèmes éventuels de désallocation de mémoire, etc.
70
71 %description -l pl
72 Electric Fence jest bibliotek± pomocn± podczas programowania w jêzyku
73 C i "odpluskwiania". Pakiet zawiera bibliotekê wspó³dzielon±, która
74 mo¿e byæ za³adowana przez zmienn± LD_PRELOAD w trakcie uruchamiania
75 dowolnego programu dziêki temu nie potrzeba linkowaæ z t± bibliotek±
76 ¶ledzonego programu. Pakiet zawiera tak¿e skrypt pow³oki ef, który
77 ³aduje do pamiêci przez LD_PRELOAD bibliotekê libefence i uruchamia
78 program przekazany do tego skryptu jako parametr.
79
80 %description -l pt_BR
81 ElectricFence é uma ferramenta que pode ser usada com programação e
82 depuracao em linguagem C. Através do uso do hardware de memoria
83 virtual do sistema, o ElectricFence detecta acessos além dos limites
84 da memória alocada com malloc(), ou acesso a memória liberada por
85 free(). Nessas situações, o ElectricFence interrompe a execução do
86 programa na primeira instrução que causou a violação, e um debugger
87 pode ser usado para verificar a causa do problema.
88
89 %description -l tr
90 Electric Fence, C'de programlama ve hata ayýklama için kullanýlabilen
91 bir kitaplýktýr. Derleme esnasýnda programýnýza baðlarsanýz, sizi
92 ortaya çýkabilecek sorunlar (var olmayan bir bellek parçasýnýn serbest
93 býrakýlmasý gibi) konusunda uyarýr.
94
95 %package static
96 Summary:        Static Electric Fence library
97 Summary(pl):    Biblioteka statyczna Electric Fence
98 Group:          Development/Debuggers
99 Obsoletes:      libefence0-devel
100
101 %description static
102 Static Electric Fence library.
103
104 %description -l pl static
105 Biblioteka statyczna Electric Fence.
106
107 %prep
108 %setup -q
109 %patch0 -p1
110 %patch1 -p1
111 %patch2 -p1
112 %patch3 -p1
113
114 %build
115 libtoolize --copy --force
116 aclocal
117 autoconf
118 automake -a -c -f
119 CFLAGS="%{rpmcflags} -DUSE_SEMAPHORE"
120 %configure
121 %{__make}
122
123 %install
124 rm -rf $RPM_BUILD_ROOT
125
126 %{__make} install \
127         DESTDIR=$RPM_BUILD_ROOT
128
129 gzip -9nf README NEWS
130
131 %post   -p /sbin/ldconfig
132 %postun -p /sbin/ldconfig
133
134 %clean
135 rm -rf $RPM_BUILD_ROOT
136
137 %files
138 %defattr(644,root,root,755)
139 %doc *gz
140 %attr(755,root,root) %{_bindir}/ef
141 %attr(755,root,root) %{_libdir}/lib*.so.*.*
142 %attr(755,root,root) %{_libdir}/lib*.so
143 %ghost %{_libdir}/libefence.so.0
144 %{_mandir}/man3/*
145
146 %files static
147 %defattr(644,root,root,755)
148 %{_libdir}/lib*.a
This page took 0.053752 seconds and 3 git commands to generate.