diff --git a/xerces-j2-constants.1 b/xerces-j2-constants.1 new file mode 100644 index 0000000..86c7e54 --- /dev/null +++ b/xerces-j2-constants.1 @@ -0,0 +1,12 @@ +.TH XERCES-J2-CONSTANTS 1 "08 April 2013" "xerces-2.11.0" "User commands" + +.SH NAME +xerces-j2-constants \- display constants used by Xerces2 Java Parser + +.SH SYNOPSIS +.BR xerces-j2-constants + +.SH DESCRIPTION + +Xerces-J2-Constants dumps common constants used by Xerces2 Java Parser +to standard output. diff --git a/xerces-j2-version.1 b/xerces-j2-version.1 new file mode 100644 index 0000000..bccee19 --- /dev/null +++ b/xerces-j2-version.1 @@ -0,0 +1,12 @@ +.TH XERCES-J2-VERSION 1 "08 April 2013" "xerces-2.11.0" "User commands" + +.SH NAME +xerces-j2-version \- display version of Xerces2 Java Parser + +.SH SYNOPSIS +.BR xerces-j2-version + +.SH DESCRIPTION + +Xerces-J2-Version prints version of Xerces2 Java Parser to standard +output. diff --git a/xerces-j2.spec b/xerces-j2.spec index 0bf5c48..ef3a0ba 100644 --- a/xerces-j2.spec +++ b/xerces-j2.spec @@ -4,7 +4,7 @@ Name: xerces-j2 Version: 2.11.0 -Release: 12%{?dist} +Release: 13%{?dist} Summary: Java XML parser Group: Development/Libraries License: ASL 2.0 @@ -13,6 +13,8 @@ URL: http://xerces.apache.org/xerces2-j/ Source0: http://mirror.ox.ac.uk/sites/rsync.apache.org/xerces/j/source/Xerces-J-src.%{version}.tar.gz Source1: %{name}-version.sh Source2: %{name}-constants.sh +Source11: %{name}-version.1 +Source12: %{name}-constants.1 # Custom javac ant task used by the build Source3: https://svn.apache.org/repos/asf/xerces/java/tags/Xerces-J_%{cvs_version}/tools/src/XJavac.java @@ -165,6 +167,11 @@ cp -pr build/docs/javadocs/other/* %{buildroot}%{_javadocdir}/%{name}/other install -pD -m755 -T %{SOURCE1} %{buildroot}%{_bindir}/%{name}-version install -pD -m755 -T %{SOURCE2} %{buildroot}%{_bindir}/%{name}-constants +# manual pages +install -d -m 755 %{buildroot}%{_mandir}/man1 +install -p -m 644 %{SOURCE11} %{buildroot}%{_mandir}/man1 +install -p -m 644 %{SOURCE12} %{buildroot}%{_mandir}/man1 + # demo install -pD -T build/xercesSamples.jar %{buildroot}%{_datadir}/%{name}/%{name}-samples.jar cp -pr data %{buildroot}%{_datadir}/%{name} @@ -195,6 +202,7 @@ update-alternatives --install %{_javadir}/jaxp_parser_impl.jar \ %{_mavenpomdir}/* %{_javadir}/%{name}* %{_bindir}/* +%{_mandir}/*/* %ghost %{_javadir}/jaxp_parser_impl.jar %files javadoc @@ -208,6 +216,9 @@ update-alternatives --install %{_javadir}/jaxp_parser_impl.jar \ %{_datadir}/%{name} %changelog +* Mon Apr 8 2013 Mikolaj Izdebski - 2.11.0-13 +- Add manual pages + * Fri Feb 15 2013 Fedora Release Engineering - 2.11.0-12 - Rebuilt for https://fedoraproject.org/wiki/Fedora_19_Mass_Rebuild