Add manual pages

This commit is contained in:
Mikolaj Izdebski 2013-04-08 09:24:59 +02:00
parent b83d30542a
commit 567c2f837a
3 changed files with 36 additions and 1 deletions

12
xerces-j2-constants.1 Normal file
View File

@ -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.

12
xerces-j2-version.1 Normal file
View File

@ -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.

View File

@ -4,7 +4,7 @@
Name: xerces-j2 Name: xerces-j2
Version: 2.11.0 Version: 2.11.0
Release: 12%{?dist} Release: 13%{?dist}
Summary: Java XML parser Summary: Java XML parser
Group: Development/Libraries Group: Development/Libraries
License: ASL 2.0 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 Source0: http://mirror.ox.ac.uk/sites/rsync.apache.org/xerces/j/source/Xerces-J-src.%{version}.tar.gz
Source1: %{name}-version.sh Source1: %{name}-version.sh
Source2: %{name}-constants.sh Source2: %{name}-constants.sh
Source11: %{name}-version.1
Source12: %{name}-constants.1
# Custom javac ant task used by the build # 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 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 %{SOURCE1} %{buildroot}%{_bindir}/%{name}-version
install -pD -m755 -T %{SOURCE2} %{buildroot}%{_bindir}/%{name}-constants 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 # demo
install -pD -T build/xercesSamples.jar %{buildroot}%{_datadir}/%{name}/%{name}-samples.jar install -pD -T build/xercesSamples.jar %{buildroot}%{_datadir}/%{name}/%{name}-samples.jar
cp -pr data %{buildroot}%{_datadir}/%{name} cp -pr data %{buildroot}%{_datadir}/%{name}
@ -195,6 +202,7 @@ update-alternatives --install %{_javadir}/jaxp_parser_impl.jar \
%{_mavenpomdir}/* %{_mavenpomdir}/*
%{_javadir}/%{name}* %{_javadir}/%{name}*
%{_bindir}/* %{_bindir}/*
%{_mandir}/*/*
%ghost %{_javadir}/jaxp_parser_impl.jar %ghost %{_javadir}/jaxp_parser_impl.jar
%files javadoc %files javadoc
@ -208,6 +216,9 @@ update-alternatives --install %{_javadir}/jaxp_parser_impl.jar \
%{_datadir}/%{name} %{_datadir}/%{name}
%changelog %changelog
* Mon Apr 8 2013 Mikolaj Izdebski <mizdebsk@redhat.com> - 2.11.0-13
- Add manual pages
* Fri Feb 15 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 2.11.0-12 * Fri Feb 15 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 2.11.0-12
- Rebuilt for https://fedoraproject.org/wiki/Fedora_19_Mass_Rebuild - Rebuilt for https://fedoraproject.org/wiki/Fedora_19_Mass_Rebuild