2007-11-26 18:41:19 +00:00
|
|
|
Name: xalan-c
|
|
|
|
Version: 1.10.0
|
2012-07-22 04:16:06 +00:00
|
|
|
Release: 12%{?dist}
|
2007-11-26 18:41:19 +00:00
|
|
|
Summary: Xalan XSLT processor for C
|
|
|
|
|
|
|
|
Group: System Environment/Libraries
|
|
|
|
License: ASL 2.0
|
|
|
|
URL: http://xml.apache.org/xalan-c/
|
|
|
|
Source0: http://www.apache.org/dist/xml/xalan-c/Xalan-C_1_10_0-src.tar.gz
|
|
|
|
Patch0: xalan-c-1.10.0-escaping.patch
|
2008-01-04 22:28:07 +00:00
|
|
|
Patch1: xalan-c-1.10.0-gcc43.patch
|
2010-02-05 15:56:54 +00:00
|
|
|
# http://bugs.gentoo.org/attachment.cgi?id=169168
|
|
|
|
Patch2: xalan-c-1.10.0-new-xerces-c.patch
|
2007-11-26 18:41:19 +00:00
|
|
|
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
|
|
|
|
|
|
|
|
BuildRequires: xerces-c-devel
|
|
|
|
Requires(post): /sbin/ldconfig
|
|
|
|
Requires(postun): /sbin/ldconfig
|
|
|
|
|
|
|
|
%description
|
|
|
|
Xalan is an XSLT processor for transforming XML documents into HTML, text, or
|
|
|
|
other XML document types.
|
|
|
|
|
|
|
|
|
|
|
|
%package devel
|
|
|
|
Summary: Header files, libraries and development documentation for %{name}
|
|
|
|
Group: Development/Libraries
|
|
|
|
Requires: %{name} = %{version}-%{release}
|
|
|
|
|
|
|
|
|
|
|
|
%description devel
|
|
|
|
This package contains the header files, static libraries and development
|
|
|
|
documentation for %{name}. If you like to develop programs using %{name},
|
|
|
|
you will need to install %{name}-devel.
|
|
|
|
|
|
|
|
|
|
|
|
%package doc
|
|
|
|
Group: Documentation
|
|
|
|
Summary: Documentation for Xerces-C++ validating XML parser
|
|
|
|
|
|
|
|
|
|
|
|
%description doc
|
|
|
|
Documentation for %{name}.
|
|
|
|
|
|
|
|
|
|
|
|
%prep
|
|
|
|
%setup -q -n xml-xalan/c
|
2008-01-04 22:28:07 +00:00
|
|
|
%patch0 -p2 -b .escaping
|
|
|
|
%patch1 -p2 -b .gcc43
|
2010-02-05 15:56:54 +00:00
|
|
|
%patch2 -p0 -b .new-xerces-c
|
2007-11-26 18:41:19 +00:00
|
|
|
find -type d -name CVS -print0 | xargs -0 rm -rf
|
|
|
|
chmod 644 NOTICE
|
|
|
|
|
|
|
|
|
|
|
|
%build
|
|
|
|
export XALANCROOT="${PWD}"
|
|
|
|
export XERCESROOT=%{_includedir}/xercesc/
|
|
|
|
COMMONARGS="-plinux -cgcc -xg++ -minmem -rpthreads"
|
|
|
|
%ifarch alpha ppc64 s390x sparc64 x86_64
|
|
|
|
./runConfigure ${COMMONARGS} -b64 -P %{_prefix} -C --libdir="%{_libdir}" -z '%{optflags}'
|
|
|
|
%else
|
|
|
|
./runConfigure ${COMMONARGS} -b32 -P %{_prefix} -C --libdir="%{_libdir}" -z '%{optflags}'
|
|
|
|
%endif
|
|
|
|
# _smp_mflags do not work
|
|
|
|
make
|
|
|
|
|
|
|
|
|
|
|
|
%install
|
|
|
|
rm -rf $RPM_BUILD_ROOT
|
|
|
|
export XALANCROOT="${PWD}"
|
|
|
|
export XERCESROOT=%{_includedir}/xercesc/
|
|
|
|
make install DESTDIR=$RPM_BUILD_ROOT
|
|
|
|
|
|
|
|
|
|
|
|
%post -p /sbin/ldconfig
|
|
|
|
%postun -p /sbin/ldconfig
|
|
|
|
|
|
|
|
|
|
|
|
%clean
|
|
|
|
rm -rf $RPM_BUILD_ROOT
|
|
|
|
|
|
|
|
|
|
|
|
%files
|
|
|
|
%defattr(-,root,root,-)
|
|
|
|
%doc LICENSE KEYS NOTICE
|
|
|
|
%{_bindir}/Xalan
|
|
|
|
%{_libdir}/libxalan*.so.*
|
|
|
|
|
|
|
|
|
|
|
|
%files devel
|
|
|
|
%defattr(-,root,root,-)
|
|
|
|
%{_libdir}/libxalan*.so
|
|
|
|
%{_includedir}/xalanc/
|
|
|
|
|
|
|
|
|
|
|
|
%files doc
|
|
|
|
%defattr(-,root,root,-)
|
|
|
|
%doc readme.html xdocs samples
|
|
|
|
|
|
|
|
|
|
|
|
%changelog
|
2012-07-22 04:16:06 +00:00
|
|
|
* Sun Jul 22 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.10.0-12
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_18_Mass_Rebuild
|
|
|
|
|
2012-02-28 20:36:27 +00:00
|
|
|
* Tue Feb 28 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.10.0-11
|
|
|
|
- Rebuilt for c++ ABI breakage
|
|
|
|
|
2012-01-14 08:34:51 +00:00
|
|
|
* Sat Jan 14 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.10.0-10
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_17_Mass_Rebuild
|
|
|
|
|
2011-03-10 10:44:51 +00:00
|
|
|
* Thu Mar 10 2011 Kalev Lember <kalev@smartlink.ee> - 1.10.0-9
|
|
|
|
- Rebuilt with xerces-c 3.1
|
|
|
|
|
2011-02-08 03:27:28 +00:00
|
|
|
* Mon Feb 07 2011 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.10.0-8
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_15_Mass_Rebuild
|
|
|
|
|
2010-02-05 15:03:13 +00:00
|
|
|
* Fri Feb 05 2010 Lubomir Rintel <lkundrak@v3.sk> - 1.10.0-7
|
|
|
|
- Rebuild for newer xerces-c
|
|
|
|
|
2009-07-27 07:33:30 +00:00
|
|
|
* Mon Jul 27 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.10.0-6
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_12_Mass_Rebuild
|
|
|
|
|
2009-02-26 07:35:13 +00:00
|
|
|
* Wed Feb 25 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.10.0-5
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_11_Mass_Rebuild
|
|
|
|
|
2008-02-11 14:20:43 +00:00
|
|
|
* Mon Feb 11 2008 Lubomir Kundrak <lkundrak@redhat.com> 1.10.0-4
|
|
|
|
- Rebuild for newer xerces-c
|
|
|
|
|
2008-01-04 22:28:07 +00:00
|
|
|
* Thu Jan 03 2008 Lubomir Kundrak <lkundrak@redhat.com> 1.10.0-3
|
|
|
|
- Adding missing includes to fix build with gcc-4.3
|
|
|
|
|
2007-11-26 18:41:19 +00:00
|
|
|
* Mon Nov 19 2007 Lubomir Kundrak <lkundrak@redhat.com> - 1.10.0-2
|
|
|
|
- Fix passing of compiler flags
|
|
|
|
- Bump to stable source instead of CVS snapshot
|
|
|
|
- Fixed License tag
|
|
|
|
|
|
|
|
* Thu Feb 15 2007 Till Maas <opensource till name> - 1.10.0-1
|
|
|
|
- Initial spec for fedora extras
|