From: Yan Yin Date: Wed, 14 Mar 2012 06:05:58 +0000 (+0800) Subject: update for beta universally X-Git-Tag: 2.0_alpha~1 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=59af77cd1977f0574bd22fdf8dbe3035b205131f;p=platform%2Fupstream%2Flibwbxml2.git update for beta universally --- diff --git a/packaging/libwbxml2.spec b/packaging/libwbxml2.spec old mode 100755 new mode 100644 index 942d403..dae79aa --- a/packaging/libwbxml2.spec +++ b/packaging/libwbxml2.spec @@ -1,12 +1,11 @@ %define _name libwbxml Name: libwbxml2 -Version: 0.10.8 +Version: 0.11.0 Release: 1 Summary: Library to parse, encode and handle WBXML documents Group: System/Libraries License: LGPLv2.1 -Source0: %{_name}-%{version}.tar.gz -BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) +Source0: %{name}-%{version}.tar.gz BuildRequires: expat-devel zlib-devel popt-devel BuildRequires: pkgconfig(libxml-2.0) BuildRequires: cmake @@ -18,11 +17,6 @@ is a binary representation of XML, defined by the Wap Forum, and used to reduce bandwidth in mobile communications. -%files -%defattr(-,root,root,-) -%{_bindir}/* -%{_libdir}/*.so.* -%doc %{_docdir}/* %package devel Summary: Development files for %{name} @@ -40,11 +34,11 @@ Requires: %{name} = %{version}-%{release} %prep -%setup -q -n %{_name}-%{version} -mkdir build +%setup -q -n %{name}-%{version} %build +mkdir build cd build cmake -DCMAKE_INSTALL_PREFIX=/usr .. make @@ -55,9 +49,15 @@ rm -rf %{buildroot} make -C build DESTDIR=%{buildroot} install -%clean -rm -rf %{buildroot} - %post -p /sbin/ldconfig + %postun -p /sbin/ldconfig + + + +%files +%defattr(-,root,root,-) +%{_bindir}/* +%{_libdir}/*.so.* +%doc %{_docdir}/*