Fixed build and remove hardcoding of libdir accepted/tizen/20130529.180805 submit/tizen/20130529.105058
authorAnas Nashif <anas.nashif@intel.com>
Wed, 29 May 2013 10:50:55 +0000 (06:50 -0400)
committerAnas Nashif <anas.nashif@intel.com>
Wed, 29 May 2013 10:50:55 +0000 (06:50 -0400)
CMakeLists.txt
packaging/capi-network-wifi-direct.changes [new file with mode: 0644]
packaging/capi-network-wifi-direct.spec

index 7e39e81..5f488a7 100755 (executable)
@@ -35,7 +35,7 @@ CONFIGURE_FILE(
     ${CMAKE_CURRENT_SOURCE_DIR}/${fw_name}.pc
     @ONLY
 )
-INSTALL(FILES ${CMAKE_CURRENT_SOURCE_DIR}/${fw_name}.pc DESTINATION lib/pkgconfig)
+INSTALL(FILES ${CMAKE_CURRENT_SOURCE_DIR}/${fw_name}.pc DESTINATION ${LIB_INSTALL_DIR}/pkgconfig)
 
 IF(UNIX)
 
diff --git a/packaging/capi-network-wifi-direct.changes b/packaging/capi-network-wifi-direct.changes
new file mode 100644 (file)
index 0000000..04b8cc1
--- /dev/null
@@ -0,0 +1,3 @@
+* Wed May 29 2013 Anas Nashif <anas.nashif@intel.com> accepted/tizen/20130520.100855@afb2ebe
+- Fixed build and remove hardcoding of libdir
+
index 327d6d6..32b950a 100755 (executable)
@@ -1,12 +1,10 @@
 Name:       capi-network-wifi-direct
 Summary:    Network WiFi-Direct library in Tizen CAPI
-Version: 0.0.4
+Version:    0.0.4
 Release:    3
-Group:      TO_BE_FILLED
-License:    TO_BE_FILLED
+Group:      API/C API
+License:    Apache-2.0
 Source0:    %{name}-%{version}.tar.gz
-Requires(post): /sbin/ldconfig
-Requires(postun): /sbin/ldconfig
 BuildRequires:  pkgconfig(dbus-glib-1)
 BuildRequires:  pkgconfig(dlog)
 BuildRequires:  pkgconfig(vconf)
@@ -14,12 +12,11 @@ BuildRequires:  pkgconfig(capi-base-common)
 BuildRequires:  cmake
 
 %description
-
-%define debug_package %{nil}  
+WiFi-Direct library (Shared Library)
 
 %package devel 
 Summary:    WiFi-Direct library (Shared Library) (Developement)
-Group:      TO_BE_FILLED 
+Group:      Development/API
 Requires: capi-base-common-devel
 BuildRequires:  pkgconfig(wifi-direct)
 %description devel
@@ -29,16 +26,15 @@ WiFi-Direct library (Shared Library) (Developement)
 %setup -q
 
 %build
-cmake . -DCMAKE_INSTALL_PREFIX=%{_prefix}
+%cmake . 
 make %{?jobs:-j%jobs}
 
 %install
-rm -rf %{buildroot}
 %make_install
 
-%post
+%post -p /sbin/ldconfig
 
-%postun
+%postun -p /sbin/ldconfig
 
 %files
 %manifest capi-network-wifi-direct.manifest