Author: hawk Date: Wed Jan 17 12:02:45 2007 GMT Module: SPECS Tag: HEAD ---- Log message: - make it build, cleanup, rel 0.2
---- Files affected: SPECS: xalan-c.spec (1.26 -> 1.27) ---- Diffs: ================================================================ Index: SPECS/xalan-c.spec diff -u SPECS/xalan-c.spec:1.26 SPECS/xalan-c.spec:1.27 --- SPECS/xalan-c.spec:1.26 Wed Jan 17 10:30:32 2007 +++ SPECS/xalan-c.spec Wed Jan 17 13:02:39 2007 @@ -1,12 +1,11 @@ # $Revision$, $Date$ -# TODO -# - buildfail: /usr/bin/ld: cannot find -lxalan-c +# %define _ver %(echo %{version} | tr . _) Summary: XML parser Summary(pl): Analizator składniowy XML-a Name: xalan-c Version: 1.10.0 -Release: 0.1 +Release: 0.2 License: Apache License, Version 2.0 Group: Applications/Publishing/XML Source0: http://www.apache.org/dist/xml/xalan-c/Xalan-C_%{_ver}-src.tar.gz @@ -66,6 +65,7 @@ export XALAN_USE_ICU=true ./runConfigure \ + -P /usr \ -p linux \ -c "%{__cc}" \ -x "%{__cxx}" \ @@ -83,6 +83,8 @@ rm -rf $RPM_BUILD_ROOT cd c export XALANCROOT=$(pwd) +export XERCESROOT=/usr +export ICUROOT=/usr %{__make} install \ DESTDIR=$RPM_BUILD_ROOT @@ -90,12 +92,6 @@ install -d $RPM_BUILD_ROOT%{_libdir} install -d $RPM_BUILD_ROOT%{_includedir} -# Only one file? -cp -a ../../lib/* $RPM_BUILD_ROOT%{_libdir} - -# I put all stuff from that dir, maybe some can be omitted -cp -a Include/* $RPM_BUILD_ROOT%{_includedir} - %clean rm -rf $RPM_BUILD_ROOT @@ -104,17 +100,16 @@ %files %defattr(644,root,root,755) -# FIXME: more verbose -%attr(755,root,root) %{_libdir}/* +%attr(755,root,root) %{_bindir}/Xalan +%attr(755,root,root) %{_libdir}/libxalan* %files devel %defattr(644,root,root,755) -%{_includedir}/* -#%%{_libdir}/*.so +%{_includedir}/xalanc %files docs %defattr(644,root,root,755) -%doc c/docs c/samples +%doc c/xdocs c/samples %define date %(echo `LC_ALL="C" date +"%a %b %d %Y"`) %changelog @@ -122,6 +117,9 @@ All persons listed below can be reached at <cvs_login>@pld-linux.org $Log$ +Revision 1.27 2007/01/17 12:02:39 hawk +- make it build, cleanup, rel 0.2 + Revision 1.26 2007/01/17 09:30:32 hawk - %install requires XALANCROOT too - removed bogus "exit 1" call ================================================================ ---- CVS-web: http://cvs.pld-linux.org/SPECS/xalan-c.spec?r1=1.26&r2=1.27&f=u _______________________________________________ pld-cvs-commit mailing list pld-cvs-commit@lists.pld-linux.org http://lists.pld-linux.org/mailman/listinfo/pld-cvs-commit