Blame SPECS/rngom.spec

a0e035
Name: rngom
a0e035
Version: 201103
a0e035
Release: 0.8.20120119svn%{?dist}
a0e035
Summary: Java library for parsing RELAX NG grammars
a0e035
Group: Development/Libraries
a0e035
License: MIT
a0e035
URL: https://rngom.dev.java.net
a0e035
a0e035
# svn export -r 70 https://svn.java.net/svn/rngom~svn/trunk/rngom rngom-201103
a0e035
# find rngom-201103/ -name '*.class' -delete
a0e035
# find rngom-201103/ -name '*.jar' -delete
a0e035
# tar czf rngom-201103.tar.gz rngom-201103
a0e035
Source0: %{name}-%{version}.tar.gz
a0e035
Patch0: %{name}-%{version}-pom.patch
a0e035
a0e035
BuildRequires: bsf
a0e035
BuildRequires: bsh
a0e035
BuildRequires: stax2-api
a0e035
BuildRequires: javacc
a0e035
BuildRequires: javacc-maven-plugin
a0e035
BuildRequires: jpackage-utils
a0e035
BuildRequires: junit4
a0e035
BuildRequires: maven-local
a0e035
BuildRequires: maven-clean-plugin
a0e035
BuildRequires: maven-compiler-plugin
a0e035
BuildRequires: maven-enforcer
a0e035
BuildRequires: maven-enforcer-plugin
a0e035
BuildRequires: maven-install-plugin
a0e035
BuildRequires: maven-jar-plugin
a0e035
BuildRequires: maven-javadoc-plugin
a0e035
BuildRequires: maven-surefire-plugin
a0e035
BuildRequires: msv-xsdlib
a0e035
BuildRequires: relaxngDatatype
a0e035
BuildRequires: sonatype-oss-parent
a0e035
BuildRequires: xmlunit
a0e035
a0e035
Requires: stax2-api
a0e035
Requires: jpackage-utils
a0e035
Requires: msv-xsdlib
a0e035
Requires: relaxngDatatype
a0e035
a0e035
BuildArch: noarch
a0e035
a0e035
a0e035
%description
a0e035
RNGOM is an open-source Java library for parsing RELAX NG grammars.
a0e035
a0e035
In particular, RNGOM can:
a0e035
* parse the XML syntax
a0e035
* parse the compact syntax
a0e035
* check all the semantic restrictions as specified in the specification
a0e035
* parse RELAX NG into application-defined data structures
a0e035
* build a default data structure based around the binarized simple syntax or
a0e035
  another data structure that preserves more of the parsed information
a0e035
* parse foreign elements/attributes in a schema
a0e035
* parse comments in a schema
a0e035
a0e035
a0e035
%package javadoc
a0e035
Group: Documentation
a0e035
Summary: Javadoc for %{name}
a0e035
Requires: jpackage-utils
a0e035
a0e035
a0e035
%description javadoc
a0e035
This package contains javadoc for %{name}.
a0e035
a0e035
a0e035
%prep
a0e035
%setup -q
a0e035
%patch0 -p1
a0e035
a0e035
a0e035
%build
a0e035
mvn-rpmbuild install javadoc:aggregate
a0e035
a0e035
a0e035
%install
a0e035
a0e035
# Jar files:
a0e035
install -d -m 755 %{buildroot}%{_javadir}
a0e035
cp -p target/rngom-%{version}-SNAPSHOT.jar %{buildroot}%{_javadir}/%{name}.jar
a0e035
a0e035
# POM files:
a0e035
install -d -m 755 %{buildroot}%{_mavenpomdir}
a0e035
cp -p pom.xml %{buildroot}%{_mavenpomdir}/JPP-%{name}.pom
a0e035
a0e035
# Javadoc files:
a0e035
install -d -m 755 %{buildroot}%{_javadocdir}/%{name}
a0e035
cp -rp target/site/apidocs/* %{buildroot}%{_javadocdir}/%{name}/.
a0e035
a0e035
# Dependencies map:
a0e035
%add_maven_depmap JPP-%{name}.pom %{name}.jar
a0e035
a0e035
a0e035
%files
a0e035
%{_javadir}/%{name}.jar
a0e035
%{_mavenpomdir}/*
a0e035
%{_mavendepmapfragdir}/*
a0e035
a0e035
a0e035
%files javadoc
a0e035
%{_javadocdir}/*
a0e035
a0e035
a0e035
%changelog
a0e035
* Fri Dec 27 2013 Daniel Mach <dmach@redhat.com> - 201103-0.8.20120119svn
a0e035
- Mass rebuild 2013-12-27
a0e035
a0e035
* Thu Feb 14 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 201103-0.7.20120119svn
a0e035
- Rebuilt for https://fedoraproject.org/wiki/Fedora_19_Mass_Rebuild
a0e035
a0e035
* Wed Feb 06 2013 Java SIG <java-devel@lists.fedoraproject.org> - 201103-0.6.20120119svn
a0e035
- Update for https://fedoraproject.org/wiki/Fedora_19_Maven_Rebuild
a0e035
- Replace maven BuildRequires with maven-local
a0e035
a0e035
* Sat Jul 21 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 201103-0.5.20120119svn
a0e035
- Rebuilt for https://fedoraproject.org/wiki/Fedora_18_Mass_Rebuild
a0e035
a0e035
* Thu Feb 23 2012 Juan Hernandez <juan.hernandez@redhat.com> 201103-0.4.20120119svn
a0e035
- Make explicit the checked out revision number in the comments
a0e035
a0e035
* Sat Feb 18 2012 Juan Hernandez <juan.hernandez@redhat.com> 201103-0.3.20120119svn
a0e035
- Remove the binary file lic.jar from the source tarball
a0e035
a0e035
* Fri Feb 17 2012 Juan Hernandez <juan.hernandez@redhat.com> 201103-0.2.20120119svn
a0e035
- Cleanup of the spec file
a0e035
a0e035
* Sat Jan 21 2012 Marek Goldmann <mgoldman@redhat.com> 201103-0.1.20120119svn
a0e035
- Initial packaging
a0e035