summaryrefslogtreecommitdiff
path: root/packaging/capi-media-image-util.spec
diff options
context:
space:
mode:
Diffstat (limited to 'packaging/capi-media-image-util.spec')
-rwxr-xr-xpackaging/capi-media-image-util.spec51
1 files changed, 51 insertions, 0 deletions
diff --git a/packaging/capi-media-image-util.spec b/packaging/capi-media-image-util.spec
new file mode 100755
index 0000000..273e8c0
--- /dev/null
+++ b/packaging/capi-media-image-util.spec
@@ -0,0 +1,51 @@
+Name: capi-image-util
+Summary: A Image Utility library in Tizen Native API
+Version: 0.0.1
+Release: 1
+Group: TO_BE/FILLED_IN
+License: TO BE FILLED IN
+Source0: %{name}-%{version}.tar.gz
+BuildRequires: cmake
+BuildRequires: pkgconfig(mmutil-jpeg)
+BuildRequires: pkgconfig(mmutil-imgp)
+BuildRequires: pkgconfig(dlog)
+Requires(post): /sbin/ldconfig
+Requires(postun): /sbin/ldconfig
+
+%description
+
+
+%package devel
+Summary: A Image Utility library in Tizen Native API (Development)
+Group: TO_BE/FILLED_IN
+Requires: %{name} = %{version}-%{release}
+
+%description devel
+
+
+
+%prep
+%setup -q
+
+
+%build
+cmake .
+
+
+make %{?jobs:-j%jobs}
+
+%install
+rm -rf %{buildroot}
+%make_install
+
+%post -p /sbin/ldconfig
+
+%postun -p /sbin/ldconfig
+
+
+%files
+%{_libdir}/libcapi-media-image-util.so
+
+%files devel
+%{_includedir}/media/*.h
+%{_libdir}/pkgconfig/*.pc