diff options
author | Jinkun Jang <jinkun.jang@samsung.com> | 2013-03-13 01:51:31 +0900 |
---|---|---|
committer | Jinkun Jang <jinkun.jang@samsung.com> | 2013-03-13 01:51:31 +0900 |
commit | 2c7ecdbd74111c96bfc63b2752a4ed8ebc5755fc (patch) | |
tree | b6af28d9a207351cb9620d17b7b0ec6fd1b263d6 /packaging | |
parent | 595e5111601bb19ba0167436658e7696077373bf (diff) | |
download | libcryptsvc-2c7ecdbd74111c96bfc63b2752a4ed8ebc5755fc.tar.gz libcryptsvc-2c7ecdbd74111c96bfc63b2752a4ed8ebc5755fc.tar.bz2 libcryptsvc-2c7ecdbd74111c96bfc63b2752a4ed8ebc5755fc.zip |
Tizen 2.1 base
Diffstat (limited to 'packaging')
-rw-r--r-- | packaging/libcryptsvc.spec | 48 |
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} |