]> git.pld-linux.org Git - packages/Regina.git/blame - Regina.spec
- tabs in preamble
[packages/Regina.git] / Regina.spec
CommitLineData
257ae0ba 1# TODO:
257ae0ba 2# - use bconds
257ae0ba 3Summary: Rexx interpreter
c4417fa6
ER
4Summary(de.UTF-8): Ein Interpreter für REXX
5Summary(pl.UTF-8): Interpreter języka REXX
257ae0ba 6Name: Regina
7Version: 3.3
8Release: 0.1
9License: GPL
10Group: Applications
11Source0: http://dl.sourceforge.net/regina-rexx/%{name}-REXX-%{version}.tar.gz
12# Source0-md5: bdb85f57cbe3e7f9b45aea329cd7752e
4b6d2ed2 13Source1: %{name}.init
257ae0ba 14Patch0: %{name}-makefileinfix.patch
15URL: http://regina-rexx.sourceforge.net
c4be549e 16BuildRequires: automake
257ae0ba 17BuildRequires: bison
18BuildRequires: flex
5b64b66e 19BuildRequires: rpmbuild(macros) >= 1.268
c4be549e 20BuildRequires: sed >= 4.0
257ae0ba 21Requires(post,preun): /sbin/chkconfig
c4be549e 22Requires: %{name}-libs = %{version}-%{release}
257ae0ba 23Provides: rexx
24BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
25
26%description
27Regina is a Rexx interpreter that has been ported to most Unix
28platforms (Linux, FreeBSD, Solaris, AIX, HP-UX, etc.) and also to
29OS/2, eCS, DOS, Win9x/Me/NT/2k/XP, Amiga, AROS, QNX4.x, QNX6.x BeOS,
30MacOS X, EPOC32, AtheOS, OpenVMS, SkyOS and OpenEdition. Rexx is a
31programming language that was designed to be easy to use for
32inexperienced programmers yet powerful enough for experienced users.
33It is also a language ideally suited as a macro language for other
34applications.
35
36There are two major goals for Regina:
5b64b66e
ER
37- become 100% compliant with the ANSI Standard.
38- be available on as many platforms as possible
257ae0ba 39
f981ec78
JR
40%description -l de.UTF-8
41Regina ist ein Rexx Interpreter der für die meisten Unix Platformen
42übersetzt worden ist (Linux, FreeBSD, Solaris, AIX, HP-UX, usw.) und
43auser dem auch für OS/2, eCS, DOS, Win9x/Me/NT/2k/XP, Amiga, Aros,
c8feefd5 44QNX4.x, QNX6.x, BeOS, MacOS X, EPOC32, AtheOS, OpenVMS, SkyOS und
f981ec78
JR
45OpenEdition. Rexx ist eine Programiersprache die für unerfahrene
46Programierer entwickelt wurde aber Stark genug für erfahrene
c8feefd5 47Programierer ist. Es ist ebenfalls eine Sprache die sich ideal als
f981ec78 48Makrosprache für andere Applikationen eignet.
c8feefd5 49
50Regina hat zwei Hauptziele:
51- es soll 100% kompatibel mit dem ANSI Standard sein
f981ec78 52- es soll auf so vielen Platformen wie nur möglich laufen
c8feefd5 53
f981ec78
JR
54%description -l pl.UTF-8
55Regina jest interpreterem języka REXX, który został już przeniesiony
56na większość Unixowych platform (Linux, FreeBSD, Solaris, AIX, HP-UX,
57itp.) a także OS/2, eCS, DOS, Win9x/Me/NT/2k/XP, Amiga, AROS, QNX4.x,
257ae0ba 58QNX6.x, BeOS, MacOS X, EPOC32, AtheOS, OpenVMS, SkyOS and OpenEdition.
f981ec78
JR
59Rexx jest językiem programowania, który został zaprojektowany, by być
60prostym w użyciu przez niedoświadczonych programistów oraz
61wystarczająco użytecznym, by być używanym przez doświadczonych.
62Idealnie sprawdza się jako język pisania makr dla innych aplikacji
257ae0ba 63
f981ec78
JR
64Dwa główne cele tego interpretera, to
65- Stuprocentowa kompatybilność ze standardem ANSI
66- dostępność na jak największej liczbie platform
257ae0ba 67
c4be549e
JB
68%package libs
69Summary: Libraries for Regina
c4417fa6
ER
70Summary(de.UTF-8): Regina Libraries
71Summary(pl.UTF-8): Biblioteki interpretera Regina
c4be549e
JB
72Group: Libraries
73
74%description libs
75Regina libraries.
76
f981ec78 77%description libs -l de.UTF-8
c4be549e
JB
78Regina Libraries.
79
f981ec78 80%description libs -l pl.UTF-8
c4be549e
JB
81Biblioteki dla interpretera Regina.
82
82a7f6f0 83%package devel
84Summary: Header files for Regina
c4417fa6
ER
85Summary(de.UTF-8): Header Dateien für Regina
86Summary(pl.UTF-8): Pliki nagłówkowe interpretera Regina
82a7f6f0 87Group: Development/Libraries
88Requires: %{name} = %{version}-%{release}
89
90%description devel
91Development files for Regina.
92
f981ec78
JR
93%description devel -l de.UTF-8
94Header Dateien für Regina.
c8feefd5 95
f981ec78
JR
96%description devel -l pl.UTF-8
97Pliki nagłówkowe interpretera Regina.
82a7f6f0 98
c4be549e
JB
99%package static
100Summary: Static Regina library
c4417fa6
ER
101Summary(de.UTF-8): Statische Regina Libraries
102Summary(pl.UTF-8): Statyczna biblioteka Regina
c4be549e
JB
103Group: Development/Libraries
104Requires: %{name}-devel = %{version}-%{release}
82a7f6f0 105
c4be549e
JB
106%description static
107Static Regina library.
82a7f6f0 108
f981ec78 109%description static -l de.UTF-8
d215f931
JB
110Statische Regina Libraries.
111
f981ec78 112%description static -l pl.UTF-8
c4be549e 113Statyczna biblioteka Regina.
82a7f6f0 114
257ae0ba 115%prep
116%setup -q
099ed0d0 117%patch0 -p1
257ae0ba 118
c4be549e
JB
119# hacks for weak tests for gcc
120sed -i -e 's/gcc)/*gcc)/;s/= "gcc"/= "%{__cc}"/' configure
121# unnecessary libs
122sed -i -e 's/nsl nsl_s socket//' configure
123# set soname
124sed -i -e 's/\$(ABI) -shared/$(ABI) -Wl,-soname=${SHLPRE}${SHLFILE}${SHLPST}.\\$(ABI) -shared/' configure
125
257ae0ba 126%build
c4be549e
JB
127cp -f /usr/share/automake/config.* .
128%configure2_13
257ae0ba 129%{__make} \
130 CC="%{__cc}" \
131 CFLAGS="%{rpmcflags}"
132
133%install
134rm -rf $RPM_BUILD_ROOT
d2540f49
JB
135install -d $RPM_BUILD_ROOT{/etc/rc.d/init.d,%{_mandir}/man1}
136
257ae0ba 137%{__make} install \
d2540f49
JB
138 DESTDIR=$RPM_BUILD_ROOT
139
4b6d2ed2 140install %{SOURCE1} $RPM_BUILD_ROOT/etc/rc.d/init.d/rxstack
35652c46 141install regina.1 $RPM_BUILD_ROOT%{_mandir}/man1
257ae0ba 142rm -f $RPM_BUILD_ROOT%{_prefix}/etc/rc.d/init.d/rxstack
c8feefd5 143rm -f $RPM_BUILD_ROOT%{_prefix}/man1/regina.1
257ae0ba 144
145%clean
146rm -rf $RPM_BUILD_ROOT
147
099ed0d0 148%post
257ae0ba 149/sbin/chkconfig --add rxstack
5b64b66e 150%service rxstack restart
257ae0ba 151
152%preun
099ed0d0 153if [ "$1" = "0" ] ; then
154 %service rxstack stop
155 /sbin/chkconfig --del rxstack
257ae0ba 156fi
157
d2540f49
JB
158%post libs -p /sbin/ldconfig
159%postun libs -p /sbin/ldconfig
82a7f6f0 160
257ae0ba 161%files
162%defattr(644,root,root,755)
163%doc COPYING-LIB README* demo
164%attr(755,root,root) %{_bindir}/*
165%attr(754,root,root) /etc/rc.d/init.d/rxstack
5b64b66e 166%dir %{_datadir}/regina
257ae0ba 167%attr(755,root,root) %{_datadir}/regina/*.rexx
168%{_datadir}/regina/*.mtb
169%{_mandir}/man1/regina.1*
82a7f6f0 170
171%files libs
172%defattr(644,root,root,755)
c4be549e
JB
173%attr(755,root,root) %{_libdir}/libregina.so.*.*
174%attr(755,root,root) %{_libdir}/libtest*.so
82a7f6f0 175
176%files devel
177%defattr(644,root,root,755)
c4be549e 178%attr(755,root,root) %{_libdir}/libregina.so
82a7f6f0 179%{_includedir}/rexxsaa.h
c4be549e
JB
180
181%files static
182%defattr(644,root,root,755)
183%{_libdir}/libregina.a
This page took 0.064411 seconds and 4 git commands to generate.