2 Summary(pl): Parser XML
9 Group: Applications/Publishing/XML
10 Source0: http://xml.apache.org/dist/xerces-c/stable/%{name}-src%{ver}.tar.gz
11 URL: http://xml.apache.org/
12 BuildRequires: autoconf
13 BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
22 Summary: %{name} header files
23 Summary(pl): Pliki nag³ówkowe %{name}
24 Group: Development/Libraries
25 Requires: %{name} = %{version}
28 %{name} header files and documentation
30 %description devel -l pl
31 Pliki nag³ówkowe i dokumentacja %{name}.
34 %setup -q -n xerces-c-src%{mainver}/src
37 #chmod 755 configure config.{guess,status,sub}
41 export XERCESCROOT=`cd .. ; pwd`
43 chmod 755 runConfigure
44 ./runConfigure -plinux -cgcc -xg++ -minmem -nfileonly -tnative
48 rm -rf $RPM_BUILD_ROOT
49 install -d $RPM_BUILD_ROOT/%{_libdir}
50 install -d $RPM_BUILD_ROOT/%{_includedir}
53 cp -a ../lib/* $RPM_BUILD_ROOT%{_libdir}
55 # I put all stuff from that dir, maybe some can be omitted
56 cp -a ../include/* $RPM_BUILD_ROOT%{_includedir}
59 rm -rf $RPM_BUILD_ROOT
61 %post -p /sbin/ldconfig
62 %postun -p /sbin/ldconfig
65 %defattr(644,root,root,755)
66 %attr(755,root,root) %{_libdir}/*
69 %defattr(644,root,root,755)
70 %doc ../doc/html ../samples