|
David Xie |
1c2ccae |
%global artifactId javax.servlet-api
|
|
David Xie |
1c2ccae |
|
|
David Xie |
1c2ccae |
Name: glassfish-servlet-api
|
|
|
0f79cc8 |
Version: 3.1.0
|
|
|
0cb5f26 |
Release: 8%{?dist}
|
|
David Xie |
1c2ccae |
Summary: Java Servlet API
|
|
David Xie |
1c2ccae |
License: (CDDL or GPLv2 with exceptions) and ASL 2.0
|
|
David Xie |
1c2ccae |
URL: http://servlet-spec.java.net
|
|
|
0f79cc8 |
# svn export https://svn.java.net/svn/glassfish~svn/tags/javax.servlet-api-3.1.0 javax.servlet-api-3.1.0
|
|
|
0f79cc8 |
# tar cvJf javax.servlet-api-3.1.0.tar.xz javax.servlet-api-3.1.0/
|
|
|
0f79cc8 |
Source0: %{artifactId}-%{version}.tar.xz
|
|
David Xie |
1c2ccae |
Source1: http://www.apache.org/licenses/LICENSE-2.0.txt
|
|
|
0f79cc8 |
|
|
David Xie |
1c2ccae |
BuildArch: noarch
|
|
David Xie |
1c2ccae |
|
|
David Xie |
1c2ccae |
BuildRequires: java-devel >= 1:1.6.0
|
|
David Xie |
1c2ccae |
BuildRequires: jvnet-parent
|
|
David Xie |
1c2ccae |
BuildRequires: maven-local
|
|
David Xie |
1c2ccae |
BuildRequires: maven-source-plugin
|
|
David Xie |
1c2ccae |
|
|
David Xie |
1c2ccae |
|
|
David Xie |
1c2ccae |
%description
|
|
David Xie |
1c2ccae |
The javax.servlet package contains a number of classes
|
|
David Xie |
1c2ccae |
and interfaces that describe and define the contracts between
|
|
David Xie |
1c2ccae |
a servlet class and the runtime environment provided for
|
|
David Xie |
1c2ccae |
an instance of such a class by a conforming servlet container.
|
|
David Xie |
1c2ccae |
|
|
David Xie |
1c2ccae |
%package javadoc
|
|
David Xie |
1c2ccae |
Summary: Javadoc for %{name}
|
|
David Xie |
1c2ccae |
|
|
David Xie |
1c2ccae |
%description javadoc
|
|
David Xie |
1c2ccae |
API documentation for %{name}.
|
|
David Xie |
1c2ccae |
|
|
David Xie |
1c2ccae |
%prep
|
|
|
0f79cc8 |
%setup -q -n %{artifactId}-%{version}
|
|
|
0f79cc8 |
%pom_remove_plugin :maven-remote-resources-plugin
|
|
David Xie |
1c2ccae |
cp -p %{SOURCE1} .
|
|
|
0f79cc8 |
# README contains also part of javax.servlet-api license
|
|
|
0f79cc8 |
cp -p src/main/resources/META-INF/README .
|
|
|
0f79cc8 |
%mvn_file :%{artifactId} %{name}
|
|
David Xie |
1c2ccae |
|
|
David Xie |
1c2ccae |
%build
|
|
|
5029e4b |
%mvn_alias : javax.servlet:servlet-api
|
|
|
e4ca28e |
%mvn_alias : org.apache.geronimo.specs:geronimo-servlet_3.0_spec
|
|
|
0cb5f26 |
%mvn_alias : org.eclipse.jetty.orbit:javax.servlet
|
|
|
0f79cc8 |
%mvn_build
|
|
David Xie |
1c2ccae |
|
|
|
0f79cc8 |
%install
|
|
|
0f79cc8 |
%mvn_install
|
|
David Xie |
1c2ccae |
|
|
David Xie |
1c2ccae |
%files -f .mfiles
|
|
|
adc212a |
%doc README
|
|
|
adc212a |
%license LICENSE-2.0.txt
|
|
David Xie |
1c2ccae |
|
|
|
0f79cc8 |
%files javadoc -f .mfiles-javadoc
|
|
|
adc212a |
%doc README
|
|
|
adc212a |
%license LICENSE-2.0.txt
|
|
David Xie |
1c2ccae |
|
|
David Xie |
1c2ccae |
%changelog
|
|
|
0cb5f26 |
* Wed Jun 3 2015 Alexander Kurtakov <akurtako@redhat.com> 3.1.0-8
|
|
|
0cb5f26 |
- Add alias for org.eclipse.jetty.orbit:javax.servlet.
|
|
|
0cb5f26 |
|
|
|
adc212a |
* Fri Feb 13 2015 gil cattaneo <puntogil@libero.it> 3.1.0-7
|
|
|
adc212a |
- introduce license macro
|
|
|
adc212a |
|
|
|
e4ca28e |
* Mon Aug 4 2014 Mikolaj Izdebski <mizdebsk@redhat.com> - 3.1.0-6
|
|
|
e4ca28e |
- Add alias for Geronimo servlet API
|
|
|
e4ca28e |
|
|
|
21d4cc7 |
* Sat Jun 07 2014 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 3.1.0-5
|
|
|
21d4cc7 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_Mass_Rebuild
|
|
|
21d4cc7 |
|
|
|
5029e4b |
* Thu Jun 5 2014 Alexander Kurtakov <akurtako@redhat.com> 3.1.0-4
|
|
|
5029e4b |
- Add javax.servlet:servlet-api alias.
|
|
|
5029e4b |
|
|
|
95a577d |
* Fri Mar 28 2014 Michael Simacek <msimacek@redhat.com> - 3.1.0-3
|
|
|
95a577d |
- Use Requires: java-headless rebuild (#1067528)
|
|
|
95a577d |
|
|
|
aea5917 |
* Sat Aug 03 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 3.1.0-2
|
|
|
aea5917 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_20_Mass_Rebuild
|
|
|
aea5917 |
|
|
|
0f79cc8 |
* Thu Jul 04 2013 gil cattaneo <puntogil@libero.it> - 3.1.0-1
|
|
|
0f79cc8 |
- Update to 3.1.0
|
|
|
0f79cc8 |
|
|
David Xie |
1c2ccae |
* Sat Mar 09 2013 David Xie <david.scriptfan@gmail.com> - 3.1-0.1.b07
|
|
David Xie |
1c2ccae |
- Initial version of package
|