4 Summary: Dynamicbox development library
7 Group: HomeTF/DynamicBox
9 Source0: %{name}-%{version}.tar.gz
10 Source1001: %{name}.manifest
11 BuildRequires: cmake, gettext-tools, coreutils
12 BuildRequires: pkgconfig(dlog)
13 BuildRequires: pkgconfig(dynamicbox_service)
14 BuildRequires: pkgconfig(dynamicbox_provider)
15 BuildRequires: pkgconfig(ecore)
16 BuildRequires: pkgconfig(evas)
17 BuildRequires: pkgconfig(elementary)
18 BuildRequires: pkgconfig(livebox-service)
22 BuildRequires: pkgconfig(x11)
25 %if "%{sec_product_feature_livebox}" == "0"
30 Library for the development of a dynamicbox
33 Summary: Dynamic Box development library (dev)
34 Group: Development/Libraries
35 Requires: %{name} = %{version}-%{release}
38 Header & Package configuration files for dynamicbox development
45 %if 0%{?sec_build_binary_debug_enable}
46 export CFLAGS="$CFLAGS -DTIZEN_DEBUG_ENABLE"
47 export CXXFLAGS="$CXXFLAGS -DTIZEN_DEBUG_ENABLE"
48 export FFLAGS="$FFLAGS -DTIZEN_DEBUG_ENABLE"
51 %if 0%{?tizen_build_binary_release_type_eng}
52 export CFLAGS="${CFLAGS} -DTIZEN_ENGINEER_MODE"
53 export CXXFLAGS="${CXXFLAGS} -DTIZEN_ENGINEER_MODE"
54 export FFLAGS="${FFLAGS} -DTIZEN_ENGINEER_MODE"
58 export WAYLAND_SUPPORT=On
59 export X11_SUPPORT=Off
61 export WAYLAND_SUPPORT=Off
65 %cmake . -DWAYLAND_SUPPORT=${WAYLAND_SUPPORT} -DX11_SUPPORT=${X11_SUPPORT}
71 mkdir -p %{buildroot}/%{_datarootdir}/license
73 %post -n %{name} -p /sbin/ldconfig
74 %postun -n %{name} -p /sbin/ldconfig
77 %defattr(-,root,root,-)
78 %manifest %{name}.manifest
79 %{_libdir}/libdynamicbox.so*
80 %{_datarootdir}/license/libdynamicbox
83 %defattr(-,root,root,-)
84 %manifest %{name}.manifest
85 %{_includedir}/dynamicbox/dynamicbox.h
86 %{_includedir}/dynamicbox/internal/dynamicbox.h
87 %{_libdir}/pkgconfig/dynamicbox.pc
89 #################################################
90 # liblivebox (for old version)
91 %package -n liblivebox
92 Summary: Library for developing the dynamicbox (old version)
93 Group: HomeTF/Dynamicbox
95 Requires: libdynamicbox
97 %description -n liblivebox
98 Provider APIs to develop the dynamicbox. (old version)
100 %package -n liblivebox-devel
101 Summary: Header & package configuration files to support development of the dynamicbox (old version)
102 Group: Development/Libraries
105 %description -n liblivebox-devel
106 Dynamicbox development library (dev) (old version)
109 %manifest %{name}.manifest
110 %defattr(-,root,root,-)
111 %{_libdir}/liblivebox.so*
112 %{_datarootdir}/license/liblivebox
114 %files -n liblivebox-devel
115 %manifest %{name}.manifest
116 %defattr(-,root,root,-)
117 %{_includedir}/livebox/livebox.h
118 %{_includedir}/livebox/livebox_product.h
119 %{_libdir}/pkgconfig/livebox.pc