Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
openSUSE:Leap:42.2:Ports
asm2
asm2.spec
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File asm2.spec of Package asm2
# # spec file for package asm2 # # Copyright (c) 2011 SUSE LINUX Products 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: asm2 Version: 2.2.3 Release: 6 Summary: Java bytecode manipulation framework Group: Development/Libraries/Java License: BSD-3-Clause Url: http://asm.objectweb.org/ Source: asm-2.2.3.tar.bz2 BuildRoot: %{_tmppath}/%{name}-%{version}-build BuildArch: noarch BuildRequires: java-devel BuildRequires: ant BuildRequires: objectweb-anttask BuildRequires: fdupes %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 License: BSD-3-Clause Summary: Java bytecode manipulation framework Group: Development/Libraries/Java %description javadoc 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 examples License: BSD-3-Clause Summary: Java bytecode manipulation framework Group: Development/Libraries/Java %description examples 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. %prep %setup -q -n asm-%{version} # remove all third party jars find . -iname '*.jar' | xargs rm -rf # wrong end of line encoding find examples/ -type 'f' | xargs sed -i -e 's/.$//' sed -i -e 's/.$//' README.txt LICENSE.txt mkdir -p test/lib %build ant -Dobjectweb.ant.tasks.path=$(build-classpath objectweb-anttask) jar jdoc %install install -d -m 755 $RPM_BUILD_ROOT/%{_javadir}/%{name} # jars install -m 644 output/dist/lib/*jar $RPM_BUILD_ROOT/%{_javadir}/%{name} (cd $RPM_BUILD_ROOT%{_javadir}/%{name} && for jar in *-%{version}*; do ln -sf ${jar} ${jar/-%{version}/}; done) install -m 644 output/dist/lib/all/asm-all-%{version}.jar \ $RPM_BUILD_ROOT%{_javadir}/%{name}-all-%{version}.jar (cd $RPM_BUILD_ROOT%{_javadir} && for jar in *-%{version}*; do ln -sf ${jar} ${jar/-%{version}/}; done) # javadoc install -d -m 755 $RPM_BUILD_ROOT/%{_javadocdir}/%{name}-%{version} cp -pr output/dist/doc/javadoc/user/* $RPM_BUILD_ROOT/%{_javadocdir}/%{name}-%{version} ln -s %{name}-%{version} $RPM_BUILD_ROOT/%{_javadocdir}/%{name} %fdupes -s ${RPM_BUILD_ROOT} %files %defattr(-,root,root,0755) %doc README.txt LICENSE.txt %{_javadir}/%{name}-all*.jar %{_javadir}/%{name}/ %files javadoc %defattr(-,root,root) %{_javadocdir}/%{name}-%{version} %{_javadocdir}/%{name} %files examples %defattr(-,root,root) %doc examples/* %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