File dwarftools.spec of Package dwarftools
#
# spec file for package dwarftools (Version 4.1.2)
#
# Copyright (c) 2007 SUSE LINUX Products GmbH, Nuernberg, Germany.
# This file and all modifications and additions to the pristine
# package are under the same license as the package itself.
#
# Please submit bugfixes or comments via http://bugs.opensuse.org/
#
# norootforbuild
Name: dwarftools
Summary: The DWARF Tools Collection
Version: 0.1
Release: 0
License: LGPL v2.1 or later
Group: Development/Libraries/C and C++
BuildRequires: libelf-devel libbeecrypt-devel popt-devel
AutoReqProv: on
Source: %{name}-%{version}.tar.gz
BuildRoot: %{_tmppath}/%{name}-%{version}-build
%description
Fill this with some sense.
Authors:
--------
Jan Blunck <jblunck@suse.de>
%prep
%setup -q
%build
#%suse_update_config
#./autogen.sh
CFLAGS="$RPM_OPT_FLAGS -fno-strict-aliasing -ffunction-sections" LDFLAGS="-Wl,-Bsymbolic-functions -ffunction-sections" ./configure --prefix=%{_prefix} --mandir=%{_mandir} --infodir=%{_infodir} --libdir=/usr/lib --sysconfdir=/etc --localstatedir=/var
make %{?jobs:-j%jobs}
%install
rm -rf $RPM_BUILD_ROOT
mkdir $RPM_BUILD_ROOT
make DESTDIR="$RPM_BUILD_ROOT" install
%clean
rm -rf $RPM_BUILD_ROOT
%files
%defattr(-,root,root)
#%doc AUTHORS BUGS CONTRIBUTORS ChangeLog COPYING COPYING.LIB NEWS README
%{_bindir}/debugedit
%changelog