diff options
author | HyungKyu Song <hk76.song@samsung.com> | 2013-02-16 20:58:52 +0900 |
---|---|---|
committer | HyungKyu Song <hk76.song@samsung.com> | 2013-02-16 20:58:52 +0900 |
commit | 42ef5c138eaa577ce22e1cb125fb1b76e0b17dd1 (patch) | |
tree | 11dceb1d122dbbcb09d42b4c864c7112afd2664b /packaging | |
parent | 66c723dc7c2e23b14ebb1704cce1496dff930ef2 (diff) | |
download | libsvi-tizen_2.0.tar.gz libsvi-tizen_2.0.tar.bz2 libsvi-tizen_2.0.zip |
Tizen 2.0 Releasesubmit/tizen_2.0/20130216.115919accepted/tizen_2.0/20130216.1132132.0_releasetizen_2.0
Diffstat (limited to 'packaging')
-rw-r--r-- | packaging/libfeedback.manifest | 9 | ||||
-rw-r--r-- | packaging/libfeedback.spec | 94 | ||||
-rw-r--r-- | packaging/libsvi.manifest | 6 | ||||
-rw-r--r-- | packaging/libsvi.spec | 62 |
4 files changed, 109 insertions, 62 deletions
diff --git a/packaging/libfeedback.manifest b/packaging/libfeedback.manifest new file mode 100644 index 0000000..f13bba5 --- /dev/null +++ b/packaging/libfeedback.manifest @@ -0,0 +1,9 @@ +<manifest> + <request> + <domain name="_"/> + </request> + <assign> + <filesystem path="/usr/bin/svi_test" exec_label="_"/> + </assign> +</manifest> + diff --git a/packaging/libfeedback.spec b/packaging/libfeedback.spec new file mode 100644 index 0000000..cd1fa55 --- /dev/null +++ b/packaging/libfeedback.spec @@ -0,0 +1,94 @@ +Name: libfeedback +Summary: Feedback library +Version: 0.1.2 +Release: 21 +Group: System/Libraries +License: Apache License, Version 2.0 +Source0: %{name}-%{version}.tar.gz +Source1: libsvi.manifest +source2: libfeedback.manifest +Requires(post): /sbin/ldconfig +Requires(postun): /sbin/ldconfig +BuildRequires: cmake +BuildRequires: pkgconfig(dlog) +BuildRequires: pkgconfig(vconf) +BuildRequires: pkgconfig(mm-keysound) +BuildRequires: pkgconfig(haptic) +BuildRequires: pkgconfig(capi-base-common) + +%description +Feedback library for playing sound, vibration and led + + +%package -n libfeedback-devel +Summary: Feedback library for (devel) +Group: Development/Libraries +Requires: libfeedback = %{version}-%{release} + +%description -n libfeedback-devel +Feedback library for playing sound, vibration and led (devel) + +%package -n libsvi +Summary: SVI library +Group: Development/Libraries +Requires: libfeedback = %{version}-%{release} + +%description -n libsvi +SVI library + +%package -n libsvi-devel +Summary: SVI library for (devel) +Group: Development/Libraries +Requires: libsvi = %{version}-%{release} + +%description -n libsvi-devel +SVI library (devel) + + +%prep +%setup -q + +%build +cp %{SOURCE1} . +cp %{SOURCE2} . +cmake . -DCMAKE_INSTALL_PREFIX=%{_prefix} +make + +%install +rm -rf %{buildroot} +%make_install + +%post -p /sbin/ldconfig + +%postun -p /sbin/ldconfig + +%files +%manifest libfeedback.manifest +%defattr(-,root,root,-) +%{_libdir}/libfeedback.so.* + +%files -n libfeedback-devel +%defattr(-,root,root,-) +%{_includedir}/feedback/*.h +%{_libdir}/libfeedback.so +%{_libdir}/pkgconfig/feedback.pc + +%files -n libsvi +%manifest libsvi.manifest +%defattr(-,root,root,-) +%{_libdir}/libsvi.so.* + +%files -n libsvi-devel +%defattr(-,root,root-) +%{_includedir}/svi/*.h +%{_libdir}/libsvi.so +%{_libdir}/pkgconfig/svi.pc + +%changelog +* Mon Dec 10 2012 - Jae-young Hwang <j-zero.hwang@samsung.com> +- Revise _feedback_play_vibration function for playing tht files. +- Tag : libfeedback_0.1.2-17 + +* Wed Nov 21 2012 - Jiyoung Yun <jy910.yun@samsung.com> +- add FEEDBACK_PATTERN_MAX_CHARACTER enum +- Tag : libfeedback_0.1.2-16 diff --git a/packaging/libsvi.manifest b/packaging/libsvi.manifest new file mode 100644 index 0000000..81ace0c --- /dev/null +++ b/packaging/libsvi.manifest @@ -0,0 +1,6 @@ +<manifest> + <request> + <domain name="_"/> + </request> +</manifest> + diff --git a/packaging/libsvi.spec b/packaging/libsvi.spec deleted file mode 100644 index a67eb46..0000000 --- a/packaging/libsvi.spec +++ /dev/null @@ -1,62 +0,0 @@ - -Name: libsvi -Summary: SVI -Version: 0.1.0 -Release: 1.1 -Group: System/Libraries -License: Apache License v2.0 -Source0: libsvi-%{version}.tar.bz2 -Requires(post): /sbin/ldconfig -Requires(postun): /sbin/ldconfig -BuildRequires: cmake -BuildRequires: pkgconfig(dlog) -BuildRequires: pkgconfig(vconf) -BuildRequires: pkgconfig(devman_haptic) -BuildRequires: pkgconfig(mm-keysound) -BuildRequires: pkgconfig(devman) - - -%description -SVI - - -%package devel -Summary: SVI -Group: Development/Libraries -Requires: %{name} = %{version}-%{release} - -%description devel -SVI - -%prep -%setup -q - - -%build -cmake . -DCMAKE_INSTALL_PREFIX=%{_prefix} - - -make %{?jobs:-j%jobs} - -%install -rm -rf %{buildroot} -%make_install - - -%post -p /sbin/ldconfig - -%postun -p /sbin/ldconfig - - -%files -%defattr(-,root,root,-) -%{_bindir}/svi_test -%{_libdir}/libsvi.so.* - - -%files devel -%defattr(-,root,root,-) -%{_includedir}/svi/*.h -%{_libdir}/libsvi.so -%{_libdir}/pkgconfig/svi.pc - |