We can't link with bz2 anymore because it's now a shared
[AROS-Contrib.git] / regina / Regina.spec
blob37e4d7cfb3a09d4804da787f55e30582851a5b70
1 Summary: Regina Rexx Interpreter
2 Name: Regina-REXX
3 %define vermajor 3
4 %define verminor 5
5 Version: 3.5
6 Release: 1
7 Group: Development/Languages
8 Source: Regina-REXX-%{version}.tar.gz
9 BuildRoot: %{_tmppath}/%{name}-%{version}-root
10 Prefix: /usr
11 License: LGPL
12 Vendor: Mark Hessling
13 Packager: Mark Hessling
14 URL: http://regina-rexx.sourceforge.net
15 %ifarch x86_64 ia64 ppc64 s390x sparc64
16 Provides: Regina-REXX %{name} libregina.so()(64bit)
17 %else
18 Provides: Regina-REXX %{name} libregina.so
19 %endif
20 Icon: regina64.xpm
22 %description
23 Regina is an implementation of a Rexx interpreter, compliant with
24 the ANSI Standard for Rexx (1996). It is also available on several other
25 operating systems.
26 For more information on Regina, visit http://regina-rexx.sourceforge.net/
27 For more information on Rexx, visit http://www.rexxla.org
28 %prep
29 %setup
31 %build
32 ./configure --prefix=%{prefix} --mandir=%{prefix}/share/man
33 make
35 %install
36 rm -fr %{buildroot}
37 make DESTDIR=%{buildroot} install
39 %files
40 /usr/%{_lib}/libregina.a
41 /usr/%{_lib}/libregina.so.%{version}
42 /usr/%{_lib}/libregina.so.%{vermajor}
43 /usr/%{_lib}/libregina.so
44 /usr/%{_lib}/libregutil.so
45 /usr/%{_lib}/librxtest1.so
46 /usr/%{_lib}/librxtest2.so
47 /usr/include/rexxsaa.h
48 /usr/share/man/man1/regina.1.gz
49 /usr/etc/rc.d/init.d/rxstack
50 /usr/share/regina/rexxcps.rexx
51 /usr/share/regina/animal.rexx
52 /usr/share/regina/block.rexx
53 /usr/share/regina/dateconv.rexx
54 /usr/share/regina/timeconv.rexx
55 /usr/share/regina/newstr.rexx
56 /usr/share/regina/dynfunc.rexx
57 /usr/share/regina/regutil.rexx
58 /usr/share/regina/de.mtb
59 /usr/share/regina/en.mtb
60 /usr/share/regina/es.mtb
61 /usr/share/regina/no.mtb
62 /usr/share/regina/pl.mtb
63 /usr/share/regina/pt.mtb
64 /usr/share/regina/sv.mtb
65 /usr/share/regina/tr.mtb
66 /usr/bin/rexx
67 /usr/bin/regina
68 /usr/bin/regina-config
69 /usr/bin/rxqueue
70 /usr/bin/rxstack
72 %post
73 cd %{prefix}/%{_lib}
74 #ln -sf ./libregina.so.%{version} ./libregina.so.%{vermajor}
75 #ln -sf ./libregina.so.%{version} ./libregina.so
76 ldconfig %{prefix}/%{_lib}