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