Author: amassari
Date: Wed Apr 12 11:20:54 2006
New Revision: 393561

URL: http://svn.apache.org/viewcvs?rev=393561&view=rev
Log:
Update spec file to work on the new build

Modified:
    xerces/c/trunk/scripts/packageSources.pl
    xerces/c/trunk/xerces-c.spec

Modified: xerces/c/trunk/scripts/packageSources.pl
URL: 
http://svn.apache.org/viewcvs/xerces/c/trunk/scripts/packageSources.pl?rev=393561&r1=393560&r2=393561&view=diff
==============================================================================
--- xerces/c/trunk/scripts/packageSources.pl (original)
+++ xerces/c/trunk/scripts/packageSources.pl Wed Apr 12 11:20:54 2006
@@ -422,8 +422,8 @@
    psystem( 'find . -type f -exec chmod 644 {} ' . $find_delim );
    psystem( 'find . -type d -exec chmod 755 {} ' . $find_delim );
    psystem( 'find . -name "con*" -exec chmod 755 {} ' . $find_delim );
-   psystem( 'find . -name "run*" -exec chmod 755 {} ' . $find_delim );
    psystem( 'find . -name "install*" -exec chmod 755 {} ' . $find_delim );
+   psystem( 'find . -name "pretty-make" -exec chmod 755 {} ' . $find_delim );
 
    print "\nREMOVING EXPORT CLAUSES\n\n";
 

Modified: xerces/c/trunk/xerces-c.spec
URL: 
http://svn.apache.org/viewcvs/xerces/c/trunk/xerces-c.spec?rev=393561&r1=393560&r2=393561&view=diff
==============================================================================
--- xerces/c/trunk/xerces-c.spec (original)
+++ xerces/c/trunk/xerces-c.spec Wed Apr 12 11:20:54 2006
@@ -1,13 +1,9 @@
-%define tarversion 2_6_0
-
-# threads
-# values: pthreads, none
-%define threads pthreads
+%define tarversion 3_0_0
 
 Summary:       Xerces-C++ validating XML parser
 Name:          xerces-c
-Version:       2.6.0
-Release:       3
+Version:       3.0.0
+Release:       1
 URL:           http://xml.apache.org/xerces-c/
 Source0:    %{name}-src_%{tarversion}.tar.gz
 Copyright:     Apache
@@ -56,21 +52,18 @@
 
 %build
 export XERCESCROOT=$RPM_BUILD_DIR/%{name}-src_%{tarversion}
-cd $XERCESCROOT/src/xercesc
-./runConfigure -plinux -cgcc -xg++ -minmem -nsocket -tnative -r%{threads} 
-P%{prefix}
-make
-cd $XERCESCROOT/samples
-./runConfigure -plinux -cgcc -xg++
+cd $XERCESCROOT
+./configure --prefix=%{prefix}
 make
 
 %install
 export XERCESCROOT=$RPM_BUILD_DIR/%{name}-src_%{tarversion}
-cd $XERCESCROOT/src/xercesc
-make PREFIX=$RPM_BUILD_ROOT%{prefix} install
-ln -sf %{prefix}/lib/libxerces-c.so.26 
$RPM_BUILD_ROOT%{prefix}/lib/libxerces-c.so
+cd $XERCESCROOT
+make prefix=$RPM_BUILD_ROOT%{prefix} install
+ln -sf %{prefix}/%{_lib}/libxerces-3.0.so 
$RPM_BUILD_ROOT%{prefix}/lib/libxerces-c.so
 mkdir -p $RPM_BUILD_ROOT%{prefix}/bin
 #we don't want obj directory
-install `find $XERCESCROOT/bin -type f -maxdepth 1` 
$RPM_BUILD_ROOT%{prefix}/bin
+install `find $XERCESCROOT/samples -maxdepth 1 -type f -perm 755` 
$RPM_BUILD_ROOT%{prefix}/bin
 mkdir -p $RPM_BUILD_ROOT%{prefix}/share/%{name}
 cp -a $XERCESCROOT/samples $RPM_BUILD_ROOT%{prefix}/share/%{name}
 
@@ -84,8 +77,8 @@
 %files
 %defattr(755,root,root)
 %{prefix}/bin/*
-%{prefix}/lib/libxerces-c.so*
-%{prefix}/lib/libxerces-depdom.so* 
+%{prefix}/%{_lib}/libxerces*.so
+#%{prefix}/%{_lib}/libxerces-depdom.so* 
 
 %files devel
 %defattr(-,root,root)
@@ -97,6 +90,9 @@
 %doc LICENSE NOTICE STATUS credits.txt Readme.html doc/
 
 %changelog
+* Wed Apr 12 2006 Alberto Massari <[EMAIL PROTECTED]>
+- updated for new Xerces-C 3.0 filename and directory format
+
 * Fri Jun  6 2003 Tuan Hoang <[EMAIL PROTECTED]>
 - updated for new Xerces-C filename and directory format
 - fixed date format in changelog section



---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to