Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
openSUSE:Leap:42.2:Ports
cglib
cglib.spec
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File cglib.spec of Package cglib
# # spec file for package cglib # # Copyright (c) 2013 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: cglib Summary: Code Generation Library License: Apache-2.0 Group: Development/Libraries/Java Version: 2.2 Release: 0 Url: http://cglib.sourceforge.net/ Source0: %{name}-src-%{version}.jar Source1: /%{name}-%{version}.pom # Remove the repackaging step that includes other jars into the final thing Patch0: %{name}-build_xml.patch BuildArch: noarch BuildRoot: %{_tmppath}/%{name}-%{version}-build BuildRequires: ant >= 1.6 BuildRequires: java-devel BuildRequires: java-devel >= 1.6.0 BuildRequires: javapackages-tools BuildRequires: objectweb-asm BuildRequires: unzip Provides: %{name}-nohook = %{version}-%{release} Obsoletes: %{name}-nohook < %{version}-%{release} %description cglib is a powerful, high performance and quality Code Generation Library, It is used to extend JAVA classes and implements interfaces at runtime. %package javadoc Summary: Code Generation Library Group: Development/Libraries/Java %description javadoc cglib is a powerful, high performance and quality Code Generation Library, It is used to extend JAVA classes and implements interfaces at runtime. %prep %setup -T -c -n %{name} unzip -q %{SOURCE0} rm lib/*.jar %patch0 -p1 %build export CLASSPATH=`build-classpath objectweb-asm` ant jar javadoc %install # jars mkdir -p %{buildroot}%{_javadir} cp -p dist/%{name}-%{version}.jar %{buildroot}%{_javadir}/%{name}.jar # javadoc mkdir -p ${RPM_BUILD_ROOT}%{_javadocdir}/ cp -r docs ${RPM_BUILD_ROOT}%{_javadocdir}/%{name} #maven pom mkdir -p %{buildroot}%{_mavenpomdir} cp %{SOURCE1} %{buildroot}%{_mavenpomdir}/JPP-%{name}.pom %add_maven_depmap JPP-%{name}.pom %{name}.jar %files %defattr(-,root,root,-) %doc LICENSE NOTICE %{_javadir}/*.jar %{_mavenpomdir}/* %config(noreplace) %{_mavendepmapfragdir}/%{name} %files javadoc %defattr(-,root,root,-) %{_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