3 Summary: Rexx interpreter
4 Summary(de.UTF-8): Ein Interpreter für REXX
5 Summary(pl.UTF-8): Interpreter języka REXX
11 Source0: http://dl.sourceforge.net/regina-rexx/%{name}-REXX-%{version}.tar.gz
12 # Source0-md5: 3300e28b39134211a45aedb0e760cd44
14 Patch0: %{name}-gci_convert.patch
15 URL: http://regina-rexx.sourceforge.net/
16 BuildRequires: automake
19 BuildRequires: rpmbuild(macros) >= 1.268
20 BuildRequires: sed >= 4.0
21 Requires(post,preun): /sbin/chkconfig
22 Requires: %{name}-libs = %{version}-%{release}
24 BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
27 Regina is a Rexx interpreter that has been ported to most Unix
28 platforms (Linux, FreeBSD, Solaris, AIX, HP-UX, etc.) and also to
29 OS/2, eCS, DOS, Win9x/Me/NT/2k/XP, Amiga, AROS, QNX4.x, QNX6.x BeOS,
30 MacOS X, EPOC32, AtheOS, OpenVMS, SkyOS and OpenEdition. Rexx is a
31 programming language that was designed to be easy to use for
32 inexperienced programmers yet powerful enough for experienced users.
33 It is also a language ideally suited as a macro language for other
36 There are two major goals for Regina:
37 - become 100% compliant with the ANSI Standard.
38 - be available on as many platforms as possible
40 %description -l de.UTF-8
41 Regina ist ein Rexx Interpreter der für die meisten Unix Platformen
42 übersetzt worden ist (Linux, FreeBSD, Solaris, AIX, HP-UX, usw.) und
43 auser dem auch für OS/2, eCS, DOS, Win9x/Me/NT/2k/XP, Amiga, Aros,
44 QNX4.x, QNX6.x, BeOS, MacOS X, EPOC32, AtheOS, OpenVMS, SkyOS und
45 OpenEdition. Rexx ist eine Programiersprache die für unerfahrene
46 Programierer entwickelt wurde aber Stark genug für erfahrene
47 Programierer ist. Es ist ebenfalls eine Sprache die sich ideal als
48 Makrosprache für andere Applikationen eignet.
50 Regina hat zwei Hauptziele:
51 - es soll 100% kompatibel mit dem ANSI Standard sein
52 - es soll auf so vielen Platformen wie nur möglich laufen
54 %description -l pl.UTF-8
55 Regina jest interpreterem języka REXX, który został już przeniesiony
56 na większość Unixowych platform (Linux, FreeBSD, Solaris, AIX, HP-UX,
57 itp.) a także OS/2, eCS, DOS, Win9x/Me/NT/2k/XP, Amiga, AROS, QNX4.x,
58 QNX6.x, BeOS, MacOS X, EPOC32, AtheOS, OpenVMS, SkyOS and OpenEdition.
59 Rexx jest językiem programowania, który został zaprojektowany, by być
60 prostym w użyciu przez niedoświadczonych programistów oraz
61 wystarczająco użytecznym, by być używanym przez doświadczonych.
62 Idealnie sprawdza się jako język pisania makr dla innych aplikacji.
64 Dwa główne cele tego interpretera, to
65 - Stuprocentowa kompatybilność ze standardem ANSI
66 - dostępność na jak największej liczbie platform
69 Summary: Libraries for Regina
70 Summary(de.UTF-8): Regina Libraries
71 Summary(pl.UTF-8): Biblioteki interpretera Regina
77 %description libs -l de.UTF-8
80 %description libs -l pl.UTF-8
81 Biblioteki dla interpretera Regina.
84 Summary: Header files for Regina
85 Summary(de.UTF-8): Header Dateien für Regina
86 Summary(pl.UTF-8): Pliki nagłówkowe interpretera Regina
87 Group: Development/Libraries
88 Requires: %{name} = %{version}-%{release}
91 Development files for Regina.
93 %description devel -l de.UTF-8
94 Header Dateien für Regina.
96 %description devel -l pl.UTF-8
97 Pliki nagłówkowe interpretera Regina.
100 Summary: Static Regina library
101 Summary(de.UTF-8): Statische Regina Libraries
102 Summary(pl.UTF-8): Statyczna biblioteka Regina
103 Group: Development/Libraries
104 Requires: %{name}-devel = %{version}-%{release}
107 Static Regina library.
109 %description static -l de.UTF-8
110 Statische Regina Libraries.
112 %description static -l pl.UTF-8
113 Statyczna biblioteka Regina.
120 sed -i -e 's/nsl nsl_s socket//' configure
122 sed -i -e 's/\$(ABI) -shared/$(ABI) -Wl,-soname=${SHLPRE}${SHLFILE}${SHLPST}.\\$(ABI) -shared/' configure
128 CFLAGS="%{rpmcflags}"
131 rm -rf $RPM_BUILD_ROOT
132 install -d $RPM_BUILD_ROOT{/etc/rc.d/init.d,%{_mandir}/man1}
134 %{__make} install -j 1 \
135 DESTDIR=$RPM_BUILD_ROOT
137 install %{SOURCE1} $RPM_BUILD_ROOT/etc/rc.d/init.d/rxstack
138 install regina.1 $RPM_BUILD_ROOT%{_mandir}/man1
139 rm -f $RPM_BUILD_ROOT%{_prefix}/etc/rc.d/init.d/rxstack
140 rm -f $RPM_BUILD_ROOT%{_prefix}/man1/regina.1
143 rm -rf $RPM_BUILD_ROOT
146 /sbin/chkconfig --add rxstack
147 %service rxstack restart
150 if [ "$1" = "0" ] ; then
151 %service rxstack stop
152 /sbin/chkconfig --del rxstack
155 %post libs -p /sbin/ldconfig
156 %postun libs -p /sbin/ldconfig
159 %defattr(644,root,root,755)
160 %doc COPYING-LIB README* demo
161 %attr(755,root,root) %{_bindir}/*
162 %attr(754,root,root) /etc/rc.d/init.d/rxstack
163 %dir %{_datadir}/regina
164 %attr(755,root,root) %{_datadir}/regina/*.rexx
165 %{_datadir}/regina/*.mtb
166 %{_mandir}/man1/regina.1*
169 %defattr(644,root,root,755)
170 %attr(755,root,root) %{_libdir}/libregina.so.*.*
171 %attr(755,root,root) %{_libdir}/librxtest*.so
174 %defattr(644,root,root,755)
175 %attr(755,root,root) %{_libdir}/libregina.so
176 %{_includedir}/rexxsaa.h
179 %defattr(644,root,root,755)
180 %{_libdir}/libregina.a