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 '.' '_')
|
||||
|
||||
Name: xalan-c
|
||||
Version: 1.10.0
|
||||
Release: 3mamba
|
||||
Version: 1.12
|
||||
Release: 1mamba
|
||||
Summary: An XSLT processor in C++
|
||||
Group: Development/Tools
|
||||
Vendor: openmamba
|
||||
Distribution: openmamba
|
||||
Packager: Stefano Cotta Ramusino <stefano.cotta@openmamba.org>
|
||||
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
|
||||
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
|
||||
## AUTOBUILDREQ-END
|
||||
BuildRoot: %{_tmppath}/%{name}-%{version}-root
|
||||
|
||||
%description
|
||||
@ -38,40 +45,44 @@ Library for an XSLT processor in C++.
|
||||
|
||||
This package contains static libraries and header files need for development.
|
||||
|
||||
%prep
|
||||
%setup -q -n xml-xalan
|
||||
%patch0 -p1
|
||||
%debug_package
|
||||
|
||||
# use optflags in runConfigure
|
||||
for runconf in $(find -name runConfigure); do
|
||||
sed -i -e "s/-O2 \(-DNDEBUG\)/%{optflags} \1/g" $runconf
|
||||
done
|
||||
%prep
|
||||
%setup -q -n xalan_c-%{version}
|
||||
#%patch0 -p1
|
||||
|
||||
## use optflags in runConfigure
|
||||
#for runconf in $(find -name runConfigure); do
|
||||
# sed -i -e "s/-O2 \(-DNDEBUG\)/%{optflags} \1/g" $runconf
|
||||
#done
|
||||
|
||||
%build
|
||||
export XERCESCROOT=%{_includedir}/xercesc
|
||||
export XALANCROOT=$(pwd)/c
|
||||
export ICUROOT=%{_prefix}
|
||||
%cmake -d build
|
||||
|
||||
pushd c
|
||||
autoreconf --install --force
|
||||
./runConfigure \
|
||||
-p linux \
|
||||
-c %{_target_platform}-gcc \
|
||||
-x %{_target_platform}-g++ \
|
||||
-m inmem \
|
||||
-t icu \
|
||||
-r pthread \
|
||||
-b 32 \
|
||||
-P %{_prefix} \
|
||||
-C --libdir="%{_libdir}"
|
||||
#export XERCESCROOT=%{_includedir}/xercesc
|
||||
#export XALANCROOT=$(pwd)/c
|
||||
#export ICUROOT=%{_prefix}
|
||||
#
|
||||
#pushd c
|
||||
#autoreconf --install --force
|
||||
#./runConfigure \
|
||||
# -p linux \
|
||||
# -c %{_target_platform}-gcc \
|
||||
# -x %{_target_platform}-g++ \
|
||||
# -m inmem \
|
||||
# -t icu \
|
||||
# -r pthread \
|
||||
# -b 32 \
|
||||
# -P %{_prefix} \
|
||||
# -C --libdir="%{_libdir}"
|
||||
|
||||
%make -j1
|
||||
popd
|
||||
%make
|
||||
|
||||
%install
|
||||
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
|
||||
export XALANCROOT=$(pwd)/c
|
||||
%makeinstall -C c
|
||||
%makeinstall -C build
|
||||
#export XALANCROOT=$(pwd)/c
|
||||
#% makeinstall -C c
|
||||
|
||||
%clean
|
||||
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
|
||||
@ -82,19 +93,33 @@ export XALANCROOT=$(pwd)/c
|
||||
%files
|
||||
%defattr(-,root,root)
|
||||
%{_bindir}/*
|
||||
%doc c/README c/LICENSE c/readme.html
|
||||
|
||||
%files -n %{libname}
|
||||
%defattr(-, root, root)
|
||||
%{_libdir}/*.so.*
|
||||
%{_libdir}/libxalan-c.so.*
|
||||
%{_libdir}/libxalanMsg.so.*
|
||||
%doc LICENSE CREDITS
|
||||
|
||||
%files -n %{libname}-devel
|
||||
%defattr(-, root, root)
|
||||
%{_includedir}/xalanc
|
||||
%{_libdir}/*.so
|
||||
%doc c/xdocs
|
||||
%{_libdir}/libxalan-c.so
|
||||
%{_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
|
||||
* 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
|
||||
- rebuilt (added gcc 4.3 patch)
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user