Add missing pom file (Resolves rhbz#655793)
This commit is contained in:
parent
c37f209c83
commit
85295cbc07
38
cglib-2.2.pom
Normal file
38
cglib-2.2.pom
Normal file
@ -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>
|
10
cglib.spec
10
cglib.spec
@ -1,11 +1,12 @@
|
|||||||
Name: cglib
|
Name: cglib
|
||||||
Version: 2.2
|
Version: 2.2
|
||||||
Release: 6%{?dist}
|
Release: 7%{?dist}
|
||||||
Summary: Code Generation Library for Java
|
Summary: Code Generation Library for Java
|
||||||
License: ASL 2.0
|
License: ASL 2.0
|
||||||
Group: Development/Tools
|
Group: Development/Tools
|
||||||
Url: http://cglib.sourceforge.net/
|
Url: http://cglib.sourceforge.net/
|
||||||
Source0: http://downloads.sourceforge.net/%{name}/%{name}-src-%{version}.jar
|
Source0: http://downloads.sourceforge.net/%{name}/%{name}-src-%{version}.jar
|
||||||
|
Source1: http://mirrors.ibiblio.org/pub/mirrors/maven2/%{name}/%{name}/%{version}/%{name}-%{version}.pom
|
||||||
# Remove the repackaging step that includes other jars into the final thing
|
# Remove the repackaging step that includes other jars into the final thing
|
||||||
Patch0: %{name}-build_xml.patch
|
Patch0: %{name}-build_xml.patch
|
||||||
|
|
||||||
@ -50,6 +51,9 @@ cp -r docs ${RPM_BUILD_ROOT}%{_javadocdir}/%{name}-%{version}
|
|||||||
mkdir -p $RPM_BUILD_ROOT%{_javadir}
|
mkdir -p $RPM_BUILD_ROOT%{_javadir}
|
||||||
cp -p dist/%{name}-%{version}.jar $RPM_BUILD_ROOT%{_javadir}
|
cp -p dist/%{name}-%{version}.jar $RPM_BUILD_ROOT%{_javadir}
|
||||||
ln -s %{name}-%{version}.jar $RPM_BUILD_ROOT%{_javadir}/%{name}.jar
|
ln -s %{name}-%{version}.jar $RPM_BUILD_ROOT%{_javadir}/%{name}.jar
|
||||||
|
|
||||||
|
mkdir -p $RPM_BUILD_ROOT%{_mavenpomdir}
|
||||||
|
cp %{SOURCE1} $RPM_BUILD_ROOT%{_mavenpomdir}/JPP-%{name}.pom
|
||||||
%add_to_maven_depmap net.sf.cglib %{name} %{version} JPP %{name}
|
%add_to_maven_depmap net.sf.cglib %{name} %{version} JPP %{name}
|
||||||
|
|
||||||
%clean
|
%clean
|
||||||
@ -65,6 +69,7 @@ rm -rf $RPM_BUILD_ROOT
|
|||||||
%defattr(-,root,root,-)
|
%defattr(-,root,root,-)
|
||||||
%doc LICENSE NOTICE
|
%doc LICENSE NOTICE
|
||||||
%{_javadir}/*.jar
|
%{_javadir}/*.jar
|
||||||
|
%{_mavenpomdir}/*
|
||||||
%config(noreplace) %{_mavendepmapfragdir}/%{name}
|
%config(noreplace) %{_mavendepmapfragdir}/%{name}
|
||||||
|
|
||||||
%files javadoc
|
%files javadoc
|
||||||
@ -72,6 +77,9 @@ rm -rf $RPM_BUILD_ROOT
|
|||||||
%{_javadocdir}/%{name}-%{version}
|
%{_javadocdir}/%{name}-%{version}
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
* 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
|
* Fri Nov 27 2009 Lubomir Rintel <lkundrak@v3.sk> - 2.2-6
|
||||||
- BR unzip to fix openSUSE build
|
- BR unzip to fix openSUSE build
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user