]>
Commit | Line | Data |
---|---|---|
874d07e7 JK |
1 | # |
2 | %define pkgname netrexx | |
3 | # | |
44c3a6e4 | 4 | Summary: NetRexx - programming language derived from both Rexx and Java |
2ac55403 | 5 | Summary(pl.UTF-8): NetRexx - język programowania wywodzący się z języka Rexx i Javy |
874d07e7 | 6 | Name: java-%{pkgname} |
44c3a6e4 | 7 | Version: 2.05 |
874d07e7 | 8 | Release: 1 |
44c3a6e4 JB |
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 | |
8a2de2f8 | 13 | Patch0: %{name}-classpath.patch |
44c3a6e4 | 14 | URL: http://www2.hursley.ibm.com/netrexx/ |
8a2de2f8 ER |
15 | BuildRequires: jpackage-utils |
16 | BuildRequires: rpm-javaprov | |
17 | BuildRequires: rpmbuild(macros) >= 1.300 | |
44c3a6e4 | 18 | BuildRequires: unzip |
8a2de2f8 | 19 | Requires: jpackage-utils |
b03671f6 | 20 | Obsoletes: netrexx |
8a2de2f8 | 21 | BuildArch: noarch |
44c3a6e4 JB |
22 | BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n) |
23 | ||
508c0a07 | 24 | %define _noautocompressdoc *.au *.class *.nrx *.txt *.zip |
8a2de2f8 | 25 | |
44c3a6e4 JB |
26 | %description |
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. | |
30 | ||
a41bcd2d JR |
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 | |
44c3a6e4 JB |
35 | jak Rexx. |
36 | ||
8a2de2f8 | 37 | %package doc |
508c0a07 JB |
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 | |
8a2de2f8 | 42 | Group: Documentation |
508c0a07 | 43 | Obsoletes: netrexx-doc |
8a2de2f8 ER |
44 | |
45 | %description doc | |
508c0a07 | 46 | Documentation for NetRexx. |
8a2de2f8 ER |
47 | |
48 | %description doc -l fr.UTF-8 | |
508c0a07 | 49 | Documentation pour NetRexx. |
8a2de2f8 ER |
50 | |
51 | %description doc -l it.UTF-8 | |
508c0a07 | 52 | Documentazione di NetRexx. |
8a2de2f8 ER |
53 | |
54 | %description doc -l pl.UTF-8 | |
508c0a07 | 55 | Dokumentacja do języka NetRexx. |
ad80a791 | 56 | |
44c3a6e4 JB |
57 | %prep |
58 | %setup -q -n NetRexx | |
c1018aec | 59 | %patch0 -p1 |
8a2de2f8 | 60 | find '(' -name '*.sh' -o -name 'nrc' ')' -print0 | xargs -0 sed -i -e 's,\r$,,' |
c1018aec | 61 | |
62 | %build | |
44c3a6e4 JB |
63 | |
64 | %install | |
65 | rm -rf $RPM_BUILD_ROOT | |
66 | install -d $RPM_BUILD_ROOT{%{_javadir},%{_bindir}} | |
44c3a6e4 JB |
67 | install lib/NetRexxC.jar runlib/NetRexxR.jar $RPM_BUILD_ROOT%{_javadir} |
68 | install bin/{NetRexxC.sh,nrc} $RPM_BUILD_ROOT%{_bindir} | |
69 | ||
70 | %clean | |
71 | rm -rf $RPM_BUILD_ROOT | |
72 | ||
73 | %files | |
74 | %defattr(644,root,root,755) | |
8a2de2f8 | 75 | %doc read.me.first |
44c3a6e4 JB |
76 | %attr(755,root,root) %{_bindir}/* |
77 | %{_javadir}/NetRexx*.jar | |
8a2de2f8 ER |
78 | |
79 | %files doc | |
80 | %defattr(644,root,root,755) | |
81 | %doc browse/* |