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