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