File libxml++.spec of Package libxml++
#
# spec file for package libxml++ (Version 2.20.0)
#
# Copyright (c) 2007 SUSE LINUX Products GmbH, Nuernberg, Germany.
# This file and all modifications and additions to the pristine
# package are under the same license as the package itself.
#
# Please submit bugfixes or comments via http://bugs.opensuse.org/
#
# norootforbuild
Name: libxml++
BuildRequires: gcc-c++ glibmm2-devel libxml2-devel update-desktop-files
License: LGPL v2 or later
Group: Development/Libraries/C and C++
AutoReqProv: on
Version: 2.20.0
Release: 1
Summary: C++ Interface for XML Files
Source: %{name}-%{version}.tar.bz2
Patch0: libxml++-include-memory.patch
Url: http://sourceforge.net/projects/libxmlplusplus/
BuildRoot: %{_tmppath}/%{name}-%{version}-build
%description
libXML++ provides a C++ interface for XML files. It presently uses
libxml2 to access the XML files.
Authors:
--------
Ari Johnson <ari@lusis.org>
%package devel
Summary: Include Files and Libraries mandatory for Development.
Group: Development/Libraries/C and C++
Requires: %{name} = %{version} libsigc++2-devel libstdc++-devel libxml2-devel glibmm2-devel
%description devel
This package contains all necessary include files and libraries needed
to develop applications that require these.
Authors:
--------
Ari Johnson <ari@lusis.org>
%prep
%setup -q
%patch0 -p1
%build
ACLOCAL="aclocal -I scripts" autoreconf -f -i
%configure\
--libexecdir=%{_prefix}/lib/%name
make docdir=%{_docdir}/%{name}/docs %{?jobs:-j%jobs}
%install
make install docdir=%{_docdir}/%{name}/docs DESTDIR=$RPM_BUILD_ROOT
cp AUTHORS COPYING ChangeLog NEWS README $RPM_BUILD_ROOT%{_docdir}/%{name}
%clean
rm -rf $RPM_BUILD_ROOT
%post
%run_ldconfig
%postun
%run_ldconfig
%files
%defattr (-, root, root)
%doc %dir %{_docdir}/%{name}
%doc %{_docdir}/%{name}/AUTHORS
%doc %{_docdir}/%{name}/COPYING
%doc %{_docdir}/%{name}/ChangeLog
%doc %{_docdir}/%{name}/NEWS
%doc %{_docdir}/%{name}/README
%{_libdir}/*.so.*
%files devel
%defattr (-, root, root)
%{_includedir}/libxml++-2.6
%dir %{_libdir}/libxml++-2.6
%dir %{_libdir}/libxml++-2.6/include
%{_libdir}/libxml++-2.6/include/*.h
%{_libdir}/pkgconfig/*.pc
%{_libdir}/*.*a
%{_libdir}/*.so
%doc %{_docdir}/%{name}/docs
%changelog
* Wed Sep 19 2007 - sbrabec@suse.cz
- Updated to version 2.20.0:
* Element: Added get_attribute_value(), to get a simple text
value for an attribute.
* Added an experimental --enable-api-exceptions configure option,
to allow libxml++ to build without exceptions.
* Thu Apr 12 2007 - maw@suse.de
- Update to version 2.18.0
- Fixes for bugzilla.gnome.org #380110, #351867, #361950, #351215,
and #351876.
* Fri Jan 12 2007 - sbrabec@suse.cz
- Spec file cleanup.
* Fri Dec 15 2006 - maw@suse.de
- Move to /usr
* Tue Nov 28 2006 - sbrabec@suse.cz
- Require new package name glibmm2-devel.
* Tue Oct 31 2006 - meissner@suse.de
- use RPM_OPT_FLAGS
* Mon Sep 18 2006 - jhargadon@suse.de
- update to version 2.14.0
- Improved ContentNode documentation
- Added find() overload that takes namespaces to register during the search,
using xmlXPathRegisterNs(). Bug #323935
- set_namespace(): When creating a default namespace, avoid the
"The namespace () has not been declared" warning, by passing 0 to
xmlSearchNs() instead of an empty string. Bug #318186
- Build: Fix buildir!=srcdir builds. Bug #319863.
- Tutorial: Mention pkg-config
- Reference: Grammar fixes and a small fix for find
* Fri Mar 24 2006 - ro@suse.de
- re-enable autoreconf to fix build on ppc64 and s390x
* Mon Feb 27 2006 - aj@suse.de
- Reduce BuildRequires.
* Wed Jan 25 2006 - mls@suse.de
- converted neededforbuild to BuildRequires
* Fri Nov 04 2005 - gekker@suse.de
- Initial import of package into autobuild, version 2.12.0