Summary(es): Electric Fence biblioteca de depuración de memoria en C
Summary(fr): Bibliothèque C de débuggage mémoire Electric Fence
Summary(pl): Biblioteka do wykrywania b³edów alokacji pamiêci
-Summary(pt_BR): Electric Fence biblioteca de depuração de memória em C
+Summary(pt_BR):Electric Fence biblioteca de depuração de memória em C
Summary(tr): C için bellek hatasý ayýklama kitaplýðý
Name: ElectricFence
Version: 2.2.2
Release: 3
-Copyright: GPL
+License: GPL
Group: Development/Debuggers
Group(pl): Programowanie/Odpluskwiacze
-Source: ftp://perens.com/pub/ElectricFence/Beta/%{name}-%{version}.tar.gz
+Source0: ftp://perens.com/pub/ElectricFence/Beta/%{name}-%{version}.tar.gz
Patch0: ElectricFence-longjmp.patch
Patch1: ElectricFence-no_bash.spec
BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
%description
If you know what malloc() violations are, you'll be interested in
-ElectricFence. ElectricFence is a tool which can be used for C programming
-and debugging. It uses the virtual memory hardware of your system to detect
-when software overruns malloc() buffer boundaries, and/or to detect any
-accesses of memory released by free(). ElectricFence will then stop the
-program on the first instruction that caused a bounds violation and you can
-use your favorite debugger to display the offending statement.
+ElectricFence. ElectricFence is a tool which can be used for C
+programming and debugging. It uses the virtual memory hardware of your
+system to detect when software overruns malloc() buffer boundaries,
+and/or to detect any accesses of memory released by free().
+ElectricFence will then stop the program on the first instruction that
+caused a bounds violation and you can use your favorite debugger to
+display the offending statement.
This package will install ElectricFence, which you can use if you're
searching for a debugger to find malloc() violations.
%description -l de
-Wenn Sie wissen, was malloc()-Verletzungen sind, sind Sie wahrscheinlich an
-ElectricFence interessiert. ElectricFence ist ein Tool, das zur C-
-Programmierung und zum Debugging benutzt werden kann. Es benutzt virtuelle
-Speicherhardware, um zu erkennen, wenn Software malloc()-Buffergrenzen
-übersteigt, und wenn Speicher mit free() freigegeben wird. ElectricFence
-beendet das Programm bei der Instruktion, die die Speicherverletzung
-ausgelöst hat, und Sie können Ihren Lieblingsdebugger benutzen, um den
-Befehl anzuzeigen.
+Wenn Sie wissen, was malloc()-Verletzungen sind, sind Sie
+wahrscheinlich an ElectricFence interessiert. ElectricFence ist ein
+Tool, das zur C- Programmierung und zum Debugging benutzt werden kann.
+Es benutzt virtuelle Speicherhardware, um zu erkennen, wenn Software
+malloc()-Buffergrenzen übersteigt, und wenn Speicher mit free()
+freigegeben wird. ElectricFence beendet das Programm bei der
+Instruktion, die die Speicherverletzung ausgelöst hat, und Sie können
+Ihren Lieblingsdebugger benutzen, um den Befehl anzuzeigen.
%description -l es
-Electric Fence es una biblioteca que puede ser usada para programación y
-depuración en C. Tu lo "linkas" en tiempo de compilación y te avisará sobre
-posibles problemas, como liberación de memoria no alocada, etc.
+Electric Fence es una biblioteca que puede ser usada para programación
+y depuración en C. Tu lo "linkas" en tiempo de compilación y te
+avisará sobre posibles problemas, como liberación de memoria no
+alocada, etc.
%description -l fr
-Electric Fence est une bibliothéque utilisée pour la programmation en C et
-le débogage. Vous pouvez la lier à la compilation et elle vous avertira des
-problèmes éventuels de désallocation de mémoire, etc.
+Electric Fence est une bibliothéque utilisée pour la programmation en
+C et le débogage. Vous pouvez la lier à la compilation et elle vous
+avertira des problèmes éventuels de désallocation de mémoire, etc.
%description -l pl
-Electric Fence jest bibliotek± pomocn± podczas programowania w
-jêzyku C i "odpluskwianiu".
-Pakiet zawiera bibliotekê wspó³dzielon±, która mo¿e byæ za³adowana przez
-zmienn± LD_PRELOAD w trakcie uruchamiania dowolnego programu dziêki temu nie
-potrzeba linkowaæ z t± bibliotek± ¶ledzonego programu. Pakiet zawiera tak¿e
-skrypt pow³oki ef, który ³aduje do pamiêci przez LD_PRELOAD bibliotekê
-libefence i uruchamia program przekazany do tego skryptu jako parametr.
+Electric Fence jest bibliotek± pomocn± podczas programowania w jêzyku
+C i "odpluskwianiu". Pakiet zawiera bibliotekê wspó³dzielon±, która
+mo¿e byæ za³adowana przez zmienn± LD_PRELOAD w trakcie uruchamiania
+dowolnego programu dziêki temu nie potrzeba linkowaæ z t± bibliotek±
+¶ledzonego programu. Pakiet zawiera tak¿e skrypt pow³oki ef, który
+³aduje do pamiêci przez LD_PRELOAD bibliotekê libefence i uruchamia
+program przekazany do tego skryptu jako parametr.
%description -l pt_BR
Electric Fence é uma biblioteca que pode ser usada para programação e
-depuração em C. Você o "linka" em tempo de compilação e ele o avisará sobre
-possíveis problemas como liberação de memória não alocada, etc.
+depuração em C. Você o "linka" em tempo de compilação e ele o avisará
+sobre possíveis problemas como liberação de memória não alocada, etc.
%description -l tr
-Electric Fence, C'de programlama ve hata ayýklama için kullanýlabilen bir
-kitaplýktýr. Derleme esnasýnda programýnýza baðlarsanýz, sizi ortaya
-çýkabilecek sorunlar (var olmayan bir bellek parçasýnýn serbest býrakýlmasý
-gibi) konusunda uyarýr.
+Electric Fence, C'de programlama ve hata ayýklama için kullanýlabilen
+bir kitaplýktýr. Derleme esnasýnda programýnýza baðlarsanýz, sizi
+ortaya çýkabilecek sorunlar (var olmayan bir bellek parçasýnýn serbest
+býrakýlmasý gibi) konusunda uyarýr.
%package static
Summary: Satatic Electric Fence library
%install
rm -rf $RPM_BUILD_ROOT
-mkdir -p $RPM_BUILD_ROOT/usr/{bin,lib,share/man/man3}
+install -d $RPM_BUILD_ROOT%{_prefix}/{bin,lib,share/man/man3}
make BIN_INSTALL_DIR=$RPM_BUILD_ROOT%{_bindir} \
LIB_INSTALL_DIR=$RPM_BUILD_ROOT%{_libdir} \