summaryrefslogtreecommitdiff
path: root/packaging/libug-setting-wifidirect-efl.spec
blob: aedd7d7f983e624a1f7f9c135ccae6a4ea89378a (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
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
#sbs-git:slp/apps/u/ug-wifi-direct libug-setting-wifidirect-efl 0.3.4 82f07b22ef73127a446c49e00b8dca37010b3ee2
%define PREFIX /opt/ug

Name:       libug-setting-wifidirect-efl
Summary:    Wi-Fi Direct setting UI gadget 
Version:    0.7.5
Release:    1
Group:      TO_BE_FILLED
License:    Samsung Proprietary License
Source0:    %{name}-%{version}.tar.gz
Requires(post): /sbin/ldconfig   
Requires(post): /usr/bin/sqlite3   
Requires(postun): /sbin/ldconfig   
BuildRequires:  cmake   
BuildRequires:  edje-tools   
BuildRequires:  gettext-tools
BuildRequires:  pkgconfig(dbus-glib-1)
BuildRequires:  pkgconfig(dlog)
BuildRequires:  pkgconfig(vconf)
BuildRequires:  pkgconfig(appcore-efl)
BuildRequires:  pkgconfig(bundle)
BuildRequires:  pkgconfig(ui-gadget-1)
BuildRequires:  pkgconfig(wifi-direct)
BuildRequires:  pkgconfig(network)
BuildRequires:  pkgconfig(capi-network-tethering)
BuildRequires:  pkgconfig(utilX)   
BuildRequires:  pkgconfig(elementary)   
BuildRequires:  pkgconfig(edje)   
BuildRequires:  pkgconfig(evas)   
BuildRequires:  pkgconfig(ecore)   
BuildRequires:  pkgconfig(ethumb)   
BuildRequires:  pkgconfig(glib-2.0)   
BuildRequires:  pkgconfig(efreet)   
BuildRequires:  pkgconfig(dbus-1)   
BuildRequires:  pkgconfig(dbus-glib-1)   
BuildRequires:  pkgconfig(edbus)   
BuildRequires:  pkgconfig(aul)   
BuildRequires:  pkgconfig(devman)   
BuildRequires:  pkgconfig(appsvc)   
BuildRequires:  pkgconfig(pmapi)   
BuildRequires:  pkgconfig(capi-appfw-application)   
BuildRequires:  pkgconfig(capi-system-runtime-info)   
BuildRequires:  pkgconfig(capi-system-device) 
BuildRequires:  pkgconfig(notification)
BuildRequires:  pkgconfig(syspopup-caller)
BuildRequires:  cmake
BuildRequires:  gettext-devel

#%define debug_package %{nil}  

%description
wifi direct client library (Shared Library)


%package -n org.tizen.wifi-direct-popup  
Summary:    Wifi-Wirect system popup   
Requires:   %{name} = %{version}-%{release}   

%package -n org.tizen.wifi-direct-ugapp 
Summary:    Wifi-Wirect application launching UG   
Requires:   %{name} = %{version}-%{release}   
  
%description -n org.tizen.wifi-direct-popup   
Wi-Fi Direct system popup.   
  

%description -n org.tizen.wifi-direct-ugapp  
Wi-Fi Direct application launching UG.   

%prep
%setup -q

%build
cmake . -DCMAKE_INSTALL_PREFIX=$PREFIX
make %{?jobs:-j%jobs}

%install
rm -rf %{buildroot}
%make_install
%__strip %{buildroot}/opt/ug/lib/libug-setting-wifidirect-efl.so.0.1.0
%__strip %{buildroot}/opt/apps/org.tizen.wifi-direct-ugapp/bin/wifi-direct-ugapp
%__strip %{buildroot}/opt/apps/org.tizen.wifi-direct-popup/bin/wifi-direct-popup

%post
mkdir -p /opt/ug/bin/
ln -sf /usr/bin/ug-client /opt/ug/bin/ug-setting-wifidirect-efl
%postun


%files
%defattr(-,root,root,-)
/opt/ug/lib/*
/opt/ug/res/images/*
/opt/ug/res/edje/*
/opt/ug/res/locale/*/*/*

%files -n org.tizen.wifi-direct-popup
%defattr(-,root,root,-)
/opt/apps/org.tizen.wifi-direct-popup/bin/*
/opt/apps/org.tizen.wifi-direct-popup/res/images/*
/opt/apps/org.tizen.wifi-direct-popup/res/locale/*/*/*
#/opt/share/applications/org.tizen.wifi-direct-popup.desktop
#for appfw new manifest
/opt/share/packages/org.tizen.wifi-direct-popup.xml

%files -n org.tizen.wifi-direct-ugapp
%defattr(-,root,root,-)
/opt/apps/org.tizen.wifi-direct-ugapp/bin/*
#/opt/share/applications/org.tizen.wifi-direct-ugapp.desktop
#for appfw new manifest
/opt/share/packages/org.tizen.wifi-direct-ugapp.xml