.gear/rules | 4 + .../tags/6f1fe9975122102f6f3fd586586dd5cbd1990f88 | 6 + .gear/tags/list | 3 + wbxml2.spec | 97 ++++++++++++++++++++ 4 files changed, 110 insertions(+), 0 deletions(-) diff --git a/.gear/rules b/.gear/rules new file mode 100644 index 0000000..dc980bb --- /dev/null +++ b/.gear/rules @@ -0,0 +1,4 @@ +tar: v@version@:. +diff: v@version@:. . +tar: 3rd-party-cmake-modules:. name=cmake +tar: wbxmlTestSuite:. name=tests diff --git a/.gear/tags/6f1fe9975122102f6f3fd586586dd5cbd1990f88 b/.gear/tags/6f1fe9975122102f6f3fd586586dd5cbd1990f88 new file mode 100644 index 0000000..de34ec4 --- /dev/null +++ b/.gear/tags/6f1fe9975122102f6f3fd586586dd5cbd1990f88 @@ -0,0 +1,6 @@ +object 3a45fef5a13120f122d6c225f80b5db19e463ada +type commit +tag v0.10.7 +tagger Alexey Shabalin 1242159437 +0400 + +v0.10.7 diff --git a/.gear/tags/list b/.gear/tags/list new file mode 100644 index 0000000..cfc1390 --- /dev/null +++ b/.gear/tags/list @@ -0,0 +1,3 @@ +29d4b6a9320b875d729b25c44eaf73cb0794b780 3rd-party-cmake-modules +1b94d84d1c0f057cd5a043b3b957ec6004e613ba wbxmlTestSuite +6f1fe9975122102f6f3fd586586dd5cbd1990f88 v0.10.7 diff --git a/wbxml2.spec b/wbxml2.spec new file mode 100644 index 0000000..bdf1938 --- /dev/null +++ b/wbxml2.spec @@ -0,0 +1,97 @@ + +Name: wbxml2 +Url: http://libwbxml.aymerick.com +License: LGPLv2.1+ +Group: System/Libraries +Provides: wbxml2 +Summary: WBXML parser and compiler library +Version: 0.10.7 +Release: alt1 + +Source0: %name-%version.tar +Source1: cmake.tar +Source2: tests.tar +Patch0: %name-%version-%release.patch + +Requires: libexpat +Requires: lib%name = %version-%release + +BuildRequires: gcc-c++ cmake cmake-modules +BuildRequires: libexpat-devel libpopt-devel zlib-devel libxml2-devel libcheck-devel + +%description +wbxml2 is a library that includes a WBXML parser and a WBXML compiler. +Unlike wbxml, it does not depend on libxml2 but on expat, making it +faster and more portable. WBXML Library contains a library and its +associated tools to Parse, Encode and Handle WBXML documents. The WBXML +(Wireless Binary XML) format is a binary representation of XML, and it +has been defined by the Wap Forum. + +%package -n lib%name +Summary: Libraries for %name +Group: System/Libraries + +%description -n lib%name +This packages contains some library needed for %name + +%package -n lib%name-devel +Summary: Header files, libraries and development documentation for %name +Group: Development/C +Requires: lib%name = %version-%release + +%description -n lib%name-devel +This package contains the header files, static libraries and development +documentation for %name. If you like to develop programs using %name, +you will need to install %name-devel. + +%prep +%setup -q +%patch0 -p1 +mkdir cmake tests +tar -xf %SOURCE1 +tar -xf %SOURCE2 + +%build +mkdir build +cd build +cmake \ + -D CMAKE_INSTALL_PREFIX:PATH=%_prefix \ +%if %{_lib} == lib64 + -D LIB_SUFFIX=64 \ +%endif + -D CMAKE_CXX_FLAGS:STRING="%optflags" \ + -D CMAKE_BUILD_TYPE="Release" \ + -D CMAKE_SKIP_RPATH:BOOL=TRUE .. + +%make_build VERBOSE=1 + +%install +pushd build +%make_install install DESTDIR=%buildroot +popd + +%files +%doc AUTHORS INSTALL ChangeLog NEWS README References THANKS TODO +%_bindir/* + +%files -n lib%name +%_libdir/*.so.* + +%files -n lib%name-devel +%_includedir/* +%_libdir/*.so +%_pkgconfigdir/*.pc + +%changelog +* Wed May 13 2009 Alexey Shabalin 0.10.7-alt1 +- 0.10.7 + +* Thu Nov 08 2007 Alexey Shabalin 0.9.2-alt3.svn53synce +- update to svn53 + synce patches + +* Fri Jun 01 2007 Alexey Shabalin 0.9.2-alt2.svn49synce +- update to svn49 for synce + +* Mon Oct 09 2006 Alexey Shabalin 0.9.2-alt1 +- Initial package +