xalan.spec 3.0 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485
  1. ##
  2. ## xalan.spec -- OpenPKG RPM Specification
  3. ## Copyright (c) 2000-2003 Cable & Wireless Deutschland GmbH
  4. ## Copyright (c) 2000-2003 The OpenPKG Project <http://www.openpkg.org/>
  5. ## Copyright (c) 2000-2003 Ralf S. Engelschall <rse@engelschall.com>
  6. ##
  7. ## Permission to use, copy, modify, and distribute this software for
  8. ## any purpose with or without fee is hereby granted, provided that
  9. ## the above copyright notice and this permission notice appear in all
  10. ## copies.
  11. ##
  12. ## THIS SOFTWARE IS PROVIDED ``AS IS'' AND ANY EXPRESSED OR IMPLIED
  13. ## WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF
  14. ## MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED.
  15. ## IN NO EVENT SHALL THE AUTHORS AND COPYRIGHT HOLDERS AND THEIR
  16. ## CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
  17. ## SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT
  18. ## LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF
  19. ## USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND
  20. ## ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY,
  21. ## OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT
  22. ## OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
  23. ## SUCH DAMAGE.
  24. ##
  25. # package versions
  26. %define V_here 2.5.1
  27. %define V_real 2_5_1
  28. # package information
  29. Name: xalan
  30. Summary: XSLT Processor
  31. URL: http://xml.apache.org/xalan-j/
  32. Vendor: Apache Software Foundation
  33. Packager: The OpenPKG Project
  34. Distribution: OpenPKG [EVAL]
  35. Group: Text
  36. License: Apache
  37. Version: %{V_here}
  38. Release: 20030708
  39. # list of sources
  40. Source0: http://xml.apache.org/dist/xalan-j/xalan-j_%{V_real}-bin.tar.gz
  41. Source1: xalan.sh
  42. # build information
  43. Prefix: %{l_prefix}
  44. BuildRoot: %{l_buildroot}
  45. BuildPreReq: OpenPKG, openpkg >= 20020206
  46. PreReq: OpenPKG, openpkg >= 20020206, JDK
  47. AutoReq: no
  48. AutoReqProv: no
  49. %description
  50. Xalan provides high-performance XSLT stylesheet processing. Xalan fully
  51. implements the W3C XSLT and XPath recommendations. The stylesheet
  52. processor is feature-rich and robust. The XPath Processor is useable as a
  53. stand-alone unit. Xalan uses the Bean Scripting Framework (BSF) to
  54. implement Java or script extensions, features multiple document output
  55. extensions, and we are working on data-binding extensions for SQL/JDBC and
  56. other data providers.
  57. %prep
  58. %setup -q -n xalan-j_%{V_real}
  59. %build
  60. # noop
  61. %install
  62. rm -rf $RPM_BUILD_ROOT
  63. %{l_shtool} mkdir -f -p -m 755 \
  64. $RPM_BUILD_ROOT%{l_prefix}/bin \
  65. $RPM_BUILD_ROOT%{l_prefix}/libexec/xalan
  66. %{l_shtool} install -c -m 755 -e 's;@l_prefix@;%{l_prefix};g' \
  67. %{SOURCE xalan.sh} $RPM_BUILD_ROOT%{l_prefix}/bin/xalan
  68. %{l_shtool} install -c -m 644 \
  69. bin/* $RPM_BUILD_ROOT%{l_prefix}/libexec/xalan/
  70. %{l_rpmtool} files -v -ofiles -r$RPM_BUILD_ROOT %{l_files_std}
  71. %files -f files
  72. %clean
  73. rm -rf $RPM_BUILD_ROOT