Blame SPECS/glassfish-jsp.spec

e475ce
%global artifactId javax.servlet.jsp
e475ce
%global jspspec 2.2
e475ce
e475ce
e475ce
Name:       glassfish-jsp
e475ce
Version:    2.2.6
e475ce
Release:    11%{?dist}
e475ce
Summary:    Glassfish J2EE JSP API implementation
e475ce
e475ce
Group:      Development/Libraries
e475ce
License:    (CDDL or GPLv2 with exceptions) and ASL 2.0
e475ce
URL:        http://glassfish.org
e475ce
Source0:    %{artifactId}-%{version}.tar.xz
e475ce
# no source releases, but this will generate tarball for you from an
e475ce
# SVN tag
e475ce
Source1:    generate_tarball.sh
e475ce
Source2:    http://www.apache.org/licenses/LICENSE-2.0.txt
e475ce
Source3:    https://svn.java.net/svn/glassfish~svn/tags/legal-1.1/src/main/resources/META-INF/LICENSE.txt
e475ce
e475ce
Patch0:     %{name}-build-eclipse-compilers.patch
e475ce
e475ce
BuildArch:  noarch
e475ce
e475ce
BuildRequires:  maven-local
e475ce
BuildRequires:  mvn(javax.el:javax.el-api)
e475ce
BuildRequires:  mvn(javax.servlet.jsp:javax.servlet.jsp-api)
e475ce
BuildRequires:  mvn(javax.servlet:javax.servlet-api)
e475ce
BuildRequires:  mvn(net.java:jvnet-parent)
e475ce
BuildRequires:  mvn(org.eclipse.jdt:core)
e475ce
e475ce
Provides:   jsp = %{jspspec}
e475ce
Provides:   jsp%{jspspec}
e475ce
e475ce
%description
e475ce
This project provides a container independent implementation of JSP
e475ce
2.2. The main goals are:
e475ce
  * Improves current implementation: bug fixes and performance
e475ce
    improvements
e475ce
  * Provides API for use by other tools, such as Netbeans
e475ce
  * Provides a sandbox for new JSP features; provides a reference
e475ce
    implementation of next JSP spec.
e475ce
e475ce
e475ce
%package javadoc
e475ce
Summary:    API documentation for %{name}
e475ce
Group:      Documentation
e475ce
e475ce
%description javadoc
e475ce
%{summary}.
e475ce
e475ce
%prep
e475ce
%setup -q -n %{artifactId}-%{version}
e475ce
%patch0
e475ce
cp -p %{SOURCE2} LICENSE
e475ce
cp -p %{SOURCE3} cddllicense.txt
e475ce
e475ce
%mvn_alias : "javax.servlet:jsp-api" "org.eclipse.jetty.orbit:org.apache.jasper.glassfish"
e475ce
e475ce
# compat symlink
e475ce
%mvn_file : %{name}/javax.servlet.jsp %{name}
e475ce
e475ce
%build
e475ce
%mvn_build
e475ce
e475ce
%install
e475ce
%mvn_install
e475ce
e475ce
%files -f .mfiles
e475ce
%dir %{_javadir}/%{name}
e475ce
%doc LICENSE cddllicense.txt
e475ce
e475ce
%files javadoc -f .mfiles-javadoc
e475ce
%doc LICENSE cddllicense.txt
e475ce
e475ce
e475ce
%changelog
e475ce
* Fri Dec 27 2013 Daniel Mach <dmach@redhat.com> - 2.2.6-11
e475ce
- Mass rebuild 2013-12-27
e475ce
e475ce
* Fri Jun 28 2013 Mikolaj Izdebski <mizdebsk@redhat.com> - 2.2.6-10
e475ce
- Rebuild to regenerate API documentation
e475ce
- Resolves: CVE-2013-1571
e475ce
e475ce
* Mon Jun 17 2013 Michal Srb <msrb@redhat.com> - 2.2.6-9
e475ce
- Add compat symlink
e475ce
e475ce
* Fri Jun 07 2013 Michal Srb <msrb@redhat.com> - 2.2.6-8
e475ce
- Build with XMvn
e475ce
- Fix URL for CDDL license
e475ce
e475ce
* Mon Mar  4 2013 Mikolaj Izdebski <mizdebsk@redhat.com> - 2.2.6-7
e475ce
- Add depmap for org.eclipse.jetty.orbit
e475ce
- Resolves: rhbz#917623
e475ce
e475ce
* Tue Feb 26 2013 Mikolaj Izdebski <mizdebsk@redhat.com> - 2.2.6-6
e475ce
- Change scope of Eclipse JDT dependency from compile to provided
e475ce
- Fix eclipse patch
e475ce
e475ce
* Wed Feb 13 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 2.2.6-5
e475ce
- Rebuilt for https://fedoraproject.org/wiki/Fedora_19_Mass_Rebuild
e475ce
e475ce
* Wed Feb 06 2013 Java SIG <java-devel@lists.fedoraproject.org> - 2.2.6-4
e475ce
- Update for https://fedoraproject.org/wiki/Fedora_19_Maven_Rebuild
e475ce
- Replace maven BuildRequires with maven-local
e475ce
e475ce
* Tue Sep  4 2012 Mikolaj Izdebski <mizdebsk@redhat.com> - 2.2.6-3
e475ce
- Fix license tag
e475ce
- Install license files
e475ce
e475ce
* Thu Aug 30 2012 Krzysztof Daniel <kdaniel@redhat.com> 2.2.6-2
e475ce
- Build Eclipse compiler adapters.
e475ce
e475ce
* Wed Aug 29 2012 Mikolaj Izdebski <mizdebsk@redhat.com> - 2.2.6-1
e475ce
- Update to upstream version 2.2.6
e475ce
e475ce
* Mon Jul 23 2012 Mikolaj Izdebski <mizdebsk@redhat.com> - 2.2.5-1
e475ce
- Update to upstream version 2.2.5
e475ce
e475ce
* Thu Jul 19 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 2.2.3-3
e475ce
- Rebuilt for https://fedoraproject.org/wiki/Fedora_18_Mass_Rebuild
e475ce
e475ce
* Wed Apr 11 2012 Stanislav Ochotnicky <sochotnicky@redhat.com> - 2.2.3-2
e475ce
- Add explicit BR/R on java and jpackage-utils
e475ce
- Fix whitespace
e475ce
e475ce
* Wed Mar 21 2012 Stanislav Ochotnicky <sochotnicky@redhat.com> - 2.2.1-1
e475ce
- Initial version of the package