047965
%global artifactId javax.servlet.jsp-api
047965
%global jspspec 2.2
047965
%global reltag b01
047965
047965
047965
Name:       glassfish-jsp-api
047965
Version:    2.3.2
047965
Release:    0.9.%{reltag}%{?dist}
047965
Summary:    Glassfish J2EE JSP API specification
047965
047965
License:    (CDDL-1.1 or GPLv2 with exceptions) and ASL 2.0
047965
URL:        http://java.net/jira/browse/JSP
047965
Source0:    %{artifactId}-%{version}-%{reltag}.tar.xz
047965
# no source releases, but this will generate tarball for you from an
047965
# SVN tag
047965
Source1:    generate_tarball.sh
047965
Source2:    http://www.apache.org/licenses/LICENSE-2.0.txt
047965
Source3:    https://javaee.github.io/glassfish/LICENSE.html
047965
047965
BuildArch:  noarch
047965
047965
BuildRequires:  maven-local
047965
BuildRequires:  mvn(javax.el:javax.el-api)
047965
BuildRequires:  mvn(javax.servlet:javax.servlet-api)
047965
BuildRequires:  mvn(net.java:jvnet-parent:pom:)
047965
BuildRequires:  mvn(org.apache.felix:maven-bundle-plugin)
047965
BuildRequires:  mvn(org.apache.maven.plugins:maven-source-plugin)
047965
047965
%description
047965
This project provides a container independent specification of JSP
047965
2.2. Note that this package doesn't contain implementation of this
047965
specification. See glassfish-jsp for one of implementations
047965
047965
%package javadoc
047965
Summary:        API documentation for %{name}
047965
BuildArch:      noarch
047965
047965
%description javadoc
047965
%{summary}.
047965
047965
%prep
047965
%setup -q -n %{artifactId}-%{version}-%{reltag}
047965
047965
cp -p %{SOURCE2} LICENSE-ASL-2.0.txt
047965
cp -p %{SOURCE3} LICENSE-CDDL+GPLv2.html
047965
047965
# Submited upstream: http://java.net/jira/browse/JSP-31
047965
sed -i "/<bundle.symbolicName>/s/-api//" pom.xml
047965
047965
%pom_xpath_remove "pom:dependency[pom:groupId='javax.el' or pom:groupId='javax.servlet']/pom:scope"
047965
047965
# javadoc generation fails due to strict doclint in JDK 8
047965
%pom_remove_plugin :maven-javadoc-plugin
047965
047965
%mvn_alias : javax.servlet:jsp-api
047965
047965
%build
047965
%mvn_build
047965
047965
%install
047965
%mvn_install
047965
047965
%files -f .mfiles
047965
%license LICENSE-ASL-2.0.txt LICENSE-CDDL+GPLv2.html
047965
047965
%files javadoc -f .mfiles-javadoc
047965
%license LICENSE-ASL-2.0.txt LICENSE-CDDL+GPLv2.html
047965
047965
047965
%changelog
047965
* Wed Feb 07 2018 Fedora Release Engineering <releng@fedoraproject.org> - 2.3.2-0.9.b01
047965
- Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild
047965
047965
* Thu Nov 09 2017 Michael Simacek <msimacek@redhat.com> - 2.3.2-0.8.b01
047965
- Update CDDL license version
047965
- Include correct license file for CDDL
047965
047965
* Wed Jul 26 2017 Fedora Release Engineering <releng@fedoraproject.org> - 2.3.2-0.7.b01
047965
- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild
047965
047965
* Thu May 25 2017 Mikolaj Izdebski <mizdebsk@redhat.com> - 2.3.2-0.6.b01
047965
- Add javax.servlet:jsp-api alias
047965
047965
* Fri Feb 10 2017 Fedora Release Engineering <releng@fedoraproject.org> - 2.3.2-0.5.b01
047965
- Rebuilt for https://fedoraproject.org/wiki/Fedora_26_Mass_Rebuild
047965
047965
* Wed Feb 03 2016 Fedora Release Engineering <releng@fedoraproject.org> - 2.3.2-0.4.b01
047965
- Rebuilt for https://fedoraproject.org/wiki/Fedora_24_Mass_Rebuild
047965
047965
* Wed Jun 17 2015 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 2.3.2-0.3.b01
047965
- Rebuilt for https://fedoraproject.org/wiki/Fedora_23_Mass_Rebuild
047965
047965
* Thu May 14 2015 Mikolaj Izdebski <mizdebsk@redhat.com> - 2.3.2-0.2.b01
047965
- Remove maven-javadoc-plugin execution
047965
047965
* Mon Jan 19 2015 Michael Simacek <msimacek@redhat.com> - 2.3.2-0.1.b01
047965
- Update to upstream version 2.3.2-b01
047965
047965
* Sat Jun 07 2014 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 2.3.1-4
047965
- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_Mass_Rebuild
047965
047965
* Thu Mar 13 2014 Michael Simacek <msimacek@redhat.com> - 2.3.1-3
047965
- Drop manual requires
047965
047965
* Tue Feb 25 2014 Alexander Kurtakov <akurtako@redhat.com> 2.3.1-2
047965
- Do not require jvnet-parent.
047965
047965
* Thu Jan 02 2014 Michal Srb <msrb@redhat.com> - 2.3.1-1
047965
- Update to upstream version 2.3.1
047965
047965
* Mon Aug 05 2013 Stanislav Ochotnicky <sochotnicky@redhat.com> - 2.2.1-8
047965
- Update to latest packaging guidelines
047965
047965
* Sat Aug 03 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 2.2.1-7
047965
- Rebuilt for https://fedoraproject.org/wiki/Fedora_20_Mass_Rebuild
047965
047965
* Wed Feb 13 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 2.2.1-6
047965
- Rebuilt for https://fedoraproject.org/wiki/Fedora_19_Mass_Rebuild
047965
047965
* Wed Feb 06 2013 Java SIG <java-devel@lists.fedoraproject.org> - 2.2.1-5
047965
- Update for https://fedoraproject.org/wiki/Fedora_19_Maven_Rebuild
047965
- Replace maven BuildRequires with maven-local
047965
047965
* Fri Oct 19 2012 Mikolaj Izdebski <mizdebsk@redhat.com> 2.2.1-4
047965
- Change OSGi Bundle-SymbolicName to better match Eclipse needs
047965
- Update URL
047965
- Resolves: rhbz#868169
047965
047965
* Tue Sep  4 2012 Mikolaj Izdebski <mizdebsk@redhat.com> - 2.2.1-3
047965
- Fix license tag
047965
- Install license files
047965
047965
* Thu Jul 19 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 2.2.1-2
047965
- Rebuilt for https://fedoraproject.org/wiki/Fedora_18_Mass_Rebuild
047965
047965
* Wed Mar 21 2012 Stanislav Ochotnicky <sochotnicky@redhat.com> - 2.2.1-1
047965
- Initial version of the package