]> git.pld-linux.org Git - packages/binutils.git/blob - binutils.spec
- updated to 2.9.1.0.15.
[packages/binutils.git] / binutils.spec
1 Summary:     GNU Binary Utility Development Utilities
2 Summary(de): GNU Binary Utility Development Utilities
3 Summary(fr): Utilitaires de développement binaire de GNU
4 Summary(pl): Narzêdzia GNU dla programistów
5 Summary(tr): GNU geliþtirme araçlarý
6 Name:        binutils
7 Version:     2.9.1.0.15
8 Release:     2
9 Copyright:   GPL
10 Group:       Development/Tools
11 Source:      ftp://tsx-11.mit.edu/pub/linux/packages/GCC/%{name}-%{version}.tar.gz
12 Patch0:      binutils-2.9.1-sparcsectionreloc.patch
13 Patch1:      binutils-2.9.1-emsparcv9.diff
14 Buildroot:   /tmp/%{name}-%{version}-root
15
16 %description
17 Binutils is a collection of utilities necessary for compiling programs. It
18 includes the assembler and linker, as well as a number of other
19 miscellaneous programs for dealing with executable formats.
20
21 %description -l pl
22 Pakiet binutils zawiera zestaw narzêdzi umo¿liwiaj±cych kompilacjê
23 programów. Zawiera on assembler, konsolidator (linker), a tak¿e inne narzêdzia
24 do manipulowania na binarnych plikach programów i bibliotek.
25
26 %package static
27 Summary:     GNU Binutils static libraries
28 Summary(pl): Biblioteki statyczne do GNU Binutils
29 Group:       Libraries
30
31 %description static
32 Static libraries for GNU Binutils.
33
34 %description -l pl static
35 Biblioteki statyczne do GNU Binutils.
36
37 %prep
38 %setup -q
39 (cd bfd;
40 %patch -p0 -b .secreloc
41 )
42 %patch1 -p0 -b .emv9
43
44 %build
45 CFLAGS=$RPM_OPT_FLAGS ./configure --prefix=/usr --enable-shared
46 make tooldir=/usr all info
47
48 %install
49 rm -rf $RPM_BUILD_ROOT
50 install -d $RPM_BUILD_ROOT/usr
51 make    install install-info \
52         prefix=$RPM_BUILD_ROOT/usr \
53         tooldir=$RPM_BUILD_ROOT/usr
54
55 strip $RPM_BUILD_ROOT/usr/{bin/*,lib/lib*.so.*.*}
56 gzip -q9f $RPM_BUILD_ROOT/usr/info/*.info*
57
58 install include/libiberty.h $RPM_BUILD_ROOT/usr/include
59
60 %clean
61 rm -rf $RPM_BUILD_ROOT
62
63 %post
64 /sbin/ldconfig
65 /sbin/install-info --info-dir=/usr/info /usr/info/as.info.gz
66 /sbin/install-info --info-dir=/usr/info /usr/info/bfd.info.gz
67 /sbin/install-info --info-dir=/usr/info /usr/info/binutils.info.gz
68 /sbin/install-info --info-dir=/usr/info /usr/info/gasp.info.gz
69 /sbin/install-info --info-dir=/usr/info /usr/info/gprof.info.gz
70 /sbin/install-info --info-dir=/usr/info /usr/info/ld.info.gz
71 /sbin/install-info --info-dir=/usr/info /usr/info/standards.info.gz
72
73 %preun
74 /sbin/install-info --delete --info-dir=/usr/info /usr/info/as.info.gz
75 /sbin/install-info --delete --info-dir=/usr/info /usr/info/bfd.info.gz
76 /sbin/install-info --delete --info-dir=/usr/info /usr/info/binutils.info.gz
77 /sbin/install-info --delete --info-dir=/usr/info /usr/info/gasp.info.gz
78 /sbin/install-info --delete --info-dir=/usr/info /usr/info/gprof.info.gz
79 /sbin/install-info --delete --info-dir=/usr/info /usr/info/ld.info.gz
80 /sbin/install-info --delete --info-dir=/usr/info /usr/info/standards.info.gz
81
82 %postun -p /sbin/ldconfig
83
84 %files
85 %defattr(644, root, root, 755)
86 %attr(755, root, root) /usr/bin/*
87 %attr(644, root,  man) /usr/man/man1/*
88 /usr/include/*
89 %attr(755, root, root) /usr/lib/lib*.so.*.*
90 /usr/lib/lib*.so
91 /usr/lib/ldscripts
92 /usr/info/*info*
93 /usr/lib/libiberty.a
94
95 %files static
96 %defattr(644, root, root)
97 /usr/lib/libbfd.a
98 /usr/lib/libopcodes.a
99
100 %changelog
101 * Fri Oct  9 1998 Tomasz K³oczko <kloczek@rudy.mif.pg.gda.pl>
102   [2.9.1.0.14-2]
103 - /usr/lib/libiberty.a moved to main.
104
105 * Sat Aug 22 1998 Tomasz K³oczko <kloczek@rudy.mif.pg.gda.pl>
106   [2.9.1.0.10-3]
107 - changed Buildroot to /tmp/%%{name}-%%{version}-root,
108 - added using %%{name} and %%{version} in Source,
109 - added static subpackage,
110 - removed /usr/lib/lib*.la files,
111 - added using $RPM_OPT_FLAGS during building package,
112 - added striping shared libraries,
113 - added %attr and %defattr macros in %files (allow build package from
114   non-root account).
115
116 * Thu Jul  2 1998 Jeff Johnson <jbj@redhat.com>
117 - updated to 2.9.1.0.7.
118
119 * Wed Jun 03 1998 Jeff Johnson <jbj@redhat.com>
120 - updated to 2.9.1.0.6.
121
122 * Tue Jun 02 1998 Erik Troan <ewt@redhat.com>
123 - added patch from rth to get right offsets for sections in relocateable
124   objects on sparc32
125
126 * Thu May 07 1998 Prospector System <bugs@redhat.com>
127 - translations modified for de, fr, tr
128
129 * Tue May 05 1998 Cristian Gafton <gafton@redhat.com>
130 - version 2.9.1.0.4 is out; even more, it is public !
131
132 * Tue May 05 1998 Jeff Johnson <jbj@redhat.com>
133 - updated to 2.9.1.0.3.
134
135 * Mon Apr 20 1998 Cristian Gafton <gafton@redhat.com>
136 - updated to 2.9.0.3
137
138 * Tue Apr 14 1998 Cristian Gafton <gafton@redhat.com>
139 - upgraded to 2.9.0.2
140
141 * Sun Apr 05 1998 Cristian Gafton <gafton@redhat.com>
142 - updated to 2.8.1.0.29 (HJ warned me that this thing is a moving target...
143   :-)
144 - "fixed" the damn make install command so that all tools get installed
145
146 * Thu Apr 02 1998 Cristian Gafton <gafton@redhat.com>
147 - upgraded again to 2.8.1.0.28 (at least on alpha now egcs will compile)
148 - added info packages handling
149
150 * Tue Mar 10 1998 Cristian Gafton <gafton@redhat.com>
151 - upgraded to 2.8.1.0.23
152
153 * Mon Mar 02 1998 Cristian Gafton <gafton@redhat.com>
154 - updated to 2.8.1.0.15 (required to compile the newer glibc)
155 - all patches are obsoleted now
156
157 * Wed Oct 22 1997 Erik Troan <ewt@redhat.com>
158 - added 2.8.1.0.1 patch from hj
159 - added patch for alpha palcode form rth
This page took 0.118366 seconds and 4 git commands to generate.