SPECS: libwbxml.spec - 2008-11-21: The OpenSync project takes over the main...
glen
glen at pld-linux.org
Thu Jan 29 01:32:13 CET 2009
Author: glen Date: Thu Jan 29 00:32:12 2009 GMT
Module: SPECS Tag: HEAD
---- Log message:
- 2008-11-21: The OpenSync project takes over the maintenance of the libwbxml library from Aymerick Jehanne.
- renamed package from wbxml2 and updated to 0.10.1
- no -static package with cmake build
---- Files affected:
SPECS:
libwbxml.spec (1.18 -> 1.19)
---- Diffs:
================================================================
Index: SPECS/libwbxml.spec
diff -u SPECS/libwbxml.spec:1.18 SPECS/libwbxml.spec:1.19
--- SPECS/libwbxml.spec:1.18 Wed Oct 22 21:08:33 2008
+++ SPECS/libwbxml.spec Thu Jan 29 01:32:07 2009
@@ -3,110 +3,75 @@
# - kill unecessary -lnsl etc.
# - maybe add datetime.patch from synce repository
# - namespace.patch from synce trunk contains some improvements
+# - build dynamic documentation OFF
#
-Summary: WBXML2 Library
-Summary(pl.UTF-8): Biblioteka WBXML2
-Name: wbxml2
-Version: 0.9.2
-Release: 4
+Summary: The WBXML Library
+Summary(pl.UTF-8): Biblioteka WBXML
+Name: libwbxml
+Version: 0.10.1
+Release: 0.1
License: LGPL v2.1+
Group: Libraries
-Source0: http://dl.sourceforge.net/wbxmllib/%{name}-%{version}.tar.gz
-# Source0-md5: 67a48fd9b69db8818a4dca5375c7993a
-Patch0: %{name}-r34.patch
-Patch1: %{name}-r35.patch
-Patch2: %{name}-r39.patch
-Patch3: %{name}-r41.patch
-Patch4: %{name}-r42.patch
-Patch5: %{name}-r43.patch
-Patch6: %{name}-r44.patch
-Patch7: %{name}-prepare-r48.patch
-Patch8: %{name}-r48.patch
-Patch9: %{name}-r49.patch
-Patch10: %{name}-r52.patch
-Patch11: %{name}-r57.patch
-Patch12: %{name}-r58.patch
-#Patch13: http://synce.svn.sourceforge.net/viewvc/synce/trunk/patches/wbxml-svn-r53-namespace.patch?revision=2914
-Patch13: %{name}-namespace.patch
-Patch14: %{name}-no_libxml2.patch
-Patch15: %{name}-r59.patch
-URL: http://libwbxml.aymerick.com/
-BuildRequires: autoconf
-BuildRequires: automake
+Source0: http://dl.sourceforge.net/libwbxml/%{name}-%{version}.tar.bz2
+# Source0-md5: 56609295e7cea5115750f6582218ade6
+Patch15: wbxml2-r59.patch
+URL: http://libwbxml.opensync.org/
+BuildRequires: cmake
BuildRequires: expat-devel
BuildRequires: libstdc++-devel
BuildRequires: libtool
Obsoletes: libwbxml2
+Obsoletes: wbxml2
BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
%description
-The WBXML2 format is a binary representation of XML, defined by the
-Wap Forum, and used to reduce bandwidth in mobile communications.
+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.
%description -l pl.UTF-8
-Format WBXML2 jest binarną reprezentacją XML, zdefiniowaną przez Wap
+Format WBXML jest binarną reprezentacją XML, zdefiniowaną przez Wap
Forum, mającą na celu zmniejszenie ruchu w komunikacji przez
urządzenia przenośne.
%package devel
-Summary: Header files for WBXML2 library
-Summary(pl.UTF-8): Pliki nagłówkowe biblioteki WBXML2
+Summary: Header files for WBXML library
+Summary(pl.UTF-8): Pliki nagłówkowe biblioteki WBXML
Group: Development/Libraries
Requires: %{name} = %{version}-%{release}
Obsoletes: libwbxml2-devel
+Obsoletes: wbxml2-devel
+Obsoletes: wbxml2-static
%description devel
-Header files for WBXML2 library.
+Header files for WBXML library.
%description devel -l pl.UTF-8
-Pliki nagłówkowe biblioteki WBXML2.
-
-%package static
-Summary: Static WBXML2 library
-Summary(pl.UTF-8): Statyczna biblioteka WBXML2
-Group: Development/Libraries
-Requires: %{name}-devel = %{version}-%{release}
-
-%description static
-Static WBXML2 library.
-
-%description static -l pl.UTF-8
-Statyczna biblioteka WBXML2.
+Pliki nagłówkowe biblioteki WBXML.
%prep
%setup -q
-%patch0 -p3
-%patch1 -p3
-%patch2 -p3
-%patch3 -p3
-%patch4 -p3
-%patch5 -p3
-%patch6 -p3
-%patch7 -p0
-%patch8 -p3
-%patch9 -p3
-%patch10 -p3
-%patch11 -p3
-%patch12 -p3
-%patch13 -p1
-%patch14 -p1
%patch15 -p3
%build
-%{__libtoolize}
-%{__aclocal}
-%{__autoconf}
-%{__autoheader}
-%{__automake}
-%configure
+install -d build
+cd build
+%cmake \
+ -DCMAKE_INSTALL_PREFIX=%{_prefix} \
+%if "%{_lib}" != "lib"
+ -DLIB_SUFFIX=64 \
+%endif
+ ../
%{__make}
%install
rm -rf $RPM_BUILD_ROOT
-
-%{__make} install \
+%{__make} -C build install \
DESTDIR=$RPM_BUILD_ROOT
+rm -rf $RPM_BUILD_ROOT%{_docdir}/%{name}
+
%clean
rm -rf $RPM_BUILD_ROOT
@@ -115,29 +80,29 @@
%files
%defattr(644,root,root,755)
-%doc AUTHORS ChangeLog NEWS README THANKS TODO
+%doc AUTHORS BUGS ChangeLog NEWS README THANKS TODO References
%attr(755,root,root) %{_bindir}/wbxml2xml
%attr(755,root,root) %{_bindir}/xml2wbxml
%attr(755,root,root) %{_libdir}/libwbxml2.so.*.*.*
-%attr(755,root,root) %ghost %{_libdir}/libwbxml2.so.?
+%attr(755,root,root) %ghost %{_libdir}/libwbxml2.so.0
%files devel
%defattr(644,root,root,755)
%attr(755,root,root) %{_libdir}/libwbxml2.so
-%{_libdir}/libwbxml2.la
%{_includedir}/wbxml*.h
%{_pkgconfigdir}/libwbxml2.pc
-%files static
-%defattr(644,root,root,755)
-%{_libdir}/libwbxml2.a
-
%define date %(echo `LC_ALL="C" date +"%a %b %d %Y"`)
%changelog
* %{date} PLD Team <feedback at pld-linux.org>
All persons listed below can be reached at <cvs_login>@pld-linux.org
$Log$
+Revision 1.19 2009/01/29 00:32:07 glen
+- 2008-11-21: The OpenSync project takes over the maintenance of the libwbxml library from Aymerick Jehanne.
+- renamed package from wbxml2 and updated to 0.10.1
+- no -static package with cmake build
+
Revision 1.18 2008/10/22 19:08:33 sls
- added r59.patch, updated TODO, rel. 4
================================================================
---- CVS-web:
http://cvs.pld-linux.org/cgi-bin/cvsweb.cgi/SPECS/libwbxml.spec?r1=1.18&r2=1.19&f=u
More information about the pld-cvs-commit
mailing list