1 #sbs-git:slp/pkgs/a/ail ail 0.2.22 29ac1f2c98453cad647cca6a92abc7da3dbb047b
3 Summary: Application Information Library
6 Group: System/Libraries
7 License: Apache License, Version 2.0
8 Source0: %{name}-%{version}.tar.gz
9 Requires(post): /sbin/ldconfig
10 Requires(postun): /sbin/ldconfig
12 BuildRequires: vconf-keys-devel
13 BuildRequires: pkgconfig(sqlite3)
14 BuildRequires: pkgconfig(dlog)
15 BuildRequires: pkgconfig(vconf)
16 BuildRequires: pkgconfig(db-util)
17 BuildRequires: pkgconfig(xdgmime)
20 Application Information Library
23 Summary: Application Information Library Development files
24 Group: Development/Libraries
25 Requires: %{name} = %{version}-%{release}
28 Application Information Library (devel)
35 %cmake . -DBUILD_PKGTYPE=rpm
43 vconftool set -t string db/ail/ail_info "0" -f
44 vconftool set -t string db/menuscreen/desktop "0" -f
48 update_DAC_for_db_file()
54 chown :$CHDBGID $@ 2>/dev/null
56 echo "Failed to change the owner of $@"
58 chmod 664 $@ 2>/dev/null
60 echo "Failed to change the perms of $@"
63 mkdir -p /opt/dbspace/
65 update_DAC_for_db_file /opt/dbspace/.app_info.db
66 update_DAC_for_db_file /opt/dbspace/.app_info.db-journal
67 chsmack -a 'ail::db' /opt/dbspace/.app_info.db*
72 %manifest ail.manifest
73 %{_libdir}/libail.so.0
74 %{_libdir}/libail.so.0.1.0
76 /usr/share/install-info/*
81 %{_libdir}/pkgconfig/ail.pc