From: Rusty Lynch Date: Thu, 27 Jun 2013 01:28:44 +0000 (-0700) Subject: Cleanup spec X-Git-Tag: accepted/tizen/20130627.014001 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=refs%2Ftags%2Faccepted%2Ftizen%2F20130627.014001;p=platform%2Fcore%2Fappfw%2Fail.git Cleanup spec The package should be creating an applications directory and also initializing the application locale. Taking the opportunity to also remove the bogus smack label and fixup the post script some Change-Id: I9a732ec14e474d844d810488d09e605f764d4755 --- diff --git a/packaging/ail.changes b/packaging/ail.changes new file mode 100644 index 0000000..e93a5c0 --- /dev/null +++ b/packaging/ail.changes @@ -0,0 +1,3 @@ +* Wed Jun 26 2013 Rusty Lynch accepted/tizen/20130520.100858@843033e +- Cleanup spec + diff --git a/packaging/ail.spec b/packaging/ail.spec index b28d29e..ce2c568 100755 --- a/packaging/ail.spec +++ b/packaging/ail.spec @@ -39,9 +39,13 @@ make %{?jobs:-j%jobs} %install %make_install +mkdir -p %{buildroot}/opt/dbspace/ +mkdir -p %{buildroot}/opt/share/applications/ + %post vconftool set -t string db/ail/ail_info "0" -f vconftool set -t string db/menuscreen/desktop "0" -f +vconftool set -t string db/menu_widget/language "US" -f CHDBGID="6010" @@ -60,18 +64,19 @@ update_DAC_for_db_file() echo "Failed to change the perms of $@" fi } -mkdir -p /opt/dbspace/ ail_initdb update_DAC_for_db_file /opt/dbspace/.app_info.db update_DAC_for_db_file /opt/dbspace/.app_info.db-journal -chsmack -a 'ail::db' /opt/dbspace/.app_info.db* %postun +rm -f /opt/dbspace/.app_info.db* %files %manifest ail.manifest %{_libdir}/libail.so.0 %{_libdir}/libail.so.0.1.0 +/opt/dbspace +/opt/share/applications /usr/bin/ail_initdb /usr/share/install-info/*