]> git.pld-linux.org Git - packages/binutils.git/blob - binutils.spec
- updated to 2.9.1.0.14.
[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.14
8 Release:     1
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 if [ $1 = 0 ] ;then
75   /sbin/install-info --delete --info-dir=/usr/info /usr/info/as.info.gz
76   /sbin/install-info --delete --info-dir=/usr/info /usr/info/bfd.info.gz
77   /sbin/install-info --delete --info-dir=/usr/info /usr/info/binutils.info.gz
78   /sbin/install-info --delete --info-dir=/usr/info /usr/info/gasp.info.gz
79   /sbin/install-info --delete --info-dir=/usr/info /usr/info/gprof.info.gz
80   /sbin/install-info --delete --info-dir=/usr/info /usr/info/ld.info.gz
81   /sbin/install-info --delete --info-dir=/usr/info /usr/info/standards.info.gz
82 fi
83
84 %postun -p /sbin/ldconfig
85
86 %files
87 %defattr(644, root, root, 755)
88 %attr(755, root, root) /usr/bin/*
89 %attr(644, root,  man) /usr/man/man1/*
90 /usr/include/*
91 %attr(755, root, root) /usr/lib/lib*.so.*.*
92 /usr/lib/lib*.so
93 /usr/lib/ldscripts
94 /usr/info/*info*
95
96 %files static
97 %attr(644, root, root) /usr/lib/lib*.a
98
99 %changelog
100 * Sat Aug 22 1998 Tomasz K³oczko <kloczek@rudy.mif.pg.gda.pl>
101   [2.9.1.0.10-3]
102 - changed Buildroot to /tmp/%%{name}-%%{version}-root,
103 - added using %%{name} and %%{version} in Source,
104 - added static subpackage,
105 - removed /usr/lib/lib*.la files,
106 - added using $RPM_OPT_FLAGS during building package,
107 - added striping shared libraries,
108 - added %attr and %defattr macros in %files (allow build package from
109   non-root account).
110
111 * Thu Jul  2 1998 Jeff Johnson <jbj@redhat.com>
112 - updated to 2.9.1.0.7.
113
114 * Wed Jun 03 1998 Jeff Johnson <jbj@redhat.com>
115 - updated to 2.9.1.0.6.
116
117 * Tue Jun 02 1998 Erik Troan <ewt@redhat.com>
118 - added patch from rth to get right offsets for sections in relocateable
119   objects on sparc32
120
121 * Thu May 07 1998 Prospector System <bugs@redhat.com>
122 - translations modified for de, fr, tr
123
124 * Tue May 05 1998 Cristian Gafton <gafton@redhat.com>
125 - version 2.9.1.0.4 is out; even more, it is public !
126
127 * Tue May 05 1998 Jeff Johnson <jbj@redhat.com>
128 - updated to 2.9.1.0.3.
129
130 * Mon Apr 20 1998 Cristian Gafton <gafton@redhat.com>
131 - updated to 2.9.0.3
132
133 * Tue Apr 14 1998 Cristian Gafton <gafton@redhat.com>
134 - upgraded to 2.9.0.2
135
136 * Sun Apr 05 1998 Cristian Gafton <gafton@redhat.com>
137 - updated to 2.8.1.0.29 (HJ warned me that this thing is a moving target...
138   :-)
139 - "fixed" the damn make install command so that all tools get installed
140
141 * Thu Apr 02 1998 Cristian Gafton <gafton@redhat.com>
142 - upgraded again to 2.8.1.0.28 (at least on alpha now egcs will compile)
143 - added info packages handling
144
145 * Tue Mar 10 1998 Cristian Gafton <gafton@redhat.com>
146 - upgraded to 2.8.1.0.23
147
148 * Mon Mar 02 1998 Cristian Gafton <gafton@redhat.com>
149 - updated to 2.8.1.0.15 (required to compile the newer glibc)
150 - all patches are obsoleted now
151
152 * Wed Oct 22 1997 Erik Troan <ewt@redhat.com>
153 - added 2.8.1.0.1 patch from hj
154 - added patch for alpha palcode form rth
This page took 0.047532 seconds and 3 git commands to generate.