|
@@ -1,19 +1,29 @@
|
|
-%define eu_version 0.157
|
|
|
|
|
|
+%define eu_version 0.161
|
|
%define eu_release 1
|
|
%define eu_release 1
|
|
|
|
|
|
%global nocheck true
|
|
%global nocheck true
|
|
|
|
|
|
Summary: A collection of utilities and DSOs to handle compiled objects
|
|
Summary: A collection of utilities and DSOs to handle compiled objects
|
|
|
|
+Summary(ja): コンパイル済みオブジェクトを扱うためのユーティリティ集
|
|
Name: elfutils
|
|
Name: elfutils
|
|
Version: %{eu_version}
|
|
Version: %{eu_version}
|
|
Release: %{eu_release}%{?_dist_release}
|
|
Release: %{eu_release}%{?_dist_release}
|
|
-License: GPLv2 with exceptions
|
|
|
|
|
|
+
|
|
|
|
+License: GPLv3+ and (GPLv2+ or LGPLv3+)
|
|
Group: Development/Tools
|
|
Group: Development/Tools
|
|
URL: https://fedorahosted.org/elfutils/
|
|
URL: https://fedorahosted.org/elfutils/
|
|
|
|
+
|
|
Source: http://fedorahosted.org/releases/e/l/elfutils/%{name}-%{version}.tar.bz2
|
|
Source: http://fedorahosted.org/releases/e/l/elfutils/%{name}-%{version}.tar.bz2
|
|
|
|
|
|
-Patch1: elfutils-robustify.patch
|
|
|
|
-Patch2: elfutils-portability.patch
|
|
|
|
|
|
+#Patch1: elfutils-robustify.patch
|
|
|
|
+#Patch2: elfutils-portability.patch
|
|
|
|
+Patch1: elfutils-portability-%{version}.patch
|
|
|
|
+
|
|
|
|
+Patch2: elfutils-0.161-ar-long-name.patch
|
|
|
|
+# libdw: fix offset for sig8 lookup in dwarf_formref_die
|
|
|
|
+Patch3: elfutils-0.161-formref-type.patch
|
|
|
|
+# rhbz#1189928 - Consider sh_addralign 0 as 1
|
|
|
|
+Patch4: elfutils-0.161-addralign.patch
|
|
|
|
|
|
##VINE##
|
|
##VINE##
|
|
Patch10: elfutils-0.131-readelf_c.patch
|
|
Patch10: elfutils-0.131-readelf_c.patch
|
|
@@ -21,7 +31,7 @@ Patch10: elfutils-0.131-readelf_c.patch
|
|
Requires: elfutils-libelf-%{_arch} = %{version}-%{release}
|
|
Requires: elfutils-libelf-%{_arch} = %{version}-%{release}
|
|
Requires: elfutils-libs-%{_arch} = %{version}-%{release}
|
|
Requires: elfutils-libs-%{_arch} = %{version}-%{release}
|
|
|
|
|
|
-BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
|
|
|
|
|
|
+BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root
|
|
BuildRequires: bison >= 1.875
|
|
BuildRequires: bison >= 1.875
|
|
BuildRequires: flex >= 2.5.4a
|
|
BuildRequires: flex >= 2.5.4a
|
|
BuildRequires: bzip2
|
|
BuildRequires: bzip2
|
|
@@ -47,6 +57,8 @@ symbols), readelf (to see the raw ELF file structures), and elflint
|
|
|
|
|
|
%package libs
|
|
%package libs
|
|
Summary: Libraries to handle compiled objects
|
|
Summary: Libraries to handle compiled objects
|
|
|
|
+Summary(ja): コンパイル済オブジェクトを扱うためのライブラリ
|
|
|
|
+License: GPLv2+ or LGPLv3+
|
|
Group: System Environment/Libraries
|
|
Group: System Environment/Libraries
|
|
Provides: elfutils-libs-%{_arch} = %{version}-%{release}
|
|
Provides: elfutils-libs-%{_arch} = %{version}-%{release}
|
|
Requires: elfutils-libelf-%{_arch} = %{version}-%{release}
|
|
Requires: elfutils-libelf-%{_arch} = %{version}-%{release}
|
|
@@ -64,6 +76,8 @@ other programs using these libraries.
|
|
|
|
|
|
%package devel
|
|
%package devel
|
|
Summary: Development libraries to handle compiled objects
|
|
Summary: Development libraries to handle compiled objects
|
|
|
|
+Summary(ja): コンパイル済オブジェクトを扱うための開発用ライブラリ
|
|
|
|
+License: GPLv2+ or LGPLv3+
|
|
Group: Development/Libraries
|
|
Group: Development/Libraries
|
|
Provides: elfutils-devel-%{_arch} = %{version}-%{release}
|
|
Provides: elfutils-devel-%{_arch} = %{version}-%{release}
|
|
Requires: elfutils-libs-%{_arch} = %{version}-%{release}
|
|
Requires: elfutils-libs-%{_arch} = %{version}-%{release}
|
|
@@ -81,6 +95,8 @@ assembler interface.
|
|
|
|
|
|
%package devel-static
|
|
%package devel-static
|
|
Summary: Static archives to handle compiled objects
|
|
Summary: Static archives to handle compiled objects
|
|
|
|
+Summary(ja): コンパイル済オブジェクトを扱うための静的ライブラリ
|
|
|
|
+License: GPLv2+ or LGPLv3+
|
|
Group: Development/Libraries
|
|
Group: Development/Libraries
|
|
Provides: elfutils-devel-static-%{_arch} = %{version}-%{release}
|
|
Provides: elfutils-devel-static-%{_arch} = %{version}-%{release}
|
|
Requires: elfutils-devel-%{_arch} = %{version}-%{release}
|
|
Requires: elfutils-devel-%{_arch} = %{version}-%{release}
|
|
@@ -95,6 +111,8 @@ with the code to handle compiled objects.
|
|
|
|
|
|
%package libelf
|
|
%package libelf
|
|
Summary: Library to read and write ELF files
|
|
Summary: Library to read and write ELF files
|
|
|
|
+Summary(ja): ELF ファイルを読み書きするためのライブラリ
|
|
|
|
+License: GPLv2+ or LGPLv3+
|
|
Group: System Environment/Libraries
|
|
Group: System Environment/Libraries
|
|
Provides: libelf = %{version}-%{release}
|
|
Provides: libelf = %{version}-%{release}
|
|
Obsoletes: libelf <= 0.8.2-2
|
|
Obsoletes: libelf <= 0.8.2-2
|
|
@@ -115,6 +133,8 @@ elfutils package use it also to generate new ELF files.
|
|
|
|
|
|
%package libelf-devel
|
|
%package libelf-devel
|
|
Summary: Development support for libelf
|
|
Summary: Development support for libelf
|
|
|
|
+Summary(ja): libelf の開発用ライブラリ
|
|
|
|
+License: GPLv2+ or LGPLv3+
|
|
Group: Development/Libraries
|
|
Group: Development/Libraries
|
|
Provides: libelf-devel = %{version}-%{release}
|
|
Provides: libelf-devel = %{version}-%{release}
|
|
Obsoletes: libelf-devel <= 0.8.2-2
|
|
Obsoletes: libelf-devel <= 0.8.2-2
|
|
@@ -131,6 +151,8 @@ different sections of an ELF file.
|
|
|
|
|
|
%package libelf-devel-static
|
|
%package libelf-devel-static
|
|
Summary: Static archive of libelf
|
|
Summary: Static archive of libelf
|
|
|
|
+Summary(ja): libelf の静的ライブラリ
|
|
|
|
+License: GPLv2+ or LGPLv3+
|
|
Group: Development/Libraries
|
|
Group: Development/Libraries
|
|
Provides: elfutils-libelf-devel-static-%{_arch} = %{version}-%{release}
|
|
Provides: elfutils-libelf-devel-static-%{_arch} = %{version}-%{release}
|
|
Requires: elfutils-libelf-devel-%{_arch} = %{version}-%{release}
|
|
Requires: elfutils-libelf-devel-%{_arch} = %{version}-%{release}
|
|
@@ -142,8 +164,12 @@ for libelf.
|
|
|
|
|
|
%prep
|
|
%prep
|
|
%setup -q
|
|
%setup -q
|
|
-%patch1 -p1 -b .robustify
|
|
|
|
-%patch2 -p1 -b .portability
|
|
|
|
|
|
+#patch1 -p1 -b .robustify
|
|
|
|
+%patch1 -p1 -b .portability
|
|
|
|
+
|
|
|
|
+%patch2 -p1 -b .ar_long_name
|
|
|
|
+%patch3 -p1 -b .formref_type
|
|
|
|
+%patch4 -p1 -b .addralign
|
|
|
|
|
|
%patch10 -p0 -b .readelf_c
|
|
%patch10 -p0 -b .readelf_c
|
|
|
|
|
|
@@ -156,7 +182,7 @@ find . -name \*.sh ! -perm -0100 -print | xargs chmod +x
|
|
# the makefiles disable some specific warnings for specific code.
|
|
# the makefiles disable some specific warnings for specific code.
|
|
RPM_OPT_FLAGS=${RPM_OPT_FLAGS/-Wall/}
|
|
RPM_OPT_FLAGS=${RPM_OPT_FLAGS/-Wall/}
|
|
|
|
|
|
-%configure --enable-dwz CFLAGS="$RPM_OPT_FLAGS -fexceptions"
|
|
|
|
|
|
+%configure CFLAGS="$RPM_OPT_FLAGS -fexceptions"
|
|
make -s %{?_smp_mflags}
|
|
make -s %{?_smp_mflags}
|
|
|
|
|
|
|
|
|
|
@@ -206,6 +232,7 @@ rm -rf ${RPM_BUILD_ROOT}
|
|
%{_bindir}/eu-ranlib
|
|
%{_bindir}/eu-ranlib
|
|
%{_bindir}/eu-readelf
|
|
%{_bindir}/eu-readelf
|
|
%{_bindir}/eu-size
|
|
%{_bindir}/eu-size
|
|
|
|
+%{_bindir}/eu-stack
|
|
%{_bindir}/eu-strings
|
|
%{_bindir}/eu-strings
|
|
%{_bindir}/eu-strip
|
|
%{_bindir}/eu-strip
|
|
#%{_bindir}/eu-ld
|
|
#%{_bindir}/eu-ld
|
|
@@ -231,6 +258,7 @@ rm -rf ${RPM_BUILD_ROOT}
|
|
%{_includedir}/elfutils/libasm.h
|
|
%{_includedir}/elfutils/libasm.h
|
|
%{_includedir}/elfutils/libebl.h
|
|
%{_includedir}/elfutils/libebl.h
|
|
%{_includedir}/elfutils/libdw.h
|
|
%{_includedir}/elfutils/libdw.h
|
|
|
|
+%{_includedir}/elfutils/libdwelf.h
|
|
%{_includedir}/elfutils/libdwfl.h
|
|
%{_includedir}/elfutils/libdwfl.h
|
|
%{_includedir}/elfutils/version.h
|
|
%{_includedir}/elfutils/version.h
|
|
%{_libdir}/libebl.a
|
|
%{_libdir}/libebl.a
|
|
@@ -264,6 +292,10 @@ rm -rf ${RPM_BUILD_ROOT}
|
|
|
|
|
|
|
|
|
|
%changelog
|
|
%changelog
|
|
|
|
+* Fri Feb 20 2015 Ryoichi INAGAKI <ryo1@toki.waseda.jp> 0.161-1
|
|
|
|
+- update to 0.161
|
|
|
|
+- added Japanese summary
|
|
|
|
+
|
|
* Mon Oct 28 2013 Daisuke SUZUKI <daisuke@linux.or.jp> 0.157-1
|
|
* Mon Oct 28 2013 Daisuke SUZUKI <daisuke@linux.or.jp> 0.157-1
|
|
- update to 0.157
|
|
- update to 0.157
|
|
|
|
|