diff options
author | klakier | 2000-09-30 17:04:03 (GMT) |
---|---|---|
committer | cvs2git | 2012-06-24 12:13:13 (GMT) |
commit | 8da468a8dfde62456cd01a5e1b35ee830a7b35fb (patch) | |
tree | dafedd56febffdd2307b7b346f158df77f4a35e2 | |
download | xalan-c-8da468a8dfde62456cd01a5e1b35ee830a7b35fb.zip xalan-c-8da468a8dfde62456cd01a5e1b35ee830a7b35fb.tar.gz |
- Not finished, maybe someone want to continue.
I feel sick looking at such messy build process...
Changed files:
xalan-c.spec -> 1.1
-rw-r--r-- | xalan-c.spec | 75 |
1 files changed, 75 insertions, 0 deletions
diff --git a/xalan-c.spec b/xalan-c.spec new file mode 100644 index 0000000..d6fe92b --- /dev/null +++ b/xalan-c.spec @@ -0,0 +1,75 @@ +Summary: XML parser +Summary(pl): Parser XML +Name: xalan-c +Version: 0.40.0 +%define ver 0_40_0 +%define mainver 0_40_0 +%define icuver 1.6 +Release: 1 +License: GPL +Group: Applications/Publishing/XML +Group(pl): Aplikacje/Publikowanie/XML +Source0: http://xml.apache.org/dist/xerces-c/stable/Xalan-C_%{ver}-linux.tar.gz +Source1: http://oss.software.ibm.com/developerworks/opensource/icu/project/download/%{icuver}/icu-%{icuver}.tgz +URL: http://xml.apache.org +BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n) + +%description + +%description -l pl + +%package devel +Summary: %{name} header files +Summary(pl): Pliki nagłówkowe %{name} +Group: Development/Libraries +Group(fr): Development/Librairies +Group(pl): Programowanie/Biblioteki +Requires: %{name} = %{version} + +%description devel +%{name} header files and documentation. + +%description -l pl devel +Pliki nagłówkowe i dokumentacja %{name}. + +%prep +%setup -q -n xml-xalan/c/src + +%build +#chmod 755 configure config.{guess,status,sub} + +## Just another shit!!! + +export XALANCROOT=`cd ../.. ; pwd` +export XERCESCROOT="%{_includedir}" +autoconf +chmod 755 runConfigure +./runConfigure -plinux -cgcc -xg++ -minmem -nfileonly -tnative +%{__make} + +%install +rm -rf $RPM_BUILD_ROOT +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} + +%post -p /sbin/ldconfig +%postun -p /sbin/ldconfig + +%clean +rm -rf $RPM_BUILD_ROOT + +%files +%defattr(644,root,root,755) +%attr(755,root,root) %{_libdir}/* + +%files devel +%defattr(644,root,root,755) +%doc ../doc/html ../samples +%{_includedir}/* +##%{_libdir}/*.so |