|
|
7858f2 |
Name: cglib
|
|
|
7858f2 |
Version: 2.2
|
|
|
d7ab3f |
Release: 18%{?dist}
|
|
|
7858f2 |
Summary: Code Generation Library for Java
|
|
|
7858f2 |
License: ASL 2.0 and BSD
|
|
|
7858f2 |
Group: Development/Tools
|
|
|
7858f2 |
Url: http://cglib.sourceforge.net/
|
|
|
7858f2 |
Source0: http://downloads.sourceforge.net/%{name}/%{name}-src-%{version}.jar
|
|
|
7858f2 |
Source1: http://mirrors.ibiblio.org/pub/mirrors/maven2/%{name}/%{name}/%{version}/%{name}-%{version}.pom
|
|
|
7858f2 |
Source2: bnd.properties
|
|
|
7858f2 |
# Remove the repackaging step that includes other jars into the final thing
|
|
|
7858f2 |
Patch0: %{name}-build_xml.patch
|
|
|
7858f2 |
|
|
|
7858f2 |
Requires: java >= 0:1.6.0
|
|
|
7858f2 |
Requires: objectweb-asm
|
|
|
7858f2 |
|
|
|
7858f2 |
BuildRequires: ant
|
|
|
7858f2 |
BuildRequires: jpackage-utils >= 0:1.5
|
|
|
7858f2 |
BuildRequires: java-devel >= 0:1.6.0
|
|
|
7858f2 |
BuildRequires: objectweb-asm
|
|
|
7858f2 |
BuildRequires: unzip
|
|
|
7858f2 |
BuildRequires: aqute-bnd
|
|
|
7858f2 |
BuildArch: noarch
|
|
|
7858f2 |
|
|
|
7858f2 |
%description
|
|
|
7858f2 |
cglib is a powerful, high performance and quality code generation library
|
|
|
7858f2 |
for Java. It is used to extend Java classes and implements interfaces
|
|
|
7858f2 |
at runtime.
|
|
|
7858f2 |
|
|
|
7858f2 |
%package javadoc
|
|
|
7858f2 |
Summary: Javadoc for %{name}
|
|
|
7858f2 |
Group: Documentation
|
|
|
7858f2 |
%description javadoc
|
|
|
7858f2 |
Documentation for the cglib code generation library.
|
|
|
7858f2 |
|
|
|
7858f2 |
%prep
|
|
|
7858f2 |
%setup -q -c %{name}-%{version}
|
|
|
7858f2 |
rm lib/*.jar
|
|
|
7858f2 |
%patch0 -p1
|
|
|
7858f2 |
|
|
|
7858f2 |
%build
|
|
|
7858f2 |
export CLASSPATH=`build-classpath objectweb-asm`
|
|
|
7858f2 |
ant jar javadoc
|
|
|
7858f2 |
# Convert to OSGi bundle
|
|
|
7858f2 |
pushd dist
|
|
|
7858f2 |
java -Dcglib.bundle.version="%{version}" \
|
|
|
7858f2 |
-jar $(build-classpath aqute-bnd) wrap -output %{name}-%{version}.bar -properties %{SOURCE2} %{name}-%{version}.jar
|
|
|
7858f2 |
popd
|
|
|
7858f2 |
|
|
|
7858f2 |
%install
|
|
|
7858f2 |
install -d -m 755 %{buildroot}%{_javadir}
|
|
|
7858f2 |
install -d -m 755 %{buildroot}%{_mavenpomdir}
|
|
|
7858f2 |
install -d -m 755 %{buildroot}%{_javadocdir}/%{name}
|
|
|
7858f2 |
mkdir -p %{buildroot}%{_mavenpomdir}
|
|
|
7858f2 |
cp %{SOURCE1} %{buildroot}%{_mavenpomdir}/JPP-%{name}.pom
|
|
|
7858f2 |
# yes, this is really *.bar - aqute bnd created it
|
|
|
7858f2 |
install -p -m 644 dist/%{name}-%{version}.bar %{buildroot}%{_javadir}/%{name}.jar
|
|
|
7858f2 |
install -p -m 644 %{SOURCE1} %{buildroot}%{_mavenpomdir}/JPP-%{name}.pom
|
|
|
7858f2 |
%add_maven_depmap -a net.sf.cglib:cglib
|
|
|
7858f2 |
%add_maven_depmap -a cglib:cglib-full
|
|
|
7858f2 |
|
|
|
7858f2 |
cp -rp docs/* %{buildroot}%{_javadocdir}/%{name}
|
|
|
7858f2 |
|
|
|
7858f2 |
%files
|
|
|
7858f2 |
%doc LICENSE NOTICE
|
|
|
7858f2 |
%{_javadir}/%{name}.jar
|
|
|
7858f2 |
%{_mavenpomdir}/JPP-%{name}.pom
|
|
|
7858f2 |
%{_mavendepmapfragdir}/%{name}
|
|
|
7858f2 |
|
|
|
7858f2 |
%files javadoc
|
|
|
7858f2 |
%doc LICENSE NOTICE
|
|
|
7858f2 |
%{_javadocdir}/%{name}
|
|
|
7858f2 |
|
|
|
7858f2 |
%changelog
|
|
|
d7ab3f |
* Fri Dec 27 2013 Daniel Mach <dmach@redhat.com> - 2.2-18
|
|
|
d7ab3f |
- Mass rebuild 2013-12-27
|
|
|
d7ab3f |
|
|
|
7858f2 |
* Thu Nov 07 2013 Stanislav Ochotnicky <sochotnicky@redhat.com> - 2.2-17
|
|
|
7858f2 |
- Remove old macro invocation
|
|
|
7858f2 |
- Resolves: rhbz#1027717
|
|
|
7858f2 |
|
|
|
7858f2 |
* Fri Jun 28 2013 Mikolaj Izdebski <mizdebsk@redhat.com> - 2.2-16
|
|
|
7858f2 |
- Rebuild to regenerate API documentation
|
|
|
7858f2 |
- Resolves: CVE-2013-1571
|
|
|
7858f2 |
|
|
|
7858f2 |
* Wed Feb 13 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 2.2-15
|
|
|
7858f2 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_19_Mass_Rebuild
|
|
|
7858f2 |
|
|
|
7858f2 |
* Thu Nov 1 2012 Mikolaj Izdebski <mizdebsk@redhat.com> - 2.2-14
|
|
|
7858f2 |
- Add additional maven depmap
|
|
|
7858f2 |
|
|
|
7858f2 |
* Mon Sep 17 2012 Severin Gehwolf <sgehwolf@redhat.com> 2.2-13
|
|
|
7858f2 |
- Use aqute bnd in order to generate OSGi metadata.
|
|
|
7858f2 |
|
|
|
7858f2 |
* Fri Aug 17 2012 Mikolaj Izdebski <mizdebsk@redhat.com> - 2.2-12
|
|
|
7858f2 |
- Add additional depmap
|
|
|
7858f2 |
|
|
|
7858f2 |
* Thu Aug 16 2012 Mikolaj Izdebski <mizdebsk@redhat.com> - 2.2-11
|
|
|
7858f2 |
- Fix license tag
|
|
|
7858f2 |
- Install LICENSE and NOTICE with javadoc package
|
|
|
7858f2 |
- Convert versioned JARs to unversioned
|
|
|
7858f2 |
- Preserve timestamp of POM file
|
|
|
7858f2 |
- Update to current packaging guidelines
|
|
|
7858f2 |
|
|
|
7858f2 |
* Wed Jul 18 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 2.2-10
|
|
|
7858f2 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_18_Mass_Rebuild
|
|
|
7858f2 |
|
|
|
7858f2 |
* Thu Jan 12 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 2.2-9
|
|
|
7858f2 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_17_Mass_Rebuild
|
|
|
7858f2 |
|
|
|
7858f2 |
* Tue Feb 08 2011 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 2.2-8
|
|
|
7858f2 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_15_Mass_Rebuild
|
|
|
7858f2 |
|
|
|
7858f2 |
* Fri Nov 26 2010 Stanislav Ochotnicky <sochotnicky@redhat.com> - 2.2-7
|
|
|
7858f2 |
- Add missing pom file (Resolves rhbz#655793)
|
|
|
7858f2 |
|
|
|
7858f2 |
* Fri Nov 27 2009 Lubomir Rintel <lkundrak@v3.sk> - 2.2-6
|
|
|
7858f2 |
- BR unzip to fix openSUSE build
|
|
|
7858f2 |
|
|
|
7858f2 |
* Tue Dec 9 2008 Mary Ellen Foster <mefoster at gmail.com> - 2.2-5
|
|
|
7858f2 |
- Add dist to version
|
|
|
7858f2 |
- Fix BuildRoot to follow the latest guidelines
|
|
|
7858f2 |
|
|
|
7858f2 |
* Mon Nov 24 2008 Mary Ellen Foster <mefoster at gmail.com> - 2.2-4
|
|
|
7858f2 |
- Add a comment explaining the patch
|
|
|
7858f2 |
|
|
|
7858f2 |
* Thu Nov 6 2008 Mary Ellen Foster <mefoster at gmail.com> - 2.2-3
|
|
|
7858f2 |
- Flag Maven depmap as "config"
|
|
|
7858f2 |
|
|
|
7858f2 |
* Wed Nov 5 2008 Mary Ellen Foster <mefoster at gmail.com> - 2.2-2
|
|
|
7858f2 |
- Explicitly require Java > 1.6 because it won't compile with gcj
|
|
|
7858f2 |
- Fix cosmetic issues in spec file
|
|
|
7858f2 |
|
|
|
7858f2 |
* Tue Nov 4 2008 Mary Ellen Foster <mefoster at gmail.com> - 2.2-1
|
|
|
7858f2 |
- Initial package (based on previous JPP version)
|