]> git.pld-linux.org Git - packages/libxml.git/commitdiff
- update to 2.3.0, libxml-2_3_0-1
authorkloczek <kloczek@pld-linux.org>
Mon, 12 Feb 2001 03:51:41 +0000 (03:51 +0000)
committercvs2git <feedback@pld-linux.org>
Sun, 24 Jun 2012 12:13:13 +0000 (12:13 +0000)
- added remake patch which contains main rework for libxml 2.x for simplify
  all (patch takes ~330KB):
-- remove all silly versioning,
-- make am/ac better use standards,
-- move all libxml files to libxml subdirectory,
-- simplify detecting and using libz.

With using this patch porting all applications to using libxml 2.x will
much more simpler and in next move I'll try to prepare neccessary patches
for using this simplified version libxml.

This verion need some testing and ad probably few days will stay in
test directory.

Changed files:
    libxml.spec -> 1.49

libxml.spec

index 1ee552e6bf5970f3e29d04133aa59aa78283f2c6..80e21dada7830801f4d07a8e255e9028ef5e9d02 100644 (file)
@@ -1,19 +1,27 @@
 Summary:       libXML library
-Summary(pl):   Biblioteka libxml
+Summary(pl):   Biblioteka libxml2
 Name:          libxml
-Version:       1.8.11
+Version:       2.3.0
 Release:       1
 License:       LGPL
 Group:         Libraries
 Group(de):     Libraries
 Group(fr):     Librairies
 Group(pl):     Biblioteki
-Source0:       ftp://ftp.gnome.org/pub/GNOME/stable/sources/libxml/%{name}-%{version}.tar.gz
+Source0:       ftp://ftp.gnome.org/pub/GNOME/stable/sources/libxml/%{name}2-%{version}.tar.gz
+Patch0:                %{name}-remake.patch
 URL:           http://xmlsoft.org/
+Requires:      iconv
+BuildRequires: autoconf
+BuildRequires: automake
+BuildRequires: iconv
 BuildRequires: zlib-devel
+BuildRequires: ncurses-devel
+BuildRequires: readline-devel
 BuildRoot:     %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
 
 %define                _prefix         /usr/X11R6
+%define                _mandir         %{_prefix}/man
 
 %description
 This library allows you to manipulate XML files.
@@ -53,37 +61,51 @@ Static libxml libraries.
 Biblioteka statyczna libxml.
 
 %prep
-%setup -q
+%setup -q -n %{name}2-%{version} 
+%patch -p1
 
 %build
+libtoolize --copy --force
+aclocal
+autoconf
+automake -a -c
 %configure 
 %{__make}
 
 %install
 rm -rf $RPM_BUILD_ROOT
+install -d $RPM_BUILD_ROOT%{_aclocaldir}
 
-%{__make} install DESTDIR=$RPM_BUILD_ROOT
+%{__make} install \
+       DESTDIR=$RPM_BUILD_ROOT \
+       m4datadir=%{_aclocaldir}
 
 gzip -9nf AUTHORS ChangeLog NEWS README TODO
 
 %clean
-rm -rf $RPM_BUILD_ROOT
+#rm -rf $RPM_BUILD_ROOT
 
 %post   -p /sbin/ldconfig
 %postun -p /sbin/ldconfig
 
 %files
 %defattr(644,root,root,755)
+%attr(755,root,root) %{_bindir}/xmllint
 %attr(755,root,root) %{_libdir}/lib*.so.*.*
+%{_mandir}/man1/xmllint.1*
 
 %files devel
 %defattr(644,root,root,755)
-%doc {AUTHORS,ChangeLog,NEWS,README,TODO}.gz doc/{*.{gif,html},html/*}
+%doc *.gz doc/{*.{gif,html},html/*}
 %attr(755,root,root) %{_bindir}/xml-config
 %attr(755,root,root) %{_libdir}/lib*.so
 %attr(755,root,root) %{_libdir}/lib*.la
 %attr(755,root,root) %{_libdir}/*.sh
-%{_includedir}/gnome-xml
+%{_libdir}/pkgconfig/*
+%{_aclocaldir}/*.m4
+%{_includedir}/libxml
+%{_mandir}/man1/xml-config.1*
+%{_mandir}/man4/libxml.4*
 
 %files static
 %defattr(644,root,root,755)
This page took 0.085278 seconds and 4 git commands to generate.