Blame SPECS/cglib.spec

765088
%{?scl:%scl_package cglib}
765088
%{!?scl:%global pkg_name %{name}}
765088
765088
%global tarball_name RELEASE_3_2_4
765088
765088
Name:           %{?scl_prefix}cglib
765088
Version:        3.2.4
765088
Release:        4.2%{?dist}
765088
Summary:        Code Generation Library for Java
765088
License:        ASL 2.0 and BSD
765088
Url:            https://github.com/cglib/cglib
765088
Source0:        https://github.com/cglib/cglib/archive/%{tarball_name}.tar.gz
765088
765088
BuildRequires:  %{?scl_prefix}maven-local
765088
BuildRequires:  %{?scl_prefix}maven-plugin-bundle
765088
BuildRequires:  %{?scl_prefix}javapackages-local
765088
BuildRequires:  %{?scl_prefix}mvn(org.apache.ant:ant)
765088
BuildRequires:  %{?scl_prefix}mvn(org.ow2.asm:asm)
765088
BuildRequires:  %{?scl_prefix}mvn(junit:junit)
765088
BuildRequires:  %{?scl_prefix}mvn(org.sonatype.oss:oss-parent:pom:)
765088
BuildArch:      noarch
765088
765088
%description
765088
cglib is a powerful, high performance and quality code generation library
765088
for Java. It is used to extend Java classes and implements interfaces
765088
at run-time.
765088
765088
%package javadoc
765088
Summary:        Javadoc for %{pkg_name}
765088
765088
%description javadoc
765088
Documentation for the cglib code generation library.
765088
765088
%prep
765088
%setup -q -n %{pkg_name}-%{tarball_name}
765088
765088
%pom_disable_module cglib-nodep
765088
%pom_disable_module cglib-integration-test
765088
%pom_disable_module cglib-jmh
765088
%pom_xpath_set pom:packaging 'bundle' cglib
765088
%pom_xpath_inject pom:build/pom:plugins '<plugin>
765088
                                           <groupId>org.apache.felix</groupId>
765088
                                           <artifactId>maven-bundle-plugin</artifactId>
765088
                                           <version>1.4.0</version>
765088
                                           <extensions>true</extensions>
765088
                                           <configuration>
765088
                                             <instructions>
765088
                                               <Bundle-SymbolicName>net.sf.cglib.core</Bundle-SymbolicName>
765088
                                               <Export-Package>net.*</Export-Package>
765088
                                               <Import-Package>org.apache.tools.*;resolution:=optional,*</Import-Package>
765088
                                             </instructions>
765088
                                           </configuration>
765088
                                         </plugin>' cglib
765088
%pom_remove_plugin org.apache.maven.plugins:maven-gpg-plugin
765088
%pom_remove_plugin org.apache.maven.plugins:maven-jarsigner-plugin cglib-sample
765088
%pom_remove_plugin -r :maven-javadoc-plugin
765088
765088
%pom_xpath_inject "pom:dependency[pom:artifactId='ant']" "<optional>true</optional>" cglib
765088
765088
%mvn_alias :cglib "net.sf.cglib:cglib" "cglib:cglib-full" "cglib:cglib-nodep" "org.sonatype.sisu.inject:cglib"
765088
765088
%build
765088
%mvn_build
765088
765088
%install
765088
%mvn_install
765088
765088
%files -f .mfiles
765088
%license LICENSE NOTICE
765088
765088
%files javadoc -f .mfiles-javadoc
765088
%license LICENSE NOTICE
765088
765088
%changelog
765088
* Thu Jun 22 2017 Michael Simacek <msimacek@redhat.com> - 3.2.4-4.2
765088
- Mass rebuild 2017-06-22
765088
765088
* Wed Jun 21 2017 Java Maintainers <java-maint@redhat.com> - 3.2.4-4.1
765088
- Automated package import and SCL-ization
765088
765088
* Thu Feb 23 2017 Mikolaj Izdebski <mizdebsk@redhat.com> - 3.2.4-4
765088
- Remove unneeded maven-javadoc-plugin invocation
765088
765088
* Fri Feb 10 2017 Fedora Release Engineering <releng@fedoraproject.org> - 3.2.4-3
765088
- Rebuilt for https://fedoraproject.org/wiki/Fedora_26_Mass_Rebuild
765088
765088
* Fri Jul  8 2016 Mikolaj Izdebski <mizdebsk@redhat.com> - 3.2.4-2
765088
- Make ant dependency optional
765088
765088
* Thu Jul 07 2016 Severin Gehwolf <sgehwolf@redhat.com> - 3.2.4-1
765088
- Upgrade to latest 3.2.4 release.
765088
- Resolves RHBZ#1352315
765088
765088
* Mon Feb 22 2016 Mat Booth <mat.booth@redhat.com> - 3.1-10
765088
- Make ant an optional dependency
765088
765088
* Thu Feb 18 2016 Mat Booth <mat.booth@redhat.com> - 3.1-9
765088
- Modernise spec file
765088
765088
* Wed Feb 03 2016 Fedora Release Engineering <releng@fedoraproject.org> - 3.1-8
765088
- Rebuilt for https://fedoraproject.org/wiki/Fedora_24_Mass_Rebuild
765088
765088
* Thu Jul 09 2015 Michael Simacek <msimacek@redhat.com> - 3.1-7
765088
- Update bnd invocation
765088
765088
* Wed Jun 17 2015 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 3.1-6
765088
- Rebuilt for https://fedoraproject.org/wiki/Fedora_23_Mass_Rebuild
765088
765088
* Mon Oct 20 2014 Mikolaj Izdebski <mizdebsk@redhat.com> - 3.1-5
765088
- Add alias for cglib:cglib-nodep
765088
765088
* Sat Jun 07 2014 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 3.1-4
765088
- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_Mass_Rebuild
765088
765088
* Wed May 21 2014 Mikolaj Izdebski <mizdebsk@redhat.com> - 3.1-3
765088
- Use .mfiles generated during build
765088
765088
* Tue Mar 04 2014 Stanislav Ochotnicky <sochotnicky@redhat.com> - 3.1-2
765088
- Use Requires: java-headless rebuild (#1067528)
765088
765088
* Mon Jan 13 2014 Mikolaj Izdebski <mizdebsk@redhat.com> - 3.1-1
765088
- Update to upstream version 3.1
765088
- Remove patch for upstream bug 44 (fixed upstream)
765088
765088
* Mon Nov 11 2013 Mikolaj Izdebski <mizdebsk@redhat.com> - 3.0-1
765088
- Update to upstream version 3.0
765088
- Add alias for org.sonatype.sisu.inject:cglib
765088
765088
* Mon Aug 05 2013 Severin Gehwolf <sgehwolf@redhat.com> 2.2-17
765088
- Remove old call to %%add_to_maven_depmap macro.
765088
- Fixes RHBZ#992051.
765088
765088
* Sat Aug 03 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 2.2-16
765088
- Rebuilt for https://fedoraproject.org/wiki/Fedora_20_Mass_Rebuild
765088
765088
* Wed Feb 13 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 2.2-15
765088
- Rebuilt for https://fedoraproject.org/wiki/Fedora_19_Mass_Rebuild
765088
765088
* Thu Nov  1 2012 Mikolaj Izdebski <mizdebsk@redhat.com> - 2.2-14
765088
- Add additional maven depmap
765088
765088
* Mon Sep 17 2012 Severin Gehwolf <sgehwolf@redhat.com> 2.2-13
765088
- Use aqute bnd in order to generate OSGi metadata.
765088
765088
* Fri Aug 17 2012 Mikolaj Izdebski <mizdebsk@redhat.com> - 2.2-12
765088
- Add additional depmap
765088
765088
* Thu Aug 16 2012 Mikolaj Izdebski <mizdebsk@redhat.com> - 2.2-11
765088
- Fix license tag
765088
- Install LICENSE and NOTICE with javadoc package
765088
- Convert versioned JARs to unversioned
765088
- Preserve timestamp of POM file
765088
- Update to current packaging guidelines
765088
765088
* Wed Jul 18 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 2.2-10
765088
- Rebuilt for https://fedoraproject.org/wiki/Fedora_18_Mass_Rebuild
765088
765088
* Thu Jan 12 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 2.2-9
765088
- Rebuilt for https://fedoraproject.org/wiki/Fedora_17_Mass_Rebuild
765088
765088
* Tue Feb 08 2011 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 2.2-8
765088
- Rebuilt for https://fedoraproject.org/wiki/Fedora_15_Mass_Rebuild
765088
765088
* Fri Nov 26 2010 Stanislav Ochotnicky <sochotnicky@redhat.com> - 2.2-7
765088
- Add missing pom file (Resolves rhbz#655793)
765088
765088
* Fri Nov 27 2009 Lubomir Rintel <lkundrak@v3.sk> - 2.2-6
765088
- BR unzip to fix openSUSE build
765088
765088
* Tue Dec  9 2008 Mary Ellen Foster <mefoster at gmail.com> - 2.2-5
765088
- Add dist to version
765088
- Fix BuildRoot to follow the latest guidelines
765088
765088
* Mon Nov 24 2008 Mary Ellen Foster <mefoster at gmail.com> - 2.2-4
765088
- Add a comment explaining the patch
765088
765088
* Thu Nov  6 2008 Mary Ellen Foster <mefoster at gmail.com> - 2.2-3
765088
- Flag Maven depmap as "config"
765088
765088
* Wed Nov  5 2008 Mary Ellen Foster <mefoster at gmail.com> - 2.2-2
765088
- Explicitly require Java > 1.6 because it won't compile with gcj
765088
- Fix cosmetic issues in spec file
765088
765088
* Tue Nov  4 2008 Mary Ellen Foster <mefoster at gmail.com> - 2.2-1
765088
- Initial package (based on previous JPP version)