e750eb
%global java_home %{_jvmlibdir}/java-1.8.0-openjdk
e750eb
e750eb
Name:           aopalliance
e750eb
Version:        1.0
e750eb
Release:        20%{?dist}
e750eb
Summary:        Java/J2EE AOP standards
e750eb
License:        Public Domain
e750eb
URL:            http://aopalliance.sourceforge.net/
e750eb
BuildArch:      noarch
e750eb
e750eb
# cvs -d:pserver:anonymous@aopalliance.cvs.sourceforge.net:/cvsroot/aopalliance login
e750eb
# password empty
e750eb
# cvs -z3 -d:pserver:anonymous@aopalliance.cvs.sourceforge.net:/cvsroot/aopalliance export -r HEAD aopalliance
e750eb
Source0:        aopalliance-src.tar.gz
e750eb
Source1:        http://repo1.maven.org/maven2/aopalliance/aopalliance/1.0/aopalliance-1.0.pom
e750eb
Source2:        %{name}-MANIFEST.MF
e750eb
e750eb
BuildRequires:  ant
e750eb
BuildRequires:  javapackages-local
e750eb
BuildRequires:  java-1.8.0-openjdk-devel
e750eb
e750eb
%description
e750eb
Aspect-Oriented Programming (AOP) offers a better solution to many
e750eb
problems than do existing technologies, such as EJB.  AOP Alliance
e750eb
intends to facilitate and standardize the use of AOP to enhance
e750eb
existing middleware environments (such as J2EE), or development
e750eb
environements (e.g. Eclipse).  The AOP Alliance also aims to ensure
e750eb
interoperability between Java/J2EE AOP implementations to build a
e750eb
larger AOP community.
e750eb
e750eb
%{?module_package}
e750eb
%{?javadoc_package}
e750eb
e750eb
%prep
e750eb
%setup -q -n %{name}
e750eb
e750eb
%build
e750eb
export CLASSPATH=
e750eb
export OPT_JAR_LIST=:
e750eb
%{ant} -Dbuild.sysclasspath=only jar javadoc
e750eb
e750eb
# Inject OSGi manifest required by Eclipse.
e750eb
jar umf %{SOURCE2} build/%{name}.jar
e750eb
e750eb
%install
e750eb
%mvn_file : %{name}
e750eb
%mvn_artifact %{SOURCE1} build/%{name}.jar
e750eb
e750eb
%mvn_install -J build/javadoc
e750eb
e750eb
%files -n %{?module_prefix}%{name} -f .mfiles
e750eb
e750eb
%changelog
e750eb
* Sat Jan 25 2020 Mikolaj Izdebski <mizdebsk@redhat.com> - 1.0-20
e750eb
- Build with OpenJDK 8
e750eb
e750eb
* Tue Nov 05 2019 Mikolaj Izdebski <mizdebsk@redhat.com> - 1.0-19
e750eb
- Mass rebuild for javapackages-tools 201902
e750eb
e750eb
* Fri May 24 2019 Mikolaj Izdebski <mizdebsk@redhat.com> - 1.0-18
e750eb
- Mass rebuild for javapackages-tools 201901
e750eb
e750eb
* Wed Feb 07 2018 Fedora Release Engineering <releng@fedoraproject.org> - 0:1.0-17
e750eb
- Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild
e750eb
e750eb
* Mon Jan 29 2018 Mikolaj Izdebski <mizdebsk@redhat.com> - 0:1.0-16
e750eb
- Switch to automatically-generated javadoc package
e750eb
e750eb
* Wed Jul 26 2017 Fedora Release Engineering <releng@fedoraproject.org> - 0:1.0-15
e750eb
- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild
e750eb
e750eb
* Wed Mar 22 2017 Michael Simacek <msimacek@redhat.com> - 0:1.0-14
e750eb
- Install with XMvn
e750eb
e750eb
* Fri Feb 10 2017 Fedora Release Engineering <releng@fedoraproject.org> - 0:1.0-13
e750eb
- Rebuilt for https://fedoraproject.org/wiki/Fedora_26_Mass_Rebuild
e750eb
e750eb
* Wed Feb 03 2016 Fedora Release Engineering <releng@fedoraproject.org> - 0:1.0-12
e750eb
- Rebuilt for https://fedoraproject.org/wiki/Fedora_24_Mass_Rebuild
e750eb
e750eb
* Tue Jul 14 2015 Mikolaj Izdebski <mizdebsk@redhat.com> - 0:1.0-11
e750eb
- Add build-requires on javapackages-local
e750eb
e750eb
* Tue Jun 16 2015 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0:1.0-10
e750eb
- Rebuilt for https://fedoraproject.org/wiki/Fedora_23_Mass_Rebuild
e750eb
e750eb
* Sat Jun 07 2014 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0:1.0-9
e750eb
- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_Mass_Rebuild
e750eb
e750eb
* Tue Mar 04 2014 Stanislav Ochotnicky <sochotnicky@redhat.com> - 0:1.0-8
e750eb
- Use Requires: java-headless rebuild (#1067528)
e750eb
e750eb
* Sat Aug 03 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0:1.0-7
e750eb
- Rebuilt for https://fedoraproject.org/wiki/Fedora_20_Mass_Rebuild
e750eb
e750eb
* Fri Jun 14 2013 Mikolaj Izdebski <mizdebsk@redhat.com> - 0:1.0-6
e750eb
- Drop BR on zip, use jar instead
e750eb
- Add more verbose description
e750eb
- Update to current packaging guidelines
e750eb
e750eb
* Mon Feb 25 2013 Gerard Ryan <galileo.fedoraproject.org> 0:1.0-5
e750eb
- Add OSGI manifest
e750eb
e750eb
* Wed Feb 13 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0:1.0-4
e750eb
- Rebuilt for https://fedoraproject.org/wiki/Fedora_19_Mass_Rebuild
e750eb
e750eb
* Tue Nov 20 2012 Tomas Radej <tradej@redhat.com> - 0:1.0-3
e750eb
- Fixed tarball generation guide
e750eb
e750eb
* Wed Jul 18 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0:1.0-2
e750eb
- Rebuilt for https://fedoraproject.org/wiki/Fedora_18_Mass_Rebuild
e750eb
e750eb
* Mon Feb 6 2012 Andy Grimm <agrimm@gmail.com> 0:1.0-1
e750eb
- build for Fedora