1 Name: vconf-internal-keys
2 Summary: Internal shared keys for vconf
5 Group: Application Framework/Configuration
7 Source0: %{name}-%{version}.tar.gz
12 BuildRequires: pkgconfig(dlog)
14 Requires(post): /sbin/ldconfig
15 Requires(postun): /sbin/ldconfig
18 configuration internal shared keys
21 Summary: Vconf internal keys (devel)
22 Group: Application Framework/Configuration
23 #Requires: %{name} = %{version}-%{release}
24 Requires: pkgconfig(capi-base-common)
27 Vconf internal key header files (devel)
30 %setup -q -n %{name}-%{version}
34 MAJORVER=`echo %{version} | awk 'BEGIN {FS="."}{print $1}'`
35 cmake . -DCMAKE_INSTALL_PREFIX=%{_prefix} -DFULLVER=%{version} -DMAJORVER=${MAJORVER} -DCMAKE_LIBDIR=%{_libdir}
43 mkdir -p %{buildroot}/opt/usr
44 install -m 755 scripts/*.sh %{buildroot}/opt/usr
46 mkdir -p %{buildroot}/usr/include/vconf
47 install -m 644 include/*.h %{buildroot}/usr/include/vconf
53 filelist=`find /opt/usr -name "vconf-*.sh"`
58 echo "running ---------------------------------------------------- $file"
63 %postun -p /sbin/ldconfig
70 %defattr(-,root,root,-)
71 /usr/include/vconf/*.h
72 %{_libdir}/pkgconfig/*.pc