1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71
%def_with tests Name: libwbxml Version: 0.11.4 Release: alt0.M70C.1 Summary: Library and tools to parse, encode and handle WBXML documents Group: System/Libraries License: LGPLv2+ URL: https://github.com/%name/%name Source: %name-%version.tar BuildRequires(pre): cmake >= 2.4 BuildRequires: libcheck-devel BuildRequires: libexpat-devel # Tests: %if_with tests BuildRequires: perl BuildRequires: ctest Obsoletes: wbxml2 <= 0.9.3 %endif %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 devel Group: Development/C Summary: Development files of %name Requires: %name = %version-%release Provides: wbxml2-devel = %version-%release %description devel The %name-devel package contains libraries and header files for developing applications that use %name. %prep %setup -q %build %cmake -DENABLE_INSTALL_DOC:BOOL=OFF %cmake_build %install %cmakeinstall_std %if_with tests %check cd BUILD export LD_LIBRARY_PATH=`pwd`/src:$LD_LIBRARY_PATH ctest %endif %files %doc BUGS ChangeLog README References THANKS TODO COPYING GNU-LGPL %_bindir/* %_libdir/libwbxml2.so.* %files devel %_includedir/* %_libdir/libwbxml2.so %_pkgconfigdir/libwbxml2.pc %_datadir/CMake/Modules/FindLibWbxml2.cmake %changelog * Mon Sep 12 2016 Andrey Cherepanov <cas@altlinux.org> 0.11.4-alt0.M70C.1 - Backport to c7 branch * Mon Nov 23 2015 Andrey Cherepanov <cas@altlinux.org> 0.11.4-alt1 - Initial build in Sisyphus (thanks Fedora for spec)