update to 1.12 [release 1.12-1mamba;Sun Sep 06 2020]
This commit is contained in:
parent
90c7dacc85
commit
5735fa3d51
91
xalan-c.spec
91
xalan-c.spec
@ -2,18 +2,25 @@
|
|||||||
%define pckver %(echo %version | tr '.' '_')
|
%define pckver %(echo %version | tr '.' '_')
|
||||||
|
|
||||||
Name: xalan-c
|
Name: xalan-c
|
||||||
Version: 1.10.0
|
Version: 1.12
|
||||||
Release: 3mamba
|
Release: 1mamba
|
||||||
Summary: An XSLT processor in C++
|
Summary: An XSLT processor in C++
|
||||||
Group: Development/Tools
|
Group: Development/Tools
|
||||||
Vendor: openmamba
|
Vendor: openmamba
|
||||||
Distribution: openmamba
|
Distribution: openmamba
|
||||||
Packager: Stefano Cotta Ramusino <stefano.cotta@openmamba.org>
|
Packager: Stefano Cotta Ramusino <stefano.cotta@openmamba.org>
|
||||||
URL: http://xml.apache.org/xalan-c
|
URL: http://xml.apache.org/xalan-c
|
||||||
Source: http://www.apache.org/dist/xml/xalan-c/source/Xalan-C_%{pckver}-src.tar.gz
|
Source: http://mirror.nohup.it/apache/xalan/xalan-c/sources/xalan_c-%{version}.tar.gz
|
||||||
Patch0: %{name}-1.10.0-gcc-43.patch
|
Patch0: %{name}-1.10.0-gcc-43.patch
|
||||||
License: Apache License 2.0
|
License: Apache License 2.0
|
||||||
|
## AUTOBUILDREQ-BEGIN
|
||||||
|
BuildRequires: glibc-devel
|
||||||
|
BuildRequires: ldconfig
|
||||||
|
BuildRequires: libgcc
|
||||||
|
BuildRequires: libicu-devel
|
||||||
|
BuildRequires: libstdc++6-devel
|
||||||
BuildRequires: libxerces-c-devel
|
BuildRequires: libxerces-c-devel
|
||||||
|
## AUTOBUILDREQ-END
|
||||||
BuildRoot: %{_tmppath}/%{name}-%{version}-root
|
BuildRoot: %{_tmppath}/%{name}-%{version}-root
|
||||||
|
|
||||||
%description
|
%description
|
||||||
@ -38,40 +45,44 @@ Library for an XSLT processor in C++.
|
|||||||
|
|
||||||
This package contains static libraries and header files need for development.
|
This package contains static libraries and header files need for development.
|
||||||
|
|
||||||
%prep
|
%debug_package
|
||||||
%setup -q -n xml-xalan
|
|
||||||
%patch0 -p1
|
|
||||||
|
|
||||||
# use optflags in runConfigure
|
%prep
|
||||||
for runconf in $(find -name runConfigure); do
|
%setup -q -n xalan_c-%{version}
|
||||||
sed -i -e "s/-O2 \(-DNDEBUG\)/%{optflags} \1/g" $runconf
|
#%patch0 -p1
|
||||||
done
|
|
||||||
|
## use optflags in runConfigure
|
||||||
|
#for runconf in $(find -name runConfigure); do
|
||||||
|
# sed -i -e "s/-O2 \(-DNDEBUG\)/%{optflags} \1/g" $runconf
|
||||||
|
#done
|
||||||
|
|
||||||
%build
|
%build
|
||||||
export XERCESCROOT=%{_includedir}/xercesc
|
%cmake -d build
|
||||||
export XALANCROOT=$(pwd)/c
|
|
||||||
export ICUROOT=%{_prefix}
|
|
||||||
|
|
||||||
pushd c
|
#export XERCESCROOT=%{_includedir}/xercesc
|
||||||
autoreconf --install --force
|
#export XALANCROOT=$(pwd)/c
|
||||||
./runConfigure \
|
#export ICUROOT=%{_prefix}
|
||||||
-p linux \
|
#
|
||||||
-c %{_target_platform}-gcc \
|
#pushd c
|
||||||
-x %{_target_platform}-g++ \
|
#autoreconf --install --force
|
||||||
-m inmem \
|
#./runConfigure \
|
||||||
-t icu \
|
# -p linux \
|
||||||
-r pthread \
|
# -c %{_target_platform}-gcc \
|
||||||
-b 32 \
|
# -x %{_target_platform}-g++ \
|
||||||
-P %{_prefix} \
|
# -m inmem \
|
||||||
-C --libdir="%{_libdir}"
|
# -t icu \
|
||||||
|
# -r pthread \
|
||||||
|
# -b 32 \
|
||||||
|
# -P %{_prefix} \
|
||||||
|
# -C --libdir="%{_libdir}"
|
||||||
|
|
||||||
%make -j1
|
%make
|
||||||
popd
|
|
||||||
|
|
||||||
%install
|
%install
|
||||||
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
|
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
|
||||||
export XALANCROOT=$(pwd)/c
|
%makeinstall -C build
|
||||||
%makeinstall -C c
|
#export XALANCROOT=$(pwd)/c
|
||||||
|
#% makeinstall -C c
|
||||||
|
|
||||||
%clean
|
%clean
|
||||||
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
|
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
|
||||||
@ -82,19 +93,33 @@ export XALANCROOT=$(pwd)/c
|
|||||||
%files
|
%files
|
||||||
%defattr(-,root,root)
|
%defattr(-,root,root)
|
||||||
%{_bindir}/*
|
%{_bindir}/*
|
||||||
%doc c/README c/LICENSE c/readme.html
|
|
||||||
|
|
||||||
%files -n %{libname}
|
%files -n %{libname}
|
||||||
%defattr(-, root, root)
|
%defattr(-, root, root)
|
||||||
%{_libdir}/*.so.*
|
%{_libdir}/libxalan-c.so.*
|
||||||
|
%{_libdir}/libxalanMsg.so.*
|
||||||
|
%doc LICENSE CREDITS
|
||||||
|
|
||||||
%files -n %{libname}-devel
|
%files -n %{libname}-devel
|
||||||
%defattr(-, root, root)
|
%defattr(-, root, root)
|
||||||
%{_includedir}/xalanc
|
%{_includedir}/xalanc
|
||||||
%{_libdir}/*.so
|
%{_libdir}/libxalan-c.so
|
||||||
%doc c/xdocs
|
%{_libdir}/libxalanMsg.so
|
||||||
|
%{_libdir}/pkgconfig/xalan-c.pc
|
||||||
|
%dir %{_libdir}/cmake/XalanC
|
||||||
|
%{_libdir}/cmake/XalanC/XalanCConfig*.cmake
|
||||||
|
%dir %{_datadir}/doc/xalan-c
|
||||||
|
%dir %{_datadir}/doc/xalan-c/api
|
||||||
|
%{_datadir}/doc/xalan-c/api/*
|
||||||
|
%doc README.md
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
* Sun Sep 06 2020 Silvan Calarco <silvan.calarco@mambasoft.it> 1.12-1mamba
|
||||||
|
- update to 1.12
|
||||||
|
|
||||||
|
* Thu Jan 21 2016 Silvan Calarco <silvan.calarco@mambasoft.it> 1.11-1mamba
|
||||||
|
- update to 1.11
|
||||||
|
|
||||||
* Sat Apr 28 2012 Silvan Calarco <silvan.calarco@mambasoft.it> 1.10.0-3mamba
|
* Sat Apr 28 2012 Silvan Calarco <silvan.calarco@mambasoft.it> 1.10.0-3mamba
|
||||||
- rebuilt (added gcc 4.3 patch)
|
- rebuilt (added gcc 4.3 patch)
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user