Blame SPECS/glassfish-annotation-api.spec

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