66 lines
2.1 KiB

Name: java-retroweaver
Version: 2.0.7
Release: 4mamba
Summary: a Java bytecode weaver
Group: Development/Libraries/Java
Vendor: openmamba
Distribution: openmamba
Packager: Silvan Calarco <>
Patch0: java-retroweaver-2.0.7-docs.patch
License: BSD
BuildRequires: jpackage-utils
Requires: java-backport-util-concurrent
Requires: objectweb-asm = 3.2
BuildRoot: %{_tmppath}/%{name}-%{version}-root
Retroweaver is a tool, which converts Java 5 (or 6) compliant class files into Java 1.x compliant class files. The jar file retroweaver.jar contains both the class processor (which may be used at compile time) and the runtime classes. Additionally there is the jar file retroweaver-rt.jar (which contains the runtime classes only).
%setup -q -n retroweaver-%{version}
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
install -d -m0755 %{buildroot}%{_javadir}
cp release/*.jar %{buildroot}%{_javadir}
cd %{buildroot}%{_javadir}
for jar in *-%{version}.jar; do
ln -sf ${jar} `echo $jar| sed "s|-%{version}||g"`
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
* Tue Jan 07 2020 Silvan Calarco <> 2.0.7-4mamba
- use external jar binaries
* Fri Nov 26 2010 gil <> 2.0.7-3mamba
- rebuilt devel
* Wed Mar 11 2009 gil <> 2.0.7-2mamba
- add maven2 poms
* Wed Mar 11 2009 gil <> 2.0.7-1mamba
- package created by autospec