packaging: cleanup and set licence to FLORA 26/27026/1 accepted/tizen/common/20141127.143510 accepted/tizen/mobile/20141201.013919 submit/tizen/20141127.124201
authorPhilippe Coval <philippe.coval@open.eurogiciel.org>
Tue, 2 Sep 2014 13:21:54 +0000 (15:21 +0200)
committerPhilippe Coval <philippe.coval@open.eurogiciel.org>
Wed, 3 Sep 2014 09:11:31 +0000 (11:11 +0200)
Change-Id: I976e48ed248af6375155be756eb984f50a70cdcc
Bug-Tizen: TC-22/part
Signed-off-by: Philippe Coval <philippe.coval@open.eurogiciel.org>
packaging/org.tizen.calculator.spec

index a878b98..c5aea40 100644 (file)
@@ -1,4 +1,3 @@
-#sbs-git:slp/apps/c/calculator calculator 0.1.3 3ce35911eff2a8f151a092f346ab7239d7d0658e
 %define PREFIX /usr/apps/org.tizen.calculator
 Name: org.tizen.calculator
 Version:    0.1.31
@@ -7,7 +6,7 @@ Summary: SLP Calculator application
 URL: http://slp-source.sec.samsung.net
 Source: %{name}-%{version}.tar.gz
 Source1001: org.tizen.calculator.manifest
-License: TIZEN
+License: FLORA-1.1
 Group: tizen/Application
 BuildRequires: cmake
 BuildRequires: pkgconfig(edje)
@@ -36,7 +35,7 @@ LDFLAGS+="-Wl,--rpath=%{PREFIX}/lib -Wl,--as-needed -Wl,--hash-style=both"; expo
 
 cmake . -DCMAKE_INSTALL_PREFIX=%{PREFIX}
 
-make %{?jobs:-j%jobs}
+%__make %{?_smp_mflags}
 
 %install
 rm -rf %{buildroot}
@@ -46,6 +45,7 @@ rm -rf %{buildroot}
 %manifest org.tizen.calculator.manifest
 %defattr(-,root,root,-)
 %attr(-,inhouse,inhouse)
+%license LICENSE
 /usr/apps/org.tizen.calculator/bin/calculator
 /usr/apps/org.tizen.calculator/res/edje/calculator.edj
 /usr/apps/org.tizen.calculator/res/edje/calculator_theme.edj
@@ -54,4 +54,3 @@ rm -rf %{buildroot}
 /usr/apps/org.tizen.calculator/res/locale/*
 /usr/share/packages/org.tizen.calculator.xml
 /usr/share/process-info/calculator.ini
-