Marek Goldmann cd3a149
%global namedreltag .Beta1
Marek Goldmann cd3a149
%global namedversion %{version}%{?namedreltag}
Marek Goldmann cd3a149
Marek Goldmann cd3a149
Name:             jboss-jsp-2.3-api
Marek Goldmann cd3a149
Version:          1.0.0
Marek Goldmann cd3a149
Release:          0.3%{namedreltag}%{dist}
Marek Goldmann cd3a149
Summary:          JavaServer Pages 2.3 API (JSP)
Marek Goldmann cd3a149
License:          (CDDL or GPLv2 with exceptions) or ASL 2.0
Marek Goldmann cd3a149
URL:              https://github.com/jboss/jboss-jsp-api_spec
Marek Goldmann cd3a149
Source0:          https://github.com/jboss/jboss-jsp-api_spec/archive/jboss-jsp-api_2.3_spec-%{namedversion}.tar.gz
Marek Goldmann cd3a149
Source1:          http://www.apache.org/licenses/LICENSE-2.0.txt
Marek Goldmann cd3a149
Marek Goldmann cd3a149
BuildRequires:    jboss-parent
Marek Goldmann cd3a149
BuildRequires:    maven-local
Marek Goldmann cd3a149
BuildRequires:    jboss-el-3.0-api
Marek Goldmann cd3a149
BuildRequires:    jboss-servlet-3.1-api
Marek Goldmann cd3a149
Marek Goldmann cd3a149
BuildArch:        noarch
Marek Goldmann cd3a149
Marek Goldmann cd3a149
%description
Marek Goldmann cd3a149
JSR-000245: JavaServer Pages 2.3
Marek Goldmann cd3a149
Marek Goldmann cd3a149
%package javadoc
Marek Goldmann cd3a149
Summary:          Javadocs for %{name}
Marek Goldmann cd3a149
Marek Goldmann cd3a149
%description javadoc	
Marek Goldmann cd3a149
This package contains the API documentation for %{name}.
Marek Goldmann cd3a149
Marek Goldmann cd3a149
%prep
Marek Goldmann cd3a149
%setup -q -n jboss-jsp-api_spec-jboss-jsp-api_2.3_spec-%{namedversion}
Marek Goldmann cd3a149
Marek Goldmann cd3a149
cp %{SOURCE1} .
Marek Goldmann cd3a149
Marek Goldmann cd3a149
%build
Marek Goldmann cd3a149
%mvn_build
Marek Goldmann cd3a149
Marek Goldmann cd3a149
%install
Marek Goldmann cd3a149
%mvn_install
Marek Goldmann cd3a149
Marek Goldmann cd3a149
%files -f .mfiles
Marek Goldmann cd3a149
%dir %{_javadir}/%{name}
Marek Goldmann cd3a149
%doc LICENSE README LICENSE-2.0.txt
Marek Goldmann cd3a149
Marek Goldmann cd3a149
%files javadoc -f .mfiles-javadoc
Marek Goldmann cd3a149
%doc LICENSE README LICENSE-2.0.txt
Marek Goldmann cd3a149
Marek Goldmann cd3a149
%changelog
Marek Goldmann cd3a149
* Fri Dec 13 2013 Marek Goldmann <mgoldman@redhat.com> - 1.0.0-0.3.Beta1
Marek Goldmann cd3a149
- Removed the API dir
Marek Goldmann cd3a149
- Removed provides
Marek Goldmann cd3a149
Marek Goldmann cd3a149
* Fri Dec 13 2013 Marek Goldmann <mgoldman@redhat.com> - 1.0.0-0.2.Beta1
Marek Goldmann cd3a149
- Fixed license tag
Marek Goldmann cd3a149
- Added provides for API
Marek Goldmann cd3a149
- Cleaned up BR
Marek Goldmann cd3a149
- Added ASL 2.0 license
Marek Goldmann cd3a149
Marek Goldmann cd3a149
* Thu Dec 12 2013 Marek Goldmann <mgoldman@redhat.com> - 1.0.0-0.1.Beta1
Marek Goldmann cd3a149
- Initial packaging
Marek Goldmann cd3a149
Marek Goldmann cd3a149