Blob Blame Raw
Name:             stax2-api
Version:          3.1.1
Release:          6%{?dist}
Summary:          Experimental API extending basic StAX implementation
License:          BSD
Group:            Development/Libraries



BuildArch:        noarch

BuildRequires:    maven-surefire-provider-junit
BuildRequires:    bea-stax-api
BuildRequires:    java-devel
BuildRequires:    maven-local
BuildRequires:    jpackage-utils

Requires:         bea-stax-api
Requires:         jpackage-utils
Requires:         java

StAX2 is an experimental API that is intended to extend
basic StAX specifications in a way that allows implementations
to experiment with features before they end up in the actual
StAX specification (if they do). As such, it is intended
to be freely implementable by all StAX implementations same way
as StAX, but without going through a formal JCP process.

%package javadoc
Summary:          API documentation for %{name}
Group:            Documentation
Requires:         jpackage-utils

%description javadoc
This package contains the API documentation for %{name}.

%setup -q -c %{name}
# fixing incomplete source directory structure
mkdir -p src/main/java
mv -f org src/main/java/

cp %{SOURCE1} pom.xml

mvn-rpmbuild install javadoc:aggregate

# jars
install -Dpm 644 target/%{name}-%{version}.jar %{buildroot}%{_javadir}/%{name}.jar

# pom
install -Dpm 644 pom.xml %{buildroot}%{_mavenpomdir}/JPP-%{name}.pom

# javadoc
install -d -m 755 %{buildroot}%{_javadocdir}/%{name}
cp -pr target/site/apidocs/* %{buildroot}%{_javadocdir}/%{name}

%add_maven_depmap JPP-%{name}.pom %{name}.jar


%files javadoc
%doc %{_javadocdir}/%{name}

* Fri Feb 15 2013 Fedora Release Engineering <> - 3.1.1-6
- Rebuilt for

* Wed Feb 06 2013 Java SIG <> - 3.1.1-5
- Update for
- Replace maven BuildRequires with maven-local

* Sat Jul 21 2012 Fedora Release Engineering <> - 3.1.1-4
- Rebuilt for

* Sat Jan 14 2012 Fedora Release Engineering <> - 3.1.1-3
- Rebuilt for

* Thu Sep 29 2011 Jaromir Capik <> - 3.1.1-2
- bea-stax has it's own depmap now -> removing the local one

* Tue Sep 13 2011 Jaromir Capik <> - 3.1.1-1
- Initial version