]> git.pld-linux.org Git - SPECS.git/blob - java-netrexx.spec
SPECS updated Sun 1 Aug 20:28:02 CEST 2021
[SPECS.git] / java-netrexx.spec
1 #
2 %define         pkgname netrexx
3 #
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
6 Name:           java-%{pkgname}
7 Version:        2.05
8 Release:        1
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
18 BuildRequires:  unzip
19 Requires:       jpackage-utils
20 Obsoletes:      netrexx
21 BuildArch:      noarch
22 BuildRoot:      %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
23
24 %define         _noautocompressdoc *.au *.class *.nrx *.txt *.zip
25
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
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
35 jak Rexx.
36
37 %package doc
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
42 Group:          Documentation
43 Obsoletes:      netrexx-doc
44
45 %description doc
46 Documentation for NetRexx.
47
48 %description doc -l fr.UTF-8
49 Documentation pour NetRexx.
50
51 %description doc -l it.UTF-8
52 Documentazione di NetRexx.
53
54 %description doc -l pl.UTF-8
55 Dokumentacja do języka NetRexx.
56
57 %prep
58 %setup -q -n NetRexx
59 %patch0 -p1
60 find '(' -name '*.sh' -o -name 'nrc' ')' -print0 | xargs -0 sed -i -e 's,\r$,,'
61
62 %build
63
64 %install
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}
69
70 %clean
71 rm -rf $RPM_BUILD_ROOT
72
73 %files
74 %defattr(644,root,root,755)
75 %doc read.me.first
76 %attr(755,root,root) %{_bindir}/*
77 %{_javadir}/NetRexx*.jar
78
79 %files doc
80 %defattr(644,root,root,755)
81 %doc browse/*
This page took 0.100083 seconds and 3 git commands to generate.