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