2009-11-13 23:36:40 +00:00
|
|
|
Name: cglib
|
|
|
|
Version: 2.2
|
2012-08-16 15:37:17 +00:00
|
|
|
Release: 11%{?dist}
|
2009-11-13 23:36:40 +00:00
|
|
|
Summary: Code Generation Library for Java
|
2012-08-16 15:37:17 +00:00
|
|
|
License: ASL 2.0 and BSD
|
2009-11-13 23:36:40 +00:00
|
|
|
Group: Development/Tools
|
|
|
|
Url: http://cglib.sourceforge.net/
|
|
|
|
Source0: http://downloads.sourceforge.net/%{name}/%{name}-src-%{version}.jar
|
2010-11-26 09:19:45 +00:00
|
|
|
Source1: http://mirrors.ibiblio.org/pub/mirrors/maven2/%{name}/%{name}/%{version}/%{name}-%{version}.pom
|
2009-11-13 23:36:40 +00:00
|
|
|
# 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
|
2009-11-27 10:32:24 +00:00
|
|
|
BuildRequires: unzip
|
2009-11-13 23:36:40 +00:00
|
|
|
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
|
|
|
|
|
|
|
|
%install
|
2012-08-16 15:37:17 +00:00
|
|
|
install -d -m 755 %{buildroot}%{_javadir}
|
|
|
|
install -d -m 755 %{buildroot}%{_mavenpomdir}
|
|
|
|
install -d -m 755 %{buildroot}%{_javadocdir}/%{name}
|
2009-11-13 23:36:40 +00:00
|
|
|
|
2012-08-16 15:37:17 +00:00
|
|
|
install -p -m 644 dist/%{name}-%{version}.jar %{buildroot}%{_javadir}/%{name}.jar
|
|
|
|
install -p -m 644 %{SOURCE1} %{buildroot}%{_mavenpomdir}/JPP-%{name}.pom
|
|
|
|
%add_maven_depmap
|
2009-11-13 23:36:40 +00:00
|
|
|
|
2012-08-16 15:37:17 +00:00
|
|
|
cp -rp docs/* %{buildroot}%{_javadocdir}/%{name}
|
2009-11-13 23:36:40 +00:00
|
|
|
|
|
|
|
|
|
|
|
%files
|
|
|
|
%doc LICENSE NOTICE
|
2012-08-16 15:37:17 +00:00
|
|
|
%{_javadir}/%{name}.jar
|
|
|
|
%{_mavenpomdir}/JPP-%{name}.pom
|
|
|
|
%{_mavendepmapfragdir}/%{name}
|
2009-11-13 23:36:40 +00:00
|
|
|
|
|
|
|
%files javadoc
|
2012-08-16 15:37:17 +00:00
|
|
|
%doc LICENSE NOTICE
|
|
|
|
%{_javadocdir}/%{name}
|
2009-11-13 23:36:40 +00:00
|
|
|
|
|
|
|
%changelog
|
2012-08-16 15:37:17 +00:00
|
|
|
* 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
|
|
|
|
|
2012-07-18 18:51:04 +00:00
|
|
|
* 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
|
|
|
|
|
2012-01-12 23:15:18 +00:00
|
|
|
* 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
|
|
|
|
|
2011-02-08 08:02:31 +00:00
|
|
|
* 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
|
|
|
|
|
2010-11-26 09:19:45 +00:00
|
|
|
* Fri Nov 26 2010 Stanislav Ochotnicky <sochotnicky@redhat.com> - 2.2-7
|
|
|
|
- Add missing pom file (Resolves rhbz#655793)
|
|
|
|
|
2009-11-27 10:32:24 +00:00
|
|
|
* Fri Nov 27 2009 Lubomir Rintel <lkundrak@v3.sk> - 2.2-6
|
|
|
|
- BR unzip to fix openSUSE build
|
|
|
|
|
2009-11-13 23:36:40 +00:00
|
|
|
* 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)
|