5 Summary: Syspopup package
8 Group: System/Libraries
10 Source0: syspopup-%{version}.tar.gz
11 Source1001: %{name}.manifest
12 Source1002: %{name}-devel.manifest
13 Source1003: %{name}-caller.manifest
14 Source1004: %{name}-caller-devel.manifest
17 BuildRequires: pkgconfig(sqlite3)
18 BuildRequires: pkgconfig(bundle)
19 BuildRequires: pkgconfig(dlog)
20 BuildRequires: pkgconfig(glib-2.0)
21 BuildRequires: pkgconfig(gio-2.0)
23 BuildRequires: pkgconfig(ecore-wayland)
24 BuildRequires: pkgconfig(capi-ui-efl-util)
27 BuildRequires: pkgconfig(utilX)
28 BuildRequires: pkgconfig(x11)
29 BuildRequires: pkgconfig(ecore-x)
32 BuildRequires: pkgconfig(evas)
33 BuildRequires: pkgconfig(elementary)
34 BuildRequires: pkgconfig(libtzplatform-config)
35 BuildRequires: pkgconfig(aul)
36 BuildRequires: pkgconfig(capi-system-info)
37 BuildRequires: pkgconfig(libsmack)
39 %define upgrade_script_path /usr/share/upgrade/scripts
42 syspopup package for popup
45 Summary: Syspopup development package
46 Group: System/Libraries
47 Requires: %{name} = %{version}-%{release}
50 syspopup development package popup
53 Summary: Syspopup-caller package
54 Group: System/Libraries
55 Requires: %{name} = %{version}-%{release}
56 Requires(post): /sbin/ldconfig
57 Requires(postun): /sbin/ldconfig
60 syspopup-caller package for popup
63 Summary: Syspopup-caller development package
64 Group: System/Development
65 Requires: %{name} = %{version}-%{release}
67 %description caller-devel
68 syspopup-caller development package for popup
72 cp %{SOURCE1001} %{SOURCE1002} %{SOURCE1003} %{SOURCE1004} .
76 MAJORVER=`echo %{version} | awk 'BEGIN {FS="."}{print $1}'`
85 -DTZ_SYS_RO_PACKAGES=%{TZ_SYS_RO_PACKAGES} \
86 -DTZ_SYS_RO_SHARE=%{TZ_SYS_RO_SHARE} \
87 -DEXTRA_CFLAGS=-fPIC \
88 -DFULLVER=%{version} \
89 -DMAJORVER=${MAJORVER} \
96 mkdir -p %{buildroot}%{_datadir}
97 touch %{buildroot}%{_datadir}/popup_noti_term
99 mkdir -p %{buildroot}%{upgrade_script_path}
100 cp -f scripts/502.syspopup_upgrade.sh %{buildroot}%{upgrade_script_path}
102 %post -p /sbin/ldconfig
104 %postun -p /sbin/ldconfig
106 %post caller -p /sbin/ldconfig
108 %postun caller -p /sbin/ldconfig
114 %manifest %{name}.manifest
115 %defattr(-,root,root,-)
118 %{_libdir}/libsyspopup.so.*
119 %{_datadir}/popup_noti_term
121 %{upgrade_script_path}/502.syspopup_upgrade.sh
124 %manifest %{name}-devel.manifest
125 %defattr(-,root,root,-)
126 %{_includedir}/SLP_SYSPOPUP_PG.h
127 %{_includedir}/syspopup.h
128 %{_libdir}/libsyspopup.so
129 %{_libdir}/pkgconfig/syspopup.pc
132 %manifest %{name}-caller.manifest
133 %defattr(-,root,root,-)
134 %{_libdir}/libsyspopup_caller.so.*
138 %manifest %{name}-caller-devel.manifest
139 %defattr(-,root,root,-)
140 %{_libdir}/libsyspopup_caller.so
141 %{_includedir}/syspopup_caller.h
142 %{_libdir}/pkgconfig/syspopup-caller.pc