summaryrefslogtreecommitdiff
path: root/packaging
diff options
context:
space:
mode:
authorAnas Nashif <anas.nashif@intel.com>2013-05-29 07:50:57 -0400
committerAnas Nashif <anas.nashif@intel.com>2013-05-29 07:51:39 -0400
commit6017f135e9c66f7f5313f6202e98514965404774 (patch)
treef62da78097771b46f77d47456a14078a8e25fdac /packaging
parent0e97bcccb233bfdd95eae8ed69074c17329e4fe5 (diff)
downloadlibcryptsvc-6017f135e9c66f7f5313f6202e98514965404774.tar.gz
libcryptsvc-6017f135e9c66f7f5313f6202e98514965404774.tar.bz2
libcryptsvc-6017f135e9c66f7f5313f6202e98514965404774.zip
Fixed package meta-data
Diffstat (limited to 'packaging')
-rwxr-xr-xpackaging/libcryptsvc.spec29
1 files changed, 15 insertions, 14 deletions
diff --git a/packaging/libcryptsvc.spec b/packaging/libcryptsvc.spec
index 4097ece..b1e9adc 100755
--- a/packaging/libcryptsvc.spec
+++ b/packaging/libcryptsvc.spec
@@ -1,23 +1,24 @@
Name: libcryptsvc
-Summary: nothing
+Summary: Crypto Service Library
Version: 0.0.1
Release: 6
-Group: Osp/Security
-License: APLv2
+Group: Security/Libraries
+License: Apache-2.0
Source0: %{name}-%{version}.tar.gz
BuildRequires: cmake
-
BuildRequires: pkgconfig(dlog)
BuildRequires: pkgconfig(openssl)
%description
+Crypto Service Library.
%package devel
-Summary: nothing
-Group: Bada/Security
+Summary: Crypto Service Library (Development)
+Group: Security/Libraries
Requires: %{name} = %{version}-%{release}
%description devel
+Crypto Service Library (Development).
%prep
%setup -q
@@ -25,23 +26,23 @@ Requires: %{name} = %{version}-%{release}
%build
MAJORVER=`echo %{version} | awk 'BEGIN {FS="."}{print $1}'`
%ifarch %ix86 x86_64
-%cmake . -DARCH=x86 -DFULLVER=%{version} -DMAJORVER=${MAJORVER} -DDESCRIPTION=%{summary}
+%cmake . -DARCH=x86 -DFULLVER=%{version} -DMAJORVER=${MAJORVER} -DDESCRIPTION="%{summary}"
%else
-%cmake . -DARCH=arm -DFULLVER=%{version} -DMAJORVER=${MAJORVER} -DDESCRIPTION=%{summary}
+%cmake . -DARCH=arm -DFULLVER=%{version} -DMAJORVER=${MAJORVER} -DDESCRIPTION="%{summary}"
%endif
make %{?jobs:-j%jobs}
%install
-rm -rf %{buildroot}
-mkdir -p %{buildroot}/usr/share/license
-cat LICENSE.APLv2 > %{buildroot}/usr/share/license/%{name}
-cat LICENSE.Flora >> %{buildroot}/usr/share/license/%{name}
-
%make_install
+
+%post -p /sbin/ldconfig
+
+%postun -p /sbin/ldconfig
+
%files
+%license LICENSE.APLv2 LICENSE.Flora
%{_libdir}/*.so*
-%{_datadir}/license/%{name}
%files devel
%{_includedir}/*