2 Summary(pl): GNU smalltalk
7 Group: Development/Languages
8 Source0: ftp://ftp.gnu.org/pub/gnu/smalltalk/%{name}-%{version}.tar.gz
9 # Source0-md5: 169473d38c0ef86dc2ce40d785046840
10 Source1: %{name}.desktop
12 Patch0: %{name}-info.patch
13 Patch1: %{name}-PACKAGE.patch
14 Patch2: %{name}-nolibs.patch
15 Patch3: %{name}-proc.patch
16 Patch4: %{name}-amd64.patch
18 URL: http://www.gnu.org/software/smalltalk/
19 BuildRequires: atk-devel >= 1.0.0
20 BuildRequires: autoconf >= 2.52
21 BuildRequires: automake
23 BuildRequires: gdbm-devel
24 BuildRequires: glib2-devel >= 2.0.0
25 BuildRequires: gtk+2-devel >= 1:2.0.0
26 BuildRequires: libltdl-devel
27 BuildRequires: libtool >= 2:1.5
28 BuildRequires: ncurses-devel >= 5.0
29 BuildRequires: pango-devel >= 1:1.0.0
30 BuildRequires: pkgconfig
31 BuildRequires: readline-devel >= 4.2
32 BuildRequires: rpmbuild(macros) >= 1.213
33 BuildRequires: texinfo
34 BuildRequires: tk-devel >= 8.4
35 #BuildRequires: xemacs
36 # 2.1.x versions won't work correctly on x86_64 and alpha (on x86_64 crashes
37 # even on build time) because of calling convention (no registers support)
38 # it should be fixed in devel (2.1e) version (but alloc,amd64 patches seem
40 ExcludeArch: %{x8664} alpha
41 BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
44 GNU Smalltalk is a Free (or Open Source) implementation that closely
45 follows the Smalltalk-80 language as described in the book
46 Smalltalk-80: the Language and its Implementation by Adele Goldberg
47 and David Robson. GNUSmalltalk runs on most versions of Unix or Unix
48 like systems (GNU/Linux, FreeBSD, etc...). There is even a version for
49 commercial operating systems like MS-NT.
52 GNU Smalltalk jest Woln± (lub Open Source) implementacj± tak blisk±
53 jêzykowi Smalltalk-80 jak to jest opisane w ksi±¿ce Smalltalk-80: the
54 Language and its Implementation napisanej przez Adele Goldberg oraz
55 David Robson. GNUSmalltalk dzia³a na wiêkszo¶ci wersji Unix'ów lub
56 systemów uniksopodobnych (GNU/Linux, FreeBSD, etc...). Jest nawet
57 wersja dla systemów komercyjnych, takich jak M$-NT.
60 Summary: GNU SmallTalk header files
61 Summary(pl): Pliki nag³ówkowe dla GNU SmallTalka
62 Group: Development/Libraries
63 Requires: %{name} = %{version}-%{release}
66 The GNU SmallTalk header files.
68 %description devel -l pl
69 Pliki nag³ówkowe dla GNU SmallTalka.
72 Summary: Static libraries for GNU Smalltalk
73 Summary(pl): Biblioteki statyczne dla GNU Smalltalka
74 Group: Development/Libraries
75 Requires: %{name}-devel = %{version}-%{release}
76 # to be moved to -devel if shared libgst exists
78 Requires: readline-devel
81 The GNU SmallTalk static libraries.
83 %description static -l pl
84 Biblioteki statyczne dla GNU SmallTalka.
87 Summary: blox-tk module for GNU Smalltalk
88 Summary(pl): Modu³ blox-tk dla GNU Smalltalka
90 Requires: %{name} = %{version}-%{release}
93 blox-tk module for GNU Smalltalk.
96 Modu³ blox-tk dla GNU Smalltalka.
99 Summary: GDBM module for GNU Smalltalk
100 Summary(pl): Modu³ GDBM dla GNU Smalltalka
102 Requires: %{name} = %{version}-%{release}
105 GDBM module for GNU Smalltalk.
107 %description gdbm -l pl
108 Modu³ GDBM dla GNU Smalltalka.
111 Summary: GTK+ module for GNU Smalltalk
112 Summary(pl): Modu³ GTK+ dla GNU Smalltalka
114 Requires: %{name} = %{version}-%{release}
117 GTK+ module for GNU Smalltalk.
119 %description gtk -l pl
120 Modu³ GTK+ dla GNU Smalltalka.
128 # why patch to excluded architecture?
131 cp -f %{_aclocaldir}/libtool.m4 config
135 %{__aclocal} -I ../config
140 %{__aclocal} -I ../config
143 # intentionally no automake here
146 %{__aclocal} -I snprintfv -I config
152 # gtk things are generated improperly when some locale are set
157 rm -rf $RPM_BUILD_ROOT
158 install -d $RPM_BUILD_ROOT{%{_desktopdir},%{_pixmapsdir}}
161 DESTDIR=$RPM_BUILD_ROOT
163 ln -sf ../../bin/gst $RPM_BUILD_ROOT%{_datadir}/gnu-smalltalk/gst
165 install %{SOURCE1} $RPM_BUILD_ROOT%{_desktopdir}
166 install %{SOURCE2} $RPM_BUILD_ROOT%{_pixmapsdir}
168 # no static modules (*.la used by ltdl)
169 rm -f $RPM_BUILD_ROOT%{_libdir}/gnu-smalltalk/*.a
170 # doesn't belong here
171 rm -rf $RPM_BUILD_ROOT{%{_aclocaldir}/snprintfv.m4,%{_includedir}/snprintfv}
174 rm -rf $RPM_BUILD_ROOT
177 [ ! -x /usr/sbin/fix-info-dir ] || /usr/sbin/fix-info-dir -c %{_infodir} >/dev/null 2>&1
180 [ ! -x /usr/sbin/fix-info-dir ] || /usr/sbin/fix-info-dir -c %{_infodir} >/dev/null 2>&1
183 %defattr(644,root,root,755)
184 %doc AUTHORS NEWS README THANKS
185 %attr (755,root,root) %{_bindir}/gst
186 %dir %{_libdir}/gnu-smalltalk
187 %{_libdir}/gnu-smalltalk/libc.la
188 %attr (755,root,root) %{_libdir}/gnu-smalltalk/i18n*.so
189 %{_libdir}/gnu-smalltalk/i18n.la
190 %attr (755,root,root) %{_libdir}/gnu-smalltalk/md5*.so
191 %{_libdir}/gnu-smalltalk/md5.la
192 %attr (755,root,root) %{_libdir}/gnu-smalltalk/regex*.so
193 %{_libdir}/gnu-smalltalk/regex.la
194 %attr (755,root,root) %{_libdir}/gnu-smalltalk/tcp*.so
195 %{_libdir}/gnu-smalltalk/tcp.la
196 %{_datadir}/gnu-smalltalk
203 %defattr(644,root,root,755)
204 %attr (755,root,root) %{_bindir}/gst-config
205 %attr (755,root,root) %{_bindir}/gst-package
207 %{_aclocaldir}/gst.m4
210 %defattr(644,root,root,755)
212 # no shared lib, so it's here... to be moved to -devel if shared exists
216 %defattr(644,root,root,755)
217 %attr(755,root,root) %{_libdir}/gnu-smalltalk/blox-tk*.so
218 %{_libdir}/gnu-smalltalk/blox-tk.la
221 %defattr(644,root,root,755)
222 %attr(755,root,root) %{_libdir}/gnu-smalltalk/gdbm*.so
223 %{_libdir}/gnu-smalltalk/gdbm.la
226 %defattr(644,root,root,755)
227 %attr(755,root,root) %{_libdir}/gnu-smalltalk/gst-gtk*.so
228 %{_libdir}/gnu-smalltalk/gst-gtk.la