summaryrefslogtreecommitdiff
path: root/packaging
diff options
context:
space:
mode:
authorJinkun Jang <jinkun.jang@samsung.com>2013-03-13 01:51:31 +0900
committerJinkun Jang <jinkun.jang@samsung.com>2013-03-13 01:51:31 +0900
commit2c7ecdbd74111c96bfc63b2752a4ed8ebc5755fc (patch)
treeb6af28d9a207351cb9620d17b7b0ec6fd1b263d6 /packaging
parent595e5111601bb19ba0167436658e7696077373bf (diff)
downloadlibcryptsvc-2c7ecdbd74111c96bfc63b2752a4ed8ebc5755fc.tar.gz
libcryptsvc-2c7ecdbd74111c96bfc63b2752a4ed8ebc5755fc.tar.bz2
libcryptsvc-2c7ecdbd74111c96bfc63b2752a4ed8ebc5755fc.zip
Tizen 2.1 base
Diffstat (limited to 'packaging')
-rw-r--r--packaging/libcryptsvc.spec48
1 files changed, 48 insertions, 0 deletions
diff --git a/packaging/libcryptsvc.spec b/packaging/libcryptsvc.spec
new file mode 100644
index 0000000..17c51a6
--- /dev/null
+++ b/packaging/libcryptsvc.spec
@@ -0,0 +1,48 @@
+Name: libcryptsvc
+Summary: nothing
+Version: 0.0.1
+Release: 3
+Group: Osp/Security
+License: APLv2
+Source0: %{name}-%{version}.tar.gz
+BuildRequires: cmake
+
+BuildRequires: pkgconfig(dlog)
+BuildRequires: pkgconfig(openssl)
+
+%description
+
+%package devel
+Summary: nothing
+Group: Bada/Security
+Requires: %{name} = %{version}-%{release}
+
+%description devel
+
+%prep
+%setup -q
+
+%build
+%ifarch %{ix86}
+cmake . -DCMAKE_INSTALL_PREFIX=%{_prefix} -DARCH=x86
+%else
+cmake . -DCMAKE_INSTALL_PREFIX=%{_prefix} -DARCH=arm
+%endif
+make %{?jobs:-j%jobs}
+
+%install
+rm -rf %{buildroot}
+mkdir -p %{buildroot}/usr/share/license
+cp LICENSE.APLv2 %{buildroot}/usr/share/license/%{name}
+cp LICENSE.Flora %{buildroot}/usr/share/license/%{name}
+
+%make_install
+
+%files
+%{_libdir}/*.so*
+%{_datadir}/license/%{name}
+
+%files devel
+%{_includedir}/*
+%{_libdir}/pkgconfig/cryptsvc.pc
+%{_datadir}/license/%{name}