%define major 0 %define libname %mklibname wbxml %{major} %define develname %mklibname wbxml -d Summary: WBXML parser and compiler library Name: libwbxml Version: 0.10.9 Release: %mkrel 2 License: LGPLv2+ Group: System/Libraries URL: http://libwbxml.opensync.org Source: http://downloads.sourceforge.net/libwbxml/%{name}-%{version}.tar.bz2 Requires: expat >= 2.0.1 BuildRequires: cmake BuildRequires: expat-devel >= 2.0.1 %description The WBXML Library (libwbxml) contains a library and its associated tools to parse, encode and handle WBXML documents. The WBXML format is a binary representation of XML, defined by the Wap Forum, and used to reduce bandwidth in mobile communications. %package -n %{libname} Group: System/Libraries License: LGPLv2+ Summary: Library for parsing WAP Binary XML Obsoletes: %mklibname wbxml2_ 0 %description -n %libname The WBXML Library (libwbxml) contains a library and its associated tools to parse, encode and handle WBXML documents. The WBXML format is a binary representation of XML, defined by the Wap Forum, and used to reduce bandwidth in mobile communications. This package contains just the library for use by other applications. %package -n %{develname} Group: Development/C License: LGPLv2+ Summary: Library for developing applications that parse WAP Binary XML Requires: %{libname} = %{version}-%{release} Provides: wbxml-devel = %{version}-%{release} Obsoletes: %mklibname wbxml2_ -d 0 %description -n %{develname} The WBXML Library (libwbxml) contains a library and its associated tools to parse, encode and handle WBXML documents. The WBXML format is a binary representation of XML, defined by the Wap Forum, and used to reduce bandwidth in mobile communications. This package contains the headers and other development files required to compile applications that need to parse WBXML. %prep %setup -q %build %cmake %make %install %makeinstall_std -C build %files %doc ChangeLog AUTHORS %{_bindir}/* %files -n %libname %{_libdir}/*.so.%{major}* %files -n %{develname} %doc README References TODO %{_includedir}/* %{_libdir}/*.so %{_libdir}/pkgconfig/libwbxml2.pc %changelog * Sat Jan 12 2013 umeabot <umeabot> 0.10.9-2.mga3 + Revision: 358435 - Mass Rebuild - https://wiki.mageia.org/en/Feature:Mageia3MassRebuild * Thu Feb 02 2012 fwang <fwang> 0.10.9-1.mga3 + Revision: 204032 - popt and zlib is not required - new version 0.10.9 * Mon Feb 07 2011 spuhler <spuhler> 0.10.8-1.mga1 + Revision: 48338 - removed buildroot definition from .spec removed the if mdkversion lines - imported package libwbxml