Fix spec to remove/reduce rpmlint error and warning 96/92896/1
authorYunjin Lee <yunjin-.lee@samsung.com>
Wed, 19 Oct 2016 08:51:16 +0000 (17:51 +0900)
committerYunjin Lee <yunjin-.lee@samsung.com>
Wed, 19 Oct 2016 08:51:16 +0000 (17:51 +0900)
Change-Id: I1f423b90c863d41ef01c2bceeaf56154c4a42042
Signed-off-by: Yunjin Lee <yunjin-.lee@samsung.com>
packaging/org.tizen.privacy-setting.spec

index 97d5684..0d2116b 100755 (executable)
@@ -4,13 +4,10 @@ Name:    org.tizen.privacy-setting
 Summary: Privacy setting ui application
 Version: 1.0.0
 Release: 1
-Group:   System/???
+Group:   Applications/Other
 License: Apache-2.0
 Source0: %{name}-%{version}.tar.gz
 Source1001: %{name}.manifest
-%if "%{?tizen_profile_name}" == "tv"
-ExcludeArch: %{arm} %ix86 x86_64
-%endif
 BuildRequires: cmake
 BuildRequires: gettext-tools
 BuildRequires: edje-tools
@@ -22,7 +19,6 @@ BuildRequires: pkgconfig(evas)
 BuildRequires: pkgconfig(efl-extension)
 BuildRequires: pkgconfig(glib-2.0)
 BuildRequires: pkgconfig(ui-gadget-1)
-BuildRequires: pkgconfig(icu-i18n)
 BuildRequires: pkgconfig(libtzplatform-config)
 BuildRequires: pkgconfig(security-privilege-manager)
 BuildRequires: pkgconfig(security-manager)
@@ -30,7 +26,7 @@ BuildRequires: pkgconfig(pkgmgr-info)
 BuildRequires: pkgconfig(privacy-guard-client)
 
 %description
-Privacy setting ui gadget
+Application providing ui for managing other installed applications privacy status.
 
 %prep
 %setup -q
@@ -62,6 +58,7 @@ make %{?_smp_mflags}
 
 %install
 %make_install
+%find_lang privacy-setting privacy-setting.lang
 
 %post
 /sbin/ldconfig
@@ -71,12 +68,10 @@ echo "cyad done"
 
 %postun -p /sbin/ldconfig
 
-%files
+%files -n %{name} -f privacy-setting.lang
 %defattr(-,root,root,-)
 %manifest %name.manifest
 %license LICENSE
 %{TZ_SYS_RO_PACKAGES}/%name.xml
-%{TZ_SYS_RO_APP}/%{name}/bin/
-%{TZ_SYS_RO_APP}/%{name}/res/icon/
-%{PREFIX}/res/*
-#%TZ_SYS_RO_UG/res/locale/*
+%{PREFIX}/bin/
+%{PREFIX}/res/icon/