]>
Commit | Line | Data |
---|---|---|
8a2de2f8 | 1 | %include /usr/lib/rpm/macros.java |
874d07e7 JK |
2 | # |
3 | %define pkgname netrexx | |
4 | # | |
44c3a6e4 | 5 | Summary: NetRexx - programming language derived from both Rexx and Java |
2ac55403 | 6 | Summary(pl.UTF-8): NetRexx - język programowania wywodzący się z języka Rexx i Javy |
874d07e7 | 7 | Name: java-%{pkgname} |
44c3a6e4 | 8 | Version: 2.05 |
874d07e7 | 9 | Release: 1 |
44c3a6e4 JB |
10 | License: IBM proprietary, distributable (see license.txt) |
11 | Group: Development/Languages/Java | |
12 | Source0: http://www-306.ibm.com/software/awdtools/netrexx/NetRexx.zip | |
13 | # Source0-md5: 07622f619758b83d593a127f4a2542f1 | |
8a2de2f8 | 14 | Patch0: %{name}-classpath.patch |
44c3a6e4 | 15 | URL: http://www2.hursley.ibm.com/netrexx/ |
8a2de2f8 ER |
16 | BuildRequires: jpackage-utils |
17 | BuildRequires: rpm-javaprov | |
18 | BuildRequires: rpmbuild(macros) >= 1.300 | |
44c3a6e4 | 19 | BuildRequires: unzip |
8a2de2f8 | 20 | Requires: jpackage-utils |
b03671f6 | 21 | Obsoletes: netrexx |
8a2de2f8 | 22 | BuildArch: noarch |
44c3a6e4 JB |
23 | BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n) |
24 | ||
508c0a07 | 25 | %define _noautocompressdoc *.au *.class *.nrx *.txt *.zip |
8a2de2f8 | 26 | |
44c3a6e4 JB |
27 | %description |
28 | NetRexx is a programming language derived from both Rexx and Java. It | |
29 | is a dialect of Rexx that retains the portability and efficiency of | |
30 | Java, while being as easy to learn and to use as Rexx. | |
31 | ||
a41bcd2d JR |
32 | %description -l pl.UTF-8 |
33 | NetRexx to język programowania wywodzący się jednocześnie z języka | |
34 | Rexx oraz Javy. Jest to dialekt języka Rexx zachowujący przenośność i | |
35 | wydajność Javy, będący jednocześnie łatwy do nauczenia i używania tak | |
44c3a6e4 JB |
36 | jak Rexx. |
37 | ||
8a2de2f8 | 38 | %package doc |
508c0a07 JB |
39 | Summary: Manual for NetRexx |
40 | Summary(fr.UTF-8): Documentation pour NetRexx | |
41 | Summary(it.UTF-8): Documentazione di NetRexx | |
42 | Summary(pl.UTF-8): Podręcznik do języka NetRexx | |
8a2de2f8 | 43 | Group: Documentation |
508c0a07 | 44 | Obsoletes: netrexx-doc |
8a2de2f8 ER |
45 | |
46 | %description doc | |
508c0a07 | 47 | Documentation for NetRexx. |
8a2de2f8 ER |
48 | |
49 | %description doc -l fr.UTF-8 | |
508c0a07 | 50 | Documentation pour NetRexx. |
8a2de2f8 ER |
51 | |
52 | %description doc -l it.UTF-8 | |
508c0a07 | 53 | Documentazione di NetRexx. |
8a2de2f8 ER |
54 | |
55 | %description doc -l pl.UTF-8 | |
508c0a07 | 56 | Dokumentacja do języka NetRexx. |
ad80a791 | 57 | |
44c3a6e4 JB |
58 | %prep |
59 | %setup -q -n NetRexx | |
c1018aec | 60 | %patch0 -p1 |
8a2de2f8 | 61 | find '(' -name '*.sh' -o -name 'nrc' ')' -print0 | xargs -0 sed -i -e 's,\r$,,' |
c1018aec | 62 | |
63 | %build | |
44c3a6e4 JB |
64 | |
65 | %install | |
66 | rm -rf $RPM_BUILD_ROOT | |
67 | install -d $RPM_BUILD_ROOT{%{_javadir},%{_bindir}} | |
44c3a6e4 JB |
68 | install lib/NetRexxC.jar runlib/NetRexxR.jar $RPM_BUILD_ROOT%{_javadir} |
69 | install bin/{NetRexxC.sh,nrc} $RPM_BUILD_ROOT%{_bindir} | |
70 | ||
71 | %clean | |
72 | rm -rf $RPM_BUILD_ROOT | |
73 | ||
74 | %files | |
75 | %defattr(644,root,root,755) | |
8a2de2f8 | 76 | %doc read.me.first |
44c3a6e4 JB |
77 | %attr(755,root,root) %{_bindir}/* |
78 | %{_javadir}/NetRexx*.jar | |
8a2de2f8 ER |
79 | |
80 | %files doc | |
81 | %defattr(644,root,root,755) | |
82 | %doc browse/* |