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