Blame SPECS/aopalliance.spec

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