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: dd55006e41c87ddbf90f7cd2166b290b
10 Source1: %{name}.desktop
12 Patch0: %{name}-info.patch
13 Patch1: %{name}-PACKAGE.patch
14 Patch2: %{name}-nolibs.patch
15 Patch3: %{name}-aligned.patch
16 Patch4: %{name}-proc.patch
17 Patch5: %{name}-alloc.patch
18 Patch6: %{name}-amd64.patch
20 URL: http://www.gnu.org/software/smalltalk/
21 BuildRequires: atk-devel >= 1.0.0
22 BuildRequires: autoconf >= 2.52
23 BuildRequires: automake
25 BuildRequires: gdbm-devel
26 BuildRequires: glib2-devel >= 2.0.0
27 BuildRequires: gtk+2-devel >= 2.0.0
28 BuildRequires: libltdl-devel
29 BuildRequires: libtool >= 2:1.5
30 BuildRequires: ncurses-devel >= 5.0
31 BuildRequires: pango-devel >= 1:1.0.0
32 BuildRequires: pkgconfig
33 BuildRequires: readline-devel >= 4.2
34 BuildRequires: tk-devel >= 8.4
35 #BuildRequires: xemacs
36 # 2.1.x versions won't work correctly on amd64 and alpha (on amd64 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: alpha amd64
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 Unixo-podobnych (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.
132 cp -f %{_aclocaldir}/libtool.m4 config
136 %{__aclocal} -I ../config
141 %{__aclocal} -I ../config
144 # intentionally no automake here
147 %{__aclocal} -I snprintfv -I config
153 # gtk things are generated improperly when some locale are set
158 rm -rf $RPM_BUILD_ROOT
159 install -d $RPM_BUILD_ROOT{%{_desktopdir},%{_pixmapsdir}}
162 DESTDIR=$RPM_BUILD_ROOT
164 ln -sf ../../bin/gst $RPM_BUILD_ROOT%{_datadir}/gnu-smalltalk/gst
166 install %{SOURCE1} $RPM_BUILD_ROOT%{_desktopdir}
167 install %{SOURCE2} $RPM_BUILD_ROOT%{_pixmapsdir}
169 # no static modules (*.la used by ltdl)
170 rm -f $RPM_BUILD_ROOT%{_libdir}/gnu-smalltalk/*.a
171 # doesn't belong here
172 rm -rf $RPM_BUILD_ROOT{%{_aclocaldir}/snprintfv.m4,%{_includedir}/snprintfv}
175 rm -rf $RPM_BUILD_ROOT
178 [ ! -x /usr/sbin/fix-info-dir ] || /usr/sbin/fix-info-dir -c %{_infodir} >/dev/null 2>&1
181 [ ! -x /usr/sbin/fix-info-dir ] || /usr/sbin/fix-info-dir -c %{_infodir} >/dev/null 2>&1
184 %defattr(644,root,root,755)
185 %doc AUTHORS NEWS README THANKS
186 %attr (755,root,root) %{_bindir}/gst
187 %dir %{_libdir}/gnu-smalltalk
188 %{_libdir}/gnu-smalltalk/libc.la
189 %attr (755,root,root) %{_libdir}/gnu-smalltalk/i18n*.so
190 %{_libdir}/gnu-smalltalk/i18n.la
191 %attr (755,root,root) %{_libdir}/gnu-smalltalk/md5*.so
192 %{_libdir}/gnu-smalltalk/md5.la
193 %attr (755,root,root) %{_libdir}/gnu-smalltalk/regex*.so
194 %{_libdir}/gnu-smalltalk/regex.la
195 %attr (755,root,root) %{_libdir}/gnu-smalltalk/tcp*.so
196 %{_libdir}/gnu-smalltalk/tcp.la
197 %{_datadir}/gnu-smalltalk
204 %defattr(644,root,root,755)
205 %attr (755,root,root) %{_bindir}/gst-config
206 %attr (755,root,root) %{_bindir}/gst-package
208 %{_aclocaldir}/gst.m4
211 %defattr(644,root,root,755)
213 # no shared lib, so it's here... to be moved to -devel if shared exists
217 %defattr(644,root,root,755)
218 %attr(755,root,root) %{_libdir}/gnu-smalltalk/blox-tk*.so
219 %{_libdir}/gnu-smalltalk/blox-tk.la
222 %defattr(644,root,root,755)
223 %attr(755,root,root) %{_libdir}/gnu-smalltalk/gdbm*.so
224 %{_libdir}/gnu-smalltalk/gdbm.la
227 %defattr(644,root,root,755)
228 %attr(755,root,root) %{_libdir}/gnu-smalltalk/gst-gtk*.so
229 %{_libdir}/gnu-smalltalk/gst-gtk.la