2 %define pkgname netrexx
4 Summary: NetRexx - programming language derived from both Rexx and Java
5 Summary(pl.UTF-8): NetRexx - język programowania wywodzący się z języka Rexx i Javy
9 License: IBM proprietary, distributable (see license.txt)
10 Group: Development/Languages/Java
11 Source0: http://www-306.ibm.com/software/awdtools/netrexx/NetRexx.zip
12 # Source0-md5: 07622f619758b83d593a127f4a2542f1
13 Patch0: %{name}-classpath.patch
14 URL: http://www2.hursley.ibm.com/netrexx/
15 BuildRequires: jpackage-utils
16 BuildRequires: rpm-javaprov
17 BuildRequires: rpmbuild(macros) >= 1.300
19 Requires: jpackage-utils
22 BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
24 %define _noautocompressdoc *.au *.class *.nrx *.txt *.zip
27 NetRexx is a programming language derived from both Rexx and Java. It
28 is a dialect of Rexx that retains the portability and efficiency of
29 Java, while being as easy to learn and to use as Rexx.
31 %description -l pl.UTF-8
32 NetRexx to język programowania wywodzący się jednocześnie z języka
33 Rexx oraz Javy. Jest to dialekt języka Rexx zachowujący przenośność i
34 wydajność Javy, będący jednocześnie łatwy do nauczenia i używania tak
38 Summary: Manual for NetRexx
39 Summary(fr.UTF-8): Documentation pour NetRexx
40 Summary(it.UTF-8): Documentazione di NetRexx
41 Summary(pl.UTF-8): Podręcznik do języka NetRexx
43 Obsoletes: netrexx-doc
46 Documentation for NetRexx.
48 %description doc -l fr.UTF-8
49 Documentation pour NetRexx.
51 %description doc -l it.UTF-8
52 Documentazione di NetRexx.
54 %description doc -l pl.UTF-8
55 Dokumentacja do języka NetRexx.
60 find '(' -name '*.sh' -o -name 'nrc' ')' -print0 | xargs -0 sed -i -e 's,\r$,,'
65 rm -rf $RPM_BUILD_ROOT
66 install -d $RPM_BUILD_ROOT{%{_javadir},%{_bindir}}
67 install lib/NetRexxC.jar runlib/NetRexxR.jar $RPM_BUILD_ROOT%{_javadir}
68 install bin/{NetRexxC.sh,nrc} $RPM_BUILD_ROOT%{_bindir}
71 rm -rf $RPM_BUILD_ROOT
74 %defattr(644,root,root,755)
76 %attr(755,root,root) %{_bindir}/*
77 %{_javadir}/NetRexx*.jar
80 %defattr(644,root,root,755)