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}%{TZ_SYS_RO_SHARE}/license
97 install LICENSE %{buildroot}%{TZ_SYS_RO_SHARE}/license/%{name}
98 install LICENSE %{buildroot}%{TZ_SYS_RO_SHARE}/license/%{name}-devel
99 install LICENSE %{buildroot}%{TZ_SYS_RO_SHARE}/license/%{name}-caller
100 install LICENSE %{buildroot}%{TZ_SYS_RO_SHARE}/license/%{name}-caller-devel
102 touch %{buildroot}%{_datadir}/popup_noti_term
104 mkdir -p %{buildroot}%{upgrade_script_path}
105 cp -f scripts/502.syspopup_upgrade.sh %{buildroot}%{upgrade_script_path}
107 %post -p /sbin/ldconfig
109 %postun -p /sbin/ldconfig
111 %post caller -p /sbin/ldconfig
113 %postun caller -p /sbin/ldconfig
119 %manifest %{name}.manifest
120 %defattr(-,root,root,-)
123 %{_libdir}/libsyspopup.so*
124 %{_datadir}/popup_noti_term
125 %TZ_SYS_RO_SHARE/license/%{name}
126 %{upgrade_script_path}/502.syspopup_upgrade.sh
129 %manifest %{name}-devel.manifest
130 %defattr(-,root,root,-)
131 %{_includedir}/SLP_SYSPOPUP_PG.h
132 %{_includedir}/syspopup.h
133 %{_libdir}/libsyspopup.so
134 %{_libdir}/pkgconfig/syspopup.pc
135 %TZ_SYS_RO_SHARE/license/%{name}-devel
138 %manifest %{name}-caller.manifest
139 %defattr(-,root,root,-)
140 %{_libdir}/libsyspopup_caller.so*
141 %TZ_SYS_RO_SHARE/license/%{name}-caller
144 %manifest %{name}-caller-devel.manifest
145 %defattr(-,root,root,-)
146 %{_libdir}/libsyspopup_caller.so
147 %{_includedir}/syspopup_caller.h
148 %{_libdir}/pkgconfig/syspopup-caller.pc
149 %TZ_SYS_RO_SHARE/license/%{name}-caller-devel