upload tizen1.0 source 2.0alpha master 2.0_alpha submit/master/20120920.151012
authorKim Kibum <kb0929.kim@samsung.com>
Sun, 29 Apr 2012 08:01:31 +0000 (17:01 +0900)
committerKim Kibum <kb0929.kim@samsung.com>
Sun, 29 Apr 2012 08:01:31 +0000 (17:01 +0900)
packaging/libwbxml2.spec [changed mode: 0644->0755]

old mode 100644 (file)
new mode 100755 (executable)
index dae79aa..209d385
@@ -1,7 +1,7 @@
 %define _name libwbxml
 Name: libwbxml2
 Version: 0.11.0
-Release: 1
+Release: 10
 Summary: Library to parse, encode and handle WBXML documents
 Group: System/Libraries
 License: LGPLv2.1
@@ -17,7 +17,6 @@ is a binary representation of XML, defined by the Wap Forum, and used
 to reduce bandwidth in mobile communications.
 
 
-
 %package devel
 Summary: Development files for %{name}
 Group: Development/Libraries
@@ -26,38 +25,53 @@ Requires: %{name} = %{version}-%{release}
 %description devel
 %{summary}.
 
-%files devel
-%defattr(-,root,root,-)
-%{_includedir}/*
-%{_libdir}/*.so
-%{_libdir}/pkgconfig/*.pc
+%package utils
+Summary: Binary XML utilities %{name}-utils
+Group: Development/Libraries
+Requires: %{name} = %{version}-%{release}
 
+%description utils    
+This package is libwbxml2-utils pkg for libwbxml2  
 
 %prep
-%setup -q -n %{name}-%{version}
-
+%setup -q
+mkdir build
 
 %build
-mkdir build
 cd build
 cmake -DCMAKE_INSTALL_PREFIX=/usr ..
-make
+make %{?jobs:-j%jobs}
 
 
 %install
 rm -rf %{buildroot}
-make -C build DESTDIR=%{buildroot} install
+cd build
+%make_install
 
 
+%clean
+cd build
+rm -rf %{buildroot}
 
-%post -p /sbin/ldconfig
 
+%post -p /sbin/ldconfig
 %postun -p /sbin/ldconfig
 
 
-
 %files
 %defattr(-,root,root,-)
 %{_bindir}/*
 %{_libdir}/*.so.*
 %doc %{_docdir}/*
+
+%files devel
+%defattr(-,root,root,-)
+/usr/include/libwbxml-1.0/wbxml/*.h
+/usr/include/wbxml_config.h
+/usr/lib/libwbxml2.so
+/usr/lib/pkgconfig/libwbxml2.pc
+
+%files utils
+%defattr(-,root,root,-)
+%{_bindir}/*
+