Blame SPECS/rngom.spec

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