9f3745
Name:           aopalliance
9f3745
Version:        1.0
9f3745
Release:        8%{?dist}
9f3745
Epoch:          0
9f3745
Summary:        Java/J2EE AOP standards
9f3745
License:        Public Domain
9f3745
URL:            http://aopalliance.sourceforge.net/
9f3745
BuildArch:      noarch
9f3745
# cvs -d:pserver:anonymous@aopalliance.cvs.sourceforge.net:/cvsroot/aopalliance login
9f3745
# password empty
9f3745
# cvs -z3 -d:pserver:anonymous@aopalliance.cvs.sourceforge.net:/cvsroot/aopalliance export -r HEAD aopalliance
9f3745
Source0:        aopalliance-src.tar.gz
9f3745
Source1:        http://repo1.maven.org/maven2/aopalliance/aopalliance/1.0/aopalliance-1.0.pom
9f3745
Source2:        %{name}-MANIFEST.MF
9f3745
9f3745
BuildRequires:  ant
9f3745
Requires:       java
9f3745
9f3745
%description
9f3745
Aspect-Oriented Programming (AOP) offers a better solution to many
9f3745
problems than do existing technologies, such as EJB.  AOP Alliance
9f3745
intends to facilitate and standardize the use of AOP to enhance
9f3745
existing middleware environments (such as J2EE), or development
9f3745
environements (e.g. Eclipse).  The AOP Alliance also aims to ensure
9f3745
interoperability between Java/J2EE AOP implementations to build a
9f3745
larger AOP community.
9f3745
9f3745
%package javadoc
9f3745
Summary:        API documentation for %{summary}
9f3745
9f3745
%description javadoc
9f3745
%{summary}.
9f3745
9f3745
%prep
9f3745
%setup -q -n %{name}
9f3745
9f3745
%build
9f3745
export CLASSPATH=
9f3745
export OPT_JAR_LIST=:
9f3745
%{ant} -Dbuild.sysclasspath=only jar javadoc
9f3745
9f3745
# Inject OSGi manifest required by Eclipse.
9f3745
jar umf %{SOURCE2} build/%{name}.jar
9f3745
9f3745
%install
9f3745
install -d -m 755 %{buildroot}%{_javadir}
9f3745
install -d -m 755 %{buildroot}%{_mavenpomdir}
9f3745
install -p -m 644 build/%{name}.jar %{buildroot}%{_javadir}/
9f3745
install -p -m 644 %{SOURCE1} %{buildroot}%{_mavenpomdir}/JPP-%{name}.pom
9f3745
%add_maven_depmap
9f3745
9f3745
# javadoc
9f3745
install -dm 755 %{buildroot}%{_javadocdir}/%{name}
9f3745
cp -pr build/javadoc/* %{buildroot}%{_javadocdir}/%{name}
9f3745
9f3745
%files -f .mfiles
9f3745
9f3745
%files javadoc
9f3745
%{_javadocdir}/%{name}
9f3745
9f3745
%changelog
9f3745
* Fri Dec 27 2013 Daniel Mach <dmach@redhat.com> - 01.0-8
9f3745
- Mass rebuild 2013-12-27
9f3745
9f3745
* Fri Jun 28 2013 Mikolaj Izdebski <mizdebsk@redhat.com> - 0:1.0-7
9f3745
- Rebuild to regenerate API documentation
9f3745
- Resolves: CVE-2013-1571
9f3745
9f3745
* Fri Jun 14 2013 Mikolaj Izdebski <mizdebsk@redhat.com> - 0:1.0-6
9f3745
- Drop BR on zip, use jar instead
9f3745
- Add more verbose description
9f3745
- Update to current packaging guidelines
9f3745
9f3745
* Mon Feb 25 2013 Gerard Ryan <galileo.fedoraproject.org> 0:1.0-5
9f3745
- Add OSGI manifest
9f3745
9f3745
* Wed Feb 13 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0:1.0-4
9f3745
- Rebuilt for https://fedoraproject.org/wiki/Fedora_19_Mass_Rebuild
9f3745
9f3745
* Tue Nov 20 2012 Tomas Radej <tradej@redhat.com> - 0:1.0-3
9f3745
- Fixed tarball generation guide
9f3745
9f3745
* Wed Jul 18 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0:1.0-2
9f3745
- Rebuilt for https://fedoraproject.org/wiki/Fedora_18_Mass_Rebuild
9f3745
9f3745
* Mon Feb 6 2012 Andy Grimm <agrimm@gmail.com> 0:1.0-1
9f3745
- build for Fedora