]> git.pld-linux.org Git - packages/binutils.git/blob - binutils.spec
- more fixes s/striping/stripping/.
[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.17
8 Release:     1
9 Copyright:   GPL
10 Group:       Development/Tools
11 Source       ftp://ftp.kernel.org/pub/linux/devel/gcc/%{name}-%{version}.tar.bz2
12 Patch0:      binutils-2.9.1-sparcsectionreloc.patch
13 Buildroot:   /tmp/%{name}-%{version}-root
14
15 %description
16 Binutils is a collection of utilities necessary for compiling programs. It
17 includes the assembler and linker, as well as a number of other
18 miscellaneous programs for dealing with executable formats.
19
20 %description -l pl
21 Pakiet binutils zawiera zestaw narzêdzi umo¿liwiaj±cych kompilacjê
22 programów. Zawiera on assembler, konsolidator (linker), a tak¿e inne narzêdzia
23 do manipulowania na binarnych plikach programów i bibliotek.
24
25 %package static
26 Summary:     GNU Binutils static libraries
27 Summary(pl): Biblioteki statyczne do GNU Binutils
28 Group:       Libraries
29
30 %description static
31 Static libraries for GNU Binutils.
32
33 %description -l pl static
34 Biblioteki statyczne do GNU Binutils.
35
36 %prep
37 %setup -q
38 (cd bfd;
39 %patch -p0 -b .secreloc
40 )
41
42 %build
43 CFLAGS="$RPM_OPT_FLAGS" LDFLAGS="-s" \
44 ./configure \
45         --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*,man/man1/*}
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 * Mon Dec  9 1998 Tomasz K³oczko <kloczek@rudy.mif.pg.gda.pl>
102   [2.9.1.0.17-1]
103 - added gzipping man pages,
104 - added using LDFLAGS="-s" to ./configure enviroment,
105 - changed base Source url to ftp:ftp.kernel.org/pub/linux/devel/gcc/.
106
107 * Fri Oct  9 1998 Tomasz K³oczko <kloczek@rudy.mif.pg.gda.pl>
108   [2.9.1.0.14-2]
109 - /usr/lib/libiberty.a moved to main.
110
111 * Sat Aug 22 1998 Tomasz K³oczko <kloczek@rudy.mif.pg.gda.pl>
112   [2.9.1.0.10-3]
113 - changed Buildroot to /tmp/%%{name}-%%{version}-root,
114 - added using %%{name} and %%{version} in Source,
115 - added static subpackage,
116 - removed /usr/lib/lib*.la files,
117 - added using $RPM_OPT_FLAGS during building package,
118 - added stripping shared libraries,
119 - added %attr and %defattr macros in %files (allow build package from
120   non-root account).
121
122 * Thu Jul  2 1998 Jeff Johnson <jbj@redhat.com>
123 - updated to 2.9.1.0.7.
124
125 * Wed Jun 03 1998 Jeff Johnson <jbj@redhat.com>
126 - updated to 2.9.1.0.6.
127
128 * Tue Jun 02 1998 Erik Troan <ewt@redhat.com>
129 - added patch from rth to get right offsets for sections in relocateable
130   objects on sparc32
131
132 * Thu May 07 1998 Prospector System <bugs@redhat.com>
133 - translations modified for de, fr, tr
134
135 * Tue May 05 1998 Cristian Gafton <gafton@redhat.com>
136 - version 2.9.1.0.4 is out; even more, it is public !
137
138 * Tue May 05 1998 Jeff Johnson <jbj@redhat.com>
139 - updated to 2.9.1.0.3.
140
141 * Mon Apr 20 1998 Cristian Gafton <gafton@redhat.com>
142 - updated to 2.9.0.3
143
144 * Tue Apr 14 1998 Cristian Gafton <gafton@redhat.com>
145 - upgraded to 2.9.0.2
146
147 * Sun Apr 05 1998 Cristian Gafton <gafton@redhat.com>
148 - updated to 2.8.1.0.29 (HJ warned me that this thing is a moving target...
149   :-)
150 - "fixed" the damn make install command so that all tools get installed
151
152 * Thu Apr 02 1998 Cristian Gafton <gafton@redhat.com>
153 - upgraded again to 2.8.1.0.28 (at least on alpha now egcs will compile)
154 - added info packages handling
155
156 * Tue Mar 10 1998 Cristian Gafton <gafton@redhat.com>
157 - upgraded to 2.8.1.0.23
158
159 * Mon Mar 02 1998 Cristian Gafton <gafton@redhat.com>
160 - updated to 2.8.1.0.15 (required to compile the newer glibc)
161 - all patches are obsoleted now
162
163 * Wed Oct 22 1997 Erik Troan <ewt@redhat.com>
164 - added 2.8.1.0.1 patch from hj
165 - added patch for alpha palcode form rth
This page took 0.040483 seconds and 4 git commands to generate.