e4268d
%global spec_ver 1.1
e4268d
%global spec_name geronimo-annotation_%{spec_ver}_spec
e4268d
e4268d
Name:             geronimo-annotation
e4268d
Version:          1.0
2f85ee
Release:          15%{?dist}
e4268d
Summary:          Java EE: Annotation API v1.1
e4268d
License:          ASL 2.0
e4268d
URL:              http://geronimo.apache.org/
e4268d
e4268d
Source0:          http://repo2.maven.org/maven2/org/apache/geronimo/specs/%{spec_name}/%{version}/%{spec_name}-%{version}-source-release.tar.gz
e4268d
BuildArch:        noarch
e4268d
e4268d
BuildRequires:    java-devel >= 1:1.6.0
e4268d
BuildRequires:    jpackage-utils
e4268d
BuildRequires:    maven-local
e4268d
BuildRequires:    geronimo-parent-poms
e4268d
BuildRequires:    maven-resources-plugin
e4268d
e4268d
Provides:         annotation_api = %{spec_ver}
e4268d
e4268d
%description
e4268d
This package defines the common annotations.
e4268d
e4268d
%package javadoc
e4268d
Summary:          Javadoc for %{name}
e4268d
e4268d
%description javadoc
e4268d
This package contains the API documentation for %{name}.
e4268d
e4268d
e4268d
%prep
e4268d
%setup -q -n %{spec_name}-%{version}
e4268d
sed -i 's/\r//' LICENSE NOTICE
e4268d
%pom_set_parent org.apache.geronimo.specs:specs:1.4
e4268d
e4268d
%mvn_alias : org.apache.geronimo.specs:geronimo-annotation_1.0_spec
e4268d
%mvn_alias : javax.annotation:jsr250-api
e4268d
%mvn_alias : org.eclipse.jetty.orbit:javax.annotation
e4268d
e4268d
%mvn_file : %{name} annotation
e4268d
e4268d
%build
e4268d
%mvn_build
e4268d
e4268d
%install
e4268d
%mvn_install
e4268d
e4268d
%files -f .mfiles
e4268d
%doc LICENSE NOTICE
e4268d
e4268d
%files javadoc -f .mfiles-javadoc
e4268d
%doc LICENSE NOTICE
e4268d
e4268d
%changelog
2f85ee
* Fri Dec 27 2013 Daniel Mach <dmach@redhat.com> - 1.0-15
2f85ee
- Mass rebuild 2013-12-27
2f85ee
e4268d
* Thu Aug 08 2013 Stanislav Ochotnicky <sochotnicky@redhat.com> - 1.0-14
e4268d
- Update to latest packaging guidelines
e4268d
e4268d
* Sat Aug 03 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.0-13
e4268d
- Rebuilt for https://fedoraproject.org/wiki/Fedora_20_Mass_Rebuild
e4268d
e4268d
* Fri Jun 28 2013 Mikolaj Izdebski <mizdebsk@redhat.com> - 1.0-13
e4268d
- Rebuild to regenerate API documentation
e4268d
- Resolves: CVE-2013-1571
e4268d
e4268d
* Mon Mar  4 2013 Mikolaj Izdebski <mizdebsk@redhat.com> - 1.0-12
e4268d
- Add depmap for org.eclipse.jetty.orbit
e4268d
- Resolves: rhbz#917620
e4268d
e4268d
* Wed Feb 13 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.0-11
e4268d
- Rebuilt for https://fedoraproject.org/wiki/Fedora_19_Mass_Rebuild
e4268d
e4268d
* Wed Feb 06 2013 Java SIG <java-devel@lists.fedoraproject.org> - 1.0-10
e4268d
- Update for https://fedoraproject.org/wiki/Fedora_19_Maven_Rebuild
e4268d
- Replace maven BuildRequires with maven-local
e4268d
e4268d
* Thu Aug 23 2012 Mikolaj Izdebski <mizdebsk@redhat.com> - 1.0-9
e4268d
- Install NOTICE file
e4268d
e4268d
* Thu Jul 19 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.0-8
e4268d
- Rebuilt for https://fedoraproject.org/wiki/Fedora_18_Mass_Rebuild
e4268d
e4268d
* Tue Mar  6 2012 Stanislav Ochotnicky <sochotnicky@redhat.com> - 1.0-7
e4268d
- Add javax.annotation:jsr250-api to depmap
e4268d
e4268d
* Fri Jan 13 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.0-6
e4268d
- Rebuilt for https://fedoraproject.org/wiki/Fedora_17_Mass_Rebuild
e4268d
e4268d
* Fri Dec 16 2011 Alexander Kurtakov <akurtako@redhat.com> 1.0-5
e4268d
- Build with maven 3.
e4268d
e4268d
* Tue Feb 08 2011 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.0-4
e4268d
- Rebuilt for https://fedoraproject.org/wiki/Fedora_15_Mass_Rebuild
e4268d
e4268d
* Wed Aug 4 2010 Chris Spike <chris.spike@arcor.de> 1.0-3
e4268d
- Added 'org.apache.geronimo.specs:geronimo-annotation_1.0_spec' to maven depmap
e4268d
e4268d
* Mon Jul 26 2010 Chris Spike <chris.spike@arcor.de> 1.0-2
e4268d
- Fixed whitespace/tabs use
e4268d
- Fixed wrong EOL encoding
e4268d
e4268d
* Sun Jul 18 2010 Chris Spike <chris.spike@arcor.de> 1.0-1
e4268d
- Initial version of the package