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)
19 BuildRequires: model-build-features
23 BuildRequires: pkgconfig(x11)
26 %if "%{model_build_feature_livebox}" == "0"
31 Library for the development of a dynamicbox
34 Summary: Dynamic Box development library (dev)
35 Group: Development/Libraries
36 Requires: %{name} = %{version}-%{release}
39 Header & Package configuration files for dynamicbox development
46 %if 0%{?sec_build_binary_debug_enable}
47 export CFLAGS="$CFLAGS -DTIZEN_DEBUG_ENABLE"
48 export CXXFLAGS="$CXXFLAGS -DTIZEN_DEBUG_ENABLE"
49 export FFLAGS="$FFLAGS -DTIZEN_DEBUG_ENABLE"
52 %if 0%{?tizen_build_binary_release_type_eng}
53 export CFLAGS="${CFLAGS} -DTIZEN_ENGINEER_MODE"
54 export CXXFLAGS="${CXXFLAGS} -DTIZEN_ENGINEER_MODE"
55 export FFLAGS="${FFLAGS} -DTIZEN_ENGINEER_MODE"
59 export WAYLAND_SUPPORT=On
60 export X11_SUPPORT=Off
62 export WAYLAND_SUPPORT=Off
66 %cmake . -DWAYLAND_SUPPORT=${WAYLAND_SUPPORT} -DX11_SUPPORT=${X11_SUPPORT}
72 mkdir -p %{buildroot}/%{_datarootdir}/license
74 %post -n %{name} -p /sbin/ldconfig
75 %postun -n %{name} -p /sbin/ldconfig
78 %defattr(-,root,root,-)
79 %manifest %{name}.manifest
80 %{_libdir}/libdynamicbox.so*
81 %{_datarootdir}/license/libdynamicbox
84 %defattr(-,root,root,-)
85 %manifest %{name}.manifest
86 %{_includedir}/dynamicbox/dynamicbox.h
87 %{_includedir}/dynamicbox/internal/dynamicbox.h
88 %{_libdir}/pkgconfig/dynamicbox.pc
90 #################################################
91 # liblivebox (for old version)
92 %package -n liblivebox
93 Summary: Library for developing the dynamicbox (old version)
94 Group: HomeTF/Dynamicbox
96 Requires: libdynamicbox
98 %description -n liblivebox
99 Provider APIs to develop the dynamicbox. (old version)
101 %package -n liblivebox-devel
102 Summary: Header & package configuration files to support development of the dynamicbox (old version)
103 Group: Development/Libraries
106 %description -n liblivebox-devel
107 Dynamicbox development library (dev) (old version)
110 %manifest %{name}.manifest
111 %defattr(-,root,root,-)
112 %{_libdir}/liblivebox.so*
113 %{_datarootdir}/license/liblivebox
115 %files -n liblivebox-devel
116 %manifest %{name}.manifest
117 %defattr(-,root,root,-)
118 %{_includedir}/livebox/livebox.h
119 %{_includedir}/livebox/livebox_product.h
120 %{_libdir}/pkgconfig/livebox.pc