Add msv, relames, xmlgen, and rngconv command line scripts.

This commit is contained in:
Ville Skyttä 2010-11-02 22:35:07 +02:00
parent 4022ab7d64
commit de1c46ef15

View File

@ -1,7 +1,7 @@
Name: msv Name: msv
Epoch: 1 Epoch: 1
Version: 2009.1 Version: 2009.1
Release: 6%{?dist} Release: 7%{?dist}
Summary: Multi-Schema Validator Summary: Multi-Schema Validator
Group: Development/Libraries Group: Development/Libraries
License: BSD License: BSD
@ -283,6 +283,12 @@ cp -pr msv/examples/* %{buildroot}%{_datadir}/%{name}-%{version}/msv
install -d -m 755 %{buildroot}%{_datadir}/%{name}-%{version}/xsdlib install -d -m 755 %{buildroot}%{_datadir}/%{name}-%{version}/xsdlib
cp -pr xsdlib/examples/* %{buildroot}%{_datadir}/%{name}-%{version}/xsdlib cp -pr xsdlib/examples/* %{buildroot}%{_datadir}/%{name}-%{version}/xsdlib
# Scripts
%jpackage_script com.sun.msv.driver.textui.Driver "" "" msv-msv:msv-xsdlib:relaxngDatatype:isorelax msv true
%jpackage_script com.sun.msv.generator.Driver "" "" msv-xmlgen:msv-msv:msv-xsdlib:relaxngDatatype:isorelax:xerces-j2 xmlgen true
%jpackage_script com.sun.msv.schematron.Driver "" "" msv-relames:msv-msv:msv-xsdlib:relaxngDatatype:isorelax:xalan-j2 relames true
%jpackage_script com.sun.msv.writer.relaxng.Driver "" "" msv-rngconv:msv-msv:msv-xsdlib:relaxngDatatype:isorelax:xerces-j2 rngconv true
%clean %clean
rm -rf %{buildroot} rm -rf %{buildroot}
@ -294,6 +300,7 @@ rm -rf %{buildroot}
%files msv %files msv
%defattr(-,root,root,-) %defattr(-,root,root,-)
%{_bindir}/msv
%{_mavenpomdir}/JPP-%{name}-core.pom %{_mavenpomdir}/JPP-%{name}-core.pom
%{_mavenpomdir}/JPP-%{name}-testharness.pom %{_mavenpomdir}/JPP-%{name}-testharness.pom
%{_javadir}/%{name}-core-%{version}.jar %{_javadir}/%{name}-core-%{version}.jar
@ -305,6 +312,7 @@ rm -rf %{buildroot}
%files relames %files relames
%defattr(-,root,root,-) %defattr(-,root,root,-)
%{_bindir}/relames
%{_mavenpomdir}/JPP-%{name}-relames.pom %{_mavenpomdir}/JPP-%{name}-relames.pom
%{_javadir}/%{name}-relames-%{version}.jar %{_javadir}/%{name}-relames-%{version}.jar
%{_javadir}/%{name}-relames.jar %{_javadir}/%{name}-relames.jar
@ -312,6 +320,7 @@ rm -rf %{buildroot}
%files rngconv %files rngconv
%defattr(-,root,root,-) %defattr(-,root,root,-)
%{_bindir}/rngconv
%{_mavenpomdir}/JPP-%{name}-rngconverter.pom %{_mavenpomdir}/JPP-%{name}-rngconverter.pom
%{_javadir}/%{name}-rngconverter-%{version}.jar %{_javadir}/%{name}-rngconverter-%{version}.jar
%{_javadir}/%{name}-rngconverter.jar %{_javadir}/%{name}-rngconverter.jar
@ -322,6 +331,7 @@ rm -rf %{buildroot}
%files xmlgen %files xmlgen
%defattr(-,root,root,-) %defattr(-,root,root,-)
%{_bindir}/xmlgen
%{_mavenpomdir}/JPP-%{name}-generator.pom %{_mavenpomdir}/JPP-%{name}-generator.pom
%{_javadir}/%{name}-generator-%{version}.jar %{_javadir}/%{name}-generator-%{version}.jar
%{_javadir}/%{name}-generator.jar %{_javadir}/%{name}-generator.jar
@ -360,6 +370,9 @@ rm -rf %{buildroot}
%{_datadir}/%{name}-%{version} %{_datadir}/%{name}-%{version}
%changelog %changelog
* Tue Nov 2 2010 Ville Skyttä <ville.skytta@iki.fi> - 1:2009.1-7
- Add msv, relames, xmlgen, and rngconv command line scripts.
* Thu Oct 28 2010 Alexander Kurtakov <akurtako@redhat.com> 1:2009.1-6 * Thu Oct 28 2010 Alexander Kurtakov <akurtako@redhat.com> 1:2009.1-6
- BR junit4. - BR junit4.