projects
/
platform
/
core
/
appfw
/
ail.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Clean spec file for yocto complaince.
[platform/core/appfw/ail.git]
/
packaging
/
ail.spec
diff --git
a/packaging/ail.spec
b/packaging/ail.spec
index
a666b2e
..
5da089d
100755
(executable)
--- a/
packaging/ail.spec
+++ b/
packaging/ail.spec
@@
-1,6
+1,6
@@
Name: ail
Version: 0.2.80
Name: ail
Version: 0.2.80
-Release:
1
+Release:
0
License: Apache-2.0
Summary: Application Information Library
Group: Application Framework/Libraries
License: Apache-2.0
Summary: Application Information Library
Group: Application Framework/Libraries
@@
-17,14
+17,15
@@
BuildRequires: pkgconfig(libtzplatform-config)
Provides: libail = %{version}-%{release}
%description
Provides: libail = %{version}-%{release}
%description
-Application Information Library
+Application Information Library
package
%package devel
Summary: Application Information Library Development files
Requires: libail = %{version}-%{release}
%package devel
Summary: Application Information Library Development files
Requires: libail = %{version}-%{release}
+Requires: pkgconfig(libtzplatform-config)
%description devel
%description devel
-Application Information Library
(devel)
+Application Information Library
Development files package
%prep
%setup -q
%prep
%setup -q
@@
-40,9
+41,9
@@
export FFLAGS="$FFLAGS -DTIZEN_ENGINEER_MODE"
%endif
%cmake . -DBUILD_PKGTYPE=rpm \
%endif
%cmake . -DBUILD_PKGTYPE=rpm \
-
-DSMACK=Off
+ -DSMACK=Off
-make %{?_smp_mflags}
+
%__
make %{?_smp_mflags}
%install
%make_install
%install
%make_install
@@
-79,7
+80,7
@@
update_DAC_for_db_file()
echo "Failed to change the perms of $@"
fi
}
echo "Failed to change the perms of $@"
fi
}
-ail_initdb
+ail_initdb
2>/dev/null
mkdir -p %{TZ_SYS_RO_DESKTOP_APP}
mkdir -p %{TZ_SYS_RW_DESKTOP_APP}
mkdir -p %{TZ_SYS_DB}
mkdir -p %{TZ_SYS_RO_DESKTOP_APP}
mkdir -p %{TZ_SYS_RW_DESKTOP_APP}
mkdir -p %{TZ_SYS_DB}
@@
-91,10
+92,9
@@
chsmack -a 'User' %{TZ_SYS_DB}/.app_info.db*
%postun
/sbin/ldconfig
if [ $1 == 0 ]; then
%postun
/sbin/ldconfig
if [ $1 == 0 ]; then
-rm -f %{TZ_SYS_DB}/.app_info.db*
+
rm -f %{TZ_SYS_DB}/.app_info.db*
fi
fi
-
%files
%manifest %{name}.manifest
%license LICENSE
%files
%manifest %{name}.manifest
%license LICENSE