xalan.spec 3.0 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384
  1. ##
  2. ## xalan.spec -- OpenPKG RPM Specification
  3. ## Copyright (c) 2000-2002 Cable & Wireless Deutschland GmbH
  4. ## Copyright (c) 2000-2002 The OpenPKG Project <http://www.openpkg.org/>
  5. ## Copyright (c) 2000-2002 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. %define V_here 2.3.1
  26. %define V_real 2_3_1
  27. # package information
  28. Name: xalan
  29. Summary: XSLT Processor
  30. URL: http://xml.apache.org/xalan-j/
  31. Vendor: Apache Software Foundation
  32. Packager: The OpenPKG Project
  33. Distribution: OpenPKG [EXP]
  34. Group: Text
  35. License: Apache
  36. Version: %{V_here}
  37. Release: 20020222
  38. # list of sources
  39. Source0: http://xml.apache.org/dist/xalan-j/xalan-j_%{V_real}-bin.tar.gz
  40. Source1: xalan.sh
  41. # build information
  42. Prefix: %{l_prefix}
  43. BuildRoot: %{l_buildroot}
  44. BuildPreReq: OpenPKG, openpkg >= 20020206
  45. PreReq: OpenPKG, openpkg >= 20020206, JDK
  46. AutoReq: no
  47. AutoReqProv: no
  48. %description
  49. Xalan provides high-performance XSLT stylesheet processing. Xalan fully
  50. implements the W3C XSLT and XPath recommendations. The stylesheet
  51. processor is feature-rich and robust. The XPath Processor is useable as a
  52. stand-alone unit. Xalan uses the Bean Scripting Framework (BSF) to
  53. implement Java or script extensions, features multiple document output
  54. extensions, and we are working on data-binding extensions for SQL/JDBC and
  55. other data providers.
  56. %prep
  57. %setup -q -n xalan-j_%{V_real}
  58. %build
  59. # noop
  60. %install
  61. rm -rf $RPM_BUILD_ROOT
  62. %{l_shtool} mkdir -f -p -m 755 \
  63. $RPM_BUILD_ROOT%{l_prefix}/bin \
  64. $RPM_BUILD_ROOT%{l_prefix}/libexec/xalan
  65. %{l_shtool} install -c -m 755 -e 's;@l_prefix@;%{l_prefix};g' \
  66. %{SOURCE xalan.sh} $RPM_BUILD_ROOT%{l_prefix}/bin/xalan
  67. %{l_shtool} install -c -m 644 \
  68. bin/* $RPM_BUILD_ROOT%{l_prefix}/libexec/xalan/
  69. %{l_rpmtool} files -v -ofiles -r$RPM_BUILD_ROOT %{l_files_std}
  70. %files -f files
  71. %clean
  72. rm -rf $RPM_BUILD_ROOT