Compare commits
7 Commits
Author | SHA1 | Date | |
---|---|---|---|
|
39db954280 | ||
|
dff9e93e9f | ||
|
1aa65b57d8 | ||
|
2c312c908a | ||
|
9179eea8f1 | ||
|
47de0e1b32 | ||
|
0b705e1dca |
52
Xalan.1
52
Xalan.1
@ -1,52 +0,0 @@
|
|||||||
.TH XALAN "1" "April 2024" "" "User Commands"
|
|
||||||
.SH NAME
|
|
||||||
.B Xalan
|
|
||||||
\(en Transform XML documents using a stylesheet
|
|
||||||
.SH SYNOPSIS
|
|
||||||
.B Xalan
|
|
||||||
.RI [ OPTIONS ]
|
|
||||||
.I source
|
|
||||||
.I stylesheet
|
|
||||||
.SH DESCRIPTION
|
|
||||||
Transform XML documents using a stylesheet
|
|
||||||
that conforms to XSLT 1.0 standards.
|
|
||||||
.SH OPTIONS
|
|
||||||
A dash as the
|
|
||||||
.I source
|
|
||||||
argument reads from stdin.
|
|
||||||
.RB ( \-
|
|
||||||
cannot be used for both arguments.)
|
|
||||||
.TP
|
|
||||||
.B \-a
|
|
||||||
Use xml-stylesheet PI, not the
|
|
||||||
.I stylesheet
|
|
||||||
argument.
|
|
||||||
.TP
|
|
||||||
.B \-e\ \fIencoding
|
|
||||||
Force the specified encoding for the output.
|
|
||||||
.TP
|
|
||||||
.B \-i\ \fIinteger
|
|
||||||
Indent the specified amount.
|
|
||||||
.TP
|
|
||||||
.B \-m
|
|
||||||
Omit the
|
|
||||||
.B META
|
|
||||||
tag in HTML output.
|
|
||||||
.TP
|
|
||||||
.B \-o\ \fIfilename
|
|
||||||
Write output to the specified file.
|
|
||||||
.TP
|
|
||||||
.B \-p\ \fIname\ expression
|
|
||||||
Sets a stylesheet parameter.
|
|
||||||
.TP
|
|
||||||
.B \-t
|
|
||||||
Display timing information.
|
|
||||||
.TP
|
|
||||||
.B \-u
|
|
||||||
Disable escaping of URLs in HTML output.
|
|
||||||
.TP
|
|
||||||
.B \-?
|
|
||||||
Display a help message.
|
|
||||||
.TP
|
|
||||||
.B \-v
|
|
||||||
Validates source documents.
|
|
21
changelog
21
changelog
@ -1,24 +1,3 @@
|
|||||||
* Thu May 20 2021 Pete Walter <pwalter@fedoraproject.org> - 1.12.0-8
|
|
||||||
- Rebuild for ICU 69
|
|
||||||
|
|
||||||
* Wed May 19 2021 Pete Walter <pwalter@fedoraproject.org> - 1.12.0-7
|
|
||||||
- Rebuild for ICU 69
|
|
||||||
|
|
||||||
* Wed Mar 10 2021 Benjamin A. Beasley <code@musicinmybrain.net> - 1.12.0-6
|
|
||||||
- Commit KEYS (gpg keychain for source verification) to SCM rather than keeping
|
|
||||||
it in the lookaside cache
|
|
||||||
|
|
||||||
* Wed Jan 27 2021 Fedora Release Engineering <releng@fedoraproject.org> - 1.12.0-5
|
|
||||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild
|
|
||||||
|
|
||||||
* Sat Dec 5 2020 Benjamin A. Beasley <code@musicinmybrain.net> - 1.12.0-4
|
|
||||||
- Make -doc package arch again; there are indeed small differences by
|
|
||||||
architecture. Note that 1.12.0-3 never made it to any buildroot, as the arch
|
|
||||||
differences were flagged by koji.
|
|
||||||
|
|
||||||
* Fri Dec 4 2020 Benjamin A. Beasley <code@musicinmybrain.net> - 1.12.0-3
|
|
||||||
- Make -doc package noarch
|
|
||||||
|
|
||||||
* Tue Dec 1 2020 Benjamin A. Beasley <code@musicinmybrain.net> - 1.12.0-2
|
* Tue Dec 1 2020 Benjamin A. Beasley <code@musicinmybrain.net> - 1.12.0-2
|
||||||
- Make spec file compatible with EPEL8: force CMake out-of-source build, add
|
- Make spec file compatible with EPEL8: force CMake out-of-source build, add
|
||||||
ldconfig_scriptlets macro, and add explicit dependency on graphviz (dot) for
|
ldconfig_scriptlets macro, and add explicit dependency on graphviz (dot) for
|
||||||
|
@ -1,10 +0,0 @@
|
|||||||
# Not a real spelling error:
|
|
||||||
addFilter(r" spelling-error \('([Ss]tylesheet)s?',")
|
|
||||||
# Hardlinks within directories owned by a single package are safe.
|
|
||||||
addFilter(r" cross-directory-hard-link /\S+/xalan-c-doc/\S+ /\S+/xalan-c-doc/")
|
|
||||||
# All documentation is in the -doc subpackage.
|
|
||||||
addFilter(r" no-documentation$")
|
|
||||||
#xalan-c.x86_64: W: no-manual-page-for-binary Xalan
|
|
||||||
#xalan-c.x86_64: W: no-documentation
|
|
||||||
#xalan-c-devel.x86_64: W: no-documentation
|
|
||||||
#xalan-c-doc.x86_64: E: no-binary
|
|
106
xalan-c.spec
106
xalan-c.spec
@ -1,5 +1,4 @@
|
|||||||
%bcond icu 1
|
%bcond_without icu
|
||||||
|
|
||||||
Name: xalan-c
|
Name: xalan-c
|
||||||
Version: 1.12.0
|
Version: 1.12.0
|
||||||
# The soversion is made from the major and minor version numbers, e.g. 112 for
|
# The soversion is made from the major and minor version numbers, e.g. 112 for
|
||||||
@ -11,59 +10,39 @@ Version: 1.12.0
|
|||||||
Release: %autorelease
|
Release: %autorelease
|
||||||
Summary: Xalan XSLT processor for C/C++
|
Summary: Xalan XSLT processor for C/C++
|
||||||
|
|
||||||
# The entire source is Apache-2.0, except cmake/RunTest.cmake, which is
|
License: ASL 2.0
|
||||||
# libtiff, but is a build-system file that does not contribute to the licenses
|
URL: http://xalan.apache.org/xalan-c/
|
||||||
# of the binary RPMs.
|
%global tag Xalan-C_%(echo '%{version}' | tr . _)
|
||||||
License: Apache-2.0
|
|
||||||
URL: https://apache.github.io/xalan-c/
|
|
||||||
%global tag Xalan-C_%{gsub %{version} . _}
|
|
||||||
%global tar_name xalan_c-%(echo %{version} | cut -d . -f -2)
|
%global tar_name xalan_c-%(echo %{version} | cut -d . -f -2)
|
||||||
%global forgeurl https://github.com/apache/xalan-c/
|
%global release_url https://github.com/apache/xalan-c/releases/download/%{tag}
|
||||||
%global releaseurl %{forgeurl}/releases/download/%{tag}
|
Source0: %{release_url}/%{tar_name}.tar.gz
|
||||||
Source0: %{releaseurl}/%{tar_name}.tar.gz
|
Source1: %{release_url}/%{tar_name}.tar.gz.asc
|
||||||
Source1: %{releaseurl}/%{tar_name}.tar.gz.asc
|
Source2: %{release_url}/KEYS
|
||||||
Source2: %{releaseurl}/KEYS
|
|
||||||
# Man page hand-written for Fedora in groff_man(7) format based on Xalan -?
|
|
||||||
Source3: Xalan.1
|
|
||||||
|
|
||||||
BuildRequires: gnupg2
|
BuildRequires: gnupg2
|
||||||
BuildRequires: cmake
|
BuildRequires: cmake
|
||||||
# Either make or ninja is supported.
|
# Either make or ninja is supported.
|
||||||
BuildRequires: ninja-build
|
BuildRequires: ninja-build
|
||||||
BuildRequires: gcc-c++
|
BuildRequires: gcc-c++
|
||||||
|
|
||||||
BuildRequires: dos2unix
|
|
||||||
BuildRequires: hardlink
|
|
||||||
|
|
||||||
BuildRequires: xerces-c-devel
|
BuildRequires: xerces-c-devel
|
||||||
%if %{with icu}
|
%if %{with icu}
|
||||||
BuildRequires: libicu-devel
|
BuildRequires: libicu-devel
|
||||||
%endif
|
%endif
|
||||||
|
|
||||||
Requires: xalan-c-libs%{?_isa} = %{version}-%{release}
|
# Required for EPEL8:
|
||||||
|
%undefine __cmake_in_source_build
|
||||||
|
|
||||||
%global common_description %{expand:
|
%description
|
||||||
The Apache Xalan-C++ Project provides a library and a command line program to
|
The Apache Xalan-C++ Project provides a library and a command line program to
|
||||||
transform XML documents using a stylesheet that conforms to XSLT 1.0 standards.
|
transform XML documents using a stylesheet that conforms to XSLT 1.0 standards.
|
||||||
|
|
||||||
Xalan is a project of the Apache Software Foundation.}
|
Xalan is a project of the Apache Software Foundation.
|
||||||
|
|
||||||
%description %{common_description}
|
|
||||||
|
|
||||||
This package contains the command-line tool.
|
|
||||||
|
|
||||||
|
|
||||||
%package libs
|
|
||||||
Summary: Shared libraries for xalan-c
|
|
||||||
|
|
||||||
%description libs
|
|
||||||
The xalan-c-libs package contains libraries needed by the command-line tool and
|
|
||||||
by applications that use xalan-c.
|
|
||||||
|
|
||||||
|
|
||||||
%package devel
|
%package devel
|
||||||
Summary: Development files for xalan-c
|
Summary: Development files for xalan-c
|
||||||
Requires: xalan-c-libs%{?_isa} = %{version}-%{release}
|
Requires: xalan-c%{?_isa} = %{version}-%{release}
|
||||||
|
Requires: cmake-filesystem
|
||||||
|
|
||||||
%description devel
|
%description devel
|
||||||
The xalan-c-devel package contains libraries and header files for developing
|
The xalan-c-devel package contains libraries and header files for developing
|
||||||
@ -80,7 +59,6 @@ Summary: Documentation for xalan-c
|
|||||||
# Normally, we would enable the Doxygen PDF documentation as a lesser
|
# Normally, we would enable the Doxygen PDF documentation as a lesser
|
||||||
# substitute, but building it fails with:
|
# substitute, but building it fails with:
|
||||||
# ! TeX capacity exceeded, sorry [pool size=5905151].
|
# ! TeX capacity exceeded, sorry [pool size=5905151].
|
||||||
BuildArch: noarch
|
|
||||||
|
|
||||||
%description doc
|
%description doc
|
||||||
Documentation for xalan-c. See https://apache.github.io/xalan-c/ for full HTML
|
Documentation for xalan-c. See https://apache.github.io/xalan-c/ for full HTML
|
||||||
@ -95,24 +73,11 @@ documentation.
|
|||||||
# https://github.com/apache/xalan-c/pull/35
|
# https://github.com/apache/xalan-c/pull/35
|
||||||
chmod -v a-x NOTICE
|
chmod -v a-x NOTICE
|
||||||
|
|
||||||
# Remove the Autotools build system cruft from the samples; otherwise, it would
|
|
||||||
# be installed as documentation. We leave the CmakeLists.txt even though it
|
|
||||||
# cannot be used standalone; it is used in the build (even though the built
|
|
||||||
# samples are only tested and not installed), and is annoying to exclude.
|
|
||||||
rm -vf samples/configure samples/configure.in
|
rm -vf samples/configure samples/configure.in
|
||||||
|
|
||||||
# Convert line endings as needed:
|
|
||||||
find docs samples src -type f -exec file '{}' '+' |
|
|
||||||
grep -F 'CRLF' |
|
|
||||||
awk -F ':' '{ print $1 }' |
|
|
||||||
xargs dos2unix --keepdate
|
|
||||||
|
|
||||||
|
|
||||||
%conf
|
|
||||||
%cmake %{?with_icu:-Dtranscoder=icu} -GNinja
|
|
||||||
|
|
||||||
|
|
||||||
%build
|
%build
|
||||||
|
%cmake %{?with_icu:-Dtranscoder=icu} -GNinja
|
||||||
%cmake_build
|
%cmake_build
|
||||||
|
|
||||||
|
|
||||||
@ -124,47 +89,46 @@ find docs samples src -type f -exec file '{}' '+' |
|
|||||||
# the HTML version of the API documentation.
|
# the HTML version of the API documentation.
|
||||||
rm -rf %{buildroot}%{_prefix}/share/doc/xalan-c/api
|
rm -rf %{buildroot}%{_prefix}/share/doc/xalan-c/api
|
||||||
|
|
||||||
install -t '%{buildroot}%{_docdir}/%{name}-doc' -D -p -m 0644 \
|
|
||||||
README.md docs/*.md
|
|
||||||
cp -rvp docs/images/ samples/ '%{buildroot}%{_docdir}/%{name}-doc'
|
|
||||||
hardlink -c -v '%{buildroot}%{_docdir}/%{name}-doc'
|
|
||||||
|
|
||||||
install -t '%{buildroot}%{_mandir}/man1' -D -p -m 0644 '%{SOURCE3}'
|
|
||||||
|
|
||||||
|
|
||||||
%check
|
%check
|
||||||
%ctest
|
%ctest
|
||||||
|
|
||||||
|
|
||||||
|
# Required for EPEL8:
|
||||||
|
%ldconfig_scriptlets
|
||||||
|
|
||||||
|
|
||||||
%files
|
%files
|
||||||
|
%license LICENSE
|
||||||
|
%doc CREDITS
|
||||||
|
%doc KEYS
|
||||||
|
%doc NOTICE
|
||||||
|
%doc README.md
|
||||||
%{_bindir}/Xalan
|
%{_bindir}/Xalan
|
||||||
%{_mandir}/man1/Xalan.1*
|
%{_libdir}/libxalanMsg.so.%{so_version}
|
||||||
|
%{_libdir}/libxalanMsg.so.%{so_version}.*
|
||||||
|
%{_libdir}/libxalan-c.so.%{so_version}
|
||||||
%files libs
|
%{_libdir}/libxalan-c.so.%{so_version}.*
|
||||||
%license CREDITS LICENSE NOTICE
|
|
||||||
|
|
||||||
%{_libdir}/libxalanMsg.so.%{so_version}{,.*}
|
|
||||||
%{_libdir}/libxalan-c.so.%{so_version}{,.*}
|
|
||||||
|
|
||||||
|
|
||||||
%files devel
|
%files devel
|
||||||
%{_libdir}/libxalanMsg.so
|
%{_libdir}/libxalanMsg.so
|
||||||
%{_libdir}/libxalan-c.so
|
%{_libdir}/libxalan-c.so
|
||||||
|
|
||||||
%{_includedir}/xalanc/
|
%{_includedir}/xalanc/
|
||||||
|
|
||||||
%dir %{_libdir}/cmake/XalanC
|
%dir %{_libdir}/cmake/XalanC
|
||||||
%{_libdir}/cmake/XalanC/*.cmake
|
%{_libdir}/cmake/XalanC/*.cmake
|
||||||
|
|
||||||
%dir %{_libdir}/pkgconfig
|
%dir %{_libdir}/pkgconfig
|
||||||
%{_libdir}/pkgconfig/xalan-c.pc
|
%{_libdir}/pkgconfig/xalan-c.pc
|
||||||
|
|
||||||
|
|
||||||
%files doc
|
%files doc
|
||||||
%license CREDITS LICENSE NOTICE
|
%license LICENSE
|
||||||
|
%doc CREDITS
|
||||||
%{_docdir}/%{name}-doc/
|
%doc KEYS
|
||||||
|
%doc NOTICE
|
||||||
|
%doc README.md
|
||||||
|
%doc docs/*.md docs/images
|
||||||
|
%doc samples
|
||||||
|
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
Loading…
Reference in New Issue
Block a user