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 >= 1: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: texinfo
35 BuildRequires: tk-devel >= 8.4
36 #BuildRequires: xemacs
37 # 2.1.x versions won't work correctly on amd64 and alpha (on amd64 crashes
38 # even on build time) because of calling convention (no registers support)
39 # it should be fixed in devel (2.1e) version (but alloc,amd64 patches seem
41 ExcludeArch: alpha amd64
42 BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
45 GNU Smalltalk is a Free (or Open Source) implementation that closely
46 follows the Smalltalk-80 language as described in the book
47 Smalltalk-80: the Language and its Implementation by Adele Goldberg
48 and David Robson. GNUSmalltalk runs on most versions of Unix or Unix
49 like systems (GNU/Linux, FreeBSD, etc...). There is even a version for
50 commercial operating systems like MS-NT.
53 GNU Smalltalk jest Woln± (lub Open Source) implementacj± tak blisk±
54 jêzykowi Smalltalk-80 jak to jest opisane w ksi±¿ce Smalltalk-80: the
55 Language and its Implementation napisanej przez Adele Goldberg oraz
56 David Robson. GNUSmalltalk dzia³a na wiêkszo¶ci wersji Unix'ów lub
57 systemów uniksopodobnych (GNU/Linux, FreeBSD, etc...). Jest nawet
58 wersja dla systemów komercyjnych, takich jak M$-NT.
61 Summary: GNU SmallTalk header files
62 Summary(pl): Pliki nag³ówkowe dla GNU SmallTalka
63 Group: Development/Libraries
64 Requires: %{name} = %{version}-%{release}
67 The GNU SmallTalk header files.
69 %description devel -l pl
70 Pliki nag³ówkowe dla GNU SmallTalka.
73 Summary: Static libraries for GNU Smalltalk
74 Summary(pl): Biblioteki statyczne dla GNU Smalltalka
75 Group: Development/Libraries
76 Requires: %{name}-devel = %{version}-%{release}
77 # to be moved to -devel if shared libgst exists
79 Requires: readline-devel
82 The GNU SmallTalk static libraries.
84 %description static -l pl
85 Biblioteki statyczne dla GNU SmallTalka.
88 Summary: blox-tk module for GNU Smalltalk
89 Summary(pl): Modu³ blox-tk dla GNU Smalltalka
91 Requires: %{name} = %{version}-%{release}
94 blox-tk module for GNU Smalltalk.
97 Modu³ blox-tk dla GNU Smalltalka.
100 Summary: GDBM module for GNU Smalltalk
101 Summary(pl): Modu³ GDBM dla GNU Smalltalka
103 Requires: %{name} = %{version}-%{release}
106 GDBM module for GNU Smalltalk.
108 %description gdbm -l pl
109 Modu³ GDBM dla GNU Smalltalka.
112 Summary: GTK+ module for GNU Smalltalk
113 Summary(pl): Modu³ GTK+ dla GNU Smalltalka
115 Requires: %{name} = %{version}-%{release}
118 GTK+ module for GNU Smalltalk.
120 %description gtk -l pl
121 Modu³ GTK+ dla GNU Smalltalka.
133 cp -f %{_aclocaldir}/libtool.m4 config
137 %{__aclocal} -I ../config
142 %{__aclocal} -I ../config
145 # intentionally no automake here
148 %{__aclocal} -I snprintfv -I config
154 # gtk things are generated improperly when some locale are set
159 rm -rf $RPM_BUILD_ROOT
160 install -d $RPM_BUILD_ROOT{%{_desktopdir},%{_pixmapsdir}}
163 DESTDIR=$RPM_BUILD_ROOT
165 ln -sf ../../bin/gst $RPM_BUILD_ROOT%{_datadir}/gnu-smalltalk/gst
167 install %{SOURCE1} $RPM_BUILD_ROOT%{_desktopdir}
168 install %{SOURCE2} $RPM_BUILD_ROOT%{_pixmapsdir}
170 # no static modules (*.la used by ltdl)
171 rm -f $RPM_BUILD_ROOT%{_libdir}/gnu-smalltalk/*.a
172 # doesn't belong here
173 rm -rf $RPM_BUILD_ROOT{%{_aclocaldir}/snprintfv.m4,%{_includedir}/snprintfv}
176 rm -rf $RPM_BUILD_ROOT
179 [ ! -x /usr/sbin/fix-info-dir ] || /usr/sbin/fix-info-dir -c %{_infodir} >/dev/null 2>&1
182 [ ! -x /usr/sbin/fix-info-dir ] || /usr/sbin/fix-info-dir -c %{_infodir} >/dev/null 2>&1
185 %defattr(644,root,root,755)
186 %doc AUTHORS NEWS README THANKS
187 %attr (755,root,root) %{_bindir}/gst
188 %dir %{_libdir}/gnu-smalltalk
189 %{_libdir}/gnu-smalltalk/libc.la
190 %attr (755,root,root) %{_libdir}/gnu-smalltalk/i18n*.so
191 %{_libdir}/gnu-smalltalk/i18n.la
192 %attr (755,root,root) %{_libdir}/gnu-smalltalk/md5*.so
193 %{_libdir}/gnu-smalltalk/md5.la
194 %attr (755,root,root) %{_libdir}/gnu-smalltalk/regex*.so
195 %{_libdir}/gnu-smalltalk/regex.la
196 %attr (755,root,root) %{_libdir}/gnu-smalltalk/tcp*.so
197 %{_libdir}/gnu-smalltalk/tcp.la
198 %{_datadir}/gnu-smalltalk
205 %defattr(644,root,root,755)
206 %attr (755,root,root) %{_bindir}/gst-config
207 %attr (755,root,root) %{_bindir}/gst-package
209 %{_aclocaldir}/gst.m4
212 %defattr(644,root,root,755)
214 # no shared lib, so it's here... to be moved to -devel if shared exists
218 %defattr(644,root,root,755)
219 %attr(755,root,root) %{_libdir}/gnu-smalltalk/blox-tk*.so
220 %{_libdir}/gnu-smalltalk/blox-tk.la
223 %defattr(644,root,root,755)
224 %attr(755,root,root) %{_libdir}/gnu-smalltalk/gdbm*.so
225 %{_libdir}/gnu-smalltalk/gdbm.la
228 %defattr(644,root,root,755)
229 %attr(755,root,root) %{_libdir}/gnu-smalltalk/gst-gtk*.so
230 %{_libdir}/gnu-smalltalk/gst-gtk.la