summaryrefslogtreecommitdiff
path: root/libelf/libelf.spec
blob: d12ed0f12066e9c37998903eb557576888d4ef23 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
Summary: An ELF object file access shared library.
Name: libelf
Version: 0.8.2
Release: 0.1
Copyright: distributable
Group: System Environment/Libraries
#
# XXX Originally from
#	http://www.stud.uni-hannover.de/~michael/software/libelf-0.8.2.tar.gz
# Modified tarball from "make dist"
#	cvs -d :pserver:anonymous@cvs.rpm.org:/cvs/devel login
#	(no password, just carriage return)
#	cvs -d :pserver:anonymous@cvs.rpm.org:/cvs/devel get libelf
#
Source: libelf-0.8.2.tar.gz
BuildRoot: %{_tmppath}/%{name}-root

%description
The libelf package contains a shared library for accessing ELF object files.
You need to install it if you use any tools linked against it dynamically.

%package devel
Summary: An ELF object file access library.
Group: Development/Libraries
Requires: libelf = %{version}-%{release}

%description devel
The libelf-devel package contains a library for accessing ELF object
files. Libelf allows you to access the internals of the ELF object file
format, so you can see the different sections of an ELF file.

%prep
%setup -q

%build
%{__libtoolize} --copy --force
%configure --enable-shared
make

%install
%makeinstall

%files
%defattr(-,root,root)
%doc README
%{_prefix}/%{_lib}/libelf.so.*

%files devel
%defattr(-,root,root)
%{_prefix}/%{_lib}/libelf.so
%{_prefix}/%{_lib}/libelf.a
%{_prefix}/include/libelf

%changelog
* Mon Jun 24 2002 Jeff Johnson <jbj@redhat.com> 0.8.2-0.1
- update to 0.8.2
- re-swaddle in autotools wrappings.
- add splint annotations.

* Mon Jun 17 2002 Jakub Jelinek <jakub@redhat.com> 0.7.0-5
- build libelf shared and split into libelf and libelf-devel
  subpackages (#66184)
- don't override SHT_HASH's sh_entsize for 64-bit ELF,
  some platforms like Alpha use 64-bit hash entries

* Thu May 23 2002 Tim Powers <timp@redhat.com>
- automated rebuild

* Wed Jan 09 2002 Tim Powers <timp@redhat.com>
- automated rebuild

* Wed Sep 26 2001 Jakub Jelinek <jakub@redhat.com> 0.7.0-2
- fix Elf64_Sxword conversion

* Tue Jul  3 2001 Jakub Jelinek <jakub@redhat.com> 0.7.0-1
- update to 0.7.0 to support 64bit elf

* Sun Jun 24 2001 Elliot Lee <sopwith@redhat.com>
- Bump release + rebuild.

* Tue Jul 18 2000 Nalin Dahyabhai <nalin@redhat.com>
- add %%defattr (release 7)

* Thu Jul 13 2000 Prospector <bugzilla@redhat.com>
- automatic rebuild

* Sun Jun 18 2000 Matt Wilson <msw@redhat.com>
- rebuilt for next release
- don't build on ia64 (libelf don't grok 64bit elf)

* Sun Mar 21 1999 Cristian Gafton <gafton@redhat.com> 
- auto rebuild in the new build environment (release 4)

* Thu Jan 14 1999 Cristian Gafton <gafton@redhat.com>
- build for glibc 2.1

* Fri May 01 1998 Prospector System <bugs@redhat.com>
- translations modified for de, fr, tr

* Fri Oct 31 1997 Michael K. Johnson <johnsonm@redhat.com>
- upgraded to 0.6.4
- buildroot