summaryrefslogtreecommitdiff
path: root/packaging/ug-wifi-direct.spec
blob: 0235c7194621b7e3b458fb6861f5ddb8acf37918 (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
%define PREFIX /opt/ug

Name:       libug-setting-wifidirect-efl
Summary:    Wi-Fi Direct setting UI gadget 
Version:    0.4.2
Release:    1
Group:      TO_BE_FILLED
License:    Samsung Proprietary License
Source0:    %{name}-%{version}.tar.gz
Source1001: packaging/ug-wifi-direct.manifest 
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(ui-gadget)
BuildRequires:  pkgconfig(wifi-direct)
BuildRequires:  pkgconfig(network)
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:  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}   
  
%description -n org.tizen.wifi-direct-popup   
Wi-Fi Direct system popup.   
  

%prep
%setup -q

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

%install
rm -rf %{buildroot}

%make_install

%post
vconftool set -t int db/wifi_direct/onoff 0 -u apps -i

%postun


%files
%manifest ug-wifi-direct.manifest
%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
%manifest ug-wifi-direct.manifest
%defattr(-,root,root,-)
/opt/apps/org.tizen.wifi-direct-popup/bin/*
/opt/apps/org.tizen.wifi-direct-popup/res/locale/*/*/*
/opt/share/applications/*