Compare commits

..

14 Commits

Author SHA1 Message Date
Benjamin A. Beasley
9f124b497f Add a man page for the Xalan command-line tool 2024-04-05 13:22:32 -04:00
Benjamin A. Beasley
d560232797 Split libraries into a -libs subpackage separate from the command-line tool 2024-04-05 13:22:32 -04:00
Benjamin A. Beasley
c5b5aa7250 Make the -doc subpackage noarch 2024-04-05 13:22:32 -04:00
Benjamin A. Beasley
f2d51a9404 Add an rpmlintrc file
[skip changelog]
2024-04-05 13:22:32 -04:00
Benjamin A. Beasley
3cb349ac5f Convert some stray CRNL line endings 2024-04-05 13:22:32 -04:00
Benjamin A. Beasley
86cd3616f1 Do not install README.md in the base package, only in -doc 2024-04-05 13:22:31 -04:00
Benjamin A. Beasley
27ef2e4037 Do not install KEYS 2024-04-05 13:22:31 -04:00
Benjamin A. Beasley
369c548037 Treat CREDITS and NOTICE as additional license files 2024-04-05 13:22:31 -04:00
Benjamin A. Beasley
b23aae75d5 Save some space in the -doc subpackage by hardlinking duplicate files 2024-04-05 13:22:31 -04:00
Benjamin A. Beasley
c1ab286eef Switch URL from HTTP to HTTPS 2024-04-05 13:22:30 -04:00
Benjamin A. Beasley
f4e32bbb92 Put the GitHub URL in its own macro
[skip changelog]
2024-04-05 13:22:08 -04:00
Benjamin A. Beasley
a4f5818966 Trivially simplify one files list 2024-04-05 13:22:08 -04:00
Benjamin A. Beasley
1a0a944d7f Indicate dirs. in files list with trailing slashes 2024-04-05 13:22:08 -04:00
Benjamin A. Beasley
24acd886b3 Update License to SPDX 2024-04-05 13:22:08 -04:00

View File

@ -1,5 +1,4 @@
%bcond icu 1
%bcond_without icu
Name: xalan-c
Version: 1.12.0
# The soversion is made from the major and minor version numbers, e.g. 112 for
@ -16,7 +15,7 @@ Summary: Xalan XSLT processor for C/C++
# of the binary RPMs.
License: Apache-2.0
URL: https://apache.github.io/xalan-c/
%global tag Xalan-C_%{gsub %{version} . _}
%global tag Xalan-C_%(echo '%{version}' | tr . _)
%global tar_name xalan_c-%(echo %{version} | cut -d . -f -2)
%global forgeurl https://github.com/apache/xalan-c/
%global releaseurl %{forgeurl}/releases/download/%{tag}
@ -108,11 +107,8 @@ find docs samples src -type f -exec file '{}' '+' |
xargs dos2unix --keepdate
%conf
%cmake %{?with_icu:-Dtranscoder=icu} -GNinja
%build
%cmake %{?with_icu:-Dtranscoder=icu} -GNinja
%cmake_build