66 lines
2.1 KiB
RPMSpec
66 lines
2.1 KiB
RPMSpec
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 <silvan.calarco@mambasoft.it>
|
|
URL: http://retroweaver.sourceforge.net/
|
|
Source: https://downloads.sourceforge.net/project/retroweaver/retroweaver/%{version}/retroweaver-%{version}.zip
|
|
Patch0: java-retroweaver-2.0.7-docs.patch
|
|
License: BSD
|
|
## AUTOBUILDREQ-BEGIN
|
|
## AUTOBUILDREQ-END
|
|
BuildRequires: jpackage-utils
|
|
Requires: java-backport-util-concurrent
|
|
Requires: objectweb-asm = 3.2
|
|
BuildRoot: %{_tmppath}/%{name}-%{version}-root
|
|
|
|
%description
|
|
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).
|
|
|
|
%prep
|
|
%setup -q -n retroweaver-%{version}
|
|
|
|
%build
|
|
|
|
%install
|
|
[ "%{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"`
|
|
done
|
|
)
|
|
|
|
%clean
|
|
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
|
|
|
|
%files
|
|
%defattr(-,root,root)
|
|
%{_javadir}/retroweaver-%{version}.jar
|
|
%{_javadir}/retroweaver.jar
|
|
%{_javadir}/retroweaver-all-%{version}.jar
|
|
%{_javadir}/retroweaver-all.jar
|
|
%{_javadir}/retroweaver-rt-%{version}.jar
|
|
%{_javadir}/retroweaver-rt.jar
|
|
%{_javadir}/retroweaver-tests-%{version}.jar
|
|
%{_javadir}/retroweaver-tests.jar
|
|
|
|
%changelog
|
|
* Tue Jan 07 2020 Silvan Calarco <silvan.calarco@mambasoft.it> 2.0.7-4mamba
|
|
- use external jar binaries
|
|
|
|
* Fri Nov 26 2010 gil <puntogil@libero.it> 2.0.7-3mamba
|
|
- rebuilt devel
|
|
|
|
* Wed Mar 11 2009 gil <puntogil@libero.it> 2.0.7-2mamba
|
|
- add maven2 poms
|
|
|
|
* Wed Mar 11 2009 gil <puntogil@libero.it> 2.0.7-1mamba
|
|
- package created by autospec
|