]>
Commit | Line | Data |
---|---|---|
ae0be00c | 1 | Summary: GNU smalltalk |
eadb5e7f | 2 | Summary(pl.UTF-8): GNU smalltalk |
38df49cb | 3 | Name: smalltalk |
1f3deafd | 4 | Version: 3.1 |
81211826 | 5 | Release: 1 |
513ce3b2 | 6 | License: GPL |
38df49cb | 7 | Group: Development/Languages |
87ba1c40 | 8 | Source0: ftp://ftp.gnu.org/pub/gnu/smalltalk/%{name}-%{version}.tar.gz |
1f3deafd | 9 | # Source0-md5: fb4630a86fc47c893cf9eb9adccd4851 |
b85013d1 | 10 | Source1: %{name}.desktop |
11 | Source2: %{name}.png | |
1f3deafd | 12 | Patch0: %{name}-proc.patch |
69ff8d2c | 13 | URL: http://www.gnu.org/software/smalltalk/ |
1f3deafd JR |
14 | BuildRequires: OpenGL-devel |
15 | BuildRequires: SDL-devel | |
64d1da21 | 16 | BuildRequires: atk-devel >= 1.0.0 |
35f29eea | 17 | BuildRequires: autoconf >= 2.52 |
8878c06a | 18 | BuildRequires: automake |
64d1da21 JB |
19 | BuildRequires: gawk |
20 | BuildRequires: gdbm-devel | |
21 | BuildRequires: glib2-devel >= 2.0.0 | |
1f3deafd | 22 | BuildRequires: glut-devel |
71789ab8 | 23 | BuildRequires: gtk+2-devel >= 1:2.0.0 |
1f3deafd | 24 | BuildRequires: libffi-devel |
76604e72 | 25 | BuildRequires: libltdl-devel |
1f3deafd | 26 | BuildRequires: libsigsegv |
3a945cfe | 27 | BuildRequires: libtool >= 2:1.5 |
99e6eec0 | 28 | BuildRequires: ncurses-devel >= 5.0 |
02edefbf | 29 | BuildRequires: pango-devel >= 1:1.0.0 |
64d1da21 | 30 | BuildRequires: pkgconfig |
8878c06a | 31 | BuildRequires: readline-devel >= 4.2 |
17dccebf | 32 | BuildRequires: sqlite3-devel |
c236bd4c | 33 | BuildRequires: rpmbuild(macros) >= 1.213 |
afc15661 | 34 | BuildRequires: texinfo |
35f29eea | 35 | BuildRequires: tk-devel >= 8.4 |
51be2f4c | 36 | #BuildRequires: xemacs |
994a6b77 | 37 | Requires(post,postun): /sbin/ldconfig |
b1f9d944 | 38 | BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n) |
d61b9668 | 39 | |
38df49cb | 40 | %description |
b85013d1 | 41 | GNU Smalltalk is a Free (or Open Source) implementation that closely |
42 | follows the Smalltalk-80 language as described in the book | |
43 | Smalltalk-80: the Language and its Implementation by Adele Goldberg | |
44 | and David Robson. GNUSmalltalk runs on most versions of Unix or Unix | |
45 | like systems (GNU/Linux, FreeBSD, etc...). There is even a version for | |
46 | commercial operating systems like MS-NT. | |
38df49cb | 47 | |
f47a83a7 JR |
48 | %description -l pl.UTF-8 |
49 | GNU Smalltalk jest Wolną (lub Open Source) implementacją tak bliską | |
50 | językowi Smalltalk-80 jak to jest opisane w książce Smalltalk-80: the | |
41cf5c01 | 51 | Language and its Implementation napisanej przez Adele Goldberg oraz |
f47a83a7 JR |
52 | David Robson. GNUSmalltalk działa na większości wersji Unix'ów lub |
53 | systemów uniksopodobnych (GNU/Linux, FreeBSD, etc...). Jest nawet | |
54 | wersja dla systemów komercyjnych, takich jak M$-NT. | |
38df49cb SZ |
55 | |
56 | %package devel | |
57 | Summary: GNU SmallTalk header files | |
eadb5e7f | 58 | Summary(pl.UTF-8): Pliki nagłówkowe dla GNU SmallTalka |
35f29eea JB |
59 | Group: Development/Libraries |
60 | Requires: %{name} = %{version}-%{release} | |
17dccebf JR |
61 | Requires: gmp-devel |
62 | Requires: readline-devel | |
38df49cb SZ |
63 | |
64 | %description devel | |
65 | The GNU SmallTalk header files. | |
66 | ||
f47a83a7 JR |
67 | %description devel -l pl.UTF-8 |
68 | Pliki nagłówkowe dla GNU SmallTalka. | |
38df49cb SZ |
69 | |
70 | %package static | |
71 | Summary: Static libraries for GNU Smalltalk | |
eadb5e7f | 72 | Summary(pl.UTF-8): Biblioteki statyczne dla GNU Smalltalka |
35f29eea JB |
73 | Group: Development/Libraries |
74 | Requires: %{name}-devel = %{version}-%{release} | |
38df49cb SZ |
75 | |
76 | %description static | |
77 | The GNU SmallTalk static libraries. | |
78 | ||
f47a83a7 | 79 | %description static -l pl.UTF-8 |
865bbb4f | 80 | Biblioteki statyczne dla GNU SmallTalka. |
38df49cb | 81 | |
35f29eea JB |
82 | %package tk |
83 | Summary: blox-tk module for GNU Smalltalk | |
eadb5e7f | 84 | Summary(pl.UTF-8): Moduł blox-tk dla GNU Smalltalka |
35f29eea JB |
85 | Group: Libraries |
86 | Requires: %{name} = %{version}-%{release} | |
87 | ||
88 | %description tk | |
89 | blox-tk module for GNU Smalltalk. | |
90 | ||
f47a83a7 JR |
91 | %description tk -l pl.UTF-8 |
92 | Moduł blox-tk dla GNU Smalltalka. | |
35f29eea JB |
93 | |
94 | %package gdbm | |
95 | Summary: GDBM module for GNU Smalltalk | |
eadb5e7f | 96 | Summary(pl.UTF-8): Moduł GDBM dla GNU Smalltalka |
35f29eea JB |
97 | Group: Libraries |
98 | Requires: %{name} = %{version}-%{release} | |
99 | ||
100 | %description gdbm | |
101 | GDBM module for GNU Smalltalk. | |
102 | ||
f47a83a7 JR |
103 | %description gdbm -l pl.UTF-8 |
104 | Moduł GDBM dla GNU Smalltalka. | |
35f29eea JB |
105 | |
106 | %package gtk | |
276b58b4 | 107 | Summary: GTK+ module for GNU Smalltalk |
eadb5e7f | 108 | Summary(pl.UTF-8): Moduł GTK+ dla GNU Smalltalka |
35f29eea JB |
109 | Group: Libraries |
110 | Requires: %{name} = %{version}-%{release} | |
111 | ||
112 | %description gtk | |
276b58b4 | 113 | GTK+ module for GNU Smalltalk. |
35f29eea | 114 | |
f47a83a7 JR |
115 | %description gtk -l pl.UTF-8 |
116 | Moduł GTK+ dla GNU Smalltalka. | |
35f29eea | 117 | |
17dccebf JR |
118 | %package sqlite3 |
119 | Summary: Sqlite3 module for GNU Smalltalk | |
120 | Summary(pl.UTF-8): Moduł Sqlite3 dla GNU Smalltalka | |
121 | Group: Libraries | |
122 | Requires: %{name} = %{version}-%{release} | |
123 | ||
124 | %description sqlite3 | |
125 | Sqlite3 module for GNU Smalltalk. | |
126 | ||
127 | %description sqlite3 -l pl.UTF-8 | |
128 | Moduł Sqlite3 dla GNU Smalltalka. | |
129 | ||
1f3deafd JR |
130 | %package sdl |
131 | Summary: SDL module for GNU Smalltalk | |
132 | Summary(pl.UTF-8): Moduł SDL dla GNU Smalltalka | |
133 | Group: Libraries | |
134 | Requires: %{name} = %{version}-%{release} | |
135 | ||
136 | %description sdl | |
137 | SDL module for GNU Smalltalk. | |
138 | ||
139 | %description sdl -l pl.UTF-8 | |
140 | Moduł SDL dla GNU Smalltalka. | |
141 | ||
142 | %package opengl | |
143 | summary: OpenGL module for GNU Smalltalk | |
144 | Summary(pl.UTF-8): Moduł OpenGL dla GNU Smalltalka | |
145 | Group: Libraries | |
146 | Requires: %{name} = %{version}-%{release} | |
147 | ||
148 | %description opengl | |
149 | openGL module for GNU Smalltalk. | |
150 | ||
151 | %description opengl -l pl.UTF-8 | |
152 | Moduł OpenGL dla GNU Smalltalka. | |
153 | ||
38df49cb SZ |
154 | %prep |
155 | %setup -q | |
35f29eea | 156 | %patch0 -p1 |
69ff8d2c | 157 | |
38df49cb | 158 | %build |
64d1da21 | 159 | %configure \ |
17dccebf JR |
160 | --enable-gtk=yes \ |
161 | --enable-disassembler \ | |
1f3deafd JR |
162 | --enable-preemption \ |
163 | --with-system-libffi \ | |
164 | --with-system-libsigsegv \ | |
69ff8d2c | 165 | AWK=gawk |
c5e9608b | 166 | |
69ff8d2c JB |
167 | # gtk things are generated improperly when some locale are set |
168 | %{__make} \ | |
169 | LC_ALL=C | |
38df49cb | 170 | |
38df49cb SZ |
171 | %install |
172 | rm -rf $RPM_BUILD_ROOT | |
51ac8a12 | 173 | install -d $RPM_BUILD_ROOT{%{_desktopdir},%{_pixmapsdir}} |
d61b9668 | 174 | |
64d1da21 JB |
175 | %{__make} install \ |
176 | DESTDIR=$RPM_BUILD_ROOT | |
d61b9668 | 177 | |
1f3deafd | 178 | ln -sf ../../bin/gst $RPM_BUILD_ROOT%{_datadir}/smalltalk/gst |
865bbb4f | 179 | |
51ac8a12 | 180 | install %{SOURCE1} $RPM_BUILD_ROOT%{_desktopdir} |
b85013d1 | 181 | install %{SOURCE2} $RPM_BUILD_ROOT%{_pixmapsdir} |
38df49cb | 182 | |
35f29eea | 183 | # no static modules (*.la used by ltdl) |
1f3deafd | 184 | rm -f $RPM_BUILD_ROOT%{_libdir}/smalltalk/*.a |
35f29eea JB |
185 | # doesn't belong here |
186 | rm -rf $RPM_BUILD_ROOT{%{_aclocaldir}/snprintfv.m4,%{_includedir}/snprintfv} | |
187 | ||
b85013d1 | 188 | %clean |
189 | rm -rf $RPM_BUILD_ROOT | |
efb43e97 | 190 | |
38df49cb | 191 | %post |
994a6b77 | 192 | /sbin/ldconfig |
e8949881 | 193 | [ ! -x /usr/sbin/fix-info-dir ] || /usr/sbin/fix-info-dir -c %{_infodir} >/dev/null 2>&1 |
38df49cb SZ |
194 | |
195 | %postun | |
994a6b77 | 196 | /sbin/ldconfig |
e8949881 | 197 | [ ! -x /usr/sbin/fix-info-dir ] || /usr/sbin/fix-info-dir -c %{_infodir} >/dev/null 2>&1 |
38df49cb SZ |
198 | |
199 | %files | |
513ce3b2 | 200 | %defattr(644,root,root,755) |
8878c06a | 201 | %doc AUTHORS NEWS README THANKS |
994a6b77 | 202 | %attr(755,root,root) %{_bindir}/gst |
17dccebf JR |
203 | %attr(755,root,root) %{_bindir}/gst-blox |
204 | %attr(755,root,root) %{_bindir}/gst-convert | |
205 | %attr(755,root,root) %{_bindir}/gst-doc | |
994a6b77 JB |
206 | %attr(755,root,root) %{_bindir}/gst-load |
207 | %attr(755,root,root) %{_bindir}/gst-reload | |
1f3deafd | 208 | %attr(755,root,root) %{_bindir}/gst-remote |
994a6b77 JB |
209 | %attr(755,root,root) %{_bindir}/gst-sunit |
210 | %attr(755,root,root) %{_libdir}/libgst.so.*.*.* | |
1f3deafd JR |
211 | %dir %{_libdir}/smalltalk |
212 | %{_libdir}/smalltalk/libc.la | |
213 | %attr(755,root,root) %{_libdir}/smalltalk/digest*.so | |
214 | %{_libdir}/smalltalk/digest.la | |
215 | %attr(755,root,root) %{_libdir}/smalltalk/i18n*.so | |
216 | %{_libdir}/smalltalk/i18n.la | |
217 | %attr(755,root,root) %{_libdir}/smalltalk/iconv*.so | |
218 | %{_libdir}/smalltalk/iconv.la | |
219 | %attr(755,root,root) %{_libdir}/smalltalk/zlib*.so | |
220 | %{_libdir}/smalltalk/zlib.la | |
221 | %attr(755,root,root) %{_libdir}/smalltalk/sockets*.so | |
222 | %{_libdir}/smalltalk/sockets.la | |
223 | %attr(755,root,root) %{_libdir}/smalltalk/vfs/* | |
224 | %{_datadir}/smalltalk | |
e5a6e0e0 | 225 | %{_infodir}/gst* |
994a6b77 | 226 | %{_mandir}/man1/gst.1* |
17dccebf JR |
227 | %{_mandir}/man1/gst-convert.1* |
228 | %{_mandir}/man1/gst-doc.1* | |
229 | %{_mandir}/man1/gst-load.1* | |
1f3deafd | 230 | %{_mandir}/man1/gst-reload.1* |
17dccebf | 231 | %{_mandir}/man1/gst-sunit.1* |
5ebdfcaf | 232 | %{_desktopdir}/*.desktop |
8878c06a | 233 | %{_pixmapsdir}/* |
1f3deafd JR |
234 | %dir /var/lib/smalltalk |
235 | /var/lib/smalltalk/gst.im | |
38df49cb SZ |
236 | |
237 | %files devel | |
513ce3b2 | 238 | %defattr(644,root,root,755) |
b85013d1 | 239 | %attr (755,root,root) %{_bindir}/gst-config |
240 | %attr (755,root,root) %{_bindir}/gst-package | |
994a6b77 JB |
241 | %attr(755,root,root) %{_libdir}/libgst.so |
242 | %{_libdir}/libgst.la | |
35f29eea JB |
243 | %{_includedir}/*.h |
244 | %{_aclocaldir}/gst.m4 | |
17dccebf | 245 | %{_aclocaldir}/gst-package.m4 |
994a6b77 | 246 | %{_pkgconfigdir}/gnu-smalltalk.pc |
17dccebf JR |
247 | %{_mandir}/man1/gst-config.1* |
248 | %{_mandir}/man1/gst-package.1* | |
38df49cb SZ |
249 | |
250 | %files static | |
513ce3b2 | 251 | %defattr(644,root,root,755) |
994a6b77 | 252 | %{_libdir}/libgst.a |
35f29eea JB |
253 | |
254 | %files tk | |
255 | %defattr(644,root,root,755) | |
1f3deafd JR |
256 | %attr(755,root,root) %{_libdir}/smalltalk/blox-tk*.so |
257 | %{_libdir}/smalltalk/blox-tk.la | |
35f29eea JB |
258 | |
259 | %files gdbm | |
260 | %defattr(644,root,root,755) | |
1f3deafd JR |
261 | %attr(755,root,root) %{_libdir}/smalltalk/gdbm*.so |
262 | %{_libdir}/smalltalk/gdbm.la | |
35f29eea JB |
263 | |
264 | %files gtk | |
265 | %defattr(644,root,root,755) | |
1f3deafd JR |
266 | %attr(755,root,root) %{_libdir}/smalltalk/gst-gtk*.so |
267 | %{_libdir}/smalltalk/gst-gtk.la | |
17dccebf JR |
268 | |
269 | %files sqlite3 | |
270 | %defattr(644,root,root,755) | |
1f3deafd JR |
271 | %attr(755,root,root) %{_libdir}/smalltalk/dbd-sqlite3*.so |
272 | %{_libdir}/smalltalk/dbd-sqlite3.la | |
273 | ||
274 | %files sdl | |
275 | %defattr(644,root,root,755) | |
276 | %attr(755,root,root) %{_libdir}/smalltalk/sdl*.so | |
277 | %{_libdir}/smalltalk/sdl.la | |
278 | ||
279 | %files opengl | |
280 | %defattr(644,root,root,755) | |
281 | %attr(755,root,root) %{_libdir}/smalltalk/gstglut*.so | |
282 | %{_libdir}/smalltalk/gstglut.la | |
283 | %attr(755,root,root) %{_libdir}/smalltalk/gstopengl*.so | |
284 | %{_libdir}/smalltalk/gstopengl.la |