basebuilder_pel7ppc64bebuilder0
7 years ago
5 changed files with 193 additions and 0 deletions
@ -0,0 +1,3 @@ |
|||||||
|
Bundle-Name= Java code generation library |
||||||
|
Bundle-SymbolicName= net.sf.cglib.core |
||||||
|
Bundle-Version= ${cglib.bundle.version} |
@ -0,0 +1,38 @@ |
|||||||
|
<?xml version="1.0"?> |
||||||
|
<project> |
||||||
|
<modelVersion>4.0.0</modelVersion> |
||||||
|
<groupId>cglib</groupId> |
||||||
|
<artifactId>cglib</artifactId> |
||||||
|
<name>Code Generation Library</name> |
||||||
|
<version>2.2</version> |
||||||
|
<url>http://cglib.sourceforge.net/</url> |
||||||
|
<licenses> |
||||||
|
<license> |
||||||
|
<name>ASF 2.0</name> |
||||||
|
<url>http://www.apache.org/licenses/LICENSE-2.0.txt</url> |
||||||
|
<distribution>repo</distribution> |
||||||
|
</license> |
||||||
|
</licenses> |
||||||
|
<scm> |
||||||
|
<url>http://cglib.cvs.sourceforge.net/cglib</url> |
||||||
|
</scm> |
||||||
|
<dependencies> |
||||||
|
<dependency> |
||||||
|
<groupId>asm</groupId> |
||||||
|
<artifactId>asm</artifactId> |
||||||
|
<version>3.1</version> |
||||||
|
</dependency> |
||||||
|
<dependency> |
||||||
|
<groupId>asm</groupId> |
||||||
|
<artifactId>asm-util</artifactId> |
||||||
|
<version>3.1</version> |
||||||
|
<optional>true</optional> |
||||||
|
</dependency> |
||||||
|
<dependency> |
||||||
|
<groupId>ant</groupId> |
||||||
|
<artifactId>ant</artifactId> |
||||||
|
<version>1.6.2</version> |
||||||
|
<optional>true</optional> |
||||||
|
</dependency> |
||||||
|
</dependencies> |
||||||
|
</project> |
@ -0,0 +1,17 @@ |
|||||||
|
--- cglib/build.xml.orig 2008-08-14 13:37:22.000000000 +0200 |
||||||
|
+++ cglib/build.xml 2008-08-14 13:35:51.000000000 +0200 |
||||||
|
@@ -124,14 +124,6 @@ |
||||||
|
<exclude name="samples/**" /> |
||||||
|
</jar> |
||||||
|
|
||||||
|
- <taskdef name="jarjar" classname="com.tonicsystems.jarjar.JarJarTask" classpathref="compile.classpath"/> |
||||||
|
- <jarjar basedir="${build.home}/classes" jarfile="${dist.home}/${component.name}-nodep-${component.version}.jar" > |
||||||
|
- <zipfileset dir="lib" includes="asm*.txt"/> |
||||||
|
- <zipfileset src="lib/asm-3.1.jar" excludes="META-INF"/> |
||||||
|
- <rule pattern="org.objectweb.asm.**" result="net.sf.cglib.asm.@1"/> |
||||||
|
- <include name="**/*"/> |
||||||
|
- <exclude name="samples/**"/> |
||||||
|
- </jarjar> |
||||||
|
</target> |
||||||
|
|
||||||
|
<target depends="compile,javadoc" description="Create docs and source distribution" name="srcjar"> |
Binary file not shown.
@ -0,0 +1,135 @@ |
|||||||
|
Name: cglib |
||||||
|
Version: 2.2 |
||||||
|
Release: 18%{?dist} |
||||||
|
Summary: Code Generation Library for Java |
||||||
|
License: ASL 2.0 and BSD |
||||||
|
Group: Development/Tools |
||||||
|
Url: http://cglib.sourceforge.net/ |
||||||
|
Source0: http://downloads.sourceforge.net/%{name}/%{name}-src-%{version}.jar |
||||||
|
Source1: http://mirrors.ibiblio.org/pub/mirrors/maven2/%{name}/%{name}/%{version}/%{name}-%{version}.pom |
||||||
|
Source2: bnd.properties |
||||||
|
# Remove the repackaging step that includes other jars into the final thing |
||||||
|
Patch0: %{name}-build_xml.patch |
||||||
|
|
||||||
|
Requires: java >= 0:1.6.0 |
||||||
|
Requires: objectweb-asm |
||||||
|
|
||||||
|
BuildRequires: ant |
||||||
|
BuildRequires: jpackage-utils >= 0:1.5 |
||||||
|
BuildRequires: java-devel >= 0:1.6.0 |
||||||
|
BuildRequires: objectweb-asm |
||||||
|
BuildRequires: unzip |
||||||
|
BuildRequires: aqute-bnd |
||||||
|
BuildArch: noarch |
||||||
|
|
||||||
|
%description |
||||||
|
cglib is a powerful, high performance and quality code generation library |
||||||
|
for Java. It is used to extend Java classes and implements interfaces |
||||||
|
at runtime. |
||||||
|
|
||||||
|
%package javadoc |
||||||
|
Summary: Javadoc for %{name} |
||||||
|
Group: Documentation |
||||||
|
%description javadoc |
||||||
|
Documentation for the cglib code generation library. |
||||||
|
|
||||||
|
%prep |
||||||
|
%setup -q -c %{name}-%{version} |
||||||
|
rm lib/*.jar |
||||||
|
%patch0 -p1 |
||||||
|
|
||||||
|
%build |
||||||
|
export CLASSPATH=`build-classpath objectweb-asm` |
||||||
|
ant jar javadoc |
||||||
|
# Convert to OSGi bundle |
||||||
|
pushd dist |
||||||
|
java -Dcglib.bundle.version="%{version}" \ |
||||||
|
-jar $(build-classpath aqute-bnd) wrap -output %{name}-%{version}.bar -properties %{SOURCE2} %{name}-%{version}.jar |
||||||
|
popd |
||||||
|
|
||||||
|
%install |
||||||
|
install -d -m 755 %{buildroot}%{_javadir} |
||||||
|
install -d -m 755 %{buildroot}%{_mavenpomdir} |
||||||
|
install -d -m 755 %{buildroot}%{_javadocdir}/%{name} |
||||||
|
mkdir -p %{buildroot}%{_mavenpomdir} |
||||||
|
cp %{SOURCE1} %{buildroot}%{_mavenpomdir}/JPP-%{name}.pom |
||||||
|
# yes, this is really *.bar - aqute bnd created it |
||||||
|
install -p -m 644 dist/%{name}-%{version}.bar %{buildroot}%{_javadir}/%{name}.jar |
||||||
|
install -p -m 644 %{SOURCE1} %{buildroot}%{_mavenpomdir}/JPP-%{name}.pom |
||||||
|
%add_maven_depmap -a net.sf.cglib:cglib |
||||||
|
%add_maven_depmap -a cglib:cglib-full |
||||||
|
|
||||||
|
cp -rp docs/* %{buildroot}%{_javadocdir}/%{name} |
||||||
|
|
||||||
|
%files |
||||||
|
%doc LICENSE NOTICE |
||||||
|
%{_javadir}/%{name}.jar |
||||||
|
%{_mavenpomdir}/JPP-%{name}.pom |
||||||
|
%{_mavendepmapfragdir}/%{name} |
||||||
|
|
||||||
|
%files javadoc |
||||||
|
%doc LICENSE NOTICE |
||||||
|
%{_javadocdir}/%{name} |
||||||
|
|
||||||
|
%changelog |
||||||
|
* Fri Dec 27 2013 Daniel Mach <dmach@redhat.com> - 2.2-18 |
||||||
|
- Mass rebuild 2013-12-27 |
||||||
|
|
||||||
|
* Thu Nov 07 2013 Stanislav Ochotnicky <sochotnicky@redhat.com> - 2.2-17 |
||||||
|
- Remove old macro invocation |
||||||
|
- Resolves: rhbz#1027717 |
||||||
|
|
||||||
|
* Fri Jun 28 2013 Mikolaj Izdebski <mizdebsk@redhat.com> - 2.2-16 |
||||||
|
- Rebuild to regenerate API documentation |
||||||
|
- Resolves: CVE-2013-1571 |
||||||
|
|
||||||
|
* Wed Feb 13 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 2.2-15 |
||||||
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_19_Mass_Rebuild |
||||||
|
|
||||||
|
* Thu Nov 1 2012 Mikolaj Izdebski <mizdebsk@redhat.com> - 2.2-14 |
||||||
|
- Add additional maven depmap |
||||||
|
|
||||||
|
* Mon Sep 17 2012 Severin Gehwolf <sgehwolf@redhat.com> 2.2-13 |
||||||
|
- Use aqute bnd in order to generate OSGi metadata. |
||||||
|
|
||||||
|
* Fri Aug 17 2012 Mikolaj Izdebski <mizdebsk@redhat.com> - 2.2-12 |
||||||
|
- Add additional depmap |
||||||
|
|
||||||
|
* Thu Aug 16 2012 Mikolaj Izdebski <mizdebsk@redhat.com> - 2.2-11 |
||||||
|
- Fix license tag |
||||||
|
- Install LICENSE and NOTICE with javadoc package |
||||||
|
- Convert versioned JARs to unversioned |
||||||
|
- Preserve timestamp of POM file |
||||||
|
- Update to current packaging guidelines |
||||||
|
|
||||||
|
* Wed Jul 18 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 2.2-10 |
||||||
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_18_Mass_Rebuild |
||||||
|
|
||||||
|
* Thu Jan 12 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 2.2-9 |
||||||
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_17_Mass_Rebuild |
||||||
|
|
||||||
|
* Tue Feb 08 2011 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 2.2-8 |
||||||
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_15_Mass_Rebuild |
||||||
|
|
||||||
|
* Fri Nov 26 2010 Stanislav Ochotnicky <sochotnicky@redhat.com> - 2.2-7 |
||||||
|
- Add missing pom file (Resolves rhbz#655793) |
||||||
|
|
||||||
|
* Fri Nov 27 2009 Lubomir Rintel <lkundrak@v3.sk> - 2.2-6 |
||||||
|
- BR unzip to fix openSUSE build |
||||||
|
|
||||||
|
* Tue Dec 9 2008 Mary Ellen Foster <mefoster at gmail.com> - 2.2-5 |
||||||
|
- Add dist to version |
||||||
|
- Fix BuildRoot to follow the latest guidelines |
||||||
|
|
||||||
|
* Mon Nov 24 2008 Mary Ellen Foster <mefoster at gmail.com> - 2.2-4 |
||||||
|
- Add a comment explaining the patch |
||||||
|
|
||||||
|
* Thu Nov 6 2008 Mary Ellen Foster <mefoster at gmail.com> - 2.2-3 |
||||||
|
- Flag Maven depmap as "config" |
||||||
|
|
||||||
|
* Wed Nov 5 2008 Mary Ellen Foster <mefoster at gmail.com> - 2.2-2 |
||||||
|
- Explicitly require Java > 1.6 because it won't compile with gcj |
||||||
|
- Fix cosmetic issues in spec file |
||||||
|
|
||||||
|
* Tue Nov 4 2008 Mary Ellen Foster <mefoster at gmail.com> - 2.2-1 |
||||||
|
- Initial package (based on previous JPP version) |
Loading…
Reference in new issue