tizen-platform-wrapper: fix resource leak
[platform/core/system/tizen-platform-wrapper.git] / packaging / tizen-platform-wrapper.spec
index ae84d2c..d017853 100644 (file)
@@ -1,13 +1,14 @@
 Name:           tizen-platform-wrapper
-Version:        1.0
+Version:        2.0
 Release:        0
 License:        LGPL-2.0
-Summary:               A toolkit to generate the libtizen-platform-config library
+Summary:        A toolkit to generate the libtizen-platform-config library
 Url:            http://www.tizen.org
 Group:          Development/Tools
 Source:         %{name}-%{version}.tar.bz2
-Source1001:            %{name}.manifest
-Requires:              gperf
+Source1001:     %{name}.manifest
+Requires:       gperf
+Requires:       /usr/bin/sha256sum
 
 %description
 A toolkit to generate the libtizen-platform-config library in tizen-platform-config.
@@ -17,8 +18,8 @@ A toolkit to generate the libtizen-platform-config library in tizen-platform-con
 cp %{SOURCE1001} .
 
 %build
-%autogen
-make %{?_smp_mflags}
+%reconfigure
+%__make %{?_smp_mflags}
 
 %install
 %make_install
@@ -28,4 +29,5 @@ make %{?_smp_mflags}
 %license LGPL_2.0
 %{_bindir}/*
 %{_datadir}/%{name}/*
+%{_libdir}/pkgconfig/tizen-platform-wrapper.pc