%define major 2 %define api_version 2.6 %define libname %mklibname xml++ %{api_version} %major %define libnamedev %mklibname -d xml++ %{api_version} Name: libxml++ Summary: C++ interface for working with XML files Version: 2.36.0 Release: %mkrel 2 Source: ftp://ftp.gnome.org/pub/GNOME/sources/libxml++/2.36/%{name}-%{version}.tar.xz URL: http://libxmlplusplus.sf.net/ License: LGPLv2+ Group: System/Libraries BuildRequires: pkgconfig(glibmm-2.4) >= 2.4.0 BuildRequires: pkgconfig(libxml-2.0) >= 2.6.1 BuildRequires: doxygen %description libxml++ is a C++ interface for working with XML files, using libxml (gnome-xml) to parse and write the actual XML files. It has a simple but complete API. %package -n %{libname} Summary: C++ interface for working with XML files Group: System/Libraries %description -n %{libname} libxml++ is a C++ interface for working with XML files, using libxml (gnome-xml) to parse and write the actual XML files. It has a simple but complete API. %package -n %{libnamedev} Summary: Headers for developing programs that will use %name Group: Development/C++ Provides: %{name}-devel = %{version}-%{release} Provides: %{name}%{api_version}-devel = %{version}-%{release} Requires: %{libname} = %{version} Obsoletes: %mklibname -d xml++ 2.6 2 %description -n %{libnamedev} This package contains the headers that programmers will need to develop applications which will use libraries from %name. %prep %setup -q %build %configure2_5x --disable-static %make %install %makeinstall_std rm -f %{buildroot}%{_libdir}/*.la %files -n %{libname} %defattr(-,root,root) %{_libdir}/libxml++-%{api_version}.so.%{major}* %files -n %{libnamedev} %defattr(-,root,root) %doc AUTHORS ChangeLog NEWS README %doc %_datadir/doc/%name-%{api_version}/reference %_datadir/devhelp/books/%name-%{api_version}/%name-%{api_version}.devhelp2 %{_includedir}/* %dir %_libdir/libxml++-%{api_version} %_libdir/libxml++-%{api_version}/include/libxml++config.h %{_libdir}/pkgconfig/*.pc %{_libdir}/*.so %changelog * Sat Jan 12 2013 umeabot <umeabot> 2.36.0-2.mga3 + Revision: 358620 - Mass Rebuild - https://wiki.mageia.org/en/Feature:Mageia3MassRebuild * Mon Nov 05 2012 fwang <fwang> 2.36.0-1.mga3 + Revision: 314305 - new version 2.36.0 * Mon Oct 08 2012 ovitters <ovitters> 2.35.4-1.mga3 + Revision: 303664 - new version 2.35.4 * Thu Jun 21 2012 ovitters <ovitters> 2.35.3-1.mga3 + Revision: 262441 - new version 2.35.3 * Thu Mar 22 2012 ovitters <ovitters> 2.35.2-1.mga3 + Revision: 225685 - new version 2.35.2 * Thu Feb 16 2012 fwang <fwang> 2.35.1-1.mga2 + Revision: 209716 - new version 2.35.1 * Tue Sep 06 2011 wally <wally> 2.34.2-1.mga2 + Revision: 139711 - new version 2.34.2 - use xz source + fwang <fwang> - do not ship .la files * Tue Apr 19 2011 tv <tv> 2.34.1-1.mga1 + Revision: 88371 - new release - new release * Fri Apr 01 2011 ahmad <ahmad> 2.33.2-1.mga1 + Revision: 79429 - update to 2.33.2 - update the Source url + dmorgan <dmorgan> - Remove mdv macros - imported package libxml++