]> git.pld-linux.org Git - packages/smalltalk.git/blame - smalltalk.spec
- rel 1
[packages/smalltalk.git] / smalltalk.spec
CommitLineData
ae0be00c 1Summary: GNU smalltalk
eadb5e7f 2Summary(pl.UTF-8): GNU smalltalk
38df49cb 3Name: smalltalk
1f3deafd 4Version: 3.1
81211826 5Release: 1
513ce3b2 6License: GPL
38df49cb 7Group: Development/Languages
87ba1c40 8Source0: ftp://ftp.gnu.org/pub/gnu/smalltalk/%{name}-%{version}.tar.gz
1f3deafd 9# Source0-md5: fb4630a86fc47c893cf9eb9adccd4851
b85013d1 10Source1: %{name}.desktop
11Source2: %{name}.png
1f3deafd 12Patch0: %{name}-proc.patch
69ff8d2c 13URL: http://www.gnu.org/software/smalltalk/
1f3deafd
JR
14BuildRequires: OpenGL-devel
15BuildRequires: SDL-devel
64d1da21 16BuildRequires: atk-devel >= 1.0.0
35f29eea 17BuildRequires: autoconf >= 2.52
8878c06a 18BuildRequires: automake
64d1da21
JB
19BuildRequires: gawk
20BuildRequires: gdbm-devel
21BuildRequires: glib2-devel >= 2.0.0
1f3deafd 22BuildRequires: glut-devel
71789ab8 23BuildRequires: gtk+2-devel >= 1:2.0.0
1f3deafd 24BuildRequires: libffi-devel
76604e72 25BuildRequires: libltdl-devel
1f3deafd 26BuildRequires: libsigsegv
3a945cfe 27BuildRequires: libtool >= 2:1.5
99e6eec0 28BuildRequires: ncurses-devel >= 5.0
02edefbf 29BuildRequires: pango-devel >= 1:1.0.0
64d1da21 30BuildRequires: pkgconfig
8878c06a 31BuildRequires: readline-devel >= 4.2
17dccebf 32BuildRequires: sqlite3-devel
c236bd4c 33BuildRequires: rpmbuild(macros) >= 1.213
afc15661 34BuildRequires: texinfo
35f29eea 35BuildRequires: tk-devel >= 8.4
51be2f4c 36#BuildRequires: xemacs
994a6b77 37Requires(post,postun): /sbin/ldconfig
b1f9d944 38BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
d61b9668 39
38df49cb 40%description
b85013d1 41GNU Smalltalk is a Free (or Open Source) implementation that closely
42follows the Smalltalk-80 language as described in the book
43Smalltalk-80: the Language and its Implementation by Adele Goldberg
44and David Robson. GNUSmalltalk runs on most versions of Unix or Unix
45like systems (GNU/Linux, FreeBSD, etc...). There is even a version for
46commercial operating systems like MS-NT.
38df49cb 47
f47a83a7
JR
48%description -l pl.UTF-8
49GNU Smalltalk jest Wolną (lub Open Source) implementacją tak bliską
50językowi Smalltalk-80 jak to jest opisane w książce Smalltalk-80: the
41cf5c01 51Language and its Implementation napisanej przez Adele Goldberg oraz
f47a83a7
JR
52David Robson. GNUSmalltalk działa na większości wersji Unix'ów lub
53systemów uniksopodobnych (GNU/Linux, FreeBSD, etc...). Jest nawet
54wersja dla systemów komercyjnych, takich jak M$-NT.
38df49cb
SZ
55
56%package devel
57Summary: GNU SmallTalk header files
eadb5e7f 58Summary(pl.UTF-8): Pliki nagłówkowe dla GNU SmallTalka
35f29eea
JB
59Group: Development/Libraries
60Requires: %{name} = %{version}-%{release}
17dccebf
JR
61Requires: gmp-devel
62Requires: readline-devel
38df49cb
SZ
63
64%description devel
65The GNU SmallTalk header files.
66
f47a83a7
JR
67%description devel -l pl.UTF-8
68Pliki nagłówkowe dla GNU SmallTalka.
38df49cb
SZ
69
70%package static
71Summary: Static libraries for GNU Smalltalk
eadb5e7f 72Summary(pl.UTF-8): Biblioteki statyczne dla GNU Smalltalka
35f29eea
JB
73Group: Development/Libraries
74Requires: %{name}-devel = %{version}-%{release}
38df49cb
SZ
75
76%description static
77The GNU SmallTalk static libraries.
78
f47a83a7 79%description static -l pl.UTF-8
865bbb4f 80Biblioteki statyczne dla GNU SmallTalka.
38df49cb 81
35f29eea
JB
82%package tk
83Summary: blox-tk module for GNU Smalltalk
eadb5e7f 84Summary(pl.UTF-8): Moduł blox-tk dla GNU Smalltalka
35f29eea
JB
85Group: Libraries
86Requires: %{name} = %{version}-%{release}
87
88%description tk
89blox-tk module for GNU Smalltalk.
90
f47a83a7
JR
91%description tk -l pl.UTF-8
92Moduł blox-tk dla GNU Smalltalka.
35f29eea
JB
93
94%package gdbm
95Summary: GDBM module for GNU Smalltalk
eadb5e7f 96Summary(pl.UTF-8): Moduł GDBM dla GNU Smalltalka
35f29eea
JB
97Group: Libraries
98Requires: %{name} = %{version}-%{release}
99
100%description gdbm
101GDBM module for GNU Smalltalk.
102
f47a83a7
JR
103%description gdbm -l pl.UTF-8
104Moduł GDBM dla GNU Smalltalka.
35f29eea
JB
105
106%package gtk
276b58b4 107Summary: GTK+ module for GNU Smalltalk
eadb5e7f 108Summary(pl.UTF-8): Moduł GTK+ dla GNU Smalltalka
35f29eea
JB
109Group: Libraries
110Requires: %{name} = %{version}-%{release}
111
112%description gtk
276b58b4 113GTK+ module for GNU Smalltalk.
35f29eea 114
f47a83a7
JR
115%description gtk -l pl.UTF-8
116Moduł GTK+ dla GNU Smalltalka.
35f29eea 117
17dccebf
JR
118%package sqlite3
119Summary: Sqlite3 module for GNU Smalltalk
120Summary(pl.UTF-8): Moduł Sqlite3 dla GNU Smalltalka
121Group: Libraries
122Requires: %{name} = %{version}-%{release}
123
124%description sqlite3
125Sqlite3 module for GNU Smalltalk.
126
127%description sqlite3 -l pl.UTF-8
128Moduł Sqlite3 dla GNU Smalltalka.
129
1f3deafd
JR
130%package sdl
131Summary: SDL module for GNU Smalltalk
132Summary(pl.UTF-8): Moduł SDL dla GNU Smalltalka
133Group: Libraries
134Requires: %{name} = %{version}-%{release}
135
136%description sdl
137SDL module for GNU Smalltalk.
138
139%description sdl -l pl.UTF-8
140Moduł SDL dla GNU Smalltalka.
141
142%package opengl
143summary: OpenGL module for GNU Smalltalk
144Summary(pl.UTF-8): Moduł OpenGL dla GNU Smalltalka
145Group: Libraries
146Requires: %{name} = %{version}-%{release}
147
148%description opengl
149openGL module for GNU Smalltalk.
150
151%description opengl -l pl.UTF-8
152Moduł 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
172rm -rf $RPM_BUILD_ROOT
51ac8a12 173install -d $RPM_BUILD_ROOT{%{_desktopdir},%{_pixmapsdir}}
d61b9668 174
64d1da21
JB
175%{__make} install \
176 DESTDIR=$RPM_BUILD_ROOT
d61b9668 177
1f3deafd 178ln -sf ../../bin/gst $RPM_BUILD_ROOT%{_datadir}/smalltalk/gst
865bbb4f 179
51ac8a12 180install %{SOURCE1} $RPM_BUILD_ROOT%{_desktopdir}
b85013d1 181install %{SOURCE2} $RPM_BUILD_ROOT%{_pixmapsdir}
38df49cb 182
35f29eea 183# no static modules (*.la used by ltdl)
1f3deafd 184rm -f $RPM_BUILD_ROOT%{_libdir}/smalltalk/*.a
35f29eea
JB
185# doesn't belong here
186rm -rf $RPM_BUILD_ROOT{%{_aclocaldir}/snprintfv.m4,%{_includedir}/snprintfv}
187
b85013d1 188%clean
189rm -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
This page took 0.116035 seconds and 4 git commands to generate.