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