Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
SUSE:SLE-15-SP4:Update
asm
asm.spec
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File asm.spec of Package asm
# # spec file for package asm # # Copyright (c) 2017 SUSE LINUX GmbH, Nuernberg, Germany. # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed # upon. The license for this file, and modifications and additions to the # file, is the same license as for the pristine package itself (unless the # license for the pristine package is not an Open Source License, in which # case the license is the MIT License). An "Open Source License" is a # license that conforms to the Open Source Definition (Version 1.9) # published by the Open Source Initiative. # Please submit bugfixes or comments via http://bugs.opensuse.org/ # Name: asm Version: 1.5.3 Release: 0 Summary: Java bytecode manipulation framework License: BSD-3-Clause Group: Development/Libraries/Java Url: http://asm.objectweb.org/ Source0: http://download.us.forge.objectweb.org/asm/asm-1.5.3.tar.gz Source1: http://asm.objectweb.org/current/asm-eng.pdf Source2: http://asm.objectweb.org/doc/faq.html Patch0: %{name}-java16compat.patch BuildRequires: ant BuildRequires: objectweb-anttask BuildRequires: xml-commons-apis BuildRoot: %{_tmppath}/%{name}-%{version}-build BuildArch: noarch %description ASM is a Java bytecode manipulation framework. It can be used to dynamically generate stub classes or other proxy classes, directly in binary form, or to dynamically modify classes at load time, i.e., just before they are loaded into the Java Virtual Machine. ASM offers similar functionalities as BCEL or SERP, but is much smaller. %package javadoc Summary: Java bytecode manipulation framework (documentation) Group: Development/Libraries/Java %description javadoc Javadoc for asm. %prep %setup -q %patch0 find . -name "*.jar" -exec rm -f {} \; install -m 644 %{SOURCE1} . install -m 644 %{SOURCE2} . %build ant -Dobjectweb.ant.tasks.path=$(build-classpath objectweb-anttask) jar jdoc %install # jars install -d -m 755 %{buildroot}%{_javadir}/%{name} for jar in output/dist/lib/*.jar; do install -m 644 ${jar} \ %{buildroot}%{_javadir}/%{name}/`basename ${jar}` done (cd %{buildroot}%{_javadir}/%{name} && for jar in *-%{version}*; do \ ln -sf ${jar} ${jar/-%{version}/}; done) # javadoc install -p -d -m 755 %{buildroot}%{_javadocdir}/%{name} cp -pr output/dist/doc/javadoc/user/* %{buildroot}%{_javadocdir}/%{name} %files %defattr(0644,root,root,0755) %doc README.txt faq.html asm-eng.pdf %dir %{_javadir}/%{name} %{_javadir}/%{name}/*.jar %files javadoc %defattr(0644,root,root,0755) %dir %{_javadocdir}/%{name} %{_javadocdir}/%{name}/* %changelog
Locations
Projects
Search
Status Monitor
Help
OpenBuildService.org
Documentation
API Documentation
Code of Conduct
Contact
Support
@OBShq
Terms
openSUSE Build Service is sponsored by
The Open Build Service is an
openSUSE project
.
Sign Up
Log In
Places
Places
All Projects
Status Monitor