Remove license/group placeholders accepted/tizen/20130530.131234 submit/tizen/20130530.045157
authorAnas Nashif <anas.nashif@intel.com>
Thu, 30 May 2013 04:51:54 +0000 (00:51 -0400)
committerAnas Nashif <anas.nashif@intel.com>
Thu, 30 May 2013 04:51:54 +0000 (00:51 -0400)
CMakeLists.txt
packaging/appcore-agent.changes [new file with mode: 0644]
packaging/appcore-agent.spec

index cbecee2..96433bf 100644 (file)
@@ -44,8 +44,8 @@ TARGET_LINK_LIBRARIES(${APPCORE_AGENT} ${pkg_agent_LDFLAGS} "-ldl")
 
 CONFIGURE_FILE(${APPCORE_AGENT}.pc.in ${APPCORE_AGENT}.pc @ONLY)
 
-INSTALL(TARGETS ${APPCORE_AGENT} DESTINATION lib COMPONENT RuntimeLibraries)
-INSTALL(FILES ${CMAKE_CURRENT_BINARY_DIR}/${APPCORE_AGENT}.pc DESTINATION lib/pkgconfig)
+INSTALL(TARGETS ${APPCORE_AGENT} DESTINATION ${LIB_INSTALL_DIR} COMPONENT RuntimeLibraries)
+INSTALL(FILES ${CMAKE_CURRENT_BINARY_DIR}/${APPCORE_AGENT}.pc DESTINATION ${LIB_INSTALL_DIR}/pkgconfig)
 FOREACH(hfile ${HEADERS_agent})
        INSTALL(FILES ${CMAKE_CURRENT_SOURCE_DIR}/include/${hfile} DESTINATION include/appcore-agent)
 ENDFOREACH(hfile)
diff --git a/packaging/appcore-agent.changes b/packaging/appcore-agent.changes
new file mode 100644 (file)
index 0000000..9eb44db
--- /dev/null
@@ -0,0 +1,3 @@
+* Thu May 30 2013 Anas Nashif <anas.nashif@intel.com> submit/tizen/20130517.044800@0679360
+- Remove license/group placeholders
+
index f512d88..18e9c78 100644 (file)
@@ -1,45 +1,40 @@
-
-Name:       appcore-agent
-Summary:    Agent Application basic
-Version:    1.0
-Release:    8
-Group:      TO_BE/FILLED_IN
-License:    SAMSUNG
-Source0:    appcore-agent-%{version}.tar.gz
+#
+
+Name:           appcore-agent
+Version:        1.0
+Release:        8
+License:        Apache-2.0
+Summary:        Agent Application basic
+Group:          Application Framework/Service
+Source0:        appcore-agent-%{version}.tar.gz
+BuildRequires:  cmake
+BuildRequires:  sysman-devel
 BuildRequires:  pkgconfig(aul)
+BuildRequires:  pkgconfig(capi-appfw-application)
 BuildRequires:  pkgconfig(dlog)
-BuildRequires:  pkgconfig(sysman)
 BuildRequires:  pkgconfig(glib-2.0)
 BuildRequires:  pkgconfig(pmapi)
-BuildRequires:  pkgconfig(capi-appfw-application)
+BuildRequires:  pkgconfig(sysman)
 BuildRequires:  pkgconfig(vconf)
-BuildRequires:  cmake
-BuildRequires:  sysman-devel
-
 
 %description
 SLP agent application basic
 
-
 %package devel
-Summary:    appcore agent
-Group:      Development/Libraries
-Requires:   %{name} = %{version}-%{release}
+Summary:        Applocation Core Agent
+Group:          Application Framework/Development
+Requires:       %{name} = %{version}
 %description devel
-appcore agent (developement files)
+%devel_desc
 
 %prep
 %setup -q
 
-
 %build
-
-CFLAGS="$CFLAGS" LDFLAGS="$LDFLAGS" cmake . -DCMAKE_INSTALL_PREFIX=/usr
-
-make %{?jobs:-j%jobs}
+%cmake .
+make %{?_smp_mflags}
 
 %install
-rm -rf %{buildroot}
 %make_install
 
 
@@ -49,14 +44,15 @@ rm -rf %{buildroot}
 
 
 %files
+%license LICENSE
 %manifest appcore-agent.manifest
 %defattr(-,root,root,-)
-/usr/lib/libappcore-agent.so.1
-/usr/lib/libappcore-agent.so.1.1
+%{_libdir}/libappcore-agent.so.1
+%{_libdir}/libappcore-agent.so.1.1
 
 %files devel
 %defattr(-,root,root,-)
-/usr/lib/pkgconfig/appcore-agent.pc
-/usr/lib/libappcore-agent.so
-/usr/include/appcore-agent/appcore-agent.h
-/usr/include/appcore-agent/service_app.h
+%{_libdir}/pkgconfig/appcore-agent.pc
+%{_libdir}/libappcore-agent.so
+%{_includedir}/appcore-agent/appcore-agent.h
+%{_includedir}/appcore-agent/service_app.h