projects
/
platform
/
core
/
api
/
efl-util.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
package version up to 0.4.1
[platform/core/api/efl-util.git]
/
packaging
/
capi-ui-efl-util.spec
diff --git
a/packaging/capi-ui-efl-util.spec
b/packaging/capi-ui-efl-util.spec
index
926da10
..
60f460c
100644
(file)
--- a/
packaging/capi-ui-efl-util.spec
+++ b/
packaging/capi-ui-efl-util.spec
@@
-1,7
+1,7
@@
Name: capi-ui-efl-util
Summary: An EFL utility library in Tizen C API
Name: capi-ui-efl-util
Summary: An EFL utility library in Tizen C API
-Version: 0.
3
.1
+Version: 0.
4
.1
Release: 1
Group: Graphics & UI Framework/API
License: Apache-2.0
Release: 1
Group: Graphics & UI Framework/API
License: Apache-2.0
@@
-16,6
+16,7
@@
BuildRequires: pkgconfig(tizen-extension-client)
BuildRequires: pkgconfig(ecore-wayland)
BuildRequires: pkgconfig(elementary)
BuildRequires: pkgconfig(capi-base-common)
BuildRequires: pkgconfig(ecore-wayland)
BuildRequires: pkgconfig(elementary)
BuildRequires: pkgconfig(capi-base-common)
+BuildRequires: pkgconfig(capi-system-info)
BuildRequires: pkgconfig(libdrm)
BuildRequires: pkgconfig(libtbm)
BuildRequires: pkgconfig(libdrm)
BuildRequires: pkgconfig(libtbm)
@@
-36,24
+37,19
@@
Requires: %{name} = %{version}-%{release}
%setup -q
cp %{SOURCE1001} .
%setup -q
cp %{SOURCE1001} .
+cp -a include/efl_util.h.in include/efl_util.h
+sed -i 's/\$TZ_CFG_VER_24_OR_30\$/@if WEARABLE 3.0 @else 2.4 @endif/g' include/efl_util.h
+sed -i 's/\$TZ_CFG_VER_24_OR_231\$/@if WEARABLE 2.3.1 @else 2.4 @endif/g' include/efl_util.h
%build
%build
-export CFLAGS+=" -Werror "
MAJORVER=`echo %{version} | awk 'BEGIN {FS="."}{print $1}'`
%cmake . -DFULLVER=%{version} -DMAJORVER=${MAJORVER} \
MAJORVER=`echo %{version} | awk 'BEGIN {FS="."}{print $1}'`
%cmake . -DFULLVER=%{version} -DMAJORVER=${MAJORVER} \
-%if "%{profile}" == "wearable"
- -DTIZEN_WEARABLE=YES \
-%endif
make %{?jobs:-j%jobs}
%install
%make_install
make %{?jobs:-j%jobs}
%install
%make_install
-# for license notification
-mkdir -p %{buildroot}/%{TZ_SYS_RO_SHARE}/license
-cp -a LICENSE.APLv2 %{buildroot}/%{TZ_SYS_RO_SHARE}/license/%{name}
-
%post -p /sbin/ldconfig
%postun -p /sbin/ldconfig
%post -p /sbin/ldconfig
%postun -p /sbin/ldconfig
@@
-61,12
+57,13
@@
cp -a LICENSE.APLv2 %{buildroot}/%{TZ_SYS_RO_SHARE}/license/%{name}
%files
%manifest %{name}.manifest
%files
%manifest %{name}.manifest
+%license LICENSE.APLv2
%{_libdir}/libcapi-ui-efl-util.so.*
%{_libdir}/libcapi-ui-efl-util.so.*
-%{TZ_SYS_RO_SHARE}/license/%{name}
%files devel
%manifest %{name}.manifest
%{_includedir}/ui/efl_util.h
%files devel
%manifest %{name}.manifest
%{_includedir}/ui/efl_util.h
+%{_includedir}/ui/efl_util_screenshot_extension.h
%{_libdir}/pkgconfig/*.pc
%{_libdir}/libcapi-ui-efl-util.so
%exclude %{_includedir}/ui/config.h
%{_libdir}/pkgconfig/*.pc
%{_libdir}/libcapi-ui-efl-util.so
%exclude %{_includedir}/ui/config.h