copy license file to /usr/share/license/ 01/10001/1 submit/tizen/20130913.121102
authorjy910.yun <jy910.yun@samsung.com>
Fri, 13 Sep 2013 12:10:40 +0000 (21:10 +0900)
committerjy910.yun <jy910.yun@samsung.com>
Fri, 13 Sep 2013 12:10:40 +0000 (21:10 +0900)
Signed-off-by: jy910.yun <jy910.yun@samsung.com>
LICENSE.APLv2 [moved from LICENSE with 100% similarity]
packaging/libdevice-node.spec

similarity index 100%
rename from LICENSE
rename to LICENSE.APLv2
index b0a7794..1a43b9c 100644 (file)
@@ -25,17 +25,21 @@ Library to control OAL APIs (devel)
 %setup -q
 cp %{SOURCE1} .
 %build
-%cmake . 
+%cmake .
 make %{?jobs:-j%jobs}
 
 %install
 %make_install
 
+mkdir -p %{buildroot}%{_datadir}/license
+cp LICENSE.APLv2 %{buildroot}%{_datadir}/license/%{name}
+
 %post -p /sbin/ldconfig
 %postun -p /sbin/ldconfig
 
 %files
 %{_libdir}/*.so.*
+%{_datadir}/license/%{name}
 %manifest %{name}.manifest
 
 %files devel