summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAnas Nashif <anas.nashif@intel.com>2013-05-30 00:51:54 -0400
committerAnas Nashif <anas.nashif@intel.com>2013-05-30 00:51:54 -0400
commitf1f64f179bb132bcd303fd3ac6d846ff9e2a8baa (patch)
tree2290495c9779e6cefb8916013b5df860db9356fc
parent067936003d16246cf33456c9d13d0d4dd0bd55a4 (diff)
downloadappcore-agent-f1f64f179bb132bcd303fd3ac6d846ff9e2a8baa.tar.gz
appcore-agent-f1f64f179bb132bcd303fd3ac6d846ff9e2a8baa.tar.bz2
appcore-agent-f1f64f179bb132bcd303fd3ac6d846ff9e2a8baa.zip
-rw-r--r--CMakeLists.txt4
-rw-r--r--packaging/appcore-agent.changes3
-rw-r--r--packaging/appcore-agent.spec56
3 files changed, 31 insertions, 32 deletions
diff --git a/CMakeLists.txt b/CMakeLists.txt
index cbecee2..96433bf 100644
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -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
index 0000000..9eb44db
--- /dev/null
+++ b/packaging/appcore-agent.changes
@@ -0,0 +1,3 @@
+* Thu May 30 2013 Anas Nashif <anas.nashif@intel.com> submit/tizen/20130517.044800@0679360
+- Remove license/group placeholders
+
diff --git a/packaging/appcore-agent.spec b/packaging/appcore-agent.spec
index f512d88..18e9c78 100644
--- a/packaging/appcore-agent.spec
+++ b/packaging/appcore-agent.spec
@@ -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