]> git.pld-linux.org Git - packages/binutils.git/blob - binutils.spec
- changed Buildroot to /tmp/%%{name}-%%{version}-root,
[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.10
8 Release:     3
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 %prep
27 %setup -q
28 (cd bfd;
29 %patch -p0 -b .secreloc
30 )
31 %patch1 -p0 -b .emv9
32
33 %build
34 CFLAGS=$RPM_OPT_FLAGS ./configure --prefix=/usr --enable-shared
35 make tooldir=/usr all info
36
37 %install
38 rm -rf $RPM_BUILD_ROOT
39 install -d $RPM_BUILD_ROOT/usr
40 make    install install-info \
41         prefix=$RPM_BUILD_ROOT/usr \
42         tooldir=$RPM_BUILD_ROOT/usr
43
44 strip $RPM_BUILD_ROOT/usr/bin/*
45 gzip -q9f $RPM_BUILD_ROOT/usr/info/*.info*
46
47 install include/libiberty.h $RPM_BUILD_ROOT/usr/include
48
49 %clean
50 rm -rf $RPM_BUILD_ROOT
51
52 %post
53 /sbin/ldconfig
54 /sbin/install-info --info-dir=/usr/info /usr/info/as.info.gz
55 /sbin/install-info --info-dir=/usr/info /usr/info/bfd.info.gz
56 /sbin/install-info --info-dir=/usr/info /usr/info/binutils.info.gz
57 /sbin/install-info --info-dir=/usr/info /usr/info/gasp.info.gz
58 /sbin/install-info --info-dir=/usr/info /usr/info/gprof.info.gz
59 /sbin/install-info --info-dir=/usr/info /usr/info/ld.info.gz
60 /sbin/install-info --info-dir=/usr/info /usr/info/standards.info.gz
61
62 %preun
63 if [ $1 = 0 ] ;then
64   /sbin/install-info --delete --info-dir=/usr/info /usr/info/as.info.gz
65   /sbin/install-info --delete --info-dir=/usr/info /usr/info/bfd.info.gz
66   /sbin/install-info --delete --info-dir=/usr/info /usr/info/binutils.info.gz
67   /sbin/install-info --delete --info-dir=/usr/info /usr/info/gasp.info.gz
68   /sbin/install-info --delete --info-dir=/usr/info /usr/info/gprof.info.gz
69   /sbin/install-info --delete --info-dir=/usr/info /usr/info/ld.info.gz
70   /sbin/install-info --delete --info-dir=/usr/info /usr/info/standards.info.gz
71 fi
72
73 %postun -p /sbin/ldconfig
74
75 %files
76 %defattr(644, root, root, 755)
77 /usr/bin/*
78 %attr(644, root,  man) /usr/man/man1/*
79 /usr/include/*
80 /usr/lib/*
81 /usr/info/*info*
82
83 %changelog
84 * Sat Aug 22 1998 Tomasz K³oczko <kloczek@rudy.mif.pg.gda.pl>
85   [2.9.1.0.10-3]
86 - changed Buildroot to /tmp/%%{name}-%%{version}-root,
87 - added using %%{name} and %%{version} in Source,
88 - added static subpackage,
89 - added using $RPM_OPT_FLAGS during building package,
90 - added striping shared libraries,
91 - added %attr and %defattr macros in %files (allow build package from
92   non-root account).
93
94 * Thu Jul  2 1998 Jeff Johnson <jbj@redhat.com>
95 - updated to 2.9.1.0.7.
96
97 * Wed Jun 03 1998 Jeff Johnson <jbj@redhat.com>
98 - updated to 2.9.1.0.6.
99
100 * Tue Jun 02 1998 Erik Troan <ewt@redhat.com>
101 - added patch from rth to get right offsets for sections in relocateable
102   objects on sparc32
103
104 * Thu May 07 1998 Prospector System <bugs@redhat.com>
105 - translations modified for de, fr, tr
106
107 * Tue May 05 1998 Cristian Gafton <gafton@redhat.com>
108 - version 2.9.1.0.4 is out; even more, it is public !
109
110 * Tue May 05 1998 Jeff Johnson <jbj@redhat.com>
111 - updated to 2.9.1.0.3.
112
113 * Mon Apr 20 1998 Cristian Gafton <gafton@redhat.com>
114 - updated to 2.9.0.3
115
116 * Tue Apr 14 1998 Cristian Gafton <gafton@redhat.com>
117 - upgraded to 2.9.0.2
118
119 * Sun Apr 05 1998 Cristian Gafton <gafton@redhat.com>
120 - updated to 2.8.1.0.29 (HJ warned me that this thing is a moving target...
121   :-)
122 - "fixed" the damn make install command so that all tools get installed
123
124 * Thu Apr 02 1998 Cristian Gafton <gafton@redhat.com>
125 - upgraded again to 2.8.1.0.28 (at least on alpha now egcs will compile)
126 - added info packages handling
127
128 * Tue Mar 10 1998 Cristian Gafton <gafton@redhat.com>
129 - upgraded to 2.8.1.0.23
130
131 * Mon Mar 02 1998 Cristian Gafton <gafton@redhat.com>
132 - updated to 2.8.1.0.15 (required to compile the newer glibc)
133 - all patches are obsoleted now
134
135 * Wed Oct 22 1997 Erik Troan <ewt@redhat.com>
136 - added 2.8.1.0.1 patch from hj
137 - added patch for alpha palcode form rth
This page took 0.031933 seconds and 4 git commands to generate.