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)
21 Application Information Library
24 Summary: Application Information Library Development files
25 Group: Development/Libraries
26 Requires: %{name} = %{version}-%{release}
29 Application Information Library (devel)
36 %cmake . -DBUILD_PKGTYPE=rpm
44 vconftool set -t string db/ail/ail_info "0" -f
45 vconftool set -t string db/menuscreen/desktop "0" -f
49 update_DAC_for_db_file()
55 chown :$CHDBGID $@ 2>/dev/null
57 echo "Failed to change the owner of $@"
59 chmod 664 $@ 2>/dev/null
61 echo "Failed to change the perms of $@"
64 mkdir -p /opt/dbspace/
66 update_DAC_for_db_file /opt/dbspace/.app_info.db
67 update_DAC_for_db_file /opt/dbspace/.app_info.db-journal
68 chsmack -a 'ail::db' /opt/dbspace/.app_info.db*
73 %manifest ail.manifest
74 %{_libdir}/libail.so.0
75 %{_libdir}/libail.so.0.1.0
77 /usr/share/install-info/*
82 %{_libdir}/pkgconfig/ail.pc