summaryrefslogtreecommitdiff
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
parent0e97bcccb233bfdd95eae8ed69074c17329e4fe5 (diff)
downloadlibcryptsvc-6017f135e9c66f7f5313f6202e98514965404774.tar.gz
libcryptsvc-6017f135e9c66f7f5313f6202e98514965404774.tar.bz2
libcryptsvc-6017f135e9c66f7f5313f6202e98514965404774.zip
Fixed package meta-data
-rw-r--r--[-rwxr-xr-x]AUTHORS0
-rw-r--r--[-rwxr-xr-x]CMakeLists.txt0
-rw-r--r--[-rwxr-xr-x]COPYING0
-rw-r--r--[-rwxr-xr-x]LICENSE.APLv20
-rw-r--r--[-rwxr-xr-x]LICENSE.Flora0
-rw-r--r--[-rwxr-xr-x]NOTICE0
-rw-r--r--[-rwxr-xr-x]cryptsvc.pc.in0
-rwxr-xr-xpackaging/libcryptsvc.spec29
8 files changed, 15 insertions, 14 deletions
diff --git a/AUTHORS b/AUTHORS
index 6318bca..6318bca 100755..100644
--- a/AUTHORS
+++ b/AUTHORS
diff --git a/CMakeLists.txt b/CMakeLists.txt
index e2a98f3..e2a98f3 100755..100644
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
diff --git a/COPYING b/COPYING
index 994f5eb..994f5eb 100755..100644
--- a/COPYING
+++ b/COPYING
diff --git a/LICENSE.APLv2 b/LICENSE.APLv2
index 1b461a0..1b461a0 100755..100644
--- a/LICENSE.APLv2
+++ b/LICENSE.APLv2
diff --git a/LICENSE.Flora b/LICENSE.Flora
index 571fe79..571fe79 100755..100644
--- a/LICENSE.Flora
+++ b/LICENSE.Flora
diff --git a/NOTICE b/NOTICE
index cfb1ca4..cfb1ca4 100755..100644
--- a/NOTICE
+++ b/NOTICE
diff --git a/cryptsvc.pc.in b/cryptsvc.pc.in
index 81356ed..81356ed 100755..100644
--- a/cryptsvc.pc.in
+++ b/cryptsvc.pc.in
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}/*