Fixed package meta-data
authorAnas Nashif <anas.nashif@intel.com>
Wed, 29 May 2013 11:50:57 +0000 (07:50 -0400)
committerAnas Nashif <anas.nashif@intel.com>
Wed, 29 May 2013 11:51:39 +0000 (07:51 -0400)
AUTHORS [changed mode: 0755->0644]
CMakeLists.txt [changed mode: 0755->0644]
COPYING [changed mode: 0755->0644]
LICENSE.APLv2 [changed mode: 0755->0644]
LICENSE.Flora [changed mode: 0755->0644]
NOTICE [changed mode: 0755->0644]
cryptsvc.pc.in [changed mode: 0755->0644]
packaging/libcryptsvc.spec

diff --git a/AUTHORS b/AUTHORS
old mode 100755 (executable)
new mode 100644 (file)
old mode 100755 (executable)
new mode 100644 (file)
diff --git a/COPYING b/COPYING
old mode 100755 (executable)
new mode 100644 (file)
old mode 100755 (executable)
new mode 100644 (file)
old mode 100755 (executable)
new mode 100644 (file)
diff --git a/NOTICE b/NOTICE
old mode 100755 (executable)
new mode 100644 (file)
old mode 100755 (executable)
new mode 100644 (file)
index 4097ece..b1e9adc 100755 (executable)
@@ -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}/*