From f5eaed17888c6710641e6bd1f85ed70164907e5d Mon Sep 17 00:00:00 2001 From: Kim Kibum Date: Sun, 29 Apr 2012 16:58:19 +0900 Subject: upload tizen1.0 source --- .gitignore | 26 -------------------------- CMakeLists.txt | 3 ++- capi-media-audio-io.pc.in | 2 +- debian/control | 4 ++-- packaging/capi-media-audio-io.spec | 13 ++++++------- 5 files changed, 11 insertions(+), 37 deletions(-) delete mode 100644 .gitignore mode change 100755 => 100644 CMakeLists.txt diff --git a/.gitignore b/.gitignore deleted file mode 100644 index a6d8f19..0000000 --- a/.gitignore +++ /dev/null @@ -1,26 +0,0 @@ -CMakeCache.txt -*/CMakeFiles/* -*.cmake -CMakeFiles* -*.a -*.so -Testing -cmake.depends -cmake.check_depends -cmake.check_cache -core -core.* -gmon.out -install_manifest.txt -*~ -.kdev_include_paths -src.kdev4 -.cproject -.project -tet_captured -tet_lock -*.pc -Makefile -*-test -*-test_* -*tester.c diff --git a/CMakeLists.txt b/CMakeLists.txt old mode 100755 new mode 100644 index 7ba6694..b018af6 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -11,6 +11,7 @@ SET(INC_DIR include) INCLUDE_DIRECTORIES(${INC_DIR}) SET(dependents "dlog mm-sound capi-base-common capi-media-sound-manager") +SET(pc_dependents "capi-base-common capi-media-sound-manager") INCLUDE(FindPkgConfig) pkg_check_modules(${fw_name} REQUIRED ${dependents}) @@ -58,7 +59,7 @@ INSTALL( ) SET(PC_NAME ${fw_name}) -SET(PC_REQUIRED ${dependents}) +SET(PC_REQUIRED ${pc_dependents}) SET(PC_LDFLAGS -l${fw_name}) SET(PC_CFLAGS -I\${includedir}/media) diff --git a/capi-media-audio-io.pc.in b/capi-media-audio-io.pc.in index 773d667..5d02f8d 100644 --- a/capi-media-audio-io.pc.in +++ b/capi-media-audio-io.pc.in @@ -11,5 +11,5 @@ Description: @PACKAGE_DESCRIPTION@ Version: @VERSION@ Requires: @PC_REQUIRED@ Libs: -L${libdir} @PC_LDFLAGS@ -Cflags: -I${includedir} @PC_CFLAGS@ +Cflags: -I${includedir} diff --git a/debian/control b/debian/control index acd009b..5a7bfd2 100644 --- a/debian/control +++ b/debian/control @@ -7,12 +7,12 @@ Build-Depends: debhelper (>= 5), dlog-dev, libmm-sound-dev, capi-base-common-dev Package: capi-media-audio-io Architecture: any -Depends: ${shilbs:Depends}, ${misc:Depends} +Depends: ${shlibs:Depends}, ${misc:Depends} Description: An Audio Input & Audio Output library in Tizen Native API Package: capi-media-audio-io-dev Architecture: any -Depends: ${shlibs:Depends}, ${misc:Depends}, capi-media-audio-io (= ${Source-Version}), dlog-dev, libmm-sound-dev, capi-base-common-dev, capi-media-sound-manager-dev +Depends: ${shlibs:Depends}, ${misc:Depends}, capi-media-audio-io (= ${Source-Version}), capi-base-common-dev, capi-media-sound-manager-dev Description: An Audio Input & Audio Output library in Tizen Native API (DEV) Package: capi-media-audio-io-dbg diff --git a/packaging/capi-media-audio-io.spec b/packaging/capi-media-audio-io.spec index bf31a0c..3a62bcb 100644 --- a/packaging/capi-media-audio-io.spec +++ b/packaging/capi-media-audio-io.spec @@ -1,7 +1,7 @@ Name: capi-media-audio-io Summary: An Audio Input & Audio Output library in Tizen Native API -Version: 0.1.0 -Release: 1 +Version: 0.1.0 +Release: 4 Group: TO_BE/FILLED_IN License: Apache-2.0 Source0: %{name}-%{version}.tar.gz @@ -29,10 +29,8 @@ An Audio Input & Audio Output library in Tizen Native API (DEV) %build -FULLVER=%{version} -MAJORVER=`echo ${FULLVER} | cut -d '.' -f 1` -cmake . -DCMAKE_INSTALL_PREFIX=/usr -DFULLVER=${FULLVER} -DMAJORVER=${MAJORVER} - +MAJORVER=`echo %{version} | awk 'BEGIN {FS="."}{print $1}'` +cmake . -DCMAKE_INSTALL_PREFIX=/usr -DFULLVER=%{version} -DMAJORVER=${MAJORVER} make %{?jobs:-j%jobs} @@ -47,10 +45,11 @@ rm -rf %{buildroot} %files -%{_libdir}/libcapi-media-audio-io.so* +%{_libdir}/libcapi-media-audio-io.so.* %files devel %{_includedir}/media/audio_io.h %{_libdir}/pkgconfig/*.pc +%{_libdir}/libcapi-media-audio-io.so -- cgit v1.2.3