Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
home:redwil:15.4
ElectricFence
ElectricFence.spec
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File ElectricFence.spec of Package ElectricFence
# # spec file for package ElectricFence # # Copyright (c) 2017 SUSE LINUX GmbH, Nuernberg, Germany. # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed # upon. The license for this file, and modifications and additions to the # file, is the same license as for the pristine package itself (unless the # license for the pristine package is not an Open Source License, in which # case the license is the MIT License). An "Open Source License" is a # license that conforms to the Open Source Definition (Version 1.9) # published by the Open Source Initiative. # Please submit bugfixes or comments via http://bugs.opensuse.org/ # Name: ElectricFence Version: 2.2.2 Release: 0 Summary: Malloc Debugger License: LGPL-2.1+ Group: Development/Tools/Debuggers Url: http://perens.com/FreeSoftware Source: %{name}-%{version}.tar.bz2 Patch0: %{name}-%{version}.diff Patch1: %{name}-%{version}-alignment.diff Patch2: %{name}-%{version}-pthread.diff Patch3: %{name}-%{version}-mmap.diff Patch4: %{name}-strerror.diff Provides: efence Obsoletes: efence BuildRoot: %{_tmppath}/%{name}-%{version}-build %description Tool for debugging your C programs (malloc debugger). %prep %setup -q %patch0 %patch1 %patch2 %patch3 %patch4 -p1 %build echo -e "#!/bin/bash\n`which %__cc` \"\$@\"" >gcc chmod 755 gcc export PATH=`pwd`:$PATH # We need to use -fno-builtins, otherwise gcc may generate an infinite loop make CC="gcc" CFLAGS="%{optflags} -fno-builtin -g -DUSE_SEMAPHORE -fPIC" %{?_smp_mflags} %install install -D -d -m755 %{buildroot}%{_bindir} install -D -d -m755 %{buildroot}%{_libdir} install -D -d -m755 %{buildroot}%{_mandir}/man3 make BIN_INSTALL_DIR=%{buildroot}%{_bindir} \ LIB_INSTALL_DIR=%{buildroot}%{_libdir} \ MAN_INSTALL_DIR=%{buildroot}%{_mandir}/man3 \ install %post -p /sbin/ldconfig %postun -p /sbin/ldconfig %files %defattr(-,root,root) %doc README CHANGES COPYING %{_mandir}/man?/* %{_libdir}/lib* %{_bindir}/* %changelog
Locations
Projects
Search
Status Monitor
Help
OpenBuildService.org
Documentation
API Documentation
Code of Conduct
Contact
Support
@OBShq
Terms
openSUSE Build Service is sponsored by
The Open Build Service is an
openSUSE project
.
Sign Up
Log In
Places
Places
All Projects
Status Monitor