blob: 9786cd8b272d863435f278157b18f10969a7cd93 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
|
Name: attach-panel
Summary: Attach Panel
Version: 0.1.0
Release: 0
Group: Application
License: Apache-2.0
Source0: %{name}-%{version}.tar.gz
%if "%{?tizen_profile_name}" == "wearable"
ExcludeArch: %{arm} %ix86 x86_64
%endif
BuildRequires: cmake
BuildRequires: edje-tools
BuildRequires: gettext-tools
BuildRequires: pkgconfig(appcore-efl)
BuildRequires: pkgconfig(bundle)
BuildRequires: pkgconfig(capi-base-common)
BuildRequires: pkgconfig(capi-system-info)
BuildRequires: pkgconfig(dlog)
BuildRequires: pkgconfig(ecore)
BuildRequires: pkgconfig(edje)
BuildRequires: pkgconfig(efl-extension)
BuildRequires: pkgconfig(elementary)
BuildRequires: pkgconfig(evas)
BuildRequires: pkgconfig(feedback)
BuildRequires: pkgconfig(isf)
#BuildRequires: pkgconfig(security-privilege-checker)
BuildRequires: pkgconfig(ui-gadget-1)
%description
Description: Attach Panel
%prep
%setup -q
%package devel
Summary: Attach panel library (devel)
Group: Application
Requires: %{name} = %{version}-%{release}
%description devel
Development files needed to build software that needs Attach panel.
%build
export CFLAGS="$CFLAGS -DTIZEN_DEBUG_ENABLE"
export CXXFLAGS="$CXXFLAGS -DTIZEN_DEBUG_ENABLE"
export FFLAGS="$FFLAGS -DTIZEN_DEBUG_ENABLE"
%if 0%{?tizen_build_binary_release_type_eng}
export CFLAGS="$CFLAGS -DTIZEN_ENGINEER_MODE"
export CXXFLAGS="$CXXFLAGS -DTIZEN_ENGINEER_MODE"
export FFLAGS="$FFLAGS -DTIZEN_ENGINEER_MODE"
%endif
%cmake . -DCMAKE_INSTALL_PREFIX=%{_prefix}
make %{?jobs:-j%jobs}
%install
rm -rf %{buildroot}
%make_install
%post
%files
%manifest %{name}.manifest
%{_prefix}/lib64/*.so*
%{_datadir}/attach-panel/edje/*.edj
%{_datadir}/attach-panel/sample/*
%{_datadir}/icons/*.png
%{_prefix}/ug/res/locale/*/LC_MESSAGES/*
%files devel
%defattr(-,root,root,-)
%{_includedir}/attach-panel/attach_panel.h
%{_libdir}/pkgconfig/%{name}.pc
|