Blame SPECS/aopalliance.spec

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