Skip to content
Snippets Groups Projects
Commit 728e4605e129 authored by Daniel Veillard's avatar Daniel Veillard
Browse files

applied patch from Jens Finke to improve the default spec file (bug #

* libxml.spec.in: applied patch from Jens Finke to improve the
  default spec file (bug # 58583)
Daniel
parent 672ea855a6df
Branches
No related tags found
No related merge requests found
Mon Aug 13 12:51:17 CEST 2001 Daniel Veillard <Daniel.Veillard@imag.fr>
* libxml.spec.in: applied patch from Jens Finke to improve the
default spec file (bug # 58583)
Thu Jun 28 17:11:10 CEST 2001 Daniel Veillard <Daniel.Veillard@imag.fr>
* configure.in: released 1.8.14
......
# Note that this is NOT a relocatable package
%define ver @VERSION@
%define prefix /usr
Name: libxml
Summary: libXML library
......@@ -5,4 +2,3 @@
Summary: libXML library
Name: libxml
Version: %ver
Version: @VERSION@
Release: 1
......@@ -8,3 +4,3 @@
Release: 1
Copyright: LGPL
License: LGPL
Group: Development/Libraries
......@@ -10,6 +6,6 @@
Group: Development/Libraries
Source: ftp://ftp.gnome.org/pub/GNOME/sources/libxml/libxml-%{ver}.tar.gz
BuildRoot: /var/tmp/libxml-%{PACKAGE_VERSION}-root
Source: ftp://ftp.gnome.org/pub/GNOME/sources/%{name}/%{name}-%{version}.tar.gz
BuildRoot: /var/tmp/%{name}-%{version}-root
URL: http://rpmfind.net/veillard/XML/
Prereq: /sbin/install-info
......@@ -13,7 +9,6 @@
URL: http://rpmfind.net/veillard/XML/
Prereq: /sbin/install-info
Docdir: %{prefix}/doc
%description
This library allows you to manipulate XML files.
......@@ -21,8 +16,8 @@
%package devel
Summary: Libraries, includes, etc to develop libxml applications
Group: Development/Libraries
Requires: libxml = %{version}
Requires: %{name} = %{version}
%description devel
Libraries, include files, etc you can use to develop libxml applications.
......@@ -25,28 +20,5 @@
%description devel
Libraries, include files, etc you can use to develop libxml applications.
%changelog
* Thu Sep 23 1999 Daniel Veillard <Daniel.Veillard@w3.org>
- corrected the spec file alpha stuff
- switched to version 1.7.1
- Added validation, XPath, nanohttp, removed memory leaks
- Renamed CHAR to xmlChar
* Wed Jun 2 1999 Daniel Veillard <Daniel.Veillard@w3.org>
- Switched to version 1.1: SAX extensions, better entities support, lots of
bug fixes.
* Sun Oct 4 1998 Daniel Veillard <Daniel.Veillard@w3.org>
- Added xml-config to the package
* Thu Sep 24 1998 Michael Fulbright <msf@redhat.com>
- Built release 0.30
%prep
......@@ -52,4 +24,4 @@
%prep
%setup
%setup -q
%build
......@@ -54,5 +26,4 @@
%build
# Needed for snapshot releases.
if [ ! -f configure ]; then
%ifarch alpha
......@@ -58,5 +29,3 @@
%ifarch alpha
CFLAGS="$RPM_OPT_FLAGS" ./autogen.sh --host=alpha-redhat-linux --prefix=%prefix --sysconfdir="/etc"
%else
CFLAGS="$RPM_OPT_FLAGS" ./autogen.sh --prefix=%prefix --sysconfdir="/etc"
MYARCH_FLAGS="--host=alpha-redhat-linux"
%endif
......@@ -62,9 +31,8 @@
%endif
else
%ifarch alpha
CFLAGS="$RPM_OPT_FLAGS" ./configure --host=alpha-redhat-linux --prefix=%prefix --sysconfdir="/etc"
%else
CFLAGS="$RPM_OPT_FLAGS" ./configure --prefix=%prefix --sysconfdir="/etc"
%endif
if [ ! -f configure ]; then
CFLAGS="$RPM_OPT_FLAGS" ./autogen.sh $MYARCH_FLAGS \
--prefix=%{_prefix} --libdir=%{_libdir} \
--includedir=%{_includedir} --bindir=%{_bindir}
fi
......@@ -69,5 +37,9 @@
fi
CFLAGS="$RPM_OPT_FLAGS" ./configure $MYARCH_FLAGS --prefix=%{_prefix} \
--libdir=%{_libdir} --includedir=%{_includedir} \
--bindir=%{_bindir}
if [ "$SMP" != "" ]; then
(make "MAKE=make -k -j $SMP"; exit 0)
make
......@@ -78,7 +50,10 @@
%install
rm -rf $RPM_BUILD_ROOT
make prefix=$RPM_BUILD_ROOT%{prefix} install
make prefix=$RPM_BUILD_ROOT%{_prefix} libdir=$RPM_BUILD_ROOT%{_libdir} \
includedir=$RPM_BUILD_ROOT%{_includedir} \
bindir=$RPM_BUILD_ROOT%{_bindir} install
#
# hack to get libxml.so.0 too !
# Get rid of it once deps to libxml.so.0 have disapeared.
......@@ -102,7 +77,8 @@
%postun -p /sbin/ldconfig
%files
%defattr(-, root, root)
%doc AUTHORS ChangeLog NEWS README COPYING COPYING.LIB TODO
......@@ -105,9 +81,9 @@
%files
%defattr(-, root, root)
%doc AUTHORS ChangeLog NEWS README COPYING COPYING.LIB TODO
%{prefix}/lib/lib*.so.*
%{_libdir}/lib*.so.*
%files devel
%defattr(-, root, root)
......@@ -110,9 +86,44 @@
%files devel
%defattr(-, root, root)
%{prefix}/lib/lib*.so
%{prefix}/lib/*a
%{prefix}/lib/*.sh
%{prefix}/include/*
%{prefix}/bin/xml-config
%{_libdir}/lib*.so
%{_libdir}/*a
%{_libdir}/*.sh
%{_includedir}/*
%{_bindir}/*
%{_datadir}/gnome-xml/*
%{_libdir}/pkgconfig/libxml.pc
%changelog
* Sun Aug 05 2001 Jens Finke <jens@triq.net>
- Merged GPP spec file with spec.in file from CVS.
- Added {_datadir}/gnome-xml to devel package to include
documentation.
- Added libxml.pc file.
* Wed Jul 18 2001 Gregory Leblanc <gleblanc@cu-portland.edu>
- removed unncessary %defines
- made %setup -quiet
- fixed buildroot
- fixed source line
* Thu Feb 22 2001 Gregory Leblanc <gleblanc@cu-portland.edu>
- fixed macros, removed hard-coded paths, that sort of thing.
* Thu Sep 23 1999 Daniel Veillard <Daniel.Veillard@w3.org>
- corrected the spec file alpha stuff
- switched to version 1.7.1
- Added validation, XPath, nanohttp, removed memory leaks
- Renamed CHAR to xmlChar
* Wed Jun 2 1999 Daniel Veillard <Daniel.Veillard@w3.org>
- Switched to version 1.1: SAX extensions, better entities support, lots of
bug fixes.
* Sun Oct 4 1998 Daniel Veillard <Daniel.Veillard@w3.org>
- Added xml-config to the package
* Thu Sep 24 1998 Michael Fulbright <msf@redhat.com>
- Built release 0.30
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment