a3f38bb
%global namedreltag %{nil}
a3f38bb
%global namedversion %{version}%{?namedreltag}
a3f38bb
%global oname javax.annotation-api
a3f38bb
Name:          glassfish-annotation-api
a3f38bb
Version:       1.2
41230fd
Release:       13%{?dist}
a3f38bb
Summary:       Common Annotations API Specification (JSR 250)
a3f38bb
License:       CDDL or GPLv2 with exceptions
a3f38bb
# http://jcp.org/en/jsr/detail?id=250
a3f38bb
URL:           http://glassfish.java.net/
a3f38bb
# svn export https://svn.java.net/svn/glassfish~svn/tags/javax.annotation-api-1.2/ glassfish-annotation-api-1.2
a3f38bb
# tar czf glassfish-annotation-api-1.2-src-svn.tar.gz glassfish-annotation-api-1.2
a3f38bb
Source0:       %{name}-%{namedversion}-src-svn.tar.gz
a3f38bb
a3f38bb
BuildRequires: jvnet-parent
a3f38bb
BuildRequires: glassfish-legal
a3f38bb
a3f38bb
BuildRequires: maven-local
a3f38bb
BuildRequires: maven-plugin-bundle
a3f38bb
BuildRequires: maven-remote-resources-plugin
a3f38bb
BuildRequires: maven-source-plugin
8f87fcb
BuildRequires: spec-version-maven-plugin
a3f38bb
a3f38bb
BuildArch:     noarch
a3f38bb
a3f38bb
%description
a3f38bb
Common Annotations APIs for the Java Platform (JSR 250).
a3f38bb
a3f38bb
%package javadoc
a3f38bb
Summary:       Javadoc for %{name}
a3f38bb
a3f38bb
%description javadoc
a3f38bb
This package contains javadoc for %{name}.
a3f38bb
a3f38bb
%prep
a3f38bb
%setup -q -n %{name}-%{namedversion}
a3f38bb
a3f38bb
%pom_remove_plugin org.codehaus.mojo:findbugs-maven-plugin
782af08
%mvn_file :%{oname} %{name}
033a524
a3f38bb
%build
a3f38bb
092c667
%mvn_build
a3f38bb
a3f38bb
sed -i 's/\r//' target/classes/META-INF/LICENSE.txt
a3f38bb
cp -p target/classes/META-INF/LICENSE.txt .
a3f38bb
a3f38bb
%install
092c667
%mvn_install
a3f38bb
092c667
%files -f .mfiles
782af08
%license LICENSE.txt
a3f38bb
092c667
%files javadoc -f .mfiles-javadoc
782af08
%license LICENSE.txt
a3f38bb
a3f38bb
%changelog
41230fd
* Wed Feb 07 2018 Fedora Release Engineering <releng@fedoraproject.org> - 1.2-13
41230fd
- Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild
41230fd
46c3cd2
* Wed Jul 26 2017 Fedora Release Engineering <releng@fedoraproject.org> - 1.2-12
46c3cd2
- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild
46c3cd2
c937e98
* Fri Feb 10 2017 Fedora Release Engineering <releng@fedoraproject.org> - 1.2-11
c937e98
- Rebuilt for https://fedoraproject.org/wiki/Fedora_26_Mass_Rebuild
c937e98
62c47e2
* Wed Feb 03 2016 Fedora Release Engineering <releng@fedoraproject.org> - 1.2-10
62c47e2
- Rebuilt for https://fedoraproject.org/wiki/Fedora_24_Mass_Rebuild
62c47e2
e1d33b8
* Wed Jun 17 2015 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.2-9
e1d33b8
- Rebuilt for https://fedoraproject.org/wiki/Fedora_23_Mass_Rebuild
e1d33b8
782af08
* Tue Feb 03 2015 gil cattaneo <puntogil@libero.it> 1.2-8
782af08
- introduce license macro
782af08
858cdcc
* Sat Jun 07 2014 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.2-7
858cdcc
- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_Mass_Rebuild
858cdcc
2548f44
* Fri Mar 28 2014 Michael Simacek <msimacek@redhat.com> - 1.2-6
2548f44
- Use Requires: java-headless rebuild (#1067528)
2548f44
76b6b1b
* Sat Aug 03 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.2-5
76b6b1b
- Rebuilt for https://fedoraproject.org/wiki/Fedora_20_Mass_Rebuild
76b6b1b
092c667
* Mon Jul 08 2013 gil cattaneo <puntogil@libero.it> 1.2-4
092c667
- switch to XMvn
092c667
- minor changes to adapt to current guideline
092c667
8f87fcb
* Sun May 26 2013 gil cattaneo <puntogil@libero.it> 1.2-3
8f87fcb
- rebuilt with spec-version-maven-plugin support
8f87fcb
033a524
* Wed May 22 2013 gil cattaneo <puntogil@libero.it> 1.2-2
033a524
- fixed manifest
033a524
a3f38bb
* Tue May 07 2013 gil cattaneo <puntogil@libero.it> 1.2-1
a3f38bb
- update to 1.2
a3f38bb
a3f38bb
* Tue Apr 02 2013 gil cattaneo <puntogil@libero.it> 1.2-0.1.b04
a3f38bb
- initial rpm