From af3ca4050a4f39e11563c0d1867103f50bffe6b9 Mon Sep 17 00:00:00 2001 From: Rusty Lynch Date: Wed, 26 Jun 2013 18:28:44 -0700 Subject: [PATCH] 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 --- packaging/ail.changes | 3 +++ packaging/ail.spec | 9 +++++++-- 2 files changed, 10 insertions(+), 2 deletions(-) create mode 100644 packaging/ail.changes 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/* -- 2.7.4