diff options
author | Kibum Kim <kb0929.kim@samsung.com> | 2012-02-27 21:16:24 +0900 |
---|---|---|
committer | Kibum Kim <kb0929.kim@samsung.com> | 2012-02-27 21:16:24 +0900 |
commit | 66c723dc7c2e23b14ebb1704cce1496dff930ef2 (patch) | |
tree | e71c31e7b7d1c61217eceabfdf756c02ce402c3e /packaging | |
download | libsvi-66c723dc7c2e23b14ebb1704cce1496dff930ef2.tar.gz libsvi-66c723dc7c2e23b14ebb1704cce1496dff930ef2.tar.bz2 libsvi-66c723dc7c2e23b14ebb1704cce1496dff930ef2.zip |
tizen beta release
Diffstat (limited to 'packaging')
-rw-r--r-- | packaging/libsvi.spec | 62 |
1 files changed, 62 insertions, 0 deletions
diff --git a/packaging/libsvi.spec b/packaging/libsvi.spec new file mode 100644 index 0000000..a67eb46 --- /dev/null +++ b/packaging/libsvi.spec @@ -0,0 +1,62 @@ + +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 + |