diff options
author | Anas Nashif <anas.nashif@intel.com> | 2013-05-29 07:50:57 -0400 |
---|---|---|
committer | Anas Nashif <anas.nashif@intel.com> | 2013-05-29 07:51:39 -0400 |
commit | 6017f135e9c66f7f5313f6202e98514965404774 (patch) | |
tree | f62da78097771b46f77d47456a14078a8e25fdac | |
parent | 0e97bcccb233bfdd95eae8ed69074c17329e4fe5 (diff) | |
download | libcryptsvc-6017f135e9c66f7f5313f6202e98514965404774.tar.gz libcryptsvc-6017f135e9c66f7f5313f6202e98514965404774.tar.bz2 libcryptsvc-6017f135e9c66f7f5313f6202e98514965404774.zip |
Fixed package meta-data
-rw-r--r--[-rwxr-xr-x] | AUTHORS | 0 | ||||
-rw-r--r--[-rwxr-xr-x] | CMakeLists.txt | 0 | ||||
-rw-r--r--[-rwxr-xr-x] | COPYING | 0 | ||||
-rw-r--r--[-rwxr-xr-x] | LICENSE.APLv2 | 0 | ||||
-rw-r--r--[-rwxr-xr-x] | LICENSE.Flora | 0 | ||||
-rw-r--r--[-rwxr-xr-x] | NOTICE | 0 | ||||
-rw-r--r--[-rwxr-xr-x] | cryptsvc.pc.in | 0 | ||||
-rwxr-xr-x | packaging/libcryptsvc.spec | 29 |
8 files changed, 15 insertions, 14 deletions
diff --git a/CMakeLists.txt b/CMakeLists.txt index e2a98f3..e2a98f3 100755..100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt 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/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}/* |