2009-11-13 23:36:40 +00:00
|
|
|
Name: cglib
|
2014-01-13 09:58:57 +00:00
|
|
|
Version: 3.1
|
2016-02-22 11:44:26 +00:00
|
|
|
Release: 10%{?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
|
|
|
Url: http://cglib.sourceforge.net/
|
|
|
|
Source0: http://downloads.sourceforge.net/%{name}/%{name}-src-%{version}.jar
|
2016-02-19 12:28:17 +00:00
|
|
|
Source1: https://repo1.maven.org/maven2/cglib/cglib/%{version}/cglib-%{version}.pom
|
2012-09-17 12:47:31 +00:00
|
|
|
Source2: bnd.properties
|
2009-11-13 23:36:40 +00:00
|
|
|
|
|
|
|
BuildRequires: ant
|
2016-02-19 12:28:17 +00:00
|
|
|
BuildRequires: javapackages-local
|
2014-01-13 09:58:57 +00:00
|
|
|
BuildRequires: objectweb-asm
|
2009-11-27 10:32:24 +00:00
|
|
|
BuildRequires: unzip
|
2012-09-17 12:47:31 +00:00
|
|
|
BuildRequires: aqute-bnd
|
2009-11-13 23:36:40 +00:00
|
|
|
BuildArch: noarch
|
|
|
|
|
|
|
|
%description
|
2015-07-09 14:50:16 +00:00
|
|
|
cglib is a powerful, high performance and quality code generation library
|
|
|
|
for Java. It is used to extend Java classes and implements interfaces
|
2016-02-19 12:28:17 +00:00
|
|
|
at run-time.
|
2009-11-13 23:36:40 +00:00
|
|
|
|
|
|
|
%package javadoc
|
|
|
|
Summary: Javadoc for %{name}
|
2015-07-09 14:50:16 +00:00
|
|
|
|
2009-11-13 23:36:40 +00:00
|
|
|
%description javadoc
|
|
|
|
Documentation for the cglib code generation library.
|
|
|
|
|
|
|
|
%prep
|
|
|
|
%setup -q -c %{name}-%{version}
|
2013-11-11 16:03:41 +00:00
|
|
|
cp -p %{SOURCE1} pom.xml
|
2016-02-19 12:28:17 +00:00
|
|
|
|
2009-11-13 23:36:40 +00:00
|
|
|
rm lib/*.jar
|
2016-02-22 11:44:26 +00:00
|
|
|
build-jar-repository -s lib objectweb-asm ant
|
2016-02-19 12:28:17 +00:00
|
|
|
|
2013-11-11 16:03:41 +00:00
|
|
|
# Remove the repackaging step that includes other jars into the final thing
|
|
|
|
sed -i "/<taskdef name=.jarjar/,/<.jarjar>/d" build.xml
|
2016-02-19 12:28:17 +00:00
|
|
|
sed -i '/doctitle/a additionalparam="-Xdoclint:none"' build.xml
|
2013-11-11 16:03:41 +00:00
|
|
|
|
|
|
|
%pom_xpath_remove "pom:dependency[pom:artifactId = 'asm-util']/pom:optional"
|
2016-02-19 12:28:17 +00:00
|
|
|
%pom_xpath_set "pom:dependency[pom:groupId = 'ant']/pom:groupId" "org.apache.ant"
|
|
|
|
|
|
|
|
%mvn_file :cglib cglib
|
|
|
|
%mvn_alias :cglib "net.sf.cglib:cglib" "cglib:cglib-full" "cglib:cglib-nodep" "org.sonatype.sisu.inject:cglib"
|
2009-11-13 23:36:40 +00:00
|
|
|
|
|
|
|
%build
|
|
|
|
ant jar javadoc
|
2012-09-17 12:47:31 +00:00
|
|
|
# Convert to OSGi bundle
|
2016-02-19 12:28:17 +00:00
|
|
|
bnd wrap --output dist/cglib-%{version}.bar --properties %{SOURCE2} \
|
|
|
|
--version %{version} dist/cglib-%{version}.jar
|
2009-11-13 23:36:40 +00:00
|
|
|
|
2016-02-19 12:28:17 +00:00
|
|
|
mv dist/cglib-%{version}.bar dist/cglib-%{version}.jar
|
|
|
|
%mvn_artifact pom.xml dist/cglib-%{version}.jar
|
2009-11-13 23:36:40 +00:00
|
|
|
|
2016-02-19 12:28:17 +00:00
|
|
|
%install
|
|
|
|
%mvn_install -J docs
|
2009-11-13 23:36:40 +00:00
|
|
|
|
2014-05-21 17:27:29 +00:00
|
|
|
%files -f .mfiles
|
2016-02-19 12:28:17 +00:00
|
|
|
%license LICENSE NOTICE
|
2009-11-13 23:36:40 +00:00
|
|
|
|
2016-02-19 12:28:17 +00:00
|
|
|
%files javadoc -f .mfiles-javadoc
|
|
|
|
%license LICENSE NOTICE
|
2009-11-13 23:36:40 +00:00
|
|
|
|
|
|
|
%changelog
|
2016-02-22 11:44:26 +00:00
|
|
|
* Mon Feb 22 2016 Mat Booth <mat.booth@redhat.com> - 3.1-10
|
|
|
|
- Make ant an optional dependency
|
|
|
|
|
2016-02-19 12:28:17 +00:00
|
|
|
* Thu Feb 18 2016 Mat Booth <mat.booth@redhat.com> - 3.1-9
|
|
|
|
- Modernise spec file
|
|
|
|
|
2016-02-03 17:35:08 +00:00
|
|
|
* Wed Feb 03 2016 Fedora Release Engineering <releng@fedoraproject.org> - 3.1-8
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_24_Mass_Rebuild
|
|
|
|
|
2015-07-09 14:50:16 +00:00
|
|
|
* Thu Jul 09 2015 Michael Simacek <msimacek@redhat.com> - 3.1-7
|
|
|
|
- Update bnd invocation
|
|
|
|
|
2015-06-17 02:32:55 +00:00
|
|
|
* Wed Jun 17 2015 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 3.1-6
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_23_Mass_Rebuild
|
|
|
|
|
2014-10-20 12:12:05 +00:00
|
|
|
* Mon Oct 20 2014 Mikolaj Izdebski <mizdebsk@redhat.com> - 3.1-5
|
|
|
|
- Add alias for cglib:cglib-nodep
|
|
|
|
|
2014-06-07 04:31:10 +00:00
|
|
|
* Sat Jun 07 2014 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 3.1-4
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_Mass_Rebuild
|
|
|
|
|
2014-05-21 17:27:29 +00:00
|
|
|
* Wed May 21 2014 Mikolaj Izdebski <mizdebsk@redhat.com> - 3.1-3
|
|
|
|
- Use .mfiles generated during build
|
|
|
|
|
2014-03-04 08:05:32 +00:00
|
|
|
* Tue Mar 04 2014 Stanislav Ochotnicky <sochotnicky@redhat.com> - 3.1-2
|
|
|
|
- Use Requires: java-headless rebuild (#1067528)
|
|
|
|
|
2014-01-13 09:58:57 +00:00
|
|
|
* Mon Jan 13 2014 Mikolaj Izdebski <mizdebsk@redhat.com> - 3.1-1
|
|
|
|
- Update to upstream version 3.1
|
|
|
|
- Remove patch for upstream bug 44 (fixed upstream)
|
|
|
|
|
2013-11-11 16:03:41 +00:00
|
|
|
* Mon Nov 11 2013 Mikolaj Izdebski <mizdebsk@redhat.com> - 3.0-1
|
|
|
|
- Update to upstream version 3.0
|
|
|
|
- Add alias for org.sonatype.sisu.inject:cglib
|
|
|
|
|
2013-08-05 10:02:42 +00:00
|
|
|
* Mon Aug 05 2013 Severin Gehwolf <sgehwolf@redhat.com> 2.2-17
|
2016-02-19 12:28:17 +00:00
|
|
|
- Remove old call to %%add_to_maven_depmap macro.
|
2013-08-05 10:02:42 +00:00
|
|
|
- Fixes RHBZ#992051.
|
|
|
|
|
2013-08-03 04:43:19 +00:00
|
|
|
* Sat Aug 03 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 2.2-16
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_20_Mass_Rebuild
|
|
|
|
|
2013-02-13 18:24:44 +00:00
|
|
|
* 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
|
|
|
|
|
2012-11-01 15:27:13 +00:00
|
|
|
* Thu Nov 1 2012 Mikolaj Izdebski <mizdebsk@redhat.com> - 2.2-14
|
|
|
|
- Add additional maven depmap
|
|
|
|
|
2012-09-17 12:56:35 +00:00
|
|
|
* Mon Sep 17 2012 Severin Gehwolf <sgehwolf@redhat.com> 2.2-13
|
2012-09-17 12:47:31 +00:00
|
|
|
- Use aqute bnd in order to generate OSGi metadata.
|
|
|
|
|
2012-08-17 10:55:04 +00:00
|
|
|
* Fri Aug 17 2012 Mikolaj Izdebski <mizdebsk@redhat.com> - 2.2-12
|
|
|
|
- Add additional depmap
|
|
|
|
|
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)
|