xalan-c-vl.spec 3.3 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129
  1. Summary: Xalan XSLT processor for C
  2. Summary(ja): C 言語用 Xalan XSLT プロセッサ
  3. Name: xalan-c
  4. Version: 1.11.0
  5. Release: 3%{?_dist_release}
  6. Group: System Environment/Libraries
  7. License: ASL 2.0
  8. URL: http://xml.apache.org/xalan-c/
  9. Vendor: Project Vine
  10. Distribution: Vine Linux
  11. Source0: http://www.us.apache.org/dist/xalan/xalan-c/sources/xalan_c-1.11-src.tar.gz
  12. Patch0: xalan-c-1.10.0-escaping.patch
  13. BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root
  14. BuildRequires: xerces-c-devel
  15. Requires(post): /sbin/ldconfig
  16. Requires(postun): /sbin/ldconfig
  17. %description
  18. Xalan is an XSLT processor for transforming XML documents into HTML, text, or
  19. other XML document types.
  20. %package devel
  21. Summary: Header files, libraries for %{name}
  22. Summary(ja): %{name} のヘッダファイルとライブラリ
  23. Group: Development/Libraries
  24. Requires: %{name} = %{version}-%{release}
  25. %description devel
  26. This package contains the header files, static libraries and development
  27. documentation for %{name}. If you like to develop programs using %{name},
  28. you will need to install %{name}-devel.
  29. %package doc
  30. Summary: Documentation for Xalan XSLT processor
  31. Summary(ja): Xalan XSLT プロセッサのドキュメント
  32. Group: Documentation
  33. %description doc
  34. Documentation for %{name}.
  35. %prep
  36. %setup -q -n xalan-c-1.11/c
  37. %patch0 -p2 -b .escaping
  38. find -type d -name CVS -print0 | xargs -0 rm -rf
  39. chmod 644 NOTICE
  40. # Update config.guess for new architectures
  41. cp /usr/lib/rpm/config.guess config.guess
  42. %build
  43. export XALANCROOT="${PWD}"
  44. export XERCESROOT=%{_includedir}/xercesc/
  45. COMMONARGS="-plinux -cgcc -xg++ -minmem"
  46. %ifarch alpha ppc64 s390x sparc64 x86_64
  47. ./runConfigure ${COMMONARGS} -b64 -P %{_prefix} -C --libdir="%{_libdir}" -z '%{optflags}'
  48. %else
  49. ./runConfigure ${COMMONARGS} -b32 -P %{_prefix} -C --libdir="%{_libdir}" -z '%{optflags}'
  50. %endif
  51. # _smp_mflags do not work
  52. make
  53. %install
  54. rm -rf $RPM_BUILD_ROOT
  55. export XALANCROOT="${PWD}"
  56. export XERCESROOT=%{_includedir}/xercesc/
  57. make install DESTDIR=$RPM_BUILD_ROOT
  58. %post -p /sbin/ldconfig
  59. %postun -p /sbin/ldconfig
  60. %clean
  61. rm -rf $RPM_BUILD_ROOT
  62. %files
  63. %defattr(-,root,root,-)
  64. %doc LICENSE KEYS NOTICE
  65. %{_bindir}/Xalan
  66. %{_libdir}/libxalan*.so.*
  67. %files devel
  68. %defattr(-,root,root,-)
  69. %{_libdir}/libxalan*.so
  70. %{_includedir}/xalanc/
  71. %files doc
  72. %defattr(-,root,root,-)
  73. %doc readme.html xdocs samples
  74. %changelog
  75. * Tue Jul 5 2016 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> 1.11.0-3
  76. - rebuilt with new toolchain.
  77. * Sat Jan 24 2015 Ryoichi INAGAKI <ryo1@toki.waseda.jp> 1.11.0-2
  78. - rebuilt with xerces-c 3.1.1
  79. - added Japanese summary
  80. * Mon Jul 14 2014 Daisuke SUZUKI <daisuke@vinelinux.org> 1.11.0-1
  81. - update to 1.11.0
  82. * Fri Sep 05 2008 Daisuke SUZUKI <daisuke@linux.or.jp> 1.10.0-1
  83. - initial build for Vine Linux
  84. * Mon Feb 11 2008 Lubomir Kundrak <lkundrak@redhat.com> 1.10.0-4
  85. - Rebuild for newer xerces-c
  86. * Thu Jan 03 2008 Lubomir Kundrak <lkundrak@redhat.com> 1.10.0-3
  87. - Adding missing includes to fix build with gcc-4.3
  88. * Mon Nov 19 2007 Lubomir Kundrak <lkundrak@redhat.com> - 1.10.0-2
  89. - Fix passing of compiler flags
  90. - Bump to stable source instead of CVS snapshot
  91. - Fixed License tag
  92. * Thu Feb 15 2007 Till Maas <opensource till name> - 1.10.0-1
  93. - Initial spec for fedora extras