2 Summary: shared library for C like extension language
3 Summary(de): Shared Library für eine C-artige Sprache
4 Summary(fr): Bibliothèque partagée pour le langage d'extension C like
5 Summary(pl): Biblioteka Slang
6 Summary(tr): C benzeri dil için ortak kitaplýk
14 Group(es): Bibliotecas
17 Group(pt_BR): Bibliotecas
20 Source0: ftp://space.mit.edu/pub/davis/slang/v1.4/%{name}-%{version}.tar.bz2
21 Source1: ftp://space.mit.edu/pub/davis/slang/v1.4/%{name}%{docver}-doc.tar.gz
22 Patch0: %{name}-security.patch
23 Patch1: %{name}-DESTDIR.patch
24 Patch2: %{name}-nodevel.patch
25 Patch3: %{name}-keymap.patch
26 %{?BOOT:BuildRequires: uClibc-devel-BOOT}
27 BuildRequires: autoconf
28 BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
30 %define _includedir %{_prefix}/include/slang
33 Slang (pronounced ``sssslang'') is a powerful stack based interpreter
34 that supports a C-like syntax. It has been designed from the beginning
35 to be easily embedded into a program to make it extensible. Slang also
36 provides a way to quickly develop and debug the application embedding
37 it in a safe and efficient manner. Since slang resembles C, it is easy
38 to recode slang procedures in C if the need arises.
41 Slang (sprich ``sssslang'') ist ein leistungsfähiger stapelbasierter
42 Interpreter, der eine C-ähnliche Syntax unterstützt. Er kann auf
43 einfache Weise in ein Programm eingebettet werden, damit dieses
44 erweiterbar wird. Slang bietet außerdem eine Möglichkeit zum schnellen
45 Entwickeln und Debuggen der Anwendung, in die er eingebettet ist. Da
46 Slang C ähnlich ist, können Slang-Vorgänge einfach in C umgeschrieben
50 slang (prononcez « sssslang ») est un interpréteur puissant offrant
51 une syntaxe à la C. Il a été conçu au début pour être facilement
52 intégré dans un programme afin de le rendre extensible. slang offre
53 aussi le moyen de developper et débugger rapidement l'application
54 intégrée de façon sûre et efficace. Comme slang ressemble à C, il est
55 facile de recoder les procédures slang en C si besoin est.
58 Slang jest opart± o terminfo bibliotek± do obs³ugi terminali
59 znakowych, posiadaj±c± wbudowany interpreter jêzyka podobnego
60 sk³adniowo do C. Na pocz±tku by³ on przeznaczony aby ³atwo da³ siê
61 osadzaæ w aplikacjê i uczyniæ j± rozszerzon±. Slang zapewnia
62 mechanizmy u³atwiaj±ce szybkie tworzenie rozbudowanych, ³atwo
63 konfigurowalnych aplikacji. Slang równie¿ umo¿liwia proste
64 prze¶ledzenie ewentualnych b³êdów w aplikacjach w bezpieczny i wydajny
68 Slang, C'ye benzer bir yazýmý olan, güçlü, yýðýn-tabanlý bir
69 yorumlayýcýdýr. C'ye benzer olduðundan Slang ile yazýlmýþ kodlarý C'ye
70 çevirmek oldukça kolaydýr.
73 Summary: header files for slang C like language
74 Summary(de): Header-Dateien für eine Slangvariante der C-Sprache
75 Summary(fr): En-têtes pour le langage slang
76 Summary(pl): Pliki nag³ówkowe dla slanga
77 Summary(tr): slang dili için statik kitaplýk ve baþlýk dosyalarý
78 Group: Development/Libraries
79 Group(de): Entwicklung/Libraries
80 Group(es): Desarrollo/Bibliotecas
81 Group(fr): Development/Librairies
82 Group(pl): Programowanie/Biblioteki
83 Group(pt_BR): Desenvolvimento/Bibliotecas
84 Group(ru): òÁÚÒÁÂÏÔËÁ/âÉÂÌÉÏÔÅËÉ
85 Group(uk): òÏÚÒÏÂËÁ/â¦Â̦ÏÔÅËÉ
86 Requires: %{name} = %{version}
89 This package contains header files required to develop slang-based
90 applications. It also includes documentation to help you write
93 %description devel -l de
94 Dieses Paket enthält Header-Dateien zum Entwickeln von slang-basierten
95 Anwendungen. Dokumentation zum Schreiben von slang-basierten
96 Anwendungen ist enthalten.
98 %description devel -l fr
99 Ce paquetage contient les bibliothèques statiques et les en-têtes
100 slang pour développer des applications en slang. Il contient aussi la
101 documentation pour vous aider à écrire ces applications.
103 %description devel -l pl
104 Pakiet ten zawiera pliki nag³ówkowe slang. Znajduje siê tutaj równie¿
105 dokumentacja, która pomo¿e Ci w pisaniu aplikacji pod tê bibliotekê.
107 %description devel -l tr
108 Bu paket slang tabanlý uygulamalar geliþtirmek için gereken baþlýk
109 dosyalarý ve kitaplýklarýn yanýsýra slang yardým belgelerini de
113 Summary: slang static library
114 Summary(pl): Biblioteka statyczna slang
115 Group: Development/Libraries
116 Group(de): Entwicklung/Libraries
117 Group(es): Desarrollo/Bibliotecas
118 Group(fr): Development/Librairies
119 Group(pl): Programowanie/Biblioteki
120 Group(pt_BR): Desenvolvimento/Bibliotecas
121 Group(ru): òÁÚÒÁÂÏÔËÁ/âÉÂÌÉÏÔÅËÉ
122 Group(uk): òÏÚÒÏÂËÁ/â¦Â̦ÏÔÅËÉ
123 Requires: %{name}-devel = %{version}
126 This package contains the slang static libraries.
128 %description static -l de
129 Dieses Paket enthält die statischen Libraries.
131 %description static -l pl
132 Biblioteka statyczna slang.
135 Summary: Static slang for bootdisk
136 Summary(pl): Statyczny slang dla bootkietki
137 Group: Development/Libraries
138 Group(de): Entwicklung/Libraries
139 Group(es): Desarrollo/Bibliotecas
140 Group(fr): Development/Librairies
141 Group(pl): Programowanie/Biblioteki
142 Group(pt_BR): Desenvolvimento/Bibliotecas
143 Group(ru): òÁÚÒÁÂÏÔËÁ/âÉÂÌÉÏÔÅËÉ
144 Group(uk): òÏÚÒÏÂËÁ/â¦Â̦ÏÔÅËÉ
146 %description devel-BOOT
147 Static slang for bootdisk (compiled against uClibc headers).
149 %description devel-BOOT -l pl
150 Statyczny slang dla bootkietki (skompilowany z nag³ówkami uClibc).
159 (cd autoconf ; mv -f acsite.m4 aclocal.m4 ; autoconf ; cp -f configure ..)
160 (cd demo ; cp -f ../autoconf/aclocal.m4 . ; autoconf)
163 %if %{?BOOT:1}%{!?BOOT:0}
166 CFLAGS="-m386 -Os -fno-strength-reduce -I%{_libdir}/bootdisk/usr/include" \
168 mv -f src/objs/libslang.a libslang.a-BOOT
173 %{__make} elf ELF_CFLAGS="%{rpmcflags} -fPIC"
174 %{__make} all CFLAGS="%{rpmcflags}"
175 %{__make} -C slsh DL_LIB="-ldl" ARCH="elf" CFLAGS="%{rpmcflags}"
178 rm -rf $RPM_BUILD_ROOT
179 install -d $RPM_BUILD_ROOT{%{_examplesdir}/%{name}-%{version},%{_bindir}}
181 %if %{?BOOT:1}%{!?BOOT:0}
183 install -d $RPM_BUILD_ROOT%{_libdir}/bootdisk%{_libdir}
184 install -d $RPM_BUILD_ROOT%{_libdir}/bootdisk%{_includedir}
185 install libslang.a-BOOT $RPM_BUILD_ROOT%{_libdir}/bootdisk%{_libdir}/libslang.a
186 install src/slang.h src/slcurses.h $RPM_BUILD_ROOT%{_libdir}/bootdisk%{_includedir}
189 %{__make} install install-elf install-links \
190 DESTDIR=$RPM_BUILD_ROOT
192 install slsh/slsh $RPM_BUILD_ROOT%{_bindir}
194 cp -a modules examples demo src/curses $RPM_BUILD_ROOT%{_examplesdir}/%{name}-%{version}
196 gzip -9nf doc/sgml/* doc/*.txt
199 rm -rf $RPM_BUILD_ROOT
201 %post -p /sbin/ldconfig
202 %postun -p /sbin/ldconfig
205 %defattr(644,root,root,755)
206 %attr(755,root,root) %{_bindir}/*
207 %attr(755,root,root) %{_libdir}/lib*.so.*.*
210 %defattr(644,root,root,755)
211 %doc doc/html doc/*.gz
212 %attr(755,root,root) %{_libdir}/libslang.so
214 %{_examplesdir}/%{name}-%{version}
217 %defattr(644,root,root,755)
218 %{_libdir}/libslang.a
220 %if %{?BOOT:1}%{!?BOOT:0}
222 %defattr(644,root,root,755)
223 %{_libdir}/bootdisk%{_libdir}/*.a
224 %{_libdir}/bootdisk%{_includedir}